/* Minimalist Mode Tabs */
.mode-tabs {
    display: flex;
    background: var(--card-bg);
    /* Match input field or keep for contrast */
    border: 1px solid var(--border);
    border-radius: 12px;
    /* Slightly rounder for the input area */
    padding: 3px;
    gap: 4px;
}

.mode-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mode-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.mode-tab.active {
    background: var(--bg-secondary);
    /* Slightly lighter/different than card */
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Quota Badge */
.quota-badge {
    font-size: 0.7rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Specific Active Colors (Subtle) */
#tabFast.active {
    border-bottom: 2px solid #10b981;
    /* Green line */
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

#tabSmart.active {
    border-bottom: 2px solid #6366f1;
    /* Indigo line */
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

/* Send Button */
.btn-send {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 12px;
    flex-shrink: 0;
}

.btn-send:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .mode-tabs {
        font-size: 0.8rem;
    }

    .mode-tab {
        padding: 4px 8px;
    }
}

/* Hide logo text on small mobile screens to prevent overlap with mode tabs */
@media (max-width: 480px) {
    .logo-text {
        display: none !important;
    }
}