/* ==========================================================================
   AexoPe — Mobile Recharge page
   Standalone service page; design tokens come from landing.css.
   ========================================================================== */

body.rc {
  min-height: 100vh;
  color: var(--ink);
  font-size: var(--fs-ui);
  background:
    radial-gradient(760px 400px at 100% -8%, rgba(0, 208, 132, .10), transparent 62%),
    radial-gradient(700px 380px at 0% 102%, rgba(10, 108, 255, .10), transparent 60%),
    linear-gradient(180deg, #f2f7ff 0%, #f7faff 46%, #f1f9f5 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* ---------- Top bar ---------- */
.rc-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px 14px;
  min-height: var(--bar-h);
  padding: 11px max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter)));
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.rc-brand { display: inline-flex; align-items: center; min-height: var(--tap); }
.rc-brand img {
  height: 30px;
  width: auto;
}

.rc-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.rc-gbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: var(--tap);
  padding: 0 16px;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-800);
  background: #fff;
  border: 1px solid var(--line);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.rc-gbtn:hover { color: var(--brand-900); background: var(--brand-050); border-color: var(--brand-100); transform: translateY(-1px); }
.rc-gbtn:active { transform: translateY(0) scale(.98); }
.rc-gbtn i { font-size: 15px; }
.rc-gbtn--solid {
  color: #fff;
  border-color: transparent;
  background: var(--grad-brand);
  box-shadow: var(--sh-brand);
}
.rc-gbtn--solid:hover { color: #fff; background: var(--brand-700); }

/* ---------- Shell ---------- */
.rc-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 30px) var(--gutter) clamp(34px, 6vw, 64px);
}

/* The form owns the whole column now that plans live in the drawer, so it is
 * centred at a comfortable reading measure instead of stretching to 1320px. */
.rc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.rc-card {
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  padding: clamp(18px, 3vw, 28px);
}

/* ---------- Card head ---------- */
.rc-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  margin-bottom: 20px;
}

.rc-head-ico {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  color: var(--brand-700);
  background: var(--grad-brand-soft);
  border: 1px solid var(--brand-100);
  box-shadow: inset 0 1px 0 #fff;
  font-size: 30px;
}

.rc-head-txt h1 {
  margin: 0;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(24px, 4.4vw, 31px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--navy-900);
}
.rc-head-txt h1 span { color: var(--accent-600); }
.rc-head-txt p {
  margin: 5px 0 0;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.5;
}

.rc-offer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 8px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  white-space: nowrap;
}
.rc-offer-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: var(--grad-accent);
  box-shadow: var(--sh-accent);
  font-size: 15px;
}
.rc-offer-txt { display: grid; line-height: 1.2; }
.rc-offer-txt b { font-size: 13px; color: var(--navy-900); }
.rc-offer-txt span { font-size: 11px; color: var(--muted); font-weight: 500; }

/* ---------- Prepaid / Postpaid ---------- */
.rc-type { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }

