/* Toast notification system - custom container with DaisyUI alerts */

/* Container - fixed position at top center */
.toast-notifications {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

/* Individual toast items - DaisyUI .alert with custom enhancements */
.toast-notifications > .alert {
    min-width: 320px;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* Auto-dismiss is now handled by JavaScript for better control */
}

/* Hover state - subtle lift effect */
.toast-notifications > .alert:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 6px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* Persistent toasts (errors) - visual indicator */
.toast-notifications > .alert.toast-persistent {
    border-left: 4px solid currentColor;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

