/* Mobile-first language selection styles for BikeJunkies */

.lang-inline {
  display: flex;
  justify-content: flex-end;
  margin-bottom: .75rem;
}

#langSelect {
  font-size: 1rem;
  padding: .6rem .8rem;
  border: 1px solid #ddd;
  border-radius: .6rem;
  background: #fff;
  color: #333;
}

@media (max-width: 480px) {
  #langSelect { 
    font-size: 1.05rem; 
  }
}

/* Language bottom sheet for mobile first-time users */
.lang-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1100;
  padding: 0 12px 12px;
}

.lang-sheet__card {
  margin: 0 auto;
  max-width: 560px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .18);
  padding: 16px;
}

.lang-sheet__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

.lang-chip {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #fafafa;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-chip:hover {
  background: #f0f0f0;
}

.lang-chip:active {
  transform: translateY(1px);
}

.lang-cancel {
  width: 100%;
  background: none;
  border: none;
  padding: 10px;
  opacity: .7;
  cursor: pointer;
  font-size: 0.9rem;
}

.lang-cancel:hover {
  opacity: 1;
}

/* Only show bottom sheet on mobile */
@media (min-width: 769px) {
  #langSheet {
    display: none !important;
  }
}
