@font-face {
  font-family: 'Noto Sans Bengali';
  src: url('fonts/NotoSansBengali.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
/* Also cover Bengali shop and product names while the interface is in English. */
body,
input,
select,
textarea,
button {
  font-family: 'DM Sans', 'Noto Sans Bengali', sans-serif;
}
/* Keep dropdown arrows centered and inset across forms, filters and language pickers. */
select:not([multiple]):not([size]),
select:not([multiple])[size='1'] {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%236e756d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}
html[lang='bn'] body,
html[lang='bn'] button,
html[lang='bn'] input,
html[lang='bn'] select,
html[lang='bn'] textarea,
html[lang='bn'] h1,
html[lang='bn'] h2,
html[lang='bn'] h3,
html[lang='bn'] .stat-number {
  font-family: 'Noto Sans Bengali', 'DM Sans', sans-serif;
  letter-spacing: 0;
}
html[lang='bn'] .eyebrow,
html[lang='bn'] .nav-label {
  letter-spacing: 0;
}
html[lang='bn'] .sidebar nav a {
  min-height: 43px;
  height: auto;
}
html[lang='bn'] .sidebar nav a span {
  white-space: normal;
}
.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  white-space: nowrap;
}
.language-picker select {
  width: auto;
  min-width: 92px;
  padding: 8px 25px 8px 10px;
  border: 1px solid #dfe4d8;
  border-radius: 10px;
  background: white;
  color: #2d3828;
  font-size: 13px;
}
.public-language {
  display: flex;
  justify-content: flex-end;
  padding: 12px 5%;
  position: relative;
  z-index: 2;
}
@media (max-width: 600px) {
  .language-picker > span {
    display: none;
  }
  .language-picker select {
    min-width: 80px;
    max-width: 100px;
  }
  .topbar-actions {
    gap: 8px;
  }
  html[lang='bn'] .page-heading {
    flex-wrap: wrap;
  }
}
@media print {
  .language-picker,
  .public-language {
    display: none !important;
  }
}

.auth-main {
  position: relative;
}
.auth-language {
  position: absolute;
  right: 24px;
  top: 18px;
}
html[lang='bn'] .sidebar nav a {
  font-size: 12px;
}
html[lang='bn'] .page-heading p {
  line-height: 1.8;
}
@media (max-width: 600px) {
  .auth-language {
    right: 18px;
    top: 12px;
  }
}

.receipt-body {
  font-family: 'Courier New', 'Noto Sans Bengali', monospace;
}