.rc-type-opt {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px 10px 13px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.rc-type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rc-type-opt .rc-dot {
  position: relative;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 2px solid var(--muted-2);
  transition: border-color var(--dur) var(--ease);
  flex: none;
}
.rc-type-opt.is-on {
  color: #fff;
  border-color: var(--brand-600);
  background: var(--grad-brand);
  box-shadow: var(--sh-brand);
}
.rc-type-opt.is-on .rc-dot { border-color: #fff; }
.rc-type-opt.is-on .rc-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}
.rc-type-opt:focus-within { box-shadow: 0 0 0 4px rgba(10, 108, 255, .18); }

/* ---------- Fields ---------- */
.rc-fields { display: grid; gap: 13px; }

.rc-field {
  position: relative;
  display: grid;
  grid-template: auto auto / 42px minmax(0, 1fr) auto;
  grid-template-areas: "ico lbl lbl" "ico ctl side";
  align-content: center;
  min-height: var(--ctrl-h);
  gap: 1px 8px;
  padding: 9px 14px 10px 10px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--surface-2);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.rc-field:focus-within {
  border-color: var(--brand-500);
  background: #fff;
  box-shadow: 0 0 0 4px var(--ring);
}
.rc-field.is-bad { border-color: var(--danger); background: var(--danger-bg); }
.rc-field.is-bad:focus-within { box-shadow: 0 0 0 4px rgba(225, 29, 72, .18); }
.rc-field.is-ok { border-color: var(--accent-500); background: #fff; }

.rc-field label {
  grid-area: lbl;
  align-self: end;
  margin: 0 0 1px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.rc-field input,
.rc-select {
  grid-area: ctl;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  /* the box keeps its height while the hit area grows to the touch minimum */
  padding: 9px 0;
  margin: -9px 0;
  font-size: var(--fs-input);
  font-weight: 600;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.rc-field input::placeholder { color: var(--muted-2); font-weight: 500; }

.rc-f-ico {
  grid-area: ico;
  align-self: center;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 18px;
  color: var(--brand-700);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
}
.rc-f-ico--op {
  font-size: 14px;
  font-weight: 800;
  font-family: Poppins, Inter, sans-serif;
  letter-spacing: -.02em;
  color: var(--muted);
  background: var(--surface);
  border-color: var(--line);
}
.rc-f-side {
  grid-area: side;
  justify-self: end;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
  text-align: right;
  line-height: 1.2;
}
.rc-f-side.is-ok { color: var(--accent-700); }
.rc-f-side.is-bad { color: var(--danger-2); }
.rc-f-caret {
  grid-area: side;
  justify-self: end;
  text-align: right;
  color: var(--muted-2);
  font-size: 20px;
  pointer-events: none;
}
.rc-select { cursor: pointer; }
.rc-select option { color: var(--ink); font-weight: 500; }

/* ---------- View plans ---------- */
.rc-viewplans {
  position: relative;
  margin-top: 6px;
  padding: 15px 20px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--grad-brand);
  color: #fff;
  font-family: Poppins, Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: var(--sh-brand);
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.rc-viewplans:hover { transform: translateY(-2px); filter: saturate(1.08) brightness(1.04); }
.rc-viewplans:active { transform: translateY(0); }
.rc-viewplans i { margin-left: 6px; }
.rc-vp-note { margin: -3px 0 0; text-align: center; }

.rc-badge {
  position: absolute;
  top: -12px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #ff5436, #e11d48);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 8px 18px rgba(225, 29, 72, .32);
}

/* ---------- Section labels ---------- */
.rc-sec {
  margin: 24px 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-800);
}

/* ---------- Amount chips ---------- */
.rc-chips { display: flex; flex-wrap: wrap; gap: 9px; }

.rc-chip {
  min-height: var(--tap);
  padding: 10px 17px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.rc-chip:hover { border-color: var(--brand-400); color: var(--brand-700); transform: translateY(-1px); }
.rc-chip:active { transform: translateY(0) scale(.98); }
.rc-chip.is-on {
  color: #fff;
  border-color: transparent;
  background: var(--grad-brand);
  box-shadow: var(--sh-brand);
}
.rc-chip--other { border-style: dashed; color: var(--muted); }
.rc-chip--other.is-on { color: #fff; border-style: solid; }

.rc-other { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.rc-other label { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); margin: 0; }
.rc-other-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: var(--tap);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--brand-100);
  background: var(--brand-050);
  font-weight: 700;
  color: var(--brand-700);
}
.rc-other-wrap input {
  min-width: 0;
  width: 104px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: var(--fs-input);
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Popular operators ---------- */
.rc-ops { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }

.rc-op {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: var(--tap);
  padding: 13px 8px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.rc-op:hover { border-color: var(--brand-400); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.rc-op:active { transform: translateY(0) scale(.98); }
.rc-op.is-on { border-color: var(--brand-600); background: var(--brand-050); box-shadow: var(--sh-brand); }

.rc-op-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  box-shadow: var(--sh-xs);
}
.rc-op-lbl {
  max-width: 100%;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rc-op--more .rc-op-tile { color: var(--brand-700); background: var(--brand-050); border: 1px dashed var(--brand-100); font-size: 18px; }

/* ---------- Promo ---------- */
.rc-promo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  color: #fff;
  background: linear-gradient(112deg, #0a6cff 0%, #1f8bff 48%, #00c17a 100%);
  box-shadow: var(--sh-brand);
  overflow: hidden;
}
.rc-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 140px at 84% 120%, rgba(255, 255, 255, .2), transparent 70%);
  pointer-events: none;
}
.rc-promo-txt { position: relative; z-index: 1; }
.rc-promo h3 {
  margin: 0 0 12px;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(17px, 2.6vw, 21px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.01em;
}
.rc-promo h3 em { font-style: normal; color: var(--accent-400); }

.rc-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rc-ticks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
}
.rc-tick {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  color: #fff;
  flex: none;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .4);
}
.rc-tick--amber { background: var(--amber-600); border-color: transparent; }
.rc-tick--green { background: var(--accent-500); border-color: transparent; }
.rc-tick--red { background: var(--danger); border-color: transparent; }

/* Promo artwork — pure CSS, no raster asset exists for this page yet */
.rc-promo-art {
  position: relative;
  z-index: 1;
  flex: none;
  width: 116px;
  height: 96px;
}
.rc-art-phone {
  position: absolute;
  left: 6px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 74px;
  border-radius: 11px;
  background: #fff;
  color: var(--brand-700);
  font-size: 24px;
  box-shadow: 0 12px 24px rgba(4, 18, 44, .3);
  transform: rotate(-8deg);
}
.rc-art-phone b {
  position: absolute;
  right: -8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-500);
  color: #04331f;
  font-size: 13px;
  border: 2px solid #fff;
}
.rc-art-gift {
  position: absolute;
  right: 4px;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffd166, #f59e0b);
  color: #5c3a00;
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(4, 18, 44, .26);
  transform: rotate(9deg);
}
.rc-art-coin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe9a8, #f59e0b);
  color: #6b3f00;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .7);
}
.rc-art-coin--1 { right: 26px; top: 4px; }
.rc-art-coin--2 { right: 6px; top: 26px; width: 17px; height: 17px; font-size: 9px; }
.rc-art-coin--3 { left: 46px; bottom: 2px; width: 15px; height: 15px; font-size: 9px; }

/* ---------- Footer / continue ---------- */
.rc-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
  display: grid;
  gap: 10px;
  justify-items: stretch;
}
.rc-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border: 0;
  border-radius: var(--r-md);
  font-family: Poppins, Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-700);
  background: var(--grad-accent);
  box-shadow: var(--sh-accent);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.rc-continue:hover { transform: translateY(-2px); filter: brightness(1.05); }
