.hh-v2-language-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 38px;
    padding: 0 .75rem;
    border: 1px solid rgba(127, 127, 127, .28);
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

.hh-v2-language-button:hover,
.hh-v2-language-button:focus {
    background: rgba(127, 127, 127, .10);
    color: inherit;
    text-decoration: none;
}

.hh-v2-language-button .fa-globe {
    font-size: 1rem;
}

.hh-v2-language-label {
    font-size: .82rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .hh-v2-language-label {
        display: none;
    }

    .hh-v2-language-button {
        width: 38px;
        padding: 0;
    }
}

/* HILLHOST CUSTOM LANGUAGE PICKER BEGIN */

.hh-language-picker {
    position: relative;
    display: inline-flex;
}

.hh-language-menu[hidden] {
    display: none !important;
}

.hh-language-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 3000;

    width: 230px;
    padding: 7px;

    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 14px;

    background: #ffffff;
    box-shadow:
        0 18px 45px rgba(15, 23, 42, .16),
        0 2px 8px rgba(15, 23, 42, .08);

    color: #0f172a;
}

.hh-language-option {
    width: 100%;
    min-height: 42px;

    display: grid;
    grid-template-columns: 32px 1fr 18px;
    align-items: center;
    gap: 9px;

    padding: 6px 9px;

    border: 0;
    border-radius: 9px;

    background: transparent;
    color: #334155;

    text-align: left;
    font: inherit;
    font-size: 13px;
    font-weight: 650;

    cursor: pointer;
}

.hh-language-option:hover,
.hh-language-option:focus {
    background: #f1f5f9;
    color: #0f172a;
    outline: none;
}

.hh-language-option.is-active {
    background: #eef2ff;
    color: #1e3a8a;
}

.hh-language-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 25px;

    border-radius: 7px;
    background: #f8fafc;

    color: #64748b;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
}

.hh-language-option.is-active .hh-language-code {
    background: #ffffff;
    color: inherit;
}

.hh-language-option > .fa-check {
    justify-self: end;
    font-size: 11px;
}

.hh-language-chevron {
    margin-left: 2px;
    font-size: 9px;
    opacity: .65;
}

.hh-v2-language-button[aria-expanded="true"],
.hh-login-language-switcher[aria-expanded="true"] {
    background: rgba(127, 127, 127, .10);
}

.hh-login-language-row .hh-language-menu {
    right: 0;
}

@media (max-width: 540px) {
    .hh-language-menu {
        width: min(230px, calc(100vw - 32px));
    }

    .hh-v2-language-button .hh-language-chevron {
        display: none;
    }
}

/* HILLHOST CUSTOM LANGUAGE PICKER END */
