/* Islamabad Web Hosting Website client area template: the website's colours, type and corners laid over
   Horizon. Made by frame.php from the measures in the site's configuration: change those
   and run frame.php and build.php again. */

/* ------------------------------------------------------------------ colours and shapes */
body.hz, body.auth.client { --bg: rgb(243,247,248); --surface: #fff; --surface-2: color-mix(in srgb, rgb(8,23,27) 5%, #fff); --ink: rgb(8,23,27); --muted: color-mix(in srgb, rgb(8,23,27) 68%, rgb(243,247,248)); --line: color-mix(in srgb, rgb(8,23,27) 14%, rgb(243,247,248)); --accent: rgb(11,85,99); --accent-ink: #fff; --accent-soft: color-mix(in srgb, rgb(11,85,99) 12%, #fff); --bar: rgb(8,23,27); --bar-2: color-mix(in srgb, rgb(8,23,27) 80%, rgb(11,85,99)); --bar-ink: #F4F6F8; --bar-muted: rgba(244, 246, 248, .68); --head: rgb(8,23,27); --band: color-mix(in srgb, rgb(8,23,27) 5%, #fff); --band-ink: rgb(8,23,27); --label: color-mix(in srgb, rgb(8,23,27) 6%, #fff); --shadow: 0 1px 0 rgba(0, 0, 0, .04); --hz-side: rgb(8,23,27); --hz-side-2: color-mix(in srgb, rgb(8,23,27) 84%, #fff); --hz-side-ink: rgba(244, 246, 248, .86); --hz-side-muted: rgba(244, 246, 248, .58); --st-text: rgb(8,23,27); --st-link: rgb(10,101,119); --st-line-strong: color-mix(in srgb, color-mix(in srgb, rgb(8,23,27) 14%, rgb(243,247,248)) 62%, rgb(8,23,27)); --st-edge: rgb(11,85,99); --radius: 0px; --ctl-h: 44px; --st-btn-r: 0px; --st-card-r: 0px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--st-text); background: var(--bg); }
:root[data-theme="dark"] body.hz, :root[data-theme="dark"] body.auth.client { --bg: rgb(10,19,22); --surface: color-mix(in srgb, rgb(10,19,22) 92%, #fff); --surface-2: color-mix(in srgb, rgb(230,240,242) 5%, color-mix(in srgb, rgb(10,19,22) 92%, #fff)); --ink: rgb(230,240,242); --muted: color-mix(in srgb, rgb(230,240,242) 68%, rgb(10,19,22)); --line: color-mix(in srgb, rgb(230,240,242) 14%, rgb(10,19,22)); --accent: rgb(43,179,201); --accent-ink: rgb(3,20,24); --accent-soft: color-mix(in srgb, rgb(43,179,201) 12%, color-mix(in srgb, rgb(10,19,22) 92%, #fff)); --bar: rgb(5,12,14); --bar-2: color-mix(in srgb, rgb(5,12,14) 80%, rgb(43,179,201)); --bar-ink: #F4F6F8; --bar-muted: rgba(244, 246, 248, .68); --head: rgb(5,12,14); --band: color-mix(in srgb, rgb(230,240,242) 5%, color-mix(in srgb, rgb(10,19,22) 92%, #fff)); --band-ink: rgb(230,240,242); --label: color-mix(in srgb, rgb(230,240,242) 6%, color-mix(in srgb, rgb(10,19,22) 92%, #fff)); --shadow: 0 1px 0 rgba(0, 0, 0, .3); --hz-side: rgb(5,12,14); --hz-side-2: color-mix(in srgb, rgb(5,12,14) 84%, #fff); --hz-side-ink: rgba(244, 246, 248, .86); --hz-side-muted: rgba(244, 246, 248, .58); --st-text: rgb(230,240,242); --st-link: rgb(43,179,201); --st-line-strong: color-mix(in srgb, color-mix(in srgb, rgb(230,240,242) 14%, rgb(10,19,22)) 62%, rgb(230,240,242)); --st-edge: rgb(43,179,201); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.hz, :root:not([data-theme="light"]) body.auth.client { --bg: rgb(10,19,22); --surface: color-mix(in srgb, rgb(10,19,22) 92%, #fff); --surface-2: color-mix(in srgb, rgb(230,240,242) 5%, color-mix(in srgb, rgb(10,19,22) 92%, #fff)); --ink: rgb(230,240,242); --muted: color-mix(in srgb, rgb(230,240,242) 68%, rgb(10,19,22)); --line: color-mix(in srgb, rgb(230,240,242) 14%, rgb(10,19,22)); --accent: rgb(43,179,201); --accent-ink: rgb(3,20,24); --accent-soft: color-mix(in srgb, rgb(43,179,201) 12%, color-mix(in srgb, rgb(10,19,22) 92%, #fff)); --bar: rgb(5,12,14); --bar-2: color-mix(in srgb, rgb(5,12,14) 80%, rgb(43,179,201)); --bar-ink: #F4F6F8; --bar-muted: rgba(244, 246, 248, .68); --head: rgb(5,12,14); --band: color-mix(in srgb, rgb(230,240,242) 5%, color-mix(in srgb, rgb(10,19,22) 92%, #fff)); --band-ink: rgb(230,240,242); --label: color-mix(in srgb, rgb(230,240,242) 6%, color-mix(in srgb, rgb(10,19,22) 92%, #fff)); --shadow: 0 1px 0 rgba(0, 0, 0, .3); --hz-side: rgb(5,12,14); --hz-side-2: color-mix(in srgb, rgb(5,12,14) 84%, #fff); --hz-side-ink: rgba(244, 246, 248, .86); --hz-side-muted: rgba(244, 246, 248, .58); --st-text: rgb(230,240,242); --st-link: rgb(43,179,201); --st-line-strong: color-mix(in srgb, color-mix(in srgb, rgb(230,240,242) 14%, rgb(10,19,22)) 62%, rgb(230,240,242)); --st-edge: rgb(43,179,201); } }
.hz h1, .hz h2, .hz h3, body.auth.client h1, body.auth.client h2 { font-family: inherit; color: var(--ink); }
.hz .page-title, .hz .section-head h2, body.auth.client .auth-title { color: var(--ink); font-weight: 800; letter-spacing: -.015em; }
.hz .page-title { font-size: clamp(1.75rem, 3.3vw, 2.5rem); line-height: 1.15; margin-bottom: .3em; }
.hz main a:not(.btn):not(.menu-link):not(.group-card):not(.fav-card), body.auth.client main a:not(.btn), body.auth.client .auth-foot a {
  color: var(--st-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.hz main a:not(.btn):not(.menu-link):hover, body.auth.client main a:not(.btn):hover { text-decoration-thickness: 2px; }
.hz main .group-card a, .hz main a.group-card { text-decoration: none; }
.hz :focus-visible, body.auth.client :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* square everything the template draws, as the website does; true circles stay round */
body.hz *:not(.avatar):not(.dot):not(.count):not(.hz-count):not(.big-tick):not(.step-no):not(.avail-ico):not(.aff-join-ico):not(.auth-icon):not(input[type="radio"]):not(.switch):not(.iw-site):not(.iw-site *),
body.auth.client *:not(.auth-icon):not(input[type="radio"]):not(.big-tick):not(.iw-site):not(.iw-site *) { border-radius: 0 !important; }
/* buttons: the website's main colour for the main one, an outline for the others */
.hz .btn, body.auth.client .btn {
  font-weight: 650; padding-left: 18px; padding-right: 18px; border: 1px solid var(--st-line-strong); background: var(--surface); color: var(--ink);
  box-shadow: none; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.hz .btn:hover, body.auth.client .btn:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; transform: none; filter: none; text-decoration: none; }
.hz .btn-primary, body.auth.client .btn-primary, :root[data-theme="dark"] body.hz .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: none; }
.hz .btn-primary:hover, body.auth.client .btn-primary:hover, :root[data-theme="dark"] body.hz .btn-primary:hover { background: color-mix(in srgb, var(--accent) 84%, var(--ink)); border-color: color-mix(in srgb, var(--accent) 84%, var(--ink)); color: var(--accent-ink); }
.hz .btn-danger:hover { color: #fff; }
.hz .btn[disabled], .hz .btn[aria-disabled="true"] { opacity: .55; }

/* fields */
.hz input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), .hz select, .hz textarea,
body.auth.client input:not([type="checkbox"]):not([type="radio"]), body.auth.client select, body.auth.client textarea {
  border: 1px solid var(--st-line-strong); background: var(--surface); color: var(--ink);
}
.hz input:focus, .hz select:focus, .hz textarea:focus, body.auth.client input:focus, body.auth.client select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); outline: 0;
}
.hz label, body.auth.client label { font-weight: 600; }

/* cards, tables, labels */
.hz .card { border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); background: var(--surface); }
.hz .card > h2:first-child, .hz .card > .card-head { padding: 14px 20px; font-weight: 750; font-size: 1.02rem; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); }
.hz .card > h2:first-child .ico, .hz .card-head h2 .ico { color: var(--accent); }
.hz table th { color: var(--muted); font-weight: 650; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; }
.hz .badge { font-weight: 700; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.hz .crumbs { color: var(--muted); font-size: .86rem; }
.hz main .crumbs a:not(.btn) { color: var(--muted); }
.hz .lead { color: var(--muted); font-size: 1.08rem; }
.hz .drop { border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); padding: 4px; }
.hz .stat { border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: none; }
.hz .steps { border: 1px solid var(--line); background: var(--surface); }
.hz .steps li { font-weight: 600; }
.hz .steps li.on { background: var(--accent); color: var(--accent-ink); }
.hz .modal { border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .25); }
.hz .section-head h2 { font-size: 1.5rem; position: relative; padding-bottom: 12px; }
.hz .section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 3px; background: var(--accent); border-radius: 0; }

