
/* Container positioned in the top right */
.lang-selector {
  position: absolute;
  top: 10px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: sans-serif;
  font-size: 14px;
  z-index: 1000;
}

/* Hide all language labels by default */
.lang-selector .lang-label-en,
.lang-selector .lang-label-es,
.lang-selector .lang-label-de,
.lang-selector .lang-label-ja {
  display: none;
}

/* Style the flag links */
.lang-selector a {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lang-selector a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.lang-selector img {
  vertical-align: middle;
}


/* Positioned in the top left, pushed right and down */
.theme-toggle-container {
  position: absolute;
  top: 10px;   /* Matches the down spacing of the language selector */
  left: 20px;  /* Pushes it right from the very edge of the screen */
  z-index: 1000; /* Keeps it on the same layer as the language menu */
}

/* Optional tuning adjustment */
.btn-toggle {
  cursor: pointer;
  /* Add any padding or styling you already have here */
}
