/* =========================================
   NOTIFICACIONES Y MODALES MODERNOS
   ========================================= */

/* Modal de Notificación */
.bx-notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.bx-notification-modal.show {
    pointer-events: auto;
}

.bx-notification-modal.show {
    opacity: 1;
    visibility: visible;
}

.bx-notification-content {
    background: linear-gradient(135deg, #111316 0%, #1e1e1e 100%);
    border: 2px solid rgba(255, 31, 46, 0.3);
    border-radius: 20px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 31, 46, 0.2);
    transform: scale(0.8) translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
    z-index: 10000;
    pointer-events: auto;
}

.bx-notification-modal.show .bx-notification-content {
    transform: scale(1) translateY(0);
}

.bx-notification-header {
    background: linear-gradient(135deg, var(--bx-brand) 0%, var(--bx-brand-hover) 100%);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.bx-notification-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--bx-yellow);
    box-shadow: 0 0 20px var(--bx-yellow);
}

.bx-notification-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.bx-notification-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bx-notification-body {
    padding: 30px;
    color: #e0e0e0;
}

.bx-notification-message {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #d0d0d0;
}

.bx-notification-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.bx-notification-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.bx-notification-btn-primary {
    background: linear-gradient(135deg, var(--bx-yellow) 0%, #E5C100 100%);
    color: var(--bx-dark);
    box-shadow: 0 4px 15px rgba(255, 214, 0, 0.4);
}

.bx-notification-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 214, 0, 0.6);
}

.bx-notification-btn-secondary {
    background: transparent;
    color: #8D99AE;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.bx-notification-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Toast Notification (Mensaje rápido) */
.bx-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #111316 0%, #1e1e1e 100%);
    border-left: 4px solid var(--bx-brand);
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 31, 46, 0.3);
    z-index: 10000;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(400px);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 15px;
}

.bx-toast.show {
    transform: translateX(0);
}

.bx-toast-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 31, 46, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--bx-brand);
    flex-shrink: 0;
}

.bx-toast-content {
    flex: 1;
}

.bx-toast-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 5px 0;
}

.bx-toast-message {
    color: #8D99AE;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.bx-toast-close {
    background: transparent;
    border: none;
    color: #8D99AE;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.bx-toast-close:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .bx-notification-content {
        max-width: 90%;
        margin: 20px;
    }
    
    .bx-notification-header {
        padding: 20px;
    }
    
    .bx-notification-title {
        font-size: 1.2rem;
    }
    
    .bx-notification-body {
        padding: 20px;
    }
    
    .bx-notification-actions {
        flex-direction: column;
    }
    
    .bx-notification-btn {
        width: 100%;
    }
    
    .bx-toast {
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
    }
}







