/* GeoBar — Apple-style language suggestion banner */

.geobar {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    background-color: #f5f5f7;
    border-bottom: 1px solid #d2d2d7;
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
}

.geobar--visible {
    max-height: 80px;
    opacity: 1;
}

.geobar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 20px;
    max-width: 960px;
    margin: 0 auto;
    font-size: 14px;
    color: #1d1d1f;
}

.geobar__flag {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    color: #1d1d1f;
    background-color: #e8e8ed;
    border-radius: 4px;
    padding: 4px 6px;
}

.geobar__text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.geobar__btn {
    flex-shrink: 0;
    background-color: #1d1d1f;
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
    font-family: inherit;
    white-space: nowrap;
}

.geobar__btn:hover {
    background-color: #424245;
}

.geobar__close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #86868b;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: color 0.15s ease;
}

.geobar__close:hover {
    color: #1d1d1f;
}

.geobar__close svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 640px) {
    .geobar__inner {
        padding: 8px 14px;
        gap: 8px;
        font-size: 12px;
    }

    .geobar__btn {
        font-size: 12px;
        padding: 5px 12px;
    }

    .geobar__flag {
        font-size: 10px;
    }
}
