/* ── Report Modal ── */
.report-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}
.report-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.report-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    margin: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease, opacity 0.18s ease;
    overflow: hidden;
}
.report-overlay.open .report-modal {
    transform: translateY(0) scale(1);
}
.report-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f1f5f9;
}
.report-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.report-modal-header h3 i {
    color: #ef4444;
    font-size: 15px;
}
.report-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 13px;
    transition: background 0.15s;
}
.report-close-btn:hover { background: #e2e8f0; }

.report-modal-body { padding: 16px 20px 20px; }

.report-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 14px 0;
}

.report-reasons { display: flex; flex-direction: column; gap: 6px; }

.report-reason-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}
.report-reason-item:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}
.report-reason-item.selected {
    border-color: #ef4444;
    background: #fef2f2;
}
.report-reason-item input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #ef4444;
    flex-shrink: 0;
    cursor: pointer;
}
.report-reason-label {
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 500;
    flex: 1;
}
.report-reason-desc {
    font-size: 11.5px;
    color: #94a3b8;
}

.report-details-wrap {
    margin-top: 12px;
    display: none;
}
.report-details-wrap.visible { display: block; }
.report-details-wrap label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.report-details-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    color: #1e293b;
    resize: vertical;
    min-height: 72px;
    max-height: 140px;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.report-details-input:focus { border-color: #94a3b8; }
.report-char-count {
    font-size: 11px;
    color: #94a3b8;
    text-align: right;
    margin-top: 4px;
}

.report-modal-footer {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}
.report-cancel-btn {
    flex: 1;
    padding: 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #64748b;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.report-cancel-btn:hover { background: #f8fafc; }
.report-submit-btn {
    flex: 2;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.report-submit-btn:hover:not(:disabled) { background: #dc2626; }
.report-submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Report button on user cards */
.report-user-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1.5px solid #fee2e2;
    background: #fff;
    color: #ef4444;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
}
.report-user-btn:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}
