/* ===========================
   Report & Suggest Modal
   =========================== */

.report-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.report-modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: reportModalFadeIn 0.25s ease;
}

@keyframes reportModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Scrollbar */
.report-modal-content::-webkit-scrollbar {
    width: 4px;
}

.report-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.report-modal-content::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 2px;
}

/* Header */
.report-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.3rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.report-modal-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #e2e8f0;
    margin: 0;
}

.report-modal-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.report-modal-close:hover {
    color: #ef4444;
}

/* Form */
.report-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.report-form-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.report-required {
    color: #ef4444;
}

.report-optional {
    color: #64748b;
    font-weight: 400;
    text-transform: none;
    font-size: 0.72rem;
}

/* Inputs */
.report-form-input,
.report-form-select,
.report-form-textarea {
    width: 100%;
    padding: 0.65rem 0.8rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.85rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.report-form-input:focus,
.report-form-select:focus,
.report-form-textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.report-form-input::placeholder,
.report-form-textarea::placeholder {
    color: #475569;
}

.report-form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 2.2rem;
    cursor: pointer;
}

.report-form-select option {
    background: #1e293b;
    color: #e2e8f0;
}

.report-form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Validation */
.report-form-input.error,
.report-form-select.error,
.report-form-textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Status */
.report-form-status {
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.report-form-status.success {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.report-form-status.error {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Submit Button */
.report-form-submit {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e, #8b5cf6);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.report-form-submit:hover {
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

.report-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 500px) {
    .report-modal-content {
        width: 95%;
        padding: 1.3rem;
    }
}