/* Big Beard: Sosimple Calculator: currency toggle shown as three buttons. */
.gform_wrapper.gform-theme .bbws-currency-toggle .gfield_radio {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}
.gform_wrapper.gform-theme .bbws-currency-toggle .gchoice {
    position: relative;
    display: block;
    width: auto;
    margin: 0;
}
.gform_wrapper.gform-theme .bbws-currency-toggle .gchoice input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.gform_wrapper.gform-theme .bbws-currency-toggle .gchoice label {
    display: inline-block;
    margin: 0;
    padding: 8px 18px;
    border: 1px solid currentColor;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1.2;
    opacity: 0.7;
}
.gform_wrapper.gform-theme .bbws-currency-toggle .gchoice input[type="radio"]:checked + label {
    opacity: 1;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px currentColor;
}
.gform_wrapper.gform-theme .bbws-currency-toggle .gchoice input[type="radio"]:focus-visible + label {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* On tablets the form column is narrow, so the country code and the phone number are stacked
   instead of sitting side by side (the country name was being cut off). Phones already stack. */
@media (min-width: 641px) and (max-width: 1024px) {
    .gform_wrapper.gform-theme .gfield.bbws-country-code,
    .gform_wrapper.gform-theme .gfield.bbws-phone {
        grid-column: 1 / -1;
    }
}
