.airtime-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: #183342;
  background: #f5f8f6;
  font-family: "DM Sans", sans-serif;
}

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

.airtime-page .site-header {
  position: sticky;
  z-index: 10;
  top: 0;
}

.airtime-page .main-nav a.active {
  color: #078849;
}

.airtime-main {
  min-height: calc(100vh - 250px);
  padding: 30px 0 72px;
  background:
    radial-gradient(ellipse at 8% 5%, #e5f5eb 0, transparent 36%),
    #f5f8f6;
}

.airtime-container {
  width: min(1050px, calc(100% - 48px));
}

.airtime-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  color: #83928b;
  font-size: 11px;
}

.airtime-breadcrumb a:hover {
  color: #078849;
}

.airtime-breadcrumb i {
  font-size: 9px;
}

.airtime-breadcrumb span {
  color: #078849;
  font-weight: 700;
}

.airtime-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 20px;
}

.airtime-form-card,
.airtime-summary {
  background: #fff;
  border: 1px solid #e7eee9;
  border-radius: 15px;
  box-shadow: 0 12px 34px #163e2c08;
}

.airtime-form-card {
  padding: clamp(22px, 4vw, 36px);
}

.airtime-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.airtime-heading-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  color: #078849;
  background: #eaf7ee;
  border-radius: 13px;
  font-size: 20px;
}

.airtime-kicker,
.summary-eyebrow {
  display: block;
  color: #078849;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.airtime-heading h1 {
  margin: 3px 0 0;
  color: #193b32;
  font: 800 25px/1.25 Manrope, sans-serif;
  letter-spacing: -0.7px;
}

.airtime-intro {
  margin: 16px 0 25px;
  color: #788982;
  font-size: 12px;
  line-height: 1.65;
}

.airtime-fieldset {
  min-width: 0;
  margin: 0 0 23px;
  padding: 0;
  border: 0;
}

.airtime-fieldset legend,
.airtime-field > label {
  margin-bottom: 10px;
  color: #29483d;
  font-size: 11px;
  font-weight: 700;
}

.network-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.network-option {
  position: relative;
  min-height: 83px;
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #51635b;
  background: #fbfcfb;
  border: 1px solid #e6ede8;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.network-option:has(input:checked) {
  background: #f2faf5;
  border-color: #078849;
  box-shadow: 0 0 0 2px #07884915;
}

.network-option input {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #078849;
}

.network-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #ffca05;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.network-airtel .network-logo {
  color: #fff;
  background: #e82332;
  font-size: 16px;
}

.network-glo .network-logo {
  color: #fff;
  background: #079744;
  font-size: 14px;
}

.network-9mobile .network-logo {
  color: #fff;
  background: #78b82a;
  font: 800 21px/1 Manrope, sans-serif;
}

.network-name {
  font-size: 9px;
  font-weight: 700;
}

.airtime-field {
  margin-top: 20px;
  display: grid;
}

.airtime-input-wrap {
  height: 46px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #91a097;
  background: #fff;
  border: 1px solid #dfe8e2;
  border-radius: 8px;
}

.airtime-input-wrap:focus-within {
  border-color: #078849;
  box-shadow: 0 0 0 3px #07884916;
}

.airtime-input-wrap > i {
  font-size: 14px;
}

.airtime-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  color: #183342;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 12px;
}

.airtime-input-wrap input::placeholder {
  color: #a1ada6;
}

.airtime-field > small {
  margin-top: 6px;
  color: #98a59e;
  font-size: 9px;
}

