/* Theme variables are supplied by each management page. */
.boolean-switch {
    --control-color: var(--fleet-accent);
    letter-spacing: 0;
}
.boolean-switch .boolean-switch-track {
    width: 90px;
    height: 34px;
    background: #e9edf0;
    border: 0;
    box-shadow: none;
}
.boolean-switch .boolean-switch-track::before {
    left: 30px;
    right: 6px;
    color: #596570;
    font-size: 12px;
    font-weight: 500;
    text-shadow: none;
}
.boolean-switch .boolean-switch-track::after {
    top: 4px;
    left: 4px;
    width: 26px;
    height: 26px;
    border: 0;
    background: white;
    box-shadow: 0 1px 3px #182c4026;
}
.boolean-switch input[type="checkbox"]:checked + .boolean-switch-track {
    background: var(--control-color);
    border: 0;
    box-shadow: none;
}
.boolean-switch input[type="checkbox"]:checked + .boolean-switch-track::before {
    left: 6px;
    right: 30px;
    text-shadow: none;
}
.boolean-switch input[type="checkbox"]:checked + .boolean-switch-track::after {
    transform: translateX(56px);
}
.boolean-switch input[type="checkbox"]:focus-visible + .boolean-switch-track {
    outline-color: var(--fleet-accent);
}
.team-info-item .boolean-switch .boolean-switch-track {
    width: 70px;
    height: 30px;
}
.team-info-item .boolean-switch .boolean-switch-track::after {
    width: 22px;
    height: 22px;
    top: 4px;
    left: 4px;
}
.team-info-item .boolean-switch .boolean-switch-track::before {
    left: 24px;
    right: 6px;
    font-size: 12px;
}
.team-info-item .boolean-switch input[type="checkbox"]:checked + .boolean-switch-track::before {
    left: 6px;
    right: 24px;
}
.team-info-item .boolean-switch input[type="checkbox"]:checked + .boolean-switch-track::after {
    transform: translateX(40px);
}
.eat-order-control .boolean-switch-track {
    display: none;
}
.eat-order-options {
    display: inline-flex;
    flex-shrink: 0;
    padding: 3px;
    gap: 3px;
    border: 1px solid var(--fleet-line);
    border-radius: 7px;
    background: var(--fleet-soft);
}
.eat-order-options > [role="radio"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 32px;
    padding: 0 8px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--fleet-deep);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0;
    transition: background .18s, color .18s;
}
.eat-order-options > [aria-checked="true"] {
    background: var(--fleet-accent);
    color: white;
    box-shadow: 0 1px 3px #00000015;
}
.eat-order-options > button { cursor: pointer; }
.eat-order-options > button:focus-visible {
    outline: 2px solid var(--fleet-deep);
    outline-offset: 2px;
}
.team-info-item .eat-order-options { padding: 2px; gap: 2px; }
.team-info-item .eat-order-options > [role="radio"] {
    min-width: 58px;
    height: 26px;
    font-size: 12px;
}
