.cfm-market-switch {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.cfm-market-switch__label {
    color: #7f938f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-right: 3px;
    text-transform: uppercase;
}

.cfm-market-switch a,
.cfm-market-switch__current {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #cbd8d5;
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    min-height: 30px;
    padding: 0 10px;
    text-decoration: none;
    white-space: nowrap;
}

.cfm-market-switch a {
    transition:
        background-color 160ms ease-out,
        border-color 160ms ease-out,
        color 160ms ease-out;
}

.cfm-market-switch a:hover,
.cfm-market-switch a:focus-visible {
    background: rgba(156, 224, 205, 0.1);
    border-color: rgba(156, 224, 205, 0.62);
    color: #ffffff;
}

.cfm-market-switch__current {
    background: rgba(156, 224, 205, 0.12);
    border-color: rgba(156, 224, 205, 0.48);
    color: #bcebdc;
}

@media (max-width: 820px) {
    .cfm-market-switch {
        justify-content: flex-start;
    }

    .cfm-market-switch__label {
        flex-basis: 100%;
    }
}

@media (max-width: 430px) {
    .cfm-market-switch {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cfm-market-switch a {
        transition-duration: 0.01ms;
    }
}
