.segmentedControl_rqDuf {
    background: var(--sp-color-segmented-control-bg);
    border-radius: var(--sp-radius-300);
    width: -moz-fit-content;
    width: fit-content;
    /* Using 3px padding as we always have a visible/invisible 1px border around the nested button, and we visually want 4px padding */
    padding: 3px;
    gap: var(--sp-spacing-100);
}

.segmentedControl_rqDuf button {
    padding: var(--sp-spacing-100) var(--sp-spacing-300);
    background: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 200ms ease-in, border 200ms ease-in;
    text-transform: capitalize;
    position: relative;
}

.label_5-gOH {
    /* Keep the text 'on top' of the background that moves */
    z-index: 2;
    transition: color 200ms ease-in, transform 200ms ease-in;
}

.icon_VJAHb {
    width: var(--sp-size-icon-200);
    height: var(--sp-size-icon-200);
}

.disabled_fAx43 .label_5-gOH {
    color: var(--sp-color-segmented-control-text-disabled);
}

.segmentedControl_rqDuf:not(.disabled_fAx43) button:hover .label_5-gOH {
    /* When the button gets hovered and the parent does not have a `disabled` class, change the text color */
    color: var(--sp-color-segmented-control-text-hover);
}

.segmentedControl_rqDuf button:focus {
    outline: none;
}

.active_ghKjr {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    border-radius: var(--sp-radius-300);
    content: '';
    box-shadow: var(--sp-shadow-segmented-control);
    background-color: var(--sp-color-segmented-control-active-segment-bg);
    border: 1px solid var(--sp-color-segmented-control-active-segment-border);
}

.segmentedControl_rqDuf.disabled_fAx43 .active_ghKjr {
    cursor: unset;
    border: 0px solid transparent;
    background: var(--sp-color-white);
}
