/* StayOn eSIM — topup.css (the "Add more data" page; builds on styles.css and vibe.css) */

[hidden] { display: none !important; }

.tu-main { padding-bottom: clamp(3rem, 8vw, 5rem); }
.tu-hero { padding-block: clamp(2.2rem, 6vw, 4rem) 1.5rem; }
.tu-hero h1 { font-size: clamp(2.5rem, 7vw, 4.2rem); }
.tu-hero h1 em { font-style: normal; background: var(--grad-aurora, linear-gradient(110deg, #6d3bff, #2338f0, #18d4ff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tu-hero .lead { color: var(--ink-soft); font-size: 1.15rem; margin-top: .9rem; max-width: 34rem; }
.tu-body { display: grid; gap: 1rem; }
.tu-body.narrow, .tu-hero.narrow { width: min(100% - 2rem, 640px); }

.tu-card { background: var(--white); border: 1.5px solid #e4e0f5; border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.tu-card h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); margin: 0; }
.tu-easy { display: flex; gap: .7rem; align-items: flex-start; background: #f1edff; border-radius: 14px; padding: .85rem 1rem; margin: 0; color: var(--ink-soft); }
.tu-easy svg { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .2rem; color: var(--on); }
.tu-easy strong { color: var(--ink); }
#find-form { display: grid; gap: .6rem; }
#find-form label { font-weight: 700; }
#iccid { font: 500 1.15rem var(--font-mono); letter-spacing: .04em; padding: .85rem 1rem; border: 2px solid var(--line); border-radius: 14px; width: 100%; background: var(--paper); color: var(--ink); }
#iccid:focus { outline: none; border-color: #6d3bff; box-shadow: 0 0 0 4px rgba(109, 59, 255, .15); background: #fff; }
.tu-err { margin: 0; color: #c0263f; font-weight: 600; }
.tu-help { border-top: 1px dashed var(--line); padding-top: .8rem; color: var(--ink-soft); }
.tu-help summary { cursor: pointer; font-weight: 700; color: var(--signal); }
.tu-help p { margin: .6rem 0 0; }

.tu-wait { text-align: center; justify-items: center; padding-block: 2.5rem; }
.tu-wait p { color: var(--ink-soft); max-width: 30rem; margin: 0; }
.tu-spinner { width: 3rem; height: 3rem; border-radius: 50%; border: 4px solid var(--tint); border-top-color: #6d3bff; animation: tu-spin 1s linear infinite; }
@keyframes tu-spin { to { transform: rotate(360deg); } }
.tu-tick { width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2ee59d, #12b874); color: #fff; box-shadow: 0 16px 34px -14px rgba(18, 184, 116, .8); }
.tu-tick svg { width: 2rem; height: 2rem; }
.tu-list { text-align: left; color: var(--ink-soft); margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; max-width: 30rem; }

/* The customer's eSIM */
.tu-esim { border-radius: var(--radius); padding: 1.35rem 1.5rem; color: #fff; background: radial-gradient(130% 160% at 0% 0%, #3a24b8 0%, #0c0924 65%), #0c0924; display: grid; gap: 1rem; box-shadow: 0 30px 60px -32px rgba(109, 59, 255, .8); }
.tu-esim-top { display: flex; gap: .85rem; align-items: center; }
.tu-esim-top svg { flex: none; width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #9fe9ff; }
.tu-esim-top strong { display: block; font: 700 1.15rem var(--font-display); }
.tu-esim-top small { font: 500 .8rem var(--font-mono); opacity: .75; letter-spacing: .04em; }
.tu-meter-row { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-size: .95rem; opacity: .9; }
.tu-meter-row b { font: 800 1.9rem var(--font-display); letter-spacing: -.02em; }
.tu-bar { height: .7rem; border-radius: 99px; background: rgba(255, 255, 255, .15); overflow: hidden; margin-top: .45rem; }
.tu-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #18d4ff, #2ee59d); transition: width .6s var(--ease); }
.tu-bar i.low { background: linear-gradient(90deg, #ff3d9a, #ff9a3d); }
.tu-esim-note { margin: 0; font-size: .95rem; opacity: .85; }
.tu-esim-note[hidden] { display: none; }

/* Top-up choices */
.tu-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .65rem; }
.tu-opt { border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 18px; padding: 1rem .8rem; cursor: pointer; display: grid; gap: .2rem; justify-items: center; font: inherit; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.tu-opt:hover { border-color: #6d3bff; transform: translateY(-2px); }
.tu-opt[aria-checked="true"] { border-color: #6d3bff; background: #f6f3ff; box-shadow: 0 0 0 4px rgba(109, 59, 255, .14); }
.tu-opt:focus-visible { outline: 3px solid #18d4ff; outline-offset: 2px; }
.tu-opt-gb { font: 800 1.7rem/1.05 var(--font-display); letter-spacing: -.02em; }
.tu-opt-days { font: 500 .78rem var(--font-mono); color: var(--ink-soft); }
.tu-opt-price { font: 700 1.1rem var(--font-body); color: var(--signal); margin-top: .25rem; }
.tu-reason { margin: 0; background: var(--paper); border-radius: 14px; padding: .9rem 1rem; color: var(--ink-soft); }
#pay:disabled { background: #b9c0d6; box-shadow: none; cursor: not-allowed; transform: none; }
.tu-small { margin: 0; font-size: .9rem; color: var(--ink-soft); display: flex; gap: .45rem; align-items: center; justify-content: center; text-align: center; }
.tu-small svg { flex: none; width: 1rem; height: 1rem; }
.tu-alt a { color: var(--signal); font-weight: 600; }

@media (max-width: 480px) {
  .tu-options { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tu-spinner { animation-duration: 3s; }
  .tu-opt, .tu-bar i { transition: none; }
}
#s-pick { display: grid; gap: 1rem; }
