/* Toast Notification Styles */

#toast-container {
    z-index: 9999;
    pointer-events: none;
}

#toast-container .toast {
    pointer-events: auto;
    min-width: 300px;
    max-width: 500px;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: none;
    animation: slideInRight 0.3s ease-out;
}

#toast-container .toast.hiding {
    animation: slideOutRight 0.3s ease-in;
}

.toast-body {
    padding: 1rem;
    font-size: 0.9375rem;
}

.toast-body i {
    font-size: 1.25rem;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 0 0.375rem 0.375rem;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes toast-progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Toast positioning variants */
.toast-container.top-center {
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.toast-container.bottom-right {
    bottom: 1rem;
    top: auto;
}

.toast-container.bottom-left {
    bottom: 1rem;
    left: 1rem;
    right: auto;
}

.toast-container.bottom-center {
    bottom: 1rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

/* Mobile responsive */
@media (max-width: 576px) {
    #toast-container {
        left: 1rem !important;
        right: 1rem !important;
        transform: none !important;
    }
    
    #toast-container .toast {
        min-width: 100%;
        width: 100%;
    }
}
