/**
 * Estilos para modales de reporte y solicitud de contenido.
 * Compartido entre player.php (reportes) e index.php (solicitudes).
 * Paleta coherente con el sistema global oscuro + acento teal.
 */

/* ── Overlay ────────────────────────────────────────────────────── */
.report-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.report-overlay.active {
    display: flex;
    opacity: 1;
}

/* ── Card ────────────────────────────────────────────────────────── */
.report-card {
    background: rgba(20, 22, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 440px;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 60px rgba(39, 243, 225, 0.06);
    animation: reportFadeIn 0.3s ease;
}
@keyframes reportFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(15px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Close ───────────────────────────────────────────────────────── */
.report-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: all 0.2s ease;
}
.report-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

/* ── Title ───────────────────────────────────────────────────────── */
.report-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f8fafc;
}
.report-title i {
    color: #f59e0b;
    font-size: 18px;
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
}
.report-subtitle {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 24px;
}

/* ── Form ────────────────────────────────────────────────────────── */
.report-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.report-select,
.report-input,
.report-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    transition: all 0.2s ease;
}
.report-select:focus,
.report-input:focus,
.report-textarea:focus {
    border-color: #27f3e1;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px rgba(39, 243, 225, 0.1);
}
.report-textarea {
    resize: vertical;
    min-height: 80px;
}
.report-select option {
    background: #14161c;
    color: #f8fafc;
}

/* ── Submit Button ───────────────────────────────────────────────── */
.btn-report-submit {
    width: 100%;
    background: linear-gradient(135deg, #27f3e1 0%, #20d4c5 100%);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(39, 243, 225, 0.3);
}
.btn-report-submit:hover {
    background: linear-gradient(135deg, #20d4c5 0%, #1bc4b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(39, 243, 225, 0.4);
}
.btn-report-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Status ──────────────────────────────────────────────────────── */
.report-status {
    text-align: center;
    font-size: 12px;
    min-height: 18px;
    font-weight: 600;
}
.report-status.success {
    color: #10b981;
}
.report-status.error {
    color: #f43f5e;
}

/* ── Report Button in Player ────────────────────────────────────── */
.btn-report-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    width: fit-content;
}
.btn-report-trigger:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
    transform: translateY(-1px);
}
.btn-report-trigger i {
    font-size: 13px;
}

/* ── Request Content Button in Sidebar ──────────────────────────── */
.btn-request-content {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(39, 243, 225, 0.1) 0%, rgba(39, 243, 225, 0.05) 100%);
    border: 1px solid rgba(39, 243, 225, 0.25);
    color: #27f3e1;
    padding: 13px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(39, 243, 225, 0.1);
}
.btn-request-content i {
    width: 18px;
    height: 18px;
}
.btn-request-content:hover {
    background: linear-gradient(135deg, rgba(39, 243, 225, 0.2) 0%, rgba(39, 243, 225, 0.1) 100%);
    border-color: #27f3e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 243, 225, 0.2);
}

/* ── Hover States Desktop ───────────────────────────────────────── */
@media (hover: hover) {
    .btn-report-trigger:hover {
        background: rgba(245, 158, 11, 0.18);
    }
    .btn-request-content:hover {
        background: rgba(39, 243, 225, 0.15);
    }
}
