/* Toast notification styles */
.snipbits-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.snipbits-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.snipbits-toast .toast-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.snipbits-toast .toast-message {
    flex: 1;
    color: #333;
}

.snipbits-toast .toast-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

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

/* Type-specific styles */
.snipbits-toast-success {
    border-left: 4px solid #22c55e;
}

.snipbits-toast-success .toast-icon {
    color: #22c55e;
}

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

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

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

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

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

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

/* Progress bar component */
.snipbits-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.snipbits-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.snipbits-progress-status {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    backdrop-filter: blur(10px);
}
