@font-face {
  font-family: "Co Text W";
  src: url("/assets/cotext-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CoText W";
  src: url("/assets/cotext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  color: #444;
  font-family: "CoText W", CoText, Tahoma, sans-serif;
  background: #fff;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  padding: 0 15px;
}

.wrap-content {
  width: 100%;
  min-height: calc(100% - 100px);
  padding-bottom: 24px;
}

header {
  background-color: #2980b9;
}

.header-part-top {
  background-color: #2470a3;
  min-height: 53px;
}

.top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.socials {
  display: flex;
  align-items: center;
  order: 3;
}

.dropdown {
  position: relative;
  order: 2;
}

.hlinks {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
}

.header-part-top a {
  color: #fff;
  opacity: 0.5;
  padding: 5px 10px;
  transition: opacity 0.4s;
}

.header-part-top a:hover,
.header-part-top a:focus {
  opacity: 1;
  color: #fff !important;
}

.hlinks-inner {
  padding: 0.75rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: flex-start;
}

a.sm {
  font-size: 15px;
  line-height: 2.6em;
  padding: 0 10px;
  color: #fff;
  transition: opacity 0.4s;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
}

a.sm:hover,
a.sm:focus {
  opacity: 1;
}

a.sm::after {
  content: "";
  display: inline-block;
  background: currentColor;
}

.twitter::after {
  width: 14px;
  height: 14px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23000' d='M389.2 48h70.6L305.6 215.1 487 464H345L233.7 318.5 106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9L389.2 48zm-24.8 373.8h39.1L151.1 88h-42l255.3 333.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23000' d='M389.2 48h70.6L305.6 215.1 487 464H345L233.7 318.5 106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9L389.2 48zm-24.8 373.8h39.1L151.1 88h-42l255.3 333.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.instagram::after {
  width: 14px;
  height: 14px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23000' d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23000' d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.facebook::after {
  width: 14px;
  height: 14px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23000' d='M80 299.3V512h116V299.3h86.5l18-97.8H196v-34.7c0-51.7 20.3-71.5 72.7-71.5 16.3 0 29.4.5 37 1.4V7.1C291.1 4.2 256.7 0 236.1 0 129.9 0 80 50.4 80 159.4v42.1H14v97.8H80z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23000' d='M80 299.3V512h116V299.3h86.5l18-97.8H196v-34.7c0-51.7 20.3-71.5 72.7-71.5 16.3 0 29.4.5 37 1.4V7.1C291.1 4.2 256.7 0 236.1 0 129.9 0 80 50.4 80 159.4v42.1H14v97.8H80z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.youtube::after {
  width: 16px;
  height: 14px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='%23000' d='M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232.2 337.6V175.2l142.8 81.2-142.8 81.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='%23000' d='M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232.2 337.6V175.2l142.8 81.2-142.8 81.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dropdown-toggle {
  background-color: transparent;
  border: none;
  opacity: 0.7;
  margin: 0;
  color: #fff;
  font-family: "CoText W", Tahoma, sans-serif;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 10px;
  min-height: 40px;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  opacity: 1;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 4px;
  vertical-align: middle;
  border-top: 4px solid #fff;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 20;
  min-width: 100px;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #2470a3;
  border-radius: 0;
}

.dropdown-menu li a {
  display: block;
  color: #fff;
  padding: 12px 14px;
  opacity: 1;
  font-family: "CoText W", Tahoma, sans-serif;
}

.logo-row {
  display: flex;
  justify-content: flex-end;
  padding: 10px 5px 14px;
}

.logo-wrap {
  line-height: 0;
  display: inline-block;
}

.logo-wrap img {
  display: block;
  width: 60px;
  height: 90px;
  object-fit: contain;
}

.body-content {
  width: 100%;
  padding: 28px 0 36px;
}

h1 {
  margin: 0 0 18px;
  color: #222;
  font-size: clamp(22px, 5.5vw, 34px);
  font-weight: 400;
  line-height: 1.3;
  text-align: start;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 28px;
  max-width: 340px;
}

.step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px dashed #d0d0d0;
  color: #bbb;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.step.active {
  border-style: solid;
  border-color: #0989c9;
  color: #0989c9;
  font-weight: 600;
}

.step.done {
  border-style: solid;
  border-color: #2ecc71;
  background: #2ecc71;
  color: #fff;
}

.step-line {
  flex: 1;
  height: 1px;
  background: #d8d8d8;
  margin: 0 6px;
}

.panel {
  max-width: 420px;
}

.field-label {
  display: block;
  margin: 0 0 10px;
  color: #333;
  font-size: 16px;
}

.input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrap:focus-within {
  border-color: #0989c9;
  box-shadow: 0 0 0 3px rgba(9, 137, 201, 0.15);
}

.input-wrap.invalid {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.input-wrap .prefix,
.input-wrap .suffix {
  padding: 0 12px;
  color: #607d8b;
  font-size: 14px;
  white-space: nowrap;
  background: #f5f8fa;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

.input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 14px 12px;
  font-size: 18px;
  font-family: inherit;
  color: #222;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.input-wrap input::placeholder {
  color: #b0bec5;
}

.hint {
  margin: 8px 0 0;
  color: #90a4ae;
  font-size: 13px;
}

.error {
  margin: 8px 0 0;
  color: #e53935;
  font-size: 13px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  margin-top: 22px;
  padding: 13px 20px;
  border: 0;
  border-radius: 4px;
  background: #0989c9;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, transform 0.15s;
  min-height: 48px;
}

.btn-primary:hover:not(:disabled) {
  background: #0778b0;
}

.btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}

.btn-primary:disabled {
  background: #cfd8dc;
  color: #78909c;
  cursor: not-allowed;
}

.phone-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 22px;
  padding: 12px 14px;
  background: #f3f8fb;
  border: 1px solid #d7e6ef;
  border-radius: 6px;
  color: #455a64;
  font-size: 14px;
}

.phone-chip strong {
  color: #0989c9;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.link-btn {
  margin-inline-start: auto;
  border: 0;
  background: transparent;
  color: #0989c9;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.amount-btn {
  border: 1px solid #b0bec5;
  border-radius: 6px;
  background: #fff;
  color: #0989c9;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 8px;
  cursor: pointer;
  min-height: 52px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.amount-btn::after {
  content: " ر.س";
  font-size: 12px;
  font-weight: 400;
  color: #78909c;
}

html[lang="en"] .amount-btn::after {
  content: " SAR";
}

.amount-btn:hover {
  border-color: #0989c9;
  background: #f3f9fc;
}

.amount-btn.active {
  border-color: #0989c9;
  background: #0989c9;
  color: #fff;
}

.amount-btn.active::after {
  color: rgba(255, 255, 255, 0.85);
}

.summary {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 6px;
  background: #f7fafc;
  border: 1px solid #e3eef5;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #546e7a;
  font-size: 14px;
}

.summary-row + .summary-row {
  border-top: 1px solid #e8eef2;
}

.summary-row.total {
  color: #222;
  font-size: 16px;
}

.summary-row.total strong {
  color: #0989c9;
  font-size: 18px;
}

.sar {
  font-size: 0.85em;
}

.success-panel {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 8px auto 16px;
  border-radius: 50%;
  background: #2ecc71;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
}

.success-panel h2 {
  margin: 0 0 8px;
  color: #222;
  font-size: 22px;
  font-weight: 400;
}

.success-panel p {
  margin: 0 0 18px;
  color: #607d8b;
}

.success-panel .summary {
  text-align: start;
  margin-bottom: 8px;
}

.success-panel .btn-primary {
  margin-inline: auto;
}

.pay-summary {
  margin: 0 0 20px;
}

.pay-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

.pay-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #cfd8dc;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: start;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  min-height: 64px;
}

.pay-card:hover {
  border-color: #0989c9;
  background: #f7fbfe;
}

.pay-card.active {
  border-color: #0989c9;
  background: #eef7fc;
  box-shadow: 0 0 0 3px rgba(9, 137, 201, 0.12);
}

.pay-card-logo {
  width: 76px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #eceff1;
  border-radius: 6px;
  flex-shrink: 0;
  padding: 4px;
}

.pay-card-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pay-card-logo.mada-logo {
  background: #fff;
}

.field-error {
  margin-top: 6px;
}

.input-wrap.valid {
  border-color: #2ecc71;
}

.input-wrap.invalid {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.input-wrap.is-wrong {
  animation: otp-shake 0.45s ease;
}

.pay-card-name {
  color: #263238;
  font-size: 16px;
  font-weight: 600;
}

.card-form {
  margin-top: 18px;
}

.card-panel {
  width: 100%;
}

.card-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.card-method-chip {
  margin-bottom: 0;
}

.card-total-box {
  margin: 0;
}

.card-fields .field-label {
  margin-top: 14px;
}

.card-fields .field-label:first-child {
  margin-top: 0;
}

.card-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 12px;
  margin-top: 14px;
  align-items: start;
}

.card-col {
  min-width: 0;
}

.card-col .field-label {
  margin-top: 0;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-col .input-wrap input {
  text-align: center;
  letter-spacing: 0.04em;
}

.input-wrap.has-brand {
  padding-inline-end: 0;
}

.input-wrap.has-brand input {
  padding-inline-end: 8px;
}

.brand-suffix {
  background: transparent !important;
  padding: 0 10px !important;
  border-inline-start: 1px solid #e8eef2;
}

.brand-suffix img {
  display: block;
  width: 40px;
  height: 26px;
  object-fit: contain;
}

.card-actions {
  margin-top: 18px;
}

.card-actions .btn-primary {
  margin-top: 0;
  max-width: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  margin-top: 10px;
  padding: 12px 20px;
  border: 1px solid #0989c9;
  border-radius: 4px;
  background: #fff;
  color: #0989c9;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  min-height: 46px;
}

.btn-secondary:hover {
  background: #f3f9fc;
}

.otp-header {
  text-align: center;
  margin-bottom: 18px;
}

.otp-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.otp-header h2 {
  margin: 0 0 8px;
  color: #222;
  font-size: 22px;
  font-weight: 400;
}

.otp-desc {
  margin: 0;
  color: #607d8b;
  font-size: 14px;
  line-height: 1.5;
}

.otp-boxes {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 10px;
}

.otp-digit {
  width: 44px;
  height: 52px;
  border: 1.5px solid #cfd8dc;
  border-radius: 8px;
  text-align: center;
  font-size: 22px;
  font-family: inherit;
  color: #222;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.otp-digit:focus {
  border-color: #0989c9;
  box-shadow: 0 0 0 3px rgba(9, 137, 201, 0.15);
}

.otp-digit.invalid {
  border-color: #e53935;
}

.otp-boxes.is-wrong {
  animation: otp-shake 0.45s ease;
}

.otp-boxes.is-wrong .otp-digit {
  border-color: #e53935;
  background: #fff5f5;
}

@keyframes otp-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-8px);
  }
  30% {
    transform: translateX(8px);
  }
  45% {
    transform: translateX(-6px);
  }
  60% {
    transform: translateX(6px);
  }
  75% {
    transform: translateX(-3px);
  }
  90% {
    transform: translateX(3px);
  }
}

.otp-hint {
  text-align: center;
  margin-bottom: 8px;
}

#wrapOtp input {
  text-align: center;
  letter-spacing: 0.35em;
  font-size: 20px;
}

.wait-box {
  text-align: center;
  padding: 28px 12px 18px;
}

.wait-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 4px solid #d7e6f2;
  border-top-color: var(--mobily-blue, #2980b9);
  animation: waitSpin .8s linear infinite;
}

@keyframes waitSpin {
  to { transform: rotate(360deg); }
}

.wait-box h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: #243447;
}