.rc-continue:active { transform: translateY(0) scale(.99); filter: none; }
.rc-continue[disabled] { opacity: .6; cursor: progress; transform: none; }
.rc-hint { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); min-height: 22px; line-height: 1.45; }
.rc-hint.is-bad { color: var(--danger-2); }
.rc-hint.is-ok { color: var(--accent-700); }

/* ---------- Plans panel ---------- */
/* The card is height-capped once it goes sticky, so it has to clip: without
   this the plan rows painted outside the card box and sat over the form
   column, which is what made the panel look like a floating overlay. */
.rc-plans { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }

.rc-plans-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}
.rc-plans-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--sh-brand);
}
.rc-plans-title { display: grid; gap: 2px; min-width: 0; }
.rc-plans-title b { font-family: Poppins, Inter, sans-serif; font-size: 17px; font-weight: 700; color: var(--navy-900); }
.rc-plans-title span {
  font-size: 12.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rc-plans-close {
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.rc-plans-close:hover { color: var(--danger-2); border-color: #fda4af; background: var(--danger-bg); }
.rc-plans-close:active { transform: scale(.94); }

/* `flex: none` is load-bearing: the panel caps its height once it goes sticky,
   and a scroll container's automatic minimum size is 0, so the overflowing tab
   strip would otherwise shrink to a sliver and clip the category chips. */
.rc-tabs { display: flex; flex: none; gap: 7px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.rc-tabs::-webkit-scrollbar { display: none; }
.rc-tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 16px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.rc-tab:hover { color: var(--brand-700); border-color: var(--brand-100); }
.rc-tab:active { transform: scale(.98); }
.rc-tab.is-on { color: #fff; border-color: transparent; background: var(--grad-brand); box-shadow: var(--sh-brand); }

.rc-planlist {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 10px;
  max-height: min(640px, 74vh);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}
.rc-planlist::-webkit-scrollbar { width: 6px; }
.rc-planlist::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }

.rc-empty,
.rc-note {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.rc-empty i { font-size: 26px; color: var(--muted-2); }
.rc-empty b { color: var(--ink-2); }
.rc-note { justify-items: start; text-align: left; border-style: solid; }
.rc-note.is-bad { background: var(--danger-bg); border-color: var(--danger-line); color: var(--danger-ink); }
.rc-note b { font-weight: 700; }

.rc-skeleton { display: grid; gap: 10px; }
.rc-skeleton span {
  height: 74px;
  border-radius: var(--r-md);
  background: linear-gradient(90deg, var(--line-2) 20%, #fff 50%, var(--line-2) 80%);
  background-size: 220% 100%;
  animation: rcShimmer 1.15s var(--ease) infinite;
}
@keyframes rcShimmer {
  from { background-position: 130% 0; }
  to { background-position: -30% 0; }
}

/* Provider markup comes from actions/fetchPlans.php; restyled as rows */
.rc-planlist .geope-plan-results { width: 100%; }
.rc-planlist .geope-plan-grid { display: block; margin: 0; }
.rc-planlist .geope-plan-grid > .col { width: 100%; padding: 0; margin: 0 0 10px; flex: none; max-width: none; }

.rc-planlist .geope-plan-card {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.rc-planlist .geope-plan-card:hover { border-color: var(--brand-400); box-shadow: var(--sh-sm); }
.rc-planlist .geope-plan-card.is-pick { border-color: var(--accent-500); background: var(--accent-050); }
.rc-planlist .card-body { padding: 14px; }
.rc-planlist .geope-plan-card .mb-2 { margin-bottom: 7px !important; }
.rc-planlist .geope-plan-card .gap-2 { gap: 10px !important; }
.rc-planlist .geope-plan-card .d-grid { display: flex !important; justify-content: flex-end; }
.rc-planlist .geope-plan-card .mb-3 { margin-bottom: 11px !important; }
.rc-planlist .geope-plan-amount {
  font-family: Poppins, Inter, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy-900);
}
.rc-planlist .geope-plan-validity {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-full);
  padding: 3px 10px;
  white-space: nowrap;
}
.rc-planlist .geope-plan-desc {
  margin: 0 0 11px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.rc-plan-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rc-plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-700);
}
.rc-planlist .rechargeamount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border: 0;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--sh-brand);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.rc-planlist .rechargeamount:hover { transform: translateY(-1px); filter: brightness(1.05); }
.rc-planlist .rechargeamount::after { content: "\2192"; font-weight: 700; }

.rc-plans-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-2);
}

/* ---------- Breakpoints ----------
   Shared ladder for every app kit: 380 · 560 · 720 · 1080 · 1280. */
@media (min-width: 560px) {
  .rc-ops { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
}

@media (min-width: 720px) {
  .rc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-field--num, .rc-viewplans, .rc-vp-note { grid-column: 1 / -1; }
  .rc-promo { padding: 24px 26px; }
  .rc-foot { grid-template-columns: 1fr auto; align-items: center; }
  .rc-hint { text-align: right; }
  .rc-continue { justify-self: end; min-width: 240px; }
}

@media (min-width: 1080px) {
  .rc-grid { grid-template-columns: minmax(0, 1.12fr) minmax(min(380px, 38%), .88fr); gap: 24px; }
  .rc-plans { position: sticky; top: calc(var(--bar-h) + 18px); max-height: calc(100vh - var(--bar-h) - 36px); }
  .rc-head-ico { width: 64px; height: 64px; }
}

/* Card head stacks until 768 so the trust pill never squeezes the title. */
@media (max-width: 767.98px) {
  .rc-head { grid-template-columns: auto minmax(0, 1fr); }
  .rc-offer { grid-column: 1 / -1; grid-row: 2; justify-self: start; max-width: 100%; white-space: normal; }
}

/* Compact top bar: labels stay for screen readers, only the glyph shows.
   "My Orders" lives in the dashboard menu, so it drops out of the bar rather
   than forcing a third wrapped row above the content. */
@media (max-width: 559.98px) {
  .rc-bar-actions .rc-gbtn:not(#userLogout) { width: var(--tap); padding: 0; gap: 0; font-size: 0; }
  .rc-bar-actions .rc-gbtn:not(#userLogout) i { font-size: 16px; }
  .rc-bar-orders { display: none; }
  .rc-bar-actions { gap: 7px; }
}

@media (max-width: 430px) {
  .rc-bar-actions .rc-gbtn { width: var(--tap); padding: 0; gap: 0; font-size: 0; }
  .rc-bar-actions .rc-gbtn i { font-size: 16px; }
}

@media (max-width: 379.98px) {
  .rc-bar { column-gap: 10px; }
  .rc-brand img { height: 22px; }
  .rc-bar-actions { gap: 6px; }
  .rc-card { padding: 16px; }
  .rc-head-ico { width: 50px; height: 50px; border-radius: 15px; font-size: 24px; }
  .rc-chip { padding: 9px 13px; }
  .rc-promo { flex-direction: column; align-items: flex-start; }
  .rc-promo-art { align-self: center; }
}

/* ---------- Motion prefs ---------- */
@media (prefers-reduced-motion: reduce) {
  body.rc *, body.rc *::before, body.rc *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
