html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Shared Saudi Riyal icon */
.sar-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url('/images/icons/saudi-riyal-symbol.svg') center / contain no-repeat;
  mask: url('/images/icons/saudi-riyal-symbol.svg') center / contain no-repeat;
}

.sar-icon::before {
  content: "";
}

.sar-icon-inline {
  width: 0.95rem;
  height: 0.95rem;
  margin-inline: 0.15rem;
  transform: translateY(-0.05rem);
}

@supports not ((-webkit-mask: url('/images/icons/saudi-riyal-symbol.svg') center / contain no-repeat) or (mask: url('/images/icons/saudi-riyal-symbol.svg') center / contain no-repeat)) {
  .sar-icon {
    width: auto;
    height: auto;
    background-color: transparent;
    -webkit-mask: none;
    mask: none;
  }

  .sar-icon::before {
    content: "ريال";
    font-weight: 700;
    line-height: 1;
  }
}