.wait-desc {
  margin: 0;
  color: #6b7c8f;
  line-height: 1.7;
}

#stepOtp .btn-primary,
#stepOtp .btn-secondary {
  display: flex;
  margin-inline: auto;
  margin-top: 10px;
}

.otp-change-card {
  display: block;
  width: 100%;
  margin-top: 14px;
  text-align: center;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

/* Page transition loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.page-loader.is-visible {
  opacity: 1;
  visibility: visible;
}

.page-loader[hidden] {
  display: none !important;
}

.page-loader.is-visible[hidden] {
  display: flex !important;
}

.page-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 140px;
  padding: 22px 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(36, 112, 163, 0.18);
  border: 1px solid #e3eef5;
}

.page-loader-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #d7e8f3;
  border-top-color: #0989c9;
  animation: page-spin 0.7s linear infinite;
}

.page-loader-text {
  margin: 0;
  color: #546e7a;
  font-size: 14px;
}

@keyframes page-spin {
  to {
    transform: rotate(360deg);
  }
}

footer {
  width: 100%;
  background-color: #2470a3;
  color: #fff;
  font-size: 12px;
  padding: 12px 0 18px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}

footer p {
  margin: 0;
  text-align: center;
  line-height: 1.7;
  padding: 0 10px;
}

footer a {
  color: lightskyblue;
  padding: 8px 10px;
  display: inline-block;
}

footer a:hover,
footer a:focus {
  color: #e7e7e7 !important;
  opacity: 1;
}

.footer-brand {
  margin-top: 6px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }

  .top-bar {
    justify-content: center;
    text-align: center;
  }

  .hlinks {
    flex: 1 1 100%;
    order: 1;
  }

  .hlinks-inner {
    justify-content: center;
    padding: 0.45rem 0 0.15rem;
  }

  .header-part-top a {
    padding: 6px 7px;
    font-size: 13px;
  }

  .dropdown {
    order: 2;
  }

  .socials {
    order: 3;
  }

  .logo-row {
    justify-content: center;
    padding: 8px 0 12px;
  }

  .logo-wrap img {
    width: 54px;
    height: 81px;
  }

  .body-content {
    padding: 18px 0 28px;
  }

  h1 {
    text-align: center;
    margin-bottom: 16px;
  }

  .panel {
    max-width: none;
  }

  .btn-primary {
    max-width: none;
  }

  .amount-grid {
    gap: 8px;
  }

  .amount-btn {
    font-size: 16px;
    padding: 12px 6px;
  }

  .otp-digit {
    width: 40px;
    height: 48px;
    font-size: 20px;
  }

  .steps {
    max-width: 100%;
  }

  .step {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .card-meta {
    gap: 8px;
    margin-bottom: 14px;
  }

  .card-method-chip {
    padding: 10px 12px;
    font-size: 13px;
  }

  .card-method-chip strong {
    font-size: 15px;
  }

  .card-total-box {
    padding: 10px 12px;
  }

  .card-total-box .summary-row {
    padding: 2px 0;
  }

  .card-total-box .summary-row.total strong {
    font-size: 18px;
  }

  .card-fields .field-label {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 14px;
  }

  .card-fields .field-label:first-child {
    margin-top: 0;
  }

  .card-fields .input-wrap input {
    font-size: 16px;
    padding: 13px 12px;
  }

  .card-fields .hint {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
  }

  .card-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .card-col .field-label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .brand-suffix {
    padding: 0 8px !important;
  }

  .brand-suffix img {
    width: 36px;
    height: 24px;
  }

  .card-actions {
    margin-top: 16px;
    position: sticky;
    bottom: 0;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, #fff 70%, rgba(255, 255, 255, 0));
    z-index: 5;
  }

  .card-actions .btn-primary {
    width: 100%;
    min-height: 50px;
    font-size: 16px;
    border-radius: 8px;
  }

  footer {
    font-size: 11px;
    line-height: 1.6;
  }
}

@media (max-width: 380px) {
  .header-part-top a {
    font-size: 12px;
    padding: 5px 5px;
  }

  .amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card-col .field-label {
    white-space: normal;
  }

  .card-col .input-wrap input {
    text-align: start;
  }

  .steps {
    gap: 0;
    margin-bottom: 20px;
  }

  .step {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .step-line {
    margin: 0 4px;
  }
}
