/* L1017n mobile Libyana top-up: visually aligned to the customer reference.
   This stylesheet deliberately scopes itself to the dedicated top-up screen. */
#topupDedicatedPage{
  background:linear-gradient(148deg,#1b2929 0%,#11191e 43%,#0c1018 100%)!important;
  color:#f7f8fc!important;
  padding:calc(23px + env(safe-area-inset-top)) 16px calc(35px + env(safe-area-inset-bottom))!important;
  font-family:'IBM Plex Sans Arabic',system-ui,sans-serif!important;
  -webkit-overflow-scrolling:touch
}
#topupDedicatedPage *{box-sizing:border-box}
#topupDedicatedPage .tp-dedicated-heading{
  max-width:740px;margin:0 auto 25px;display:flex;align-items:center;
  justify-content:space-between;gap:15px;min-height:53px
}
#topupDedicatedPage .topup-dedicated-title{
  margin:0!important;font-size:clamp(25px,5vw,34px)!important;line-height:1.4!important;
  font-weight:900!important;letter-spacing:-.4px;color:#fff!important
}
#topupDedicatedPage .topup-dedicated-back{
  order:2;display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;min-height:47px;padding:10px 17px!important;
  border-radius:999px!important;border:1px solid #ffffff38!important;
  background:#ffffff0e!important;color:#fff!important;font-size:15px;font-weight:850;
  transition:transform .15s ease,background .16s
}
#topupDedicatedPage .topup-dedicated-back:active{transform:scale(.95)}
#topupDedicatedPage #topupForm{
  margin:0 auto!important;padding:0!important;display:grid!important;gap:19px!important;
  width:100%!important;max-width:740px!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important
}
#topupDedicatedPage #topupForm h3{color:#f9f9fb!important}
#topupDedicatedPage .tp-providers{margin-bottom:1px}
#topupDedicatedPage .tp-providers>h3{font-size:21px;font-weight:900;margin:0 0 14px}
#topupDedicatedPage .tp-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#topupDedicatedPage .tp-provider-card{
  min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;
  min-height:145px;border:2px solid #5c6168;border-radius:22px;
  padding:16px 7px 13px;background:#ffffff0b;
  color:#fcfaff;text-align:center
}
#topupDedicatedPage .tp-provider-card.is-selected{
  border-color:#cc5ec6;background:linear-gradient(155deg,#48243d95,#291e2e);
  box-shadow:0 0 0 4px #ca54c522
}
#topupDedicatedPage .tp-provider-card.is-disabled{opacity:.64}
#topupDedicatedPage .tp-provider-logo{
  display:grid;place-items:center;width:52px;height:52px;border-radius:15px;
  margin-bottom:4px;background:#fff;color:#9a2e8d;font-size:25px;font-weight:950;
  box-shadow:0 3px 10px #0505113b
}
#topupDedicatedPage .tp-libyana-logo{font-family:system-ui;font-style:italic;letter-spacing:-4px}
#topupDedicatedPage .tp-libyana-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:12px;background:#fff;padding:3px}
#topupDedicatedPage .tp-libyana-logo span{color:#c345bc;font-size:12px;letter-spacing:0;margin-inline-start:-12px;margin-top:-19px}
#topupDedicatedPage .tp-madar-logo{font-size:15px;color:#67a547}
#topupDedicatedPage .tp-bank-logo{font-size:31px;color:#479acc}
#topupDedicatedPage .tp-provider-card strong{font-size:18px;line-height:1.45;font-weight:900;color:#fff}
#topupDedicatedPage .tp-provider-card small{font-size:11px;color:#b4b6bc}
#topupDedicatedPage .tp-steps{
  display:flex;justify-content:space-around;align-items:center;flex-wrap:wrap;gap:8px 12px;
  padding:14px 10px;border:1px dashed #438d5b;border-radius:17px;
  background:#142d226f;color:#f4fbf6;font-size:12px;font-weight:800;line-height:1.5
}
#topupDedicatedPage .tp-steps span{display:flex;gap:6px;align-items:center}
#topupDedicatedPage .tp-steps b,#topupDedicatedPage .tp-step-bubble{
  display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;
  background:#4eac63;border-radius:50%;color:#fff;font-weight:900;font-size:13px
}
#topupDedicatedPage .tp-panel{
  display:flex;flex-direction:column;gap:13px;padding:22px 20px;
  border:1px solid #444c55;background:#1c2027;border-radius:23px
}
#topupDedicatedPage .tp-panel-heading{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 5px
}
#topupDedicatedPage .tp-panel-heading h3{
  display:flex;align-items:center;gap:10px;line-height:1.5;
  font-size:19px;font-weight:900;margin:0
}
#topupDedicatedPage .tp-panel-heading>span{color:#b1b0b8;font-weight:800;font-size:12px;white-space:nowrap}
#topupDedicatedPage .tp-step-bubble{background:#549e95;width:38px;height:38px;flex-basis:38px;font-size:15px}
#topupDedicatedPage .tp-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#topupDedicatedPage #topupAmount{
  height:69px;width:100%;margin:0!important;padding:12px 15px!important;
  font-size:20px;font-weight:850;text-align:center;direction:ltr;color:#fff;
  border:2px solid #535961!important;border-radius:17px!important;
  background:#292d35!important;outline:0!important;box-shadow:none!important
}
#topupDedicatedPage #topupAmount::placeholder{color:#b5b6be;font-weight:700;font-size:15px}
#topupDedicatedPage #topupAmount:focus{border-color:#b176cc!important;box-shadow:0 0 0 3px #b574d424!important}
#topupDedicatedPage .quick-amounts{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;
  margin:0!important
}
#topupDedicatedPage .quick-amounts button{
  width:100%;min-height:55px;padding:9px 2px!important;
  background:#2a2e36!important;border:1px solid #545c64!important;border-radius:14px!important;
  color:#fff!important;font-size:18px;font-weight:900;transition:background .16s,transform .15s,border-color .16s
}
#topupDedicatedPage .quick-amounts button:hover,#topupDedicatedPage .quick-amounts button[aria-pressed="true"]{
  background:#4c3754!important;border-color:#cd7ac5!important
}
#topupDedicatedPage .quick-amounts button:active{transform:scale(.94)}
#topupDedicatedPage .tp-small-note{
  margin:0;color:#aeb5bd;font-size:12px;line-height:1.95;font-weight:500
}
#topupDedicatedPage .tp-number-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap
}
#topupDedicatedPage #topupVerifiedNumber{
  display:inline-flex;justify-content:center;align-items:center;min-width:145px;
  max-width:100%;padding:11px 13px;background:#2a3037;border:1px solid #4d9a60;
  border-radius:13px;color:white;font:800 17px system-ui,sans-serif;letter-spacing:.3px
}
#topupDedicatedPage .tp-phone-state{color:#9aada7;font-size:12px;font-weight:800}
#topupDedicatedPage .tp-phone-state.is-verified{color:#66c778}
#topupDedicatedPage .tp-phone-state.is-error{color:#ffbbad}
#topupDedicatedPage .tp-proceed{
  width:100%;min-height:55px;border:0;border-radius:16px;
  color:white;font-size:17px;font-weight:900;
  background:linear-gradient(110deg,#ca55bc,#a63c94);
  box-shadow:0 8px 24px #ac3e9c32;transition:transform .16s,filter .15s
}
#topupDedicatedPage .tp-proceed:active{transform:scale(.98)}
#topupDedicatedPage .tp-proceed:disabled{opacity:.5;cursor:wait}
#topupDedicatedPage #transferInstructions{display:block;margin:0;padding:0;background:transparent;border:0;line-height:1.8}
#topupDedicatedPage .auto-topup-status{border-color:#666b7688;background:#252a33;color:#fff}
#topupDedicatedPage .auto-topup-transfer .ussd-code{
  border-color:#81608c;background:#272334;color:#fff;font-size:19px
}
#topupDedicatedPage .auto-topup-transfer .btn{border-radius:13px}
#topupDedicatedPage :is(button,input):focus-visible{outline:3px solid #dab5e1!important;outline-offset:3px}
@media(max-width:420px){
 #topupDedicatedPage{padding-inline:12px!important}
 #topupDedicatedPage .tp-provider-card{min-height:133px;border-radius:19px;padding:12px 4px}
 #topupDedicatedPage .tp-provider-card strong{font-size:15px}
 #topupDedicatedPage .tp-provider-logo{width:47px;height:47px}
 #topupDedicatedPage .tp-panel{padding:20px 14px;border-radius:22px}
 #topupDedicatedPage .tp-panel-heading h3{font-size:17px}
 #topupDedicatedPage .tp-steps{font-size:11px}
 #topupDedicatedPage .quick-amounts button{min-height:51px;font-size:16px}
}
@media(prefers-reduced-motion:reduce){
 #topupDedicatedPage *,#topupDedicatedPage *::before,#topupDedicatedPage *::after{transition:none!important;animation:none!important}
}

