/* "Claro / Escuro" segmented switch (ThemeToggle.tsx). Colors and layout only: the height is in forms.css. */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-2);
    flex-shrink: 0;
    height: 32px
}

.theme-toggle button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 8px;
    font-size: 10px
}

.theme-toggle button:hover {
    color: var(--text)
}

.theme-toggle button[aria-pressed=true] {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 1px 2px var(--shadow-sm)
}

.theme-toggle button[aria-pressed=true] svg {
    color: var(--orange)
}