@keyframes slideInLeftFade {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.wrapper-notification {
    position: fixed !important;
    left: 20px !important;
    bottom: 20px !important;
    top: auto !important;
    right: auto !important;
    z-index: 99999 !important;
    
    display: flex !important;
    flex-direction: column-reverse !important; 
    align-items: flex-start !important;
    
    width: auto !important;
    padding: 10px !important;
    pointer-events: none;
    box-sizing: border-box !important;
}

.wrapper-notification * {
    box-sizing: border-box !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.wrapper-notification h4,
.wrapper-notification p,
.wrapper-notification ul,
.wrapper-notification li,
.wrapper-notification a {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    text-decoration: none !important;
    list-style: none !important;
    font-weight: normal !important;
    color: inherit !important;
}

.notification,
.notification-custom {
    position: relative !important;
    pointer-events: auto !important;
    
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
    
    min-width: 300px !important;
    max-width: 360px !important;
    padding: 20px 25px 20px 30px !important;
    margin: 15px 0 0 0 !important; 
    
    overflow: hidden !important;
    
    animation: slideInLeftFade 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards !important;
}

.notification-success,
.notification-info,
.notification-warning,
.notification-danger {
    border-left: none !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.notification .close,
.notification-custom .close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    float: none !important; 
    font-size: 16px !important;
    color: rgba(0, 0, 0, 0.4) !important;
    opacity: 1 !important;
    text-shadow: none !important;
    transition: 0.2s;
}

.notification .close:hover {
    color: #000 !important;
    transform: scale(1.2);
}

.notification-heading,
.notification-custom-heading {
    display: block !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
    color: #1a1a1a !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    text-align: left !important;
}

.notification-content {
    display: block !important;
    font-size: 13px !important;
    color: #4a4a4a !important;
    line-height: 1.4 !important;
}

.al_date {
    display: block !important;
    margin-top: 8px !important;
    font-size: 10px !important;
    color: #666 !important;
    opacity: 0.8 !important;
}

.notification-icon {
    position: absolute !important;
    left: 15px !important;
    top: 20px !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 16px !important;
    background-color: transparent; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.notification-success .notification-icon { background: linear-gradient(135deg, #4ade80, #16a34a) !important; }
.notification-info .notification-icon { background: linear-gradient(135deg, #60a5fa, #2563eb) !important; }
.notification-warning .notification-icon { background: linear-gradient(135deg, #fbbf24, #d97706) !important; }
.notification-danger .notification-icon { background: linear-gradient(135deg, #f87171, #dc2626) !important; }

@media all and (max-width: 768px) {
    .wrapper-notification {
        right: 0 !important;
        left: 0 !important;
        top: auto !important;
        bottom: 20px !important;
        
        width: 100% !important;
        padding: 0 10px calc(10px + env(safe-area-inset-bottom)) 10px !important;
        
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: stretch !important;
    }

    .notification,
    .notification-custom {
        width: 100% !important;
        max-width: none !important;
        margin: 10px 0 0 0 !important;
        
        animation: none !important;
    }

    .notification-icon {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .notification-content {
        padding-right: 10px !important;
    }

    .notification .close {
        top: 50% !important;
        transform: translateY(-50%) !important;
        padding: 10px !important;
    }
}