/* assets/css/style.css */
@keyframes slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slide-in-right {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fade-out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

@keyframes scale-in {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.animate-slide-up { animation: slide-up 0.4s ease-out; }
.animate-scale-in { animation: scale-in 0.3s ease-out; }

/* Premium Toast Styling */
.toast-container {
    position: fixed !important;
    top: 24px !important;
    right: 24px !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    pointer-events: none;
}

.toast {
    background: #ffffff !important;
    padding: 16px 20px !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 320px !important;
    max-width: 400px !important;
    border: 1px solid #f1f5f9 !important;
    animation: slide-in-right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    transition: all 0.3s ease;
}

.toast-icon {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
}

.toast-success .toast-icon { background: #dcfce7 !important; color: #15803d !important; }
.toast-error .toast-icon { background: #fee2e2 !important; color: #b91c1c !important; }
.toast-info .toast-icon { background: #e0f2fe !important; color: #0369a1 !important; }

.toast-content {
    flex: 1 !important;
}

.toast-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 2px !important;
    line-height: 1 !important;
}

.toast-message {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
}

.toast-close {
    color: #cbd5e1 !important;
    cursor: pointer !important;
    padding: 4px !important;
    border-radius: 8px !important;
    transition: all 0.2s !important;
}

.toast-close:hover {
    background: #f8fafc !important;
    color: #475569 !important;
}

.toast.fade-out {
    animation: fade-out 0.4s cubic-bezier(0.4, 0, 1, 1) forwards !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #cbd5e1; }
