/* Shared by the store screens, the platform console and the installer.
   Same type as the desktop program (Segoe UI on Windows); phones and Macs get Noto Sans Arabic,
   the closest match, instead of the browser's default Arabic font. */
:root {
  --sms-font: "Segoe UI", "Noto Sans Arabic", "Segoe UI Arabic", Tahoma, Arial, sans-serif;
}
html,
body {
  font-family: var(--sms-font) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button,
input,
select,
textarea {
  font-family: inherit !important;
}
input[type="number"],
.ltr {
  font-variant-numeric: tabular-nums;
}

/* ---------- password field with an eye ---------- */
.pw-field {
  position: relative;
  display: block;
  flex: 1;
  min-width: 0;
}
.pw-field > input {
  width: 100%;
}
/* The eye sits on the left in these Arabic screens, also for fields typed left-to-right. */
[dir="rtl"] .pw-field > input {
  padding-left: 46px !important;
}
[dir="ltr"] .pw-field > input {
  padding-right: 46px !important;
}
.pw-eye {
  position: absolute;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #71809e;
  cursor: pointer;
  box-shadow: none !important;
  min-width: 0 !important;
}
[dir="rtl"] .pw-eye {
  left: 6px !important;
  right: auto !important;
}
[dir="ltr"] .pw-eye {
  right: 6px !important;
  left: auto !important;
}
.pw-eye svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pw-eye:hover,
.pw-eye.on {
  color: #2458e6;
  background: #eef2fb !important;
}
.pw-eye:focus-visible {
  outline: 2px solid #2458e6;
}
.password-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
