/* =========================================
   LANGUAGE SELECTOR
========================================= */

.language-dropdown {
    position: relative;
    z-index: 9999;
}


/* ÜST BUTON */

.topbar-lang {
    appearance: none;
    border: 0;
    outline: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 4px;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .18s ease;
}

.topbar-lang:hover {
    opacity: .8;
}

.topbar-lang:focus {
    outline: none;
    box-shadow: none;
}


/* TURUNCU NOKTA */

.lang-dot {
    width: 7px;
    height: 7px;
    display: block;
    border-radius: 50%;
    background: #ff6a00;
}


/* TR */

.lang-current {
    line-height: 1;
}


/* OK */

.lang-arrow {
    margin-left: 1px;
    color: rgba(255, 255, 255, .6);
    transition: transform .2s ease;
}

.language-dropdown.show .lang-arrow {
    transform: rotate(180deg);
}


/* =========================================
   DROPDOWN
========================================= */

.language-menu {
    min-width: 158px;
    margin-top: 9px !important;
    padding: 5px;
    background: #0b1722;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 7px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    overflow: hidden;
}


/* Bootstrap mavi rengi iptal */

.language-menu .dropdown-item,
.language-menu .dropdown-item:focus,
.language-menu .dropdown-item:active {
    background: transparent;
}


/* ITEM */

.language-menu .dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 4px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 500;
    transition: background-color .15s ease, color .15s ease;
}


/* KISA DİL KODU */

.language-menu .dropdown-item small {
    margin-left: 20px;
    color: rgba(255, 255, 255, .3);
    font-size: 10px;
    font-weight: 500;
}


/* HOVER */

.language-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, .055);
    color: #fff;
}

.language-menu .dropdown-item:hover small {
    color: rgba(255, 255, 255, .48);
}


/* AKTİF DİL */

.language-menu .dropdown-item.active {
    background: transparent;
    color: #fff;
}


/* Aktif dilin solundaki küçük turuncu çizgi */

.language-menu .dropdown-item.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2px;
    height: 14px;
    border-radius: 2px;
    background: #ff6a00;
    transform: translateY(-50%);
}

.language-menu .dropdown-item.active small {
    color: #ff7a1a;
}


/* =========================================
   DOĞAL AÇILIŞ ANİMASYONU
========================================= */

.language-menu.show {
    animation: langDropdown .15s ease-out;
}

@keyframes langDropdown {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}