/* Glassmorphism Toast Notification */
.glass-toast {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.glass-toast-header {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1rem 0.75rem;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.toast-icon.success {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.toast-icon i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.glass-toast-header strong {
    color: #1a202c;
    font-weight: 600;
}

.glass-toast-body {
    background: transparent;
    padding: 1rem;
    color: #4a5568;
    font-weight: 500;
}

.btn-close-toast {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.btn-close-toast:hover {
    background: rgba(255, 255, 255, 1);
    opacity: 1;
    transform: scale(1.1);
}

/* Toast Animation */
.toast {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

/* Success variant */
.glass-toast.success {
    border-left: 4px solid #10b981;
}
/* Tambahan styling untuk toast variant */
.glass-toast.error {
    border-left: 4px solid #ef4444;
}

.glass-toast.warning {
    border-left: 4px solid #f59e0b;
}

/* Responsive */
@media (max-width: 576px) {
    .toast-container {
        padding: 1rem;
    }
    
    .glass-toast {
        max-width: 300px;
    }
}