.amount-shortcuts {
  margin: 0 0 9px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.amount-shortcuts button {
  min-height: 34px;
  color: #527064;
  background: #f7faf8;
  border: 1px solid #e3ebe5;
  border-radius: 7px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.amount-shortcuts button:hover,
.amount-shortcuts button:focus-visible {
  color: #078849;
  background: #f0f8f3;
  border-color: #078849;
}

.airtime-amount-wrap > span {
  color: #71847a;
  font-weight: 700;
}

.airtime-submit {
  width: 100%;
  min-height: 47px;
  margin-top: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  background: #078849;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.18s, transform 0.18s;
}

.airtime-submit:hover {
  background: #006d3c;
  transform: translateY(-1px);
}

.airtime-submit:focus-visible,
.network-option:focus-within {
  outline: 3px solid #07884936;
  outline-offset: 2px;
}

.airtime-notice {
  margin: 12px 0 0;
  color: #087b47;
  font-size: 11px;
  line-height: 1.5;
}

.airtime-summary {
  padding: 23px;
}

.summary-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #82938b;
  font-size: 9px;
}

.summary-eyebrow i {
  color: #078849;
  font-size: 13px;
}

.airtime-summary h2 {
  margin: 9px 0 20px;
  color: #193b32;
  font: 800 17px/1.3 Manrope, sans-serif;
}

.summary-network {
  padding-bottom: 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #edf1ee;
}

.summary-network-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: #078849;
  background: #eaf7ee;
  border-radius: 10px;
}

.summary-network > span:last-child {
  display: grid;
  gap: 4px;
}

.summary-network small {
  color: #8b9a92;
  font-size: 9px;
}

.summary-network strong {
  color: #29483d;
  font-size: 11px;
}

.summary-detail {
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf1ee;
  color: #82918a;
  font-size: 10px;
}

.summary-detail strong {
  color: #355148;
  font-size: 10px;
  text-align: right;
}

.summary-total {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #29483d;
  font-size: 11px;
  font-weight: 700;
}

.summary-total strong {
  color: #078849;
  font: 800 17px/1.2 Manrope, sans-serif;
}

.summary-security {
  margin: 0;
  padding: 10px 11px;
  color: #308353;
  background: #f0f8f2;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 600;
}

.summary-security i {
  margin-right: 4px;
}

.airtime-demo-note {
  margin: 15px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #8b7953;
  font-size: 9px;
  line-height: 1.55;
}

.airtime-demo-note i {
  margin-top: 1px;
  color: #b78320;
}

.airtime-footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.airtime-footer .brand-mark {
  width: 32px;
  height: 34px;
  font-size: 21px;
}

.airtime-footer .brand-name {
  font-size: 20px;
}

.airtime-footer .brand-tagline {
  font-size: 8px;
}

.airtime-footer p,
.airtime-footer > span {
  margin: 0;
  color: #b5c8be;
  font-size: 10px;
}

.airtime-footer p a {
  color: #48e38a;
  font-weight: 700;
}

.airtime-toast {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100% - 44px));
  padding: 13px 16px;
  color: #fff;
  background: #073d31;
  border: 1px solid #ffffff1a;
  border-radius: 9px;
  box-shadow: 0 12px 30px #08291f35;
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}

.airtime-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .airtime-page .site-header {
    top: 0;
  }

  .airtime-main {
    padding-top: 23px;
  }

  .airtime-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .airtime-summary {
    order: -1;
  }

  .airtime-footer {
    padding-top: 18px;
    padding-bottom: 18px;
    flex-wrap: wrap;
  }
}

@media (max-width: 1050px) {
  .airtime-page .site-header {
    height: 64px;
  }

  .airtime-page .menu-toggle {
    margin-left: auto;
    display: block;
  }

  .airtime-page .button-nav {
    display: none;
  }

  .airtime-page .main-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    height: auto;
    padding: 12px 22px 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 14px 20px #0b332020;
  }

  .airtime-page .main-nav.open {
    display: flex;
  }

  .airtime-page .main-nav a {
    padding: 10px 4px;
    border-bottom: 1px solid #edf2f2;
  }

  .airtime-page .main-nav a.active {
    border-bottom: 1px solid #edf2f2;
  }
}

@media (max-width: 480px) {
  .airtime-container {
    width: min(100% - 30px, 430px);
  }

  .airtime-form-card {
    padding: 21px 17px;
  }

  .network-options {
    gap: 6px;
  }

  .network-option {
    min-height: 76px;
  }

  .airtime-footer {
    justify-content: center;
    text-align: center;
  }

  .airtime-footer p,
  .airtime-footer > span {
    flex-basis: 100%;
  }
}
