/* 16 Dil Seçici ve Üst Bar Ortak Stilleri */
.lang-picker {
    position: relative;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    padding: 5px 11px;
    border-radius: 16px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    height: 33px;
    text-decoration: none;
}
.lang-btn:hover {
    border-color: rgba(0, 240, 255, 0.4);
}
.lang-arrow {
    font-size: 0.6rem;
    color: #38bdf8;
    transition: transform 0.2s;
}
.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    background: linear-gradient(180deg, rgba(13, 19, 33, 0.98) 0%, rgba(8, 12, 24, 0.99) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 16px rgba(56, 189, 248, 0.2);
    width: 270px;
    max-width: min(270px, calc(100vw - 20px));
    max-height: min(380px, calc(100dvh - 75px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px;
    z-index: 999999;
    backdrop-filter: blur(20px);
    box-sizing: border-box;
}
[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}
.lang-dropdown.open {
    display: block;
    animation: fadeInDrop 0.2s ease-out;
}
@keyframes fadeInDrop {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.lang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
}
.lang-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 8px;
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.15s;
    cursor: pointer;
}
.lang-item:hover {
    background: rgba(56, 189, 248, 0.12);
    color: #fff;
}
.lang-item.active {
    background: rgba(0, 240, 255, 0.2);
    color: #00f0ff;
    font-weight: 700;
    border: 1px solid rgba(0, 240, 255, 0.35);
}
.lang-item img {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    flex-shrink: 0;
}

/* RTL Desteği */
[dir="rtl"] {
    text-align: right;
}
[dir="rtl"] .back-btn {
    flex-direction: row-reverse;
}
[dir="rtl"] .back-btn:hover {
    transform: translateX(4px);
}
[dir="rtl"] ul {
    padding-left: 0;
    padding-right: 24px;
}

/* Gizli Google Translate öğesi */
.goog-te-banner-frame.skiptranslate, 
.goog-te-gadget-simple, 
#goog-gt-tt, 
.goog-tooltip, 
.goog-tooltip:hover { 
    display: none !important; 
}
body { top: 0px !important; }
.skiptranslate { display: none !important; }