/* ------------------------------------------------------------------ the client area's own menu, under the website's header */
/* visitors: Horizon's header becomes a plain store bar; the logo is in the header above */
body.hz-public { background: var(--bg); }
.hz-header { position: relative; /* not static: the phone menu opens above the dimmed page only when the bar has a stacking order */ background: var(--surface); backdrop-filter: none; border-bottom: 1px solid var(--line); }
.hz-header-in { min-height: 50px; width: 100%; max-width: 1200px; padding: 0 20px; gap: 12px; }
.hz-header .hz-brand { display: none; }
.hz-menus { margin: 0 auto 0 0; }
.hz-menus > ul { background: none; padding: 0; gap: 22px; }
.hz-menus .menu-btn, .hz-menus .menu-link { height: 50px; padding: 0; font-weight: 550; color: var(--muted); font-size: .93rem; background: none; }
.hz-menus .menu:hover > .menu-btn, .hz-menus .menu:hover > .menu-link, .hz-menus .menu.open > .menu-btn { background: none; color: var(--ink); box-shadow: none; }
.hz-menus .menu.current > .menu-btn, .hz-menus .menu.current > .menu-link { background: none; color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
.hz-menus .menu > .drop { left: 0; transform: none; }
/* visitors sign in from the website header above (on phones: in its menu), so the store bar does not repeat those two links */
.hz-header .hz-signin, .hz-header .hz-signin + .btn { display: none; }
body.hz-public .hz-content { padding: 34px 20px 72px; max-width: 1200px; width: 100%; }
@media (max-width: 860px) {
  .hz-menus > ul { background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; gap: 0; }
  .hz-menus .menu-btn, .hz-menus .menu-link { height: 44px; }
  .hz-header .nav-toggle { margin-right: auto; }
}

/* the website's header and footer: not stuck to the top inside the client area, above Horizon's layers */
header.iw-site, .iw-site header { position: relative; top: auto; }
.iw-site { z-index: 45; }
footer.iw-site { position: relative; z-index: auto; margin-top: 0; }
body.hz-app .iw-site { position: relative; }

/* signed in: the side menu in the colour of the website's footer */
.hz-side .hz-brand { display: none; }
.hz-side-top { min-height: 0; }
.hz-nav a, .hz .hz-nav a { color: var(--hz-side-ink); text-decoration: none; }
.hz .hz-nav a:hover { color: #fff; }
.hz-nav a.on { background: var(--hz-side-2); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.hz-top { background: var(--surface); border-bottom: 1px solid var(--line); backdrop-filter: none; }
.hz .hz-search input { background: none !important; border: 0 !important; box-shadow: none !important; }
.hz-search { border: 1px solid var(--st-line-strong); border-radius: var(--st-btn-r); }
@media (max-width: 960px) { .hz-side:not(.open) { box-shadow: none; } }

/* sign-in, register and password pages: the same header and footer around the card */
body.auth.client { padding: 0; justify-content: flex-start; background: var(--bg); }
body.auth.client .auth-brand, body.auth.client .auth-foot-line { display: none; }
body.auth.client .auth-box { margin: 56px auto 0; width: calc(100% - 32px); border: 1px solid var(--line); padding: 32px 34px; box-shadow: 0 24px 60px rgba(0, 0, 0, .08); background: var(--surface); }
body.auth.client .auth-box::before { content: ""; display: block; height: 4px; margin: -32px -34px 28px; background: var(--accent); border-radius: var(--st-card-r) var(--st-card-r) 0 0; }
body.auth.client .auth-foot { margin: 30px auto 56px; padding: 0 16px; }
body.auth.client footer.iw-site { margin-top: auto; width: 100%; }
body.auth.client header.iw-site, body.auth.client .iw-site { width: 100%; }
body.auth.client .btn-block { height: 46px; }
@media (max-width: 560px) { body.auth.client .auth-box { padding: 24px 20px; margin-top: 28px; } body.auth.client .auth-box::before { margin: -24px -20px 22px; } }

/* ------------------------------------------------------------------ the store and the order pages */
.hz .page-head { align-items: flex-end; margin-bottom: 20px; }
.hz .hero { position: relative; overflow: hidden; border: 1px solid var(--line); padding: 52px 40px 46px; color: var(--st-text);
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%), var(--surface); }
.hz .hero > * { position: relative; z-index: 1; }
.hz .hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; line-height: 1.13; margin-bottom: .35em; color: var(--ink); }
.hz .hero p { color: var(--muted); font-size: 1.1rem; }
.hz .hero .btn:not(.btn-primary) { background: var(--surface); color: var(--ink); }
.hz .quick { background: var(--hz-side); border-top: 3px solid var(--accent); margin-top: 0; }
.hz .quick a, .hz main .quick a:not(.btn):not(.menu-link):not(.group-card):not(.fav-card) { color: #F4F6F8; text-decoration: none; font-weight: 600; }
.hz .quick a .ico { color: color-mix(in srgb, var(--accent) 50%, #fff); }
.hz .quick a:hover { background: rgba(255, 255, 255, .08); }
.hz .group-card { border: 1px solid var(--line); background: var(--surface); transition: transform .15s, border-color .15s, box-shadow .15s; }
.hz .group-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 16%, transparent); }
.hz .group-card .ico { color: var(--accent); }
.hz .plan { border: 1px solid var(--line); background: var(--surface); }
.hz .plan-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.hz .plan-head h2 { color: var(--ink); }
.hz .plan.featured { border: 2px solid var(--accent); box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 18%, transparent); }
.hz .plan-buy .amount { color: var(--ink); font-weight: 800; }
.hz .choice { border: 1px solid var(--st-line-strong); }
.hz .choice:hover { border-color: var(--accent); }
.hz input:checked + .choice, .hz .choice:has(input:checked), .hz .choice.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent); }
.hz .store-side .sb-head { font-weight: 650; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hz main .store-side a:not(.btn) { color: var(--ink); text-decoration: none; }
.hz main .store-side a.on { box-shadow: inset 3px 0 0 var(--accent); background: var(--accent-soft); font-weight: 700; }
@media (max-width: 600px) { .hz .hero { padding: 34px 22px 30px; } }
@media (prefers-reduced-motion: reduce) { .hz .group-card { transition: none; } .hz .group-card:hover { transform: none; } }
