.cbbd-google-translate-element,
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-logo-link,
.goog-te-gadget > span,
.goog-te-balloon-frame,
#goog-gt-tt,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
iframe.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    max-height: 0 !important;
    pointer-events: none !important;
}

body {
    top: 0 !important;
}

html {
    margin-top: 0 !important;
}

.cbbd-translate-switcher {
    --cbbd-ts-bg: #ffffff;
    --cbbd-ts-card: rgba(255, 255, 255, 0.92);
    --cbbd-ts-border: rgba(46, 125, 50, 0.24);
    --cbbd-ts-text: #1f2937;
    --cbbd-ts-muted: #4b5563;
    --cbbd-ts-accent: #2e7d32;
    --cbbd-ts-accent-soft: rgba(46, 125, 50, 0.12);
    --cbbd-ts-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    position: relative;
    width: max-content;
    min-width: 132px;
    max-width: none;
    display: inline-block;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    z-index: 99999;
    isolation: isolate;
}

.cbbd-translate-switcher,
.cbbd-translate-switcher * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    tap-highlight-color: transparent !important;
}

.cbbd-translate-switcher__shell {
    position: relative;
    border-radius: 999px;
    background: var(--cbbd-ts-bg);
    padding: 1px;
    box-shadow: var(--cbbd-ts-shadow);
    border: 1px solid rgba(46, 125, 50, 0.28);
}

.cbbd-translate-switcher__trigger {
    min-width: 132px;
    width: 100%;
    border: 0;
    cursor: pointer;
    text-align: left;
    color: var(--cbbd-ts-text);
    border-radius: 999px;
    background:
        radial-gradient(circle at top right, rgba(45, 212, 191, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    transition: transform 180ms ease, box-shadow 180ms ease;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
}

.cbbd-translate-switcher__trigger:hover,
.cbbd-translate-switcher__trigger:focus-visible {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(46, 125, 50, 0.2);
    outline: none;
}

.cbbd-translate-switcher__trigger:active {
    transform: scale(0.98);
}

.cbbd-translate-switcher__trigger-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.cbbd-translate-switcher__flag,
.cbbd-translate-switcher__option-flag {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    font-size: 12px;
    background: linear-gradient(180deg, #ffffff, #e2e8f0);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 4px 10px rgba(15, 23, 42, 0.1);
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.cbbd-translate-switcher__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.cbbd-translate-switcher__eyebrow {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cbbd-ts-muted);
}

.cbbd-translate-switcher__current {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--cbbd-ts-text);
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
}

.cbbd-translate-switcher__chevron {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #0f172a;
    border-bottom: 1.5px solid #0f172a;
    transform: rotate(45deg);
    transition: transform 180ms ease;
    margin-right: 0;
}

.cbbd-translate-switcher.is-open .cbbd-translate-switcher__chevron {
    transform: rotate(-135deg);
}

.cbbd-translate-switcher__menu {
    position: absolute;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 160px;
    top: calc(100% + 6px);
    z-index: 100000;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border: 1px solid var(--cbbd-ts-border);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
    opacity: 0;
    transform: translateX(-50%) translateY(-4px) scale(0.98);
    pointer-events: none;
    transition: opacity 170ms ease, transform 170ms ease;
    will-change: opacity, transform;
}

.cbbd-translate-switcher.is-open .cbbd-translate-switcher__menu {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

.cbbd-translate-switcher__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.cbbd-translate-switcher__option {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #fff;
    border-radius: 12px;
    padding: 7px 6px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: var(--cbbd-ts-text);
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    user-select: none;
    -webkit-user-select: none;
    min-height: 40px;
    min-width: 0;
}

.cbbd-translate-switcher__option:hover,
.cbbd-translate-switcher__option:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(46, 125, 50, 0.34);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    outline: none;
}

.cbbd-translate-switcher__option:active {
    transform: scale(0.96);
}

.cbbd-translate-switcher__option.is-active {
    border-color: rgba(46, 125, 50, 0.5);
    background: linear-gradient(180deg, #f1f8e9, #ffffff);
    box-shadow: inset 0 0 0 1px rgba(46, 125, 50, 0.12);
}

.cbbd-translate-switcher__option-label {
    display: none;
}

@media (max-width: 640px) {
    .cbbd-translate-switcher {
        display: inline-flex;
        width: fit-content !important;
        min-width: 36px;
        max-width: none;
        vertical-align: top;
    }

    .cbbd-translate-switcher__shell {
        width: fit-content;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .cbbd-translate-switcher__trigger {
        width: 26px;
        height: 26px;
        min-width: 26px;
        padding: 0;
        justify-content: center;
        gap: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .cbbd-translate-switcher__flag,
    .cbbd-translate-switcher__option-flag {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
        font-size: 13px;
        line-height: 1;
        box-shadow: none;
        background: transparent;
    }

    .cbbd-translate-switcher__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cbbd-translate-switcher__trigger-main {
        flex: 0;
        gap: 0;
    }

    .cbbd-translate-switcher__meta {
        display: none;
    }

    .cbbd-translate-switcher__chevron {
        display: none;
        margin-right: 0;
        flex: 0 0 auto;
    }

    .cbbd-translate-switcher__menu {
        width: 150px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}
