.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 100;
}

.language-selector-container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 101;
}

.language-selector-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 0.5rem;
  height: 36px;
}

.language-icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

.language-icon.globe {
  margin-right: 0.5rem;
}

.language-icon.chevron {
  margin-left: 0.5rem;
  width: 12px;
  height: 12px;
}

.language-selector {
  display: block;
  padding: 0.5rem 0.5rem 0.5rem 0;
  background: transparent;
  color: white;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  appearance: none;
  min-width: 120px;
  z-index: 102;
  position: relative;
  height: 100%;
  line-height: 1.2;
}

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

.language-selector option {
  background-color: #2c3e50;
  color: white;
  padding: 0.5rem;
}

/* Hide the default dropdown arrow */
.language-selector::-ms-expand {
  display: none;
}

/* For Firefox */
.language-selector {
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
  padding-right: 1rem;
}

/* For IE */
.language-selector::-ms-expand {
  display: none;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .language-selector {
    margin: 0 auto;
  }
  
  .language-selector-wrapper {
    height: 36px;
    padding: 0 0.5rem;
    margin: 0 auto;
  }
}

@media (prefers-color-scheme: dark) {
  .language-selector {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .language-selector:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }

  .language-selector option {
    background-color: #222;
  }
}

/* Hide translatable content initially */
[data-i18n] {
  opacity: 0;
  transition: opacity 0.2s ease-in;
}

/* Show content when translations are loaded */
.translations-loaded [data-i18n] {
  opacity: 1;
}

/* Specific styling for App Store badges */
.app-store-badge {
  max-width: 180px;
  height: auto;
  opacity: 0; /* Ensure badges are hidden initially */
  transition: opacity 0.3s ease-in;
}

/* Show badges when translations are loaded */
.translations-loaded .app-store-badge {
  opacity: 1;
} 