/* Zászló nyelvválasztó – alap stílusok (PC/laptop) */
#lang-flags-fixed {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 2147483646;
}
.lang-flags-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.lang-flag-btn {
  width: 28px;
  height: 24px;
  min-width: 28px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .15s;
}
.lang-flag-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
}
.lang-flag-btn:active {
  transform: scale(0.95);
}
/* Mobil – zászlók az oldalsáv tetején, a menüvel együtt jönnek ki */
@media (max-width: 768px) {
  .lang-flags-selector,
  #lang-flags-wrapper {
    margin-right: 0;
    margin-left: 0;
  }
  /* Fallback: zászlók balra ha az oldalsáv még nincs a DOM-ban */
  #lang-flags-fixed {
    left: 56px;
    right: auto;
    top: 12px;
    z-index: 2147483646;
  }
  /* Zászlók az oldalsáv tetején */
  .lang-flags-in-sidebar {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .lang-flags-in-sidebar.lang-flags-selector {
    margin-bottom: 1rem;
  }
  .lang-flags-selector {
    gap: 3px;
  }
  .lang-flag-btn {
    width: 24px;
    height: 20px;
    min-width: 24px;
    font-size: 13px;
  }
}
