/* Segmented selector — a small row of mutually exclusive pills, one active.
 *
 * Lifted verbatim out of css/admin/generalsettings/index.css, where it was page-scoped and
 * therefore unusable anywhere else. The General Settings "Choice" setting control was the
 * first consumer; the work-type toggle on the three working-window screens is the second,
 * and that is what forced the extraction. Values are unchanged, so General Settings renders
 * exactly as it did.
 *
 * Loaded globally from Views/Shared/Partials/_Head.cshtml, which BOTH layouts render — a
 * stylesheet added to _App.cshtml alone would leave the _Auth-layout pages unstyled.
 *
 * Markup contract:
 *   <div class="setting-segmented" role="group">
 *     <button type="button" class="seg-opt active" data-...>One</button>
 *     <button type="button" class="seg-opt" data-...>Two</button>
 *   </div>
 *
 * The active pill is driven by the .active class, not by :focus or :checked — the click
 * handler owns it, so the control keeps its state when focus moves away.
 */

.setting-segmented {
    display: inline-flex;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.seg-opt {
    border: none;
    background: none;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.seg-opt:hover {
    color: #0f172a;
}

.seg-opt.active {
    background: #ffffff;
    color: #3b82f6;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
