/* POLİ — GTranslate floating switcher | premium dark glass, visual-only. */
/* Position/anchor, layout mechanics and translator events remain GTranslate-owned. */
.gt_float_switcher {
    background: rgba(15, 17, 21, .78) !important;
    -webkit-backdrop-filter: blur(18px) saturate(155%);
    backdrop-filter: blur(18px) saturate(155%);
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 14px !important;
    box-shadow:
        0 12px 34px rgba(0, 0, 0, .36),
        inset 0 1px 0 rgba(255, 255, 255, .08) !important;
    color: #f5f6f8 !important;
    font-family: Montserrat, system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}

.gt_float_switcher .gt-selected {
    background: transparent !important;
    border-radius: inherit !important;
}

.gt_float_switcher .gt-selected .gt-current-lang {
    background: transparent !important;
    color: #fff !important;
    border-radius: 13px !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .01em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

.gt_float_switcher .gt-selected .gt-lang-code,
.gt_float_switcher .gt-current-lang .gt-lang-code {
    color: #fff !important;
    font-weight: 600 !important;
}

.gt_float_switcher .gt-selected .gt-current-lang img,
.gt_float_switcher .gt_options img {
    border-radius: 3px !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
}

.gt_float_switcher .gt-selected .gt-current-lang .gt_float_switcher-arrow {
    filter: brightness(0) invert(1) !important;
    opacity: .82;
}

/* The options menu remains GTranslate's own functional dropdown. */
.gt_float_switcher .gt_options {
    background: rgba(21, 23, 29, .95) !important;
    border-top: 1px solid rgba(255, 255, 255, .11) !important;
    border-radius: 0 0 13px 13px !important;
}

.gt_float_switcher .gt_options a {
    background: transparent !important;
    color: #e9eaf0 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border: none !important;
    transition: background-color .18s ease, color .18s ease;
}

.gt_float_switcher .gt_options a:hover,
.gt_float_switcher .gt_options a:focus-visible,
.gt_float_switcher .gt_options a.gt-current-lang {
    background: rgba(255, 255, 255, .10) !important;
    color: #fff !important;
}

.gt_float_switcher :is(a, button, [role="button"]):focus-visible {
    outline: 2px solid rgba(255, 255, 255, .85) !important;
    outline-offset: -3px;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .gt_float_switcher { background: rgba(15, 17, 21, .96) !important; }
}

@media (prefers-reduced-motion: reduce) {
    .gt_float_switcher .gt_options a { transition: none !important; }
}

/* v1.0.2 — Mobile only: lower the floating selector, retain safe-area clearance. */
@media (max-width: 767px) {
    .gt_float_switcher {
        bottom: max(2px, env(safe-area-inset-bottom, 0px)) !important;
    }
}
