/* iUnlock Tools replica - design tokens extracted from the live site's
   own rendered CSS (2026-11-29): pink (replica origin), black frame, white pages,
   black homepage. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
img, table { max-width: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: #fff; color: #1d1d1f; line-height: 1.5;
  min-height: 100vh; display: flex; flex-direction: column;
}
body.black { background: #f5f5f7; }
a { text-decoration: none; color: #0066cc; }
main { flex: 1; display: flex; flex-direction: column; }

/* ---------- Header (mirrors the live WebX header row) ---------- */
.header-wrap {
  background: #f5f5f7; width: 100%;
  position: sticky; top: 0; z-index: 300;
}
.hrow { display: flex; flex-wrap: wrap; width: 100%; }
.hcol { background: transparent; display: flex; flex-direction: column; flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
  .hcol-logo { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .hcol-menu { flex: 0 0 83.333333%; max-width: 83.333333%; }
}
.logo-el { margin: 15px; display: flex; justify-content: center; }
.logo-el .image-url { display: block; }
.logo-el img { max-width: 100%; height: auto; display: block; }
.menu-el { margin: 15px; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-width: 0; }
@keyframes aosFadeLeft { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes aosZoomIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes aosZoomOut { from { opacity: 0; transform: scale(1.2); } to { opacity: 1; transform: scale(1); } }
.main-menu { position: relative; z-index: 100; transition: all .3s ease; flex: 0 0 auto; }
.main-menu > ul {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  background: #fff;
}
.main-menu > ul > li { position: relative; padding: 10px 15px; background: #fff; }
.main-menu li > a { display: block; }
.main-menu li > a span {
  font-size: 15px; font-weight: 700; font-style: normal; color: #000;
}
.main-menu > ul > li.active { background: #0071e3; border-radius: 0; }
.main-menu > ul > li.active > a span { color: #fff; }
.main-menu > ul > li > ul {
  list-style: none; margin: 0; padding: 0; min-width: 100%;
  white-space: nowrap; position: absolute; top: 100%; left: 0;
  display: flex; flex-direction: column; text-align: center;
  opacity: 0; pointer-events: none; transition: all .2s ease; z-index: 101;
}
.main-menu > ul > li:last-of-type > ul { left: auto; right: 0; }
.main-menu > ul > li > ul > li { padding: 10px 25px; background: #fff; }
.main-menu .burger {
  display: none; background: #fff; color: #000; cursor: pointer;
  padding: 10px 15px; font-size: 15px; font-weight: 700; font-style: normal;
  line-height: 1;
}
.main-menu .burger svg { display: block; fill: #000; }
.flag-icon {
  display: inline-block; width: 1.333em; height: 1em;
  background-size: contain; background-position: 50%;
  background-repeat: no-repeat; vertical-align: middle;
}
.flag-icon-en { background-image: url("/static/flags/us.svg"); }
.flag-icon-cn { background-image: url("/static/flags/cn.svg"); }
.flag-icon.flag-text {
  width: auto; background-position: 0; padding-left: 23px;
  font-size: 15px; font-weight: 700; color: #000; line-height: 1em;
}
@media only screen and (min-width: 640px) {
  .main-menu > ul > li:hover > ul { opacity: 1; pointer-events: all; }
}
@media only screen and (max-width: 640px) {
  .main-menu .burger { display: block; }
  .main-menu > ul {
    position: fixed; top: 0; left: 0; right: 0; height: 100%;
    overflow: scroll; padding-top: 50px; flex-direction: column;
    flex-wrap: unset; opacity: 0; pointer-events: none;
    transform: translateX(100%); transition: all .2s ease; z-index: 200;
  }
  .main-menu.active > ul { opacity: 1; pointer-events: all; transform: translate(0, 0); }
  .main-menu > ul > .burger-close { position: absolute; right: 15px; top: 8px; }
  .main-menu > ul > li > ul {
    position: relative; top: unset; left: unset; right: unset;
    display: none; opacity: 1; pointer-events: all;
  }
  .main-menu > ul > li > ul.expanded {
    display: block; margin: 15px -15px -10px;
  }
}

/* ---------- Footer ---------- */
.footerbar { background: #f5f5f7; width: 100%; }
body.black { padding-bottom: 74px; }
body.black .footerbar {
  position: fixed; bottom: 0; left: 0; z-index: 200;
}
.footer-text {
  margin: 25px 15px; color: #6e6e73; text-align: center; font-size: 16px;
}
.footer-text a { color: #0066cc; }

/* ---------- Homepage ---------- */
.slider { animation: aosZoomIn 1s ease both; }
.slider .full-width { width: 100vw; max-width: 100%; display: block; }
.btn-row { display: flex; flex-wrap: wrap; width: 100%; }
.btn-col { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
  .btn-col { flex: 0 0 33.333333%; max-width: 33.333333%; }
}
.buttons-el { margin: 56px 15px 16px; animation: aosZoomOut 1s ease both; }
.buttons { display: flex; width: 100%; justify-content: space-evenly; }
.btn-home {
  background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.05) 46%, rgba(0,0,0,.05) 100%), rgba(0,113,227,.60);
  -webkit-backdrop-filter: blur(14px) saturate(1.7);
  backdrop-filter: blur(14px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.5); border-radius: 980px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -6px 14px rgba(255,255,255,.14), 0 10px 26px rgba(0,80,170,.22);
  padding: 8px 34px; display: inline-block;
}
.btn-home span { color: #fff; font-size: 15px; }
.tg-row { width: 100%; }
.tg-el { margin: 4px 15px 10px; display: flex; justify-content: center; }
.btn-tg {
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.30) 55%, rgba(255,255,255,.48)), rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.65); border-radius: 980px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 8px 22px rgba(0,0,0,.10);
  padding: 6px 20px; display: inline-block;
}
.btn-tg span { color: #0066cc; font-size: 14px; }

/* ---------- Content pages ---------- */
.page { padding: 15px; width: 100%; }
.page-title { font-size: 25px; color: #000; margin: 15px 15px 5px; }
.svc-title { font-size: 25px; color: #000; margin: 15px; text-align: center; font-weight: 500; }
.search-row { margin: 15px; }
.search-row input {
  width: 100%; font-size: 14px; color: #000; background: #e8e8ed;
  border: none; border-radius: 10px; padding: 4.9px 10.5px;
}
.svc-group { margin: 15px; }
.svc-group-name { font-size: 21px; text-align: center; color: #1d1d1f; margin: 0 0 8px; font-weight: 500; }
.svc-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.svc-table th:nth-child(2), .svc-table td:nth-child(2) { width: 118px; }
.svc-table th:nth-child(3), .svc-table td:nth-child(3) { width: 76px; }
@media (max-width: 640px) {
  .svc-table th:nth-child(2), .svc-table td:nth-child(2) { width: 100px; }
  .svc-table th:nth-child(3), .svc-table td:nth-child(3) { width: 62px; }
  .svc-table th, .svc-table td { padding: 10px 8px; }
}
.svc-table th {
  background: #0071e3; color: #fff; font-size: 14px;
  text-align: left; padding: 12px;
  border: 1px solid #d2d2d7;
}
.svc-table td {
  font-size: 14px; color: #1d1d1f; text-align: left; padding: 12px;
  border: 1px solid #d2d2d7;
  overflow-wrap: break-word;
}
.svc-table th:nth-child(2), .svc-table th:nth-child(3),
.svc-table td:nth-child(2), .svc-table td:nth-child(3) {
  white-space: nowrap;
}
.svc-table td a { color: #1d1d1f; }
.svc-table td a:hover { color: #0066cc; }

/* Cards (service detail etc.) */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 760px) { .cols2 { grid-template-columns: 1fr; } }
.card {
  border: none; border-radius: 12px; background: #fff; margin: 15px;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
}
.card-head {
  background: rgba(0,0,0,.03); border-bottom: none;
  padding: 10px 15px; font-size: 14px; color: #000;
}
.card-body { padding: 15px; font-size: 14px; color: #000; line-height: 1.55; }
.card-body p { margin: 0 0 8px; }
.price-big { font-size: 14px; }

/* ---------- Auth cards ---------- */
.auth-wrap { display: flex; justify-content: center; }
.auth-card {
  width: 100%; background: #fff;
  border: none; border-radius: 12px; margin: 15px;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
}
@media (min-width: 768px) {
  .auth-card { flex: 0 0 calc(50% - 30px); }
}
.auth-head {
  background: rgba(0,0,0,.03); border-bottom: none;
  padding: 10px 15px; font-size: 17.5px; color: #212529;
}
.auth-body { padding: 20px; }
.auth-body label { display: block; font-size: 14px; color: #212529; margin: 0 0 5px; }
.auth-body .form-group { margin-bottom: 15px; }
.auth-body input[type="text"], .auth-body input[type="email"],
.auth-body input[type="password"] {
  width: 100%; font-size: 14px; color: #000; background: #e8e8ed;
  border: none; border-radius: 10px; padding: 4.9px 10.5px;
}
.forgot-link { font-size: 16px; color: #0066cc; align-self: center; }
.auth-body label.check { display: flex; align-items: center; gap: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.auth-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.auth-actions.center { justify-content: center; }
.btn-auth {
  background: #0071e3; border: 2px solid #0071e3; border-radius: 980px; color: #fff;
  font-size: 16px; padding: 10px 25px; cursor: pointer; display: inline-block;
}
.auth-alt { margin-top: 18px; display: flex; align-items: center; gap: 10px; }
.auth-alt span { font-size: 14px; color: #212529; }
.auth-alt img { height: 48px; display: block; }
.auth-alt img.img-google { width: 48px; }
.auth-alt img.img-passkey { width: 88px; }

/* Flash messages */
.flash-wrap { padding: 15px 15px 0; }
.flash { padding: 10px 14px; border-radius: 4px; margin-bottom: 8px; font-size: 14px; }
.flash-error { background: #e5e5e5; color: #111; border: none; }
.flash-info { background: #f4f4f4; color: #333; border: none; }

/* Dashboard bits */
.balance-card {
  display: flex; gap: 34px; flex-wrap: wrap; background: #fff;
  border: none; border-radius: 12px; padding: 15px; margin: 15px;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
}
.balance-card span { display: block; color: #6c757d; font-size: 13px; }
.balance-card strong { font-size: 20px; }
.info-table { border-collapse: collapse; }
.info-table td { padding: 5px 26px 5px 0; font-size: 14px; }
.info-table td:first-child { color: #6c757d; }
.form-narrow { max-width: 420px; }
.form-narrow label { display: block; font-size: 14px; margin: 12px 0 5px; }
.form-narrow input[type="text"], .form-narrow select {
  width: 100%; padding: 4.9px 10.5px; font-size: 14px;
  border: none; border-radius: 10px; background: #f5f5f7;
}
.mono { font-family: monospace; word-break: break-all; }
.small { font-size: 12px; color: #6c757d; }

.slogan-bar {
  flex: 1; min-width: 0; position: relative; height: 25px; overflow: hidden;
  font-size: 16.5px; font-weight: 600; color: #1d1d1f;
  background: transparent; padding: 0; letter-spacing: .01em; white-space: nowrap;
}
.slogan-fade {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; opacity: 0; animation: sloganFade 10s linear infinite;
}
.slogan-b { animation-delay: 5s; }
@keyframes sloganFade {
  0% { opacity: 0; } 4% { opacity: 1; } 46% { opacity: 1; }
  50% { opacity: 0; } 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .slogan-fade { animation: none; }
  .slogan-a { opacity: 1; }
}
@media (max-width: 767px) {
  .slogan-bar { font-size: 14.5px; }
}
.slogan-bar b { color: #0071e3; font-weight: 700; }
