.language-switch {
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 999px;
    bottom: calc(24px + env(safe-area-inset-bottom));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    color: #1f2937;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    gap: 6px;
    line-height: 1;
    min-height: 44px;
    padding: 0 15px;
    position: fixed;
    right: calc(18px + env(safe-area-inset-right));
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    user-select: none;
    z-index: 10010;
}

.language-switch:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.24);
    transform: translateY(-2px);
}

.language-switch:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}

.language-switch__icon {
    color: #2563eb;
    font-size: 16px;
}

@media (max-width: 991px) {
    .language-switch {
        bottom: calc(76px + env(safe-area-inset-bottom));
        min-height: 40px;
        padding: 0 12px;
        right: calc(12px + env(safe-area-inset-right));
    }
}

@media (prefers-reduced-motion: reduce) {
    .language-switch {
        transition: none;
    }
}
