/* "View" link popup — public/js/utils/link-view-modal.js
   Sits above Bootstrap modals (1055): the meeting form itself can be one. */

.lvm-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.45);
}

.lvm-overlay[hidden] {
    display: none;
}

.lvm-dialog {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.lvm-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eef0f4;
}

.lvm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eef2ff;
    color: #3f51d6;
}

.lvm-titles {
    flex: 1;
    min-width: 0;
}

.lvm-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lvm-sub {
    font-size: 0.78rem;
    color: #6b7280;
}

.lvm-sub:empty {
    display: none;
}

.lvm-close {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.25rem;
}

.lvm-close:hover {
    color: #111827;
}

.lvm-body {
    padding: 1.1rem 1.25rem;
}

.lvm-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 280px;
    border-radius: 10px;
    background: #f3f4f6;
    font-size: 0.875rem;
    color: #6b7280;
}

.lvm-loading[hidden],
.lvm-map[hidden],
.lvm-note[hidden],
.lvm-url[hidden],
.lvm-invalid[hidden] {
    display: none;
}

.lvm-map {
    height: 280px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
}

.lvm-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.lvm-note {
    padding: 0.75rem;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 0.875rem;
    color: #4b5563;
}

.lvm-url {
    padding: 0.6rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 0.875rem;
    color: #1f2937;
    word-break: break-all;
}

.lvm-invalid {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #b91c1c;
}

.lvm-foot {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid #eef0f4;
    background: #fafbfc;
}

.lvm-open i,
.lvm-dir i {
    margin-right: 0.3rem;
}

.lvm-foot [hidden] {
    display: none;
}
