/* Toast Container - Fixed to bottom right */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99999;
        pointer-events: none;
        /* Allow clicks to pass through container */
}

/* Individual Toast Notification */
.toast-notification {
    background: #18181b;
        /* Dark background */
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 14px 18px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        pointer-events: auto;
        /* Re-enable pointer events for toast */
        animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden;
        position: relative;
        color: white;
}

/* Toast animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

.toast-notification.fade-out {
    animation: fadeOutRight 0.3s forwards;
}

@keyframes fadeOutRight {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        flex-shrink: 0;
}

.toast-message {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #e4e4e7;
        font-family: 'Inter', sans-serif;
}

.toast-close {
    background: transparent;
    border: none;
    color: #a1a1aa;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    font-size: 1.1rem;
}

.toast-close:hover {
    color: white;
}

/* Variants */
.toast-notification.success {
    border-left: 4px solid #10b981;
}

.toast-notification.success .toast-icon i {
    color: #10b981;
}

.toast-notification.error {
    border-left: 4px solid #ef4444;
}

.toast-notification.error .toast-icon i {
    color: #ef4444;
}

.toast-notification.warning {
    border-left: 4px solid #f59e0b;
}

.toast-notification.warning .toast-icon i {
    color: #f59e0b;
}

.toast-notification.info {
    border-left: 4px solid #3b82f6;
}

.toast-notification.info .toast-icon i {
    color: #3b82f6;
}

/* Custom Confirm Modal */
#custom-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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