/* ==========================================================================
   Multi-Language Switcher Component Styles (Zero Inline CSS)
   ========================================================================== */

.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: inherit;
}

.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: inherit;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
}

.lang-switcher__btn:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.16);
}

.lang-switcher__icon {
    font-size: 0.85rem;
    line-height: 1;
}

.lang-switcher__label {
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.76rem;
}

.lang-switcher__arrow {
    font-size: 0.6rem;
    opacity: 0.6;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.lang-switcher.is-open .lang-switcher__arrow {
    transform: rotate(180deg);
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 135px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
    padding: 6px;
    z-index: 1050;
    text-align: left;
}

.lang-switcher__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.lang-switcher__item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.lang-switcher__item.is-active {
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
}

.lang-switcher__check {
    color: #10b981;
    font-size: 0.8rem;
}

/* Mobile Drawer Pills */
.lang-switcher-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
}

.lang-switcher-mobile__pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #475569;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.lang-switcher-mobile__pill:hover {
    border-color: #cbd5e1;
    color: #0f172a;
}

.lang-switcher-mobile__pill.is-active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}
