body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.material-symbols-outlined.fill {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.pb-safe {
  padding-bottom: env(safe-area-inset-bottom);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #bfc9c3;
  border-radius: 10px;
}

.service-checkbox:checked + label {
  background-color: #e6eeff;
  border-color: #064e3b;
  color: #003527;
}

.scan-box {
  border: 1px dashed #bfc9c3;
  border-radius: .5rem;
  padding: 12px;
  margin-top: 8px;
  display: none;
  background: #f8f9ff;
}

.scan-box.active {
  display: block;
}

.scanner {
  width: 100%;
  max-width: 420px;
  margin: auto;
}

.upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.app-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(18, 28, 42, .38);
}

.app-popup.active {
  display: flex;
}

.app-popup-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid #bfc9c3;
  border-radius: .5rem;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(18, 28, 42, .2);
}

.field-error-ring {
  outline: 2px solid #ba1a1a;
  outline-offset: 2px;
}
