/* ==========================================================================
   WiFi Recharge Plans page ([dnm_wifi_recharge], inc/wifi-recharge.php).
   Its own look: a dark "fibre light" hero, provider tabs, ACT speed bands in
   the leaflet colours, Airtel cards in red, and a payment panel.
   ========================================================================== */

.wr {
	--wr-ink: #0b1530;
	--wr-muted: #5b6478;
	--wr-line: #e4e7ef;
	--wr-soft: #f4f6fb;
	--wr-glow: #36e2ff;
	--wr-act: #e3262f;
	--wr-air: #e40000;
	--wr-pay: var(--sl-cta, #e8450a);
	--wr-pay-dark: var(--sl-cta-dark, #c23505);
	--wr-r: 18px;
	color: var(--wr-ink);
	font-family: var(--sl-font);
}
.elementor-element.sl-wrpage, .sl-wrpage .elementor-widget-container { padding: 0; }
.wr *, .wr *::before, .wr *::after { box-sizing: border-box; }
.wr :where(h1, h2, h3, p, ul, ol) { margin: 0; }
.wr :where(ul, ol) { padding: 0; list-style: none; }
.wr [hidden] { display: none !important; }
.wr-kicker { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wr-glow); }

/* ------------------------------------------------------------ hero */

.wr-hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: 48px 16px 92px; color: #fff; text-align: center;
	background: radial-gradient(120% 90% at 50% 0%, #1b3c9e 0%, #0a1a4d 55%, #050c26 100%);
}
/* fibre lines of light running across */
.wr-hero::before, .wr-hero::after {
	content: ""; position: absolute; inset: -40% -10%; z-index: -1; pointer-events: none;
	background: repeating-linear-gradient(100deg, transparent 0 46px, rgba(54, 226, 255, .14) 47px, transparent 49px 120px);
	animation: wr-fibre 14s linear infinite;
}
.wr-hero::after {
	background: repeating-linear-gradient(80deg, transparent 0 70px, rgba(255, 140, 60, .12) 71px, transparent 73px 160px);
	animation-duration: 22s; animation-direction: reverse;
}
@keyframes wr-fibre { to { transform: translateX(160px); } }
.wr-hero__in { position: relative; max-width: 760px; margin: 0 auto; }
.wr-hero h1 { margin: 10px 0 0; font-family: var(--sl-font-head); font-size: clamp(1.9rem, 5.6vw, 3.1rem); line-height: 1.05; font-weight: 900; letter-spacing: -.025em; color: #fff; }
.wr-hero__sub { margin: 14px auto 0; max-width: 560px; color: rgba(255, 255, 255, .82); font-size: 1.02rem; line-height: 1.5; }
.wr-hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.wr-hero__trust li {
	padding: 7px 12px 7px 30px; border-radius: 999px; font-size: .8rem; font-weight: 600;
	background: rgba(255, 255, 255, .08) no-repeat 11px 50% / 12px; border: 1px solid rgba(255, 255, 255, .16);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3 4.8 9 10 3' fill='none' stroke='%2336e2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.wr-notices { max-width: 1080px; margin: 16px auto 0; padding: 0 16px; }

/* ------------------------------------------------------------ provider tabs */

.wr-tabs {
	position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
	max-width: 880px; margin: -56px auto 0; padding: 8px; border-radius: 22px;
	background: #fff; box-shadow: 0 20px 50px rgba(5, 12, 38, .22);
}
@media (max-width: 639px) { .wr-tabs { margin: -56px 16px 0; } }
.wr-tab {
	display: grid; gap: 2px; padding: 12px 8px; border: 0; border-radius: 15px; cursor: pointer;
	background: transparent; color: var(--wr-ink); font: inherit; text-align: center; line-height: 1.2;
	transition: background .2s, color .2s, transform .2s;
}
.wr-tab strong { font-size: .95rem; font-weight: 800; }
.wr-tab small { font-size: .72rem; color: var(--wr-muted); }
.wr-tab:hover { background: var(--wr-soft); }
.wr-tab[aria-selected="true"] { color: #fff; transform: translateY(-2px); }
.wr-tab[aria-selected="true"] small { color: rgba(255, 255, 255, .85); }
.wr-tab--act[aria-selected="true"] { background: linear-gradient(135deg, #f23b44, #b5121b); }
.wr-tab--airtel[aria-selected="true"] { background: linear-gradient(135deg, #ff2a2a, #b80000); }
.wr-tab--other[aria-selected="true"] { background: linear-gradient(135deg, #1d4ed8, #0a1a4d); }
@media (max-width: 479px) { .wr-tab small { display: none; } .wr-tab strong { font-size: .82rem; } }

.wr-panel { max-width: 1080px; margin: 0 auto; padding: 28px 16px 8px; animation: wr-in .35s ease; }
@keyframes wr-in { from { opacity: 0; transform: translateY(8px); } }
.wr-note { margin: 12px auto 22px; max-width: 640px; text-align: center; color: var(--wr-muted); font-size: .86rem; line-height: 1.45; }

/* ------------------------------------------------------------ ACT: period switch */

.wr-period {
	display: flex; width: max-content; max-width: 100%; margin: 0 auto; padding: 5px; gap: 4px;
	border-radius: 999px; background: var(--wr-soft); border: 1px solid var(--wr-line);
}
.wr-period__btn {
	position: relative; padding: 10px 18px; border: 0; border-radius: 999px; cursor: pointer;
	background: transparent; color: var(--wr-ink); font: inherit; font-weight: 700; font-size: .9rem;
}
.wr-period__btn small {
	position: absolute; top: -11px; right: -4px; padding: 2px 7px; border-radius: 999px;
	background: #12a150; color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
}
.wr-period__btn[aria-checked="true"] { background: var(--wr-ink); color: #fff; box-shadow: 0 6px 14px rgba(11, 21, 48, .25); }
@media (max-width: 480px) { .wr-period__btn { padding: 9px 10px; font-size: .8rem; } .wr-period__btn small { right: -8px; } }

/* ------------------------------------------------------------ ACT: speed bands */

.wr-tier {
	--tier: #12a150; --tier-dark: #0b7a3b;
	display: grid; grid-template-columns: 1fr; margin-bottom: 18px; overflow: hidden;
	border-radius: var(--wr-r); background: #fff; border: 2px solid var(--tier);
	box-shadow: 0 10px 28px rgba(11, 21, 48, .07);
}
.wr-tier--100 { --tier: #1769e0; --tier-dark: #0d47a8; }
.wr-tier--200 { --tier: #6a2bd1; --tier-dark: #4a1a9a; }
.wr-tier--300 { --tier: #f36b12; --tier-dark: #c24f05; }
.wr-tier--500 { --tier: #e01f2d; --tier-dark: #a8121d; }
.wr-tier--1000 { --tier: #111827; --tier-dark: #000; }
@media (min-width: 760px) { .wr-tier { grid-template-columns: 150px 1fr; } }

.wr-tier__speed {
	display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px;
	color: #fff; background: linear-gradient(160deg, var(--tier), var(--tier-dark));
}
.wr-tier__speed strong { font-size: 2rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.wr-tier__speed span { font-weight: 700; }
.wr-wifi { width: 28px; height: 28px; flex: none; }
@media (min-width: 760px) {
	.wr-tier__speed { flex-direction: column; gap: 2px; grid-row: span 2; }
	.wr-tier__speed strong { font-size: 2.6rem; }
	.wr-tier__speed .wr-wifi { width: 38px; height: 38px; margin-bottom: 4px; }
}
.wr-tier__plans { display: grid; }
.wr-tier__gift {
	padding: 9px 14px 9px 40px; color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .02em;
	background: var(--tier-dark) no-repeat 14px 50% / 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd36b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v9H5v-9'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8s1-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E");
}
.wr.is-short .wr-tier__gift { opacity: .55; }

.wr-plan {
	display: grid; gap: 10px; padding: 16px; align-items: center;
	grid-template-columns: 1fr; border-top: 1px solid var(--wr-line);
}
.wr-plan:first-child { border-top: 0; }
@media (min-width: 760px) { .wr-plan { grid-template-columns: minmax(170px, 1.1fr) 1.6fr auto; gap: 18px; padding: 14px 18px; } }
.wr-plan__name h3 { font-size: 1.05rem; font-weight: 800; color: var(--tier-dark); }
.wr-plan__name p { margin-top: 2px; font-size: .8rem; color: var(--wr-muted); }
.wr-plan--hot .wr-plan__name h3::after {
	content: "Netflix"; margin-left: 8px; padding: 2px 7px; border-radius: 6px; vertical-align: 2px;
	background: #000; color: #e50914; font-size: .66rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
}
.wr-plan__buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
@media (min-width: 760px) { .wr-plan__buy { justify-content: flex-end; } }
.wr-amt { display: grid; text-align: right; line-height: 1.15; min-width: 118px; }
.wr-amt strong { font-size: 1.45rem; font-weight: 900; letter-spacing: -.02em; }
.wr-amt small { font-size: .74rem; color: var(--wr-muted); }
.wr-amt em { font-style: normal; font-weight: 800; color: #12a150; }
@media (max-width: 759px) { .wr-amt { text-align: left; } }

/* app chips */
.wr-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.wr-chip {
	padding: 3px 8px; border-radius: 6px; font-size: .7rem; font-weight: 800; line-height: 1.4;
	background: var(--wr-soft); color: var(--wr-ink); border: 1px solid var(--wr-line);
}
.wr-chip--netflix { background: #000; color: #e50914; border-color: #000; }
.wr-chip--prime-video { background: #00a8e1; color: #fff; border-color: #00a8e1; }
.wr-chip--sony-liv { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.wr-chip--zee5 { background: #2b0a3d; color: #fff; border-color: #2b0a3d; }
.wr-chip--jiohotstar { background: #0f1f5c; color: #fff; border-color: #0f1f5c; }
.wr-chip--sun-nxt { background: #ff2d6f; color: #fff; border-color: #ff2d6f; }
.wr-chip--etv-win { background: #e3262f; color: #fff; border-color: #e3262f; }
.wr-chip--yupptv-scope { background: #111; color: #ffd400; border-color: #111; }
.wr-chip--tv { background: #fff4e5; color: #c24f05; border-color: #ffd7a8; }

/* ------------------------------------------------------------ pay buttons */

.wr-pay {
	flex: none; padding: 12px 20px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--wr-pay); color: #fff; font: inherit; font-weight: 800; font-size: .92rem; white-space: nowrap;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--wr-pay) 35%, transparent);
	transition: transform .15s, background .15s, box-shadow .15s;
}
.wr-pay:hover, .wr-pay:focus-visible { background: var(--wr-pay-dark); transform: translateY(-1px); }
.wr-pay:focus-visible { outline: 3px solid var(--wr-glow); outline-offset: 2px; }
.wr-pay--small { padding: 9px 16px; font-size: .84rem; box-shadow: none; }
.wr-pay--big { padding: 15px 28px; font-size: 1rem; margin-top: 18px; background: #fff; color: var(--wr-air); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.wr-pay--big:hover, .wr-pay--big:focus-visible { background: #ffe9e9; color: #b80000; }

/* ------------------------------------------------------------ Airtel */

.wr-panel--airtel { --wr-pay: var(--wr-air); --wr-pay-dark: #b80000; }
.wr-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.wr-card {
	position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 18px 18px; overflow: hidden;
	border-radius: var(--wr-r); background: #fff; border: 1px solid #f3c9c9;
	box-shadow: 0 10px 26px rgba(184, 0, 0, .08); transition: transform .2s, box-shadow .2s;
}
.wr-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(184, 0, 0, .14); }
.wr-card__tag {
	margin: 0 -18px; padding: 7px 18px; font-size: .74rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
	background: #ffd400; color: #3a2a00;
}
.wr-card--ott .wr-card__tag { background: linear-gradient(90deg, #e40000, #ff4d4d); color: #fff; }
.wr-card__price { color: var(--wr-muted); font-weight: 600; }
.wr-card__price strong { font-size: 2.3rem; font-weight: 900; letter-spacing: -.03em; color: var(--wr-air); }
.wr-card__speed { display: flex; align-items: center; gap: 8px; color: var(--wr-air); }
.wr-card__speed span { color: var(--wr-ink); }
.wr-card__speed strong { font-size: 1.1rem; }
.wr-ticks { display: grid; gap: 4px; font-size: .84rem; }
.wr-ticks li { padding-left: 22px; background: no-repeat 0 50% / 15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%2312a150'/%3E%3Cpath d='m4.5 8.2 2.3 2.3L11.5 5.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.wr-card__gst { margin-top: auto; font-size: .74rem; color: var(--wr-muted); }
.wr-card .wr-pay { width: 100%; }

.wr-advance {
	position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center; margin-top: 26px; padding: 26px 22px;
	border-radius: 24px; color: #fff; background: linear-gradient(135deg, #ff2a2a 0%, #c00000 60%, #8a0000 100%);
}
.wr-advance::before {
	content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%;
	border: 50px solid rgba(255, 255, 255, .08); pointer-events: none;
}
@media (min-width: 820px) { .wr-advance { grid-template-columns: 1.2fr 1fr; padding: 34px 38px; } }
.wr-advance .wr-kicker { color: #ffd400; }
.wr-advance h3 { margin-top: 8px; font-size: clamp(1.35rem, 3.4vw, 1.9rem); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.wr-advance__copy > p { margin-top: 10px; color: rgba(255, 255, 255, .88); }
.wr-free { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.wr-free li { padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .8rem; font-weight: 700; }
.wr-bills { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: bill; }
.wr-bills li {
	display: grid; gap: 2px; padding: 12px 8px; border-radius: 14px; text-align: center;
	background: #fff; color: var(--wr-ink); box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
	animation: wr-bill .5s ease both;
}
.wr-bills li:nth-child(2) { animation-delay: .08s; } .wr-bills li:nth-child(3) { animation-delay: .16s; }
.wr-bills li:nth-child(4) { animation-delay: .24s; } .wr-bills li:nth-child(5) { animation-delay: .32s; }
.wr-bills li:nth-child(6) { animation-delay: .4s; }
@keyframes wr-bill { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.wr-bills span { font-size: .72rem; font-weight: 700; color: var(--wr-muted); text-transform: uppercase; letter-spacing: .06em; }
.wr-bills strong { font-size: 1.2rem; font-weight: 900; color: var(--wr-air); }

/* ------------------------------------------------------------ other providers */

.wr-others { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.wr-other { padding: 18px; border-radius: var(--wr-r); background: #fff; border: 1px solid var(--wr-line); box-shadow: 0 8px 22px rgba(11, 21, 48, .06); }
.wr-other h3 { padding-bottom: 10px; margin-bottom: 4px; font-size: 1.08rem; font-weight: 900; border-bottom: 3px solid var(--sl-navy, #0a2f8f); width: max-content; }
.wr-other li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--wr-line); }
.wr-other li:first-child { border-top: 0; }
.wr-other li div { display: grid; gap: 2px; }
.wr-other li small { color: var(--wr-muted); font-size: .76rem; line-height: 1.3; }

.wr-help { max-width: 1080px; margin: 18px auto 36px; padding: 0 16px; text-align: center; color: var(--wr-muted); font-size: .9rem; }
.wr-help a { color: var(--sl-navy, #0a2f8f); font-weight: 700; }

/* ------------------------------------------------------------ payment panel */

.wr-dialog {
	width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px;
	color: var(--wr-ink); box-shadow: 0 30px 80px rgba(5, 12, 38, .45);
}
.wr-dialog::backdrop { background: rgba(5, 12, 38, .6); backdrop-filter: blur(3px); }
.wr-dialog[open] { animation: wr-pop .25s ease; }
@keyframes wr-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.wr-form { position: relative; display: grid; gap: 14px; padding: 24px 22px 20px; }
.wr-form .wr-kicker { color: var(--wr-pay); }
.wr-form__title { margin-top: -8px; padding-right: 30px; font-size: 1.15rem; font-weight: 900; line-height: 1.25; }
.wr-dialog__close {
	position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
	background: var(--wr-soft); color: var(--wr-ink); font-size: 1.5rem; line-height: 1;
}
.wr-form__months { margin: 0; padding: 0; border: 0; }
.wr-form__months legend { margin-bottom: 6px; font-size: .8rem; font-weight: 700; color: var(--wr-muted); }
.wr-form__monthlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.wr-mopt { position: relative; }
.wr-mopt input { position: absolute; opacity: 0; }
.wr-mopt span {
	display: grid; gap: 1px; padding: 10px 8px; border-radius: 12px; cursor: pointer; text-align: center;
	border: 2px solid var(--wr-line); font-size: .78rem; color: var(--wr-muted);
}
.wr-mopt strong { font-size: .98rem; color: var(--wr-ink); }
.wr-mopt input:checked + span { border-color: var(--wr-pay); background: color-mix(in srgb, var(--wr-pay) 8%, #fff); }
.wr-mopt input:focus-visible + span { outline: 3px solid var(--wr-glow); outline-offset: 1px; }
.wr-field { display: grid; gap: 6px; font-size: .84rem; font-weight: 700; }
.wr-field input {
	width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--wr-line);
	font: inherit; font-size: 1rem; font-weight: 600; color: var(--wr-ink); background: #fff;
}
.wr-field input:focus { outline: 0; border-color: var(--wr-pay); }
.wr-form__total { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: var(--wr-soft); }
.wr-form__total span { font-weight: 700; color: var(--wr-muted); }
.wr-form__amount { font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; }
.wr-form__submit {
	padding: 15px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; font-weight: 900; font-size: 1rem;
	color: #fff; background: var(--wr-pay); box-shadow: 0 10px 24px color-mix(in srgb, var(--wr-pay) 35%, transparent);
}
.wr-form__submit:hover, .wr-form__submit:focus-visible { background: var(--wr-pay-dark); }
.wr-form__small { margin-top: -4px; font-size: .74rem; color: var(--wr-muted); text-align: center; }

@media (prefers-reduced-motion: reduce) {
	.wr-hero::before, .wr-hero::after, .wr-panel, .wr-bills li, .wr-dialog[open] { animation: none; }
}

/* the panel takes the colour of the provider it was opened from */
.wr-dialog[data-provider="airtel"] { --wr-pay: #e40000; --wr-pay-dark: #b80000; }
