.auth-lang-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
}

.auth-lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(25, 30, 42, 0.6);
  border: 1px solid rgba(90, 100, 120, 0.4);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.auth-lang-toggle:hover {
  background: rgba(30, 35, 47, 0.7);
  border-color: rgba(140, 199, 255, 0.5);
}

.auth-lang-flag {
  font-size: 16px;
  line-height: 1;
}

.auth-lang-code {
  font-size: 11px;
  font-weight: 600;
  color: #8cc7ff;
  letter-spacing: 0.5px;
}

.auth-lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(25, 30, 42, 0.95);
  border: 1px solid rgba(90, 100, 120, 0.5);
  border-radius: 6px;
  padding: 4px;
  min-width: 140px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
}

.auth-lang-dropdown.active {
  display: block;
}

.auth-lang-option {
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 12px;
  color: #aeb7c4;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-lang-option:hover {
  background: rgba(140, 199, 255, 0.1);
  color: #8cc7ff;
}

.auth-lang-option.active {
  background: rgba(140, 199, 255, 0.15);
  color: #8cc7ff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .auth-lang-selector {
    top: 15px;
    right: 15px;
  }
  
  .auth-lang-toggle {
    padding: 5px 8px;
  }
  
  .auth-lang-flag {
    font-size: 14px;
  }
  
  .auth-lang-code {
    font-size: 10px;
  }
}
