/* Estilos para el overlay de baneo */
#eldardo-ban-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: none;
    backdrop-filter: blur(5px);
}

/* Bloquear scroll cuando el overlay está visible */
body.eldardo-ban-no-scroll {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

#eldardo-ban-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff !important; /* Forzar blanco siempre */
    border-radius: 16px; /* Más redondeado */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#eldardo-ban-header {
    background: #FF914D; /* Color solicitado */
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0; /* Más redondeado */
    display: flex;
    align-items: center;
    gap: 10px;
}

#eldardo-ban-header .material-symbols-outlined {
    font-size: 24px;
    font-weight: 600;
}

#eldardo-ban-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

#eldardo-ban-body {
    padding: 20px;
    line-height: 1.6;
}

#eldardo-ban-reason {
    background: #fff5f0; /* Fondo suave naranja */
    border-left: 4px solid #FF914D; /* Borde del color principal */
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0; /* Más redondeado */
    color: #333 !important; /* Texto oscuro siempre */
}

#eldardo-ban-reason strong {
    color: #FF914D; /* Color principal */
    font-weight: 600;
}

#eldardo-ban-reason-text {
    color: #333 !important; /* Texto oscuro siempre */
    font-weight: normal;
}

#eldardo-ban-status {
    margin: 15px 0;
    color: #333 !important; /* Texto oscuro siempre */
    font-weight: 500;
}

#eldardo-ban-until {
    margin: 15px 0;
    color: #333 !important; /* Texto oscuro siempre */
    font-weight: 500;
}

#eldardo-ban-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333 !important; /* Texto oscuro siempre */
}

#eldardo-ban-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    background: #fafafa; /* Fondo muy suave */
    border-radius: 0 0 16px 16px; /* Más redondeado */
}

#eldardo-ban-contact {
    display: inline-block;
    background: #FF914D; /* Color principal */
    color: white;
    padding: 12px 24px; /* Más padding */
    text-decoration: none;
    border-radius: 8px; /* Más redondeado */
    margin: 5px;
    transition: background-color 0.2s;
    font-weight: 500;
}

#eldardo-ban-contact:hover {
    background: #e67e22; /* Hover más oscuro */
    color: white;
    text-decoration: none;
}

#eldardo-ban-home {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 12px 24px; /* Más padding */
    text-decoration: none;
    border-radius: 8px; /* Más redondeado */
    margin: 5px;
    transition: background-color 0.2s;
    font-weight: 500;
}

#eldardo-ban-home:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.eldardo-ban-muted {
    color: #6c757d !important; /* Color fijo */
    font-size: 14px;
    margin: 10px 0;
}

/* Responsive design */
@media (max-width: 600px) {
    #eldardo-ban-content {
        width: 95%;
        margin: 10px;
    }
    
    #eldardo-ban-header,
    #eldardo-ban-body,
    #eldardo-ban-footer {
        padding: 15px;
    }
    
    #eldardo-ban-contact,
    #eldardo-ban-home {
        display: block;
        margin: 5px 0;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Animaciones */
@keyframes eldardoBanFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

#eldardo-ban-overlay.show {
    display: block !important;
}

#eldardo-ban-overlay.show #eldardo-ban-content {
    animation: eldardoBanFadeIn 0.3s ease-out;
}

/* Nota: Estilos de tema oscuro deshabilitados - panel siempre blanco como solicitado */
/*
body.dark-theme #eldardo-ban-content,
body[data-theme="dark"] #eldardo-ban-content,
[data-theme="dark"] #eldardo-ban-content {
    background: #2d3748;
    color: #e2e8f0;
}
*/