/* ANCOM UPDATE 35 — attached calculator city tabs */

.support-city-tabs {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 3;
    margin: 0 0 -1px 0;
    padding: 0;
    border: 0;
    border-radius: 14px 14px 0 0;
    background: transparent;
}

.support-city-tab {
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid var(--border);
    border-bottom-color: var(--border);
    border-radius: 0;
    background: #f4f7f5;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    transition:
        background .14s ease,
        color .14s ease,
        border-color .14s ease;
}

.support-city-tab:first-child {
    border-radius: 14px 0 0 0;
}

.support-city-tab:last-child {
    margin-left: -1px;
    border-radius: 0 14px 0 0;
}

.support-city-tab:hover:not(.is-active) {
    background: #edf3ef;
}

.support-city-tab.is-active,
.support-city-tab[aria-selected="true"] {
    position: relative;
    z-index: 2;
    background: #31c487;
    border-color: #31c487;
    color: #07150f;
    box-shadow: none;
}

.support-city-tabs + .calculator--support {
    border-top-left-radius: 0;
}

/* Keep the tabs visually connected to the calculator surface. */
.support-city-tabs::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: transparent;
    pointer-events: none;
}

@media (max-width: 600px) {
    .support-city-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .support-city-tab {
        min-width: 0;
        padding: 11px 10px;
        font-size: 13px;
    }
}
