/* Language selector — standalone (no Vite build required) */
.header-lang {
    display: flex !important;
    align-items: center;
    position: relative;
    z-index: 250;
    min-width: 168px;
    min-height: 38px;
    flex-shrink: 0;
}

#lang-switcher.google-translate-wrap {
    line-height: 1;
    position: relative;
    min-width: 168px;
    min-height: 38px;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
}

#lang-switcher .lang-select-shell {
    display: inline-flex !important;
    align-items: center;
    gap: .4rem;
    background: linear-gradient(180deg, #fff 0%, #FFF8F0 100%);
    border: 2px solid #FFE082;
    border-radius: 999px;
    padding: .45rem .95rem;
    min-height: 36px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    pointer-events: none;
}

#lang-switcher .lang-select-shell.is-hidden {
    display: none !important;
}

#lang-switcher .lang-select-icon {
    font-size: .95rem;
    line-height: 1;
}

#lang-switcher .lang-select-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: #5D4037;
    white-space: nowrap;
}

#lang-switcher .google-translate-mount {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    min-width: 168px;
}

#lang-switcher .google-translate-mount.is-ready {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
}

#lang-switcher .goog-te-gadget {
    font-family: Inter, 'Noto Sans Telugu', sans-serif !important;
    font-size: 0 !important;
    color: transparent !important;
}

#lang-switcher .goog-te-gadget > span {
    display: none !important;
}

#lang-switcher .goog-te-combo {
    font-family: Inter, 'Noto Sans Telugu', sans-serif !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    color: #5D4037 !important;
    border: 2px solid #FFE082 !important;
    border-radius: 999px !important;
    padding: .45rem 2rem .45rem 2.35rem !important;
    min-width: 148px;
    cursor: pointer;
    background-color: #fff !important;
}

#lang-switcher .goog-te-gadget-simple {
    display: inline-flex !important;
    align-items: center;
    gap: .35rem;
    background: linear-gradient(180deg, #fff 0%, #FFF8F0 100%) !important;
    border: 2px solid #FFE082 !important;
    border-radius: 999px !important;
    padding: .45rem .9rem !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

#lang-switcher .goog-te-gadget-simple .goog-te-menu-value,
#lang-switcher .goog-te-gadget-simple .goog-te-menu-value span {
    color: #5D4037 !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
}

#lang-switcher .goog-te-gadget-icon,
#lang-switcher .goog-te-gadget-simple img {
    display: none !important;
}

@media (max-width: 960px) {
    .header-lang,
    #lang-switcher.google-translate-wrap {
        min-width: 132px;
    }
}
