/* Toast Notification Styles */

.toast-container {
    z-index: 9999 !important;
}

.toast {
    min-width: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.toast-success {
    background-color: rgba(25, 135, 84, 0.95) !important;
}

.toast-error {
    background-color: rgba(220, 53, 69, 0.95) !important;
}

.toast-warning {
    background-color: rgba(255, 193, 7, 0.95) !important;
    color: #000 !important;
}

.toast-warning .btn-close {
    filter: invert(1);
}

.toast-info {
    background-color: rgba(13, 110, 253, 0.95) !important;
}

.toast-body {
    font-size: 0.95rem;
    padding: 12px 16px;
}

.toast-body i {
    font-size: 1.2rem;
}

/* Animation */
.toast.showing {
    animation: slideInRight 0.3s ease-out;
}

.toast.hide {
    animation: slideOutRight 0.3s ease-in;
}

@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;
    }
}

/* Dark theme support */
[data-theme="dark"] .toast {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .toast-success {
    background-color: rgba(25, 135, 84, 1) !important;
}

[data-theme="dark"] .toast-error {
    background-color: rgba(220, 53, 69, 1) !important;
}

[data-theme="dark"] .toast-warning {
    background-color: rgba(255, 193, 7, 1) !important;
}

[data-theme="dark"] .toast-info {
    background-color: rgba(13, 110, 253, 1) !important;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .toast-container {
        padding: 0.5rem !important;
        left: 0;
        right: 0;
    }
    
    .toast {
        min-width: auto;
        width: calc(100% - 1rem);
        margin: 0 auto;
    }
}





