
/* Frontend modal styles */
.xeroweb-pll-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.xeroweb-pll-modal[data-xeroweb-open="1"] {
  display: block;
}

.xeroweb-pll-backdrop {
  position: absolute;
  inset: 0;
  background: var(--xeroweb-pll-overlay, rgba(0,0,0,0.75));
}

.xeroweb-pll-panel {
  position: relative;
  max-width: 720px;
  margin: 10vh auto 0 auto;
  padding: 0 16px;
}

.xeroweb-pll-content {
  background: var(--xeroweb-pll-bg, #111827);
  color: var(--xeroweb-pll-font, #ffffff);
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.xeroweb-pll-title {
  margin: 0 0 10px 0;
  font-size: 28px;
  line-height: 1.2;
}

.xeroweb-pll-desc {
  margin: 0 0 18px 0;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.92;
}

.xeroweb-pll-langlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.xeroweb-pll-langbtn {
  appearance: none;
  border: 0;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 14px;
  cursor: pointer;
  border-radius: 12px;
  background: var(--xeroweb-pll-btn-bg, #ffffff);
  color: var(--xeroweb-pll-btn-font, #111827);
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.05s ease, filter 0.15s ease;
}

.xeroweb-pll-langbtn:focus {
  outline: 3px solid rgba(255,255,255,0.35);
  outline-offset: 2px;
}

.xeroweb-pll-langbtn:hover {
  filter: brightness(0.96);
}

.xeroweb-pll-langbtn:active {
  transform: translateY(1px);
}

.xeroweb-pll-flag img {
  max-height: 18px;
  width: auto;
  display: inline-block;
}

.xeroweb-pll-noscript {
  margin-top: 18px;
  opacity: 0.9;
  font-size: 14px;
}

/* Lock scroll */
html.xeroweb-pll-lock,
body.xeroweb-pll-lock {
  overflow: hidden !important;
}
