/* TEMEL STİL */
.language-selector {
  font-family: 'Segoe UI', sans-serif;
  z-index: 1000;
}

/* MASAÜSTÜ DROPDOWN STİLLERİ */
.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-dropdown-toggles {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 16px 21px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(75 26 179);
    border-radius: 35px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
} 

.language-dropdown-toggles::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #181a1c;
  border-radius: 99px;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
 
.language-dropdown-toggles:hover { 
  color: var(--vtc-text-white);
  border: 1px solid var(--vtc-text-black1);
}

.language-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  padding: 8px 0;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-header {
  padding: 8px 16px;
  color: #666;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.language-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.language-dropdown-menu li a:hover {
  background: rgba(0, 0, 0, 0.03);
}

.language-dropdown-menu li a.active {
  background: rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

.language-dropdown.active .language-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-arrow {
  font-size: 12px;
  transition: transform 0.3s;
}

.language-dropdown.active .language-arrow {
  transform: rotate(180deg);
}

/* MOBİL DRAWER STİLLERİ */
.mobile-drawer-trigger {
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgb(75 26 179);
    border-radius: 12px;
    color: #333;
}

.mobile-language-drawer {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  z-index: 1050;
  transition: all 0.3s ease;
}

.mobile-language-drawer.active {
  bottom: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px); 
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: -1;
}

.mobile-language-drawer.active .drawer-overlay {
  opacity: 1;
  visibility: visible;
}

.drawer-content {
  background: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  max-height: 80vh;
  overflow-y: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.drawer-header h3 {
  margin: 0;
  font-size: 18px;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background 0.2s;
}

.drawer-item.active {
  background: rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

.drawer-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* RESPONSIVE AYARLAR */
@media (max-width: 991.99px) {
  .desktop-only {
    display: none !important;
  }
  
  .mobile-only {
    display: flex !important;
    justify-content: center;
}
}

@media (min-width: 992px) {
  .desktop-only {
    display: inline-block !important;
  }
  
  .mobile-only {
    display: none !important;
  }
  
  .mobile-language-drawer {
    display: none !important;
  }
}

.check-mark{
    color: #4b1ab3;
}

.xmark-color{ 
    color: #4b1ab3;
}
}