/* ============================================
   SISTEMA DE NOTIFICACIONES PERSONALIZADAS
   ============================================ */

.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification-overlay.show {
    opacity: 1;
}

.notification-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid rgba(212, 165, 116, 0.4);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9),
                0 0 0 1px rgba(212, 165, 116, 0.1) inset;
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.notification-content {
    padding: 2.5rem;
    text-align: center;
}

.notification-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: iconPulse 0.6s ease-out;
}

@keyframes iconPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.notification-modal.success .notification-icon {
    color: #4caf50;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.notification-modal.error .notification-icon {
    color: #f44336;
    text-shadow: 0 0 20px rgba(244, 67, 54, 0.5);
}

.notification-modal.warning .notification-icon {
    color: #ff9800;
    text-shadow: 0 0 20px rgba(255, 152, 0, 0.5);
}

.notification-modal.info .notification-icon {
    color: #2196f3;
    text-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
}

.notification-modal.confirm .notification-icon {
    color: #d4a574;
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
}

.notification-body {
    margin-bottom: 2rem;
}

.notification-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-family: var(--font-secondary, 'Montserrat', sans-serif);
}

.notification-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.notification-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-secondary, 'Montserrat', sans-serif);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-ok {
    background: linear-gradient(135deg, #d4a574 0%, #f0d9b5 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-ok:hover {
    background: linear-gradient(135deg, #f0d9b5 0%, #d4a574 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
}

.btn-confirm {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-confirm:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
}

.btn-cancel {
    background: linear-gradient(135deg, #757575 0%, #9e9e9e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(117, 117, 117, 0.3);
}

.btn-cancel:hover {
    background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(117, 117, 117, 0.5);
}

/* Animación de cierre */
.notification-overlay.closing {
    opacity: 0;
}

.notification-modal.closing {
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-modal {
        max-width: 90%;
    }

    .notification-content {
        padding: 2rem 1.5rem;
    }

    .notification-icon {
        font-size: 3rem;
    }

    .notification-message {
        font-size: 1rem;
    }

    .notification-actions {
        flex-direction: column;
    }

    .notification-btn {
        width: 100%;
    }
}
