.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown button {
  background-color: #f8fafc;
  width: 48px;
  height: 32px;
  border-radius: 6px;
  color: #64748b;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  gap: 4px;
}

.lang-dropdown button:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}

.lang-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  margin-top: 4px;
  padding: 0;
  background-color: #ffffff;
  min-width: 100%;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 100;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
}

.lang-dropdown-content li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-dropdown-content li:hover {
  background-color: #f8fafc;
  color: var(--main-color);
}

.lang-dropdown:focus-within .lang-dropdown-content {
  display: block;
}

.lang-label-active {
  margin-left: 2px;
}

.arrow-down {
  width: 0;
  height: 0;
  display: inline-block;
  border-style: solid;
  border-width: 4px 3px 0 3px;
  border-color: #94a3b8 transparent transparent transparent;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown-content {
  animation: slideIn 0.2s ease-out;
}
