/* Modals — shared overlay + box. Semantic tokens only. */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 18, 28, 0.55);
    backdrop-filter: blur(3px);
}

.modal-box {
    background: var(--surface-raised);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 18px 60px var(--shadow-color);
    max-width: 520px;
    width: 100%;
    padding: 24px;
}

.modal-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--heading);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Report dialog (wwwroot/js/report-dialog.js) — shared by the feed, profiles,
   event comments and the Zoomie viewer. Sits above the viewer overlay (z 1100).
   Colors come from .modal-box / .form-input, so light + dark follow the tokens. */
.report-overlay {
    z-index: 1200;
}

.report-modal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.report-modal .modal-title,
.report-modal .modal-actions {
    margin: 0;
}

.report-modal .form-error {
    margin: 0;
}
