/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    border-radius: 8px;
    padding: 12px 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    transform: translateX(120%);
    transition: transform 0.3s ease-out;
    border-left: 4px solid #3b82f6;
    /* Default blue */
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

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

.toast.success {
    border-left-color: #10b981;
    /* Green */
}

.toast.error {
    border-left-color: #ef4444;
    /* Red */
}

.toast.info {
    border-left-color: #3b82f6;
    /* Blue */
}

.toast-icon {
    font-size: 1.2rem;
}

.toast.success .toast-icon::before {
    content: '✅';
}

.toast.error .toast-icon::before {
    content: '❌';
}

.toast.info .toast-icon::before {
    content: 'ℹ️';
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}