/* Lao Typography Optimization */
:root {
  --font-lao: 'Noto Sans Lao', 'Phetsarath OT', 'Saysettha OT', sans-serif;
  --line-height-lao: 1.8;
}

/* Apply Lao font when Lao locale is active */
html[lang="lo"],
html[lang="lo-LA"] {
  font-family: var(--font-lao);
  line-height: var(--line-height-lao);
}

/* Increase line height for form controls */
html[lang="lo"] .btn,
html[lang="lo"] .form-control,
html[lang="lo"] .form-select,
html[lang="lo"] .form-check-label {
  line-height: var(--line-height-lao);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Adjust headings */
html[lang="lo"] h1,
html[lang="lo"] h2,
html[lang="lo"] h3,
html[lang="lo"] h4,
html[lang="lo"] h5,
html[lang="lo"] h6 {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Adjust table cells */
html[lang="lo"] td,
html[lang="lo"] th {
  line-height: var(--line-height-lao);
  padding: 0.75rem;
}

/* Adjust badges and labels */
html[lang="lo"] .badge,
html[lang="lo"] .label {
  line-height: 1.6;
  padding: 0.35em 0.65em;
}

/* Prevent text clipping in dropdowns */
html[lang="lo"] .dropdown-item {
  line-height: var(--line-height-lao);
  padding: 0.5rem 1rem;
}

/* Adjust navbar */
html[lang="lo"] .navbar-nav .nav-link {
  line-height: var(--line-height-lao);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
