/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    /* Allow clicks to pass through container */
}

.toast {
    background: #fff;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    /* Re-enable clicks on toasts */
    border-left: 4px solid #ccc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
}

.toast-message {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #333;
}

/* Variants */
.toast.success {
    border-left-color: #198754;
}

.toast.success .toast-icon {
    color: #198754;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast.error .toast-icon {
    color: #dc3545;
}

.toast.info {
    border-left-color: #0d6efd;
}

.toast.info .toast-icon {
    color: #0d6efd;
}

.toast.warning {
    border-left-color: #ffc107;
}

.toast.warning .toast-icon {
    color: #ffc107;
}