/* Language Selector Component */
.language-selector {
  position: relative;
  display: flex;
  width: 72px;
  height: 40px;
  border-radius: 16px;
  padding: 8px 12px 8px 12px;
  gap: 4px;
  background-color: #EFF3F6;
  color: #003366;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.language-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 4px;
  padding: 0;
  background-color: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  color: #003366;
  transition: background-color 0.2s, border-color 0.2s;
  font-family: "Source Sans Pro", sans-serif;
}

.language-button .language-icon {
  font-size: 20px;
  margin-right: 6px;
}

.language-button:hover {
  background-color: transparent;
}

.language-button:focus {
  outline: none;
}

.language-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 45px;
  background-color: #FFFFFF;
  border: 1px solid #F6F7F7;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 120px;
  z-index: 1001;
  overflow: hidden;
  padding: 0;
}

.language-dropdown.show {
  display: block;
}

.language-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 4px 8px 4px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: left;
  color: #333333;
  font-family: "Korb-Bold", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 105%;
  position: relative;
}

.language-option:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #CCD7E6;
}

.language-option:hover,
.language-option:focus {
  background-color: #CCD7E6;
  outline: none;
}

.language-option.active {
  background-color: #CCD7E6;
  color: #003366;
  font-weight: 600;
}

@media (max-width: 768px) {
  .language-dropdown {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100vw;
    min-width: unset;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}