/* Design 3: focused navy form, violet accents and navigable step guide. */
#topupDedicatedPage{background:radial-gradient(ellipse at 80% 0%,#1d1643,transparent 52%),#090f23!important;padding-top:calc(12px + env(safe-area-inset-top))!important}
#topupDedicatedPage .tp-dedicated-heading{max-width:520px;margin-bottom:12px;min-height:40px;justify-content:flex-end}
#topupDedicatedPage .topup-dedicated-back{min-height:40px;font-size:12px;background:#171c35!important;border-color:#56508388!important;padding:8px 14px!important}
#topupDedicatedPage .tp-clean-header{max-width:520px;margin:0 auto 22px;padding-inline:8px}
#topupDedicatedPage .topup-dedicated-title{font-size:30px!important;line-height:1.5!important}
#topupDedicatedPage .tp-clean-copy p{font-size:14px;color:#b8bddb;margin:6px 0}
#topupDedicatedPage #topupForm{max-width:520px!important;gap:17px!important}
#topupDedicatedPage .tp-progress{display:flex;align-items:flex-start;justify-content:space-between;padding:0 12px 10px;gap:10px}
#topupDedicatedPage .tp-progress button{display:grid;justify-items:center;gap:8px;background:none;border:0;color:#b9c0e6;font:inherit;font-size:13px;padding:4px;min-width:64px;cursor:pointer}
#topupDedicatedPage .tp-progress b{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;border:1px solid #5e6197;background:#171b39;font:700 18px system-ui}
#topupDedicatedPage .tp-progress [aria-current] b{background:linear-gradient(140deg,#bd44ff,#7020ed);color:white;border-color:#c28dff;box-shadow:0 0 20px #8b32fb55}
#topupDedicatedPage .tp-progress [aria-current]{color:#fff}
#topupDedicatedPage .tp-progress i{height:1px;flex:1;background:#494076;margin-top:24px}
#topupDedicatedPage .tp-providers{position:relative;padding:16px;border:1px solid #7165d1;border-radius:19px;background:linear-gradient(120deg,#282253,#181c38)}
#topupDedicatedPage .tp-provider-grid{display:flex;flex-direction:column;gap:10px}
#topupDedicatedPage .tp-provider-card{min-height:64px;padding:0;border:0;border-radius:12px;display:grid;grid-template-columns:58px 1fr;gap:2px 12px;text-align:right;background:none}
#topupDedicatedPage .tp-provider-logo{grid-row:1/3;width:55px;height:55px;margin:0}
#topupDedicatedPage .tp-provider-card strong{font-size:20px;align-self:end}
#topupDedicatedPage .tp-provider-card small{font-size:13px;color:#bcb6d4;align-self:start}
#topupDedicatedPage .tp-provider-card.is-selected{padding-left:85px;background:none;box-shadow:none;border:0}
#topupDedicatedPage .tp-provider-card.is-disabled{display:none}
#topupDedicatedPage .tp-providers.is-expanded .is-disabled{display:grid;border-top:1px solid #77739955;padding-top:12px;opacity:.65}
#topupDedicatedPage .tp-change-provider{position:absolute;left:16px;top:29px;padding:8px 12px;border-radius:99px;border:1px solid #8274c9;background:#353361;color:#fff;font:inherit;font-size:13px;min-height:40px}
#topupDedicatedPage .tp-steps{display:none}
#topupDedicatedPage .tp-panel{background:linear-gradient(135deg,#1b223b,#10172c);border:1px solid #3b477d;border-radius:20px;padding:19px 16px;gap:14px}
#topupDedicatedPage .tp-panel-heading h3{font-size:20px}
#topupDedicatedPage .tp-panel-heading>span{font-size:11px;color:#aab2d1}
#topupDedicatedPage .tp-step-bubble{border-radius:11px;background:linear-gradient(135deg,#7533ce,#45229c);width:34px;height:34px;flex-basis:34px;font-size:22px}
#topupDedicatedPage #topupAmount{background:#121a30!important;border-color:#8473ea!important;border-radius:14px!important;text-align:right;font-size:30px;height:72px;padding-inline:18px!important}
#topupDedicatedPage #topupAmount:focus{border-color:#bb9aff!important;box-shadow:0 0 0 3px #a076ff25!important}
#topupDedicatedPage .quick-amounts{gap:8px!important}
#topupDedicatedPage .quick-amounts button{background:#171e36!important;border-color:#435078!important;border-radius:13px!important;min-height:52px;font-size:18px}
#topupDedicatedPage .quick-amounts button[aria-pressed="true"]{background:linear-gradient(135deg,#a52cf1,#661ce0)!important;border-color:#c188ff!important;box-shadow:0 0 15px #8736ed30}
#topupDedicatedPage .quick-amounts button:hover{border-color:#b092ff!important}
#topupDedicatedPage .tp-small-note{font-size:11px;line-height:1.8;color:#a7b0cb}
#topupDedicatedPage #topupVerifiedNumber{background:#171d35;border-color:#6d71a4;border-radius:13px;min-height:52px;flex:1;font-size:15px;letter-spacing:0}
#topupDedicatedPage .tp-phone-state{font-size:11px}
#topupDedicatedPage .tp-proceed{position:relative;min-height:60px;font-size:22px;border-radius:20px;background:linear-gradient(110deg,#9942f5,#7329eb);border:1px solid #bf8bff;box-shadow:0 8px 25px #6d20d933}
#topupDedicatedPage .tp-proceed span{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#401484;font-size:23px}
#topupDedicatedPage .auto-topup-status{background:#17203a;border-color:#525688;color:#e3e7ff}
@media(max-width:360px){#topupDedicatedPage .tp-panel{padding:15px 12px}#topupDedicatedPage .tp-panel-heading h3{font-size:18px}#topupDedicatedPage .tp-provider-card strong{font-size:17px}#topupDedicatedPage .tp-progress{gap:5px;padding-inline:0}}
@media(prefers-reduced-motion:reduce){#topupDedicatedPage *{scroll-behavior:auto!important}}
