.language-selector {
  position: fixed;
  top: 16px;
  right: 16px;
  background: #ffffff;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 150px;
}

.language-selector label {
  display: none; /* Hide the label to match React Native style */
}

.language-selector select {
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 20px;
  padding-right: 32px;
}

.language-selector select:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.language-selector select:focus {
  background-color: rgba(119, 67, 219, 0.05);
}

/* Adjustment for login page with different primary color */
.login-page .language-selector select:focus {
  border-color: #667eea;
  box-shadow: 0 0 3px rgba(102, 126, 234, 0.3);
}
