/* ============================================
   Language Switcher — Consultia
   ============================================ */

.clt-lang-switcher {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

.clt-lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: transparent;
    border: 2px solid currentColor;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    transition: opacity 0.2s, background 0.2s;
}

.clt-lang-current:hover {
    opacity: 0.8;
}

.clt-arrow {
    font-size: 10px;
    display: inline-block;
    transition: transform 0.25s ease;
}

.clt-lang-switcher.open .clt-arrow {
    transform: rotate(180deg);
}

.clt-lang-dropdown {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 160px;
    z-index: 9999;
}

.clt-lang-switcher.open .clt-lang-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.clt-lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s;
    border-radius: 8px;
    margin: 0 4px;
}

.clt-lang-dropdown li a:hover {
    background: #f5f5f5;
}

.clt-flag {
    font-size: 18px;
    line-height: 1;
}
