/* Toast Notification Styles */
.toast-container {
    position: fixed !important;
    bottom: 5px !important;
    right: 10px !important;
    z-index: 9999999 !important;
    pointer-events: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 12px !important;
}

.toast {
    pointer-events: auto !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    padding: 10px 8px !important;
    margin-bottom: 12px !important;
    min-width: 350px !important;
    max-width: 500px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    animation: slideInRight 0.3s ease-out !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 9999999 !important;
}

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

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-message {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
    word-wrap: break-word;
}

/* Success Toast */
.toast.success {
    border-left: 6px solid #22c55e !important;
    background: #f0fdf4 !important;
}

    .toast.success .toast-icon {
        background: rgba(34, 197, 94, 0.15);
        color: #22c55e;
    }

/* Error Toast */
.toast.error {
    border-left: 6px solid #ef4444 !important;
    background: #fef2f2 !important;
}

    .toast.error .toast-icon {
        background: rgba(239, 68, 68, 0.15);
        color: #ef4444;
    }

/* Warning Toast */
.toast.warning {
    border-left: 6px solid #f59e0b !important;
    background: #fffbeb !important;
}

    .toast.warning .toast-icon {
        background: rgba(245, 158, 11, 0.15);
        color: #f59e0b;
    }

/* Info Toast */
.toast.info {
    border-left: 6px solid #3b82f6 !important;
    background: #eff6ff !important;
}

    .toast.info .toast-icon {
        background: rgba(59, 130, 246, 0.15);
        color: #3b82f6;
    }

/* Responsive adjustments */
@media (max-width: 640px) {
    .toast-container {
        bottom: 10px !important;
        right: 10px !important;
        left: 10px !important;
    }

    .toast {
        min-width: auto;
        max-width: none;
    }
}
