/* Account area styling - aligned with PC Web Systems theme */
:root {
  --bg: #02050b;
  --bg2: #07111f;
  --card: rgba(7, 17, 31, 0.86);
  --panel: rgba(7, 17, 31, 0.86);
  --line: rgba(95, 216, 255, 0.24);
  --text: #f4f8ff;
  --muted: #a7b8cf;
  --blue: #1fb9ff;
  --blue2: #0b6fb8;
  --blue-bright: #5fd8ff;
  --green: #72ff18;
  --green-soft: #9dff4b;
  --success: #72ff8a;
  --danger: #ff6b6b;
  --radius: 24px;
  --max: 1180px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --shadow-blue: 0 0 24px rgba(31, 185, 255, 0.35);
  --shadow-green: 0 0 24px rgba(114, 255, 24, 0.25);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(31, 185, 255, 0.16),
      transparent 34rem
    ),
    radial-gradient(
      circle at top right,
      rgba(114, 255, 24, 0.1),
      transparent 32rem
    ),
    linear-gradient(180deg, #01040a 0%, #030811 50%, #010307 100%);
  color: var(--text);
  line-height: 1.55;
}
a {
  color: var(--blue-bright);
  text-decoration: none;
}
a:hover,
a:focus {
  color: var(--green-soft);
}
.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}
.topbar,
.footer {
  background: rgba(1, 4, 10, 0.88);
  color: var(--text);
}
.topbar {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.topbar .wrap {
  width: calc(100% - clamp(1rem, 12vw, 150px) - clamp(1rem, 5vw, 64px));
  max-width: none;
  margin-left: clamp(1rem, 12vw, 150px);
  margin-right: clamp(1rem, 5vw, 64px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 80px;
  padding: 0;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: 250px;
  height: 70px;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  background: transparent;
  border: 0;
  outline-offset: 4px;
}
.brand-icon-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border: 1px solid rgba(95, 216, 255, 0.62);
  border-radius: 16px;
  background: rgba(2, 5, 11, 0.68);
  box-shadow:
    0 0 14px rgba(31, 185, 255, 0.3),
    0 0 20px rgba(114, 255, 24, 0.16),
    inset 0 0 14px rgba(31, 185, 255, 0.1);
  overflow: hidden;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}
.brand-icon {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: center;
}
.brand-text {
  color: #fff;
  font-size: clamp(1.24rem, 1.65vw, 1.55rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(31, 185, 255, 0.18);
  transition:
    color 160ms ease,
    text-shadow 160ms ease;
}
.brand:hover,
.brand:focus {
  color: var(--green-soft);
}
.brand:hover .brand-text,
.brand:focus .brand-text {
  color: var(--green-soft);
  text-shadow:
    0 0 12px rgba(114, 255, 24, 0.34),
    0 0 18px rgba(31, 185, 255, 0.18);
}
.brand:hover .brand-icon-frame,
.brand:focus .brand-icon-frame {
  border-color: rgba(114, 255, 24, 0.72);
  box-shadow:
    0 0 18px rgba(114, 255, 24, 0.26),
    0 0 24px rgba(31, 185, 255, 0.24),
    inset 0 0 14px rgba(114, 255, 24, 0.08);
  transform: translateY(-1px);
}
.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.95rem;
}
.nav a,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--text);
  border: 1px solid rgba(114, 255, 24, 0.52);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(31, 185, 255, 0.18),
    rgba(114, 255, 24, 0.18)
  );
  box-shadow: var(--shadow-green);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}
.nav a {
  font-weight: 700;
  color: var(--text);
}
.btn {
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.85rem 1.25rem;
}
.nav a:hover,
.nav a:focus,
.btn:hover,
.btn:focus {
  color: #fff;
  border-color: rgba(114, 255, 24, 0.72);
  background: linear-gradient(
    90deg,
    rgba(31, 185, 255, 0.24),
    rgba(114, 255, 24, 0.24)
  );
  box-shadow: var(--shadow-green), var(--shadow-blue);
  transform: translateY(-1px);
}
.btn-primary,
.btn-secondary {
  background: linear-gradient(
    90deg,
    rgba(31, 185, 255, 0.18),
    rgba(114, 255, 24, 0.18)
  );
  border-color: rgba(114, 255, 24, 0.52);
  color: var(--text);
  box-shadow: var(--shadow-green);
}
.main {
  padding: 2rem 0;
}
.auth-shell {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  padding: 2rem 0;
}
.card,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-blue), var(--shadow-green), var(--shadow);
}
.card {
  width: min(100%, 520px);
  padding: 1.5rem;
}
.panel {
  padding: 1.25rem;
}
h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.08;
  color: var(--text);
}
.muted {
  color: var(--muted);
}
.form-grid {
  display: grid;
  gap: 0.9rem;
}
.form-row {
  display: grid;
  gap: 0.35rem;
}
.form-row label {
  font-weight: 800;
  color: var(--text);
}
.input,
textarea,
select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(95, 216, 255, 0.24);
  background: rgba(0, 0, 0, 0.42);
  color: var(--text);
  padding: 0.85rem 1rem;
  font: inherit;
}
.input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(31, 185, 255, 0.15);
  outline: none;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
.hint {
  font-size: 0.9rem;
  color: var(--muted);
}

.field-with-status {
  position: relative;
}
.field-with-status .input {
  padding-right: 3rem;
}
.match-indicator {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(114, 255, 138, 0.14);
  border: 1px solid rgba(114, 255, 138, 0.42);
  color: var(--success);
  box-shadow: 0 0 10px rgba(114, 255, 138, 0.18);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}
.match-indicator.is-visible {
  display: inline-flex;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.alert {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin: 0.75rem 0;
}
.alert-ok {
  background: rgba(114, 255, 138, 0.13);
  border: 1px solid rgba(114, 255, 138, 0.32);
}
.alert-bad {
  background: rgba(255, 107, 107, 0.13);
  border: 1px solid rgba(255, 107, 107, 0.32);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.account-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  align-items: start;
}
.side-menu {
  display: grid;
  gap: 0.55rem;
}
.side-menu a {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid var(--line);
  color: var(--text);
}
.side-menu a:hover,
.side-menu a:focus {
  background: linear-gradient(
    90deg,
    rgba(31, 185, 255, 0.12),
    rgba(114, 255, 24, 0.1)
  );
  border-color: rgba(114, 255, 24, 0.36);
  color: #fff;
}
.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}
.table th,
.table td {
  border-bottom: 1px solid rgba(95, 216, 255, 0.16);
  padding: 0.75rem;
  text-align: left;
  color: var(--muted);
}
.table th {
  color: #fff;
  background: rgba(31, 185, 255, 0.08);
}
.footer {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
  align-items: start;
}
.footer-title {
  color: var(--text);
  font-weight: 800;
  margin-bottom: 0.55rem;
}
.footer p,
.footer a {
  color: rgba(244, 248, 255, 0.86);
  margin: 0;
}
.footer a:hover,
.footer a:focus {
  color: var(--green-soft);
}
.footer small {
  display: block;
  color: rgba(244, 248, 255, 0.68);
  margin-top: 0.4rem;
}
.footer .wrap {
  padding: 1.35rem 0;
  color: rgba(244, 248, 255, 0.84);
}
@media (max-width: 860px) {
  .grid-2,
  .account-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .topbar .wrap {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
  }
  .topbar-inner {
    padding: 0.8rem 0;
  }
  .brand {
    width: min(250px, calc(100vw - 2rem));
    height: 70px;
  }
  .brand-icon-frame {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  .brand-icon {
    width: 45px;
    height: 45px;
  }
  .brand-text {
    font-size: clamp(1.12rem, 6vw, 1.42rem);
  }
}

/* Header logo refinement - B06 */
@media (min-width: 861px) {
  .topbar .wrap {
    width: calc(100% - 140px);
    max-width: none;
    margin-left: 100px;
    margin-right: 40px;
  }
  .brand {
    width: 430px;
    height: 70px;
    gap: 14px;
  }
  .brand-icon-frame {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    border-radius: 18px;
  }
  .brand-icon {
    width: 70px;
    height: 70px;
  }
}
.brand-copy {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  height: 70px;
  line-height: 1;
}
.brand-title {
  color: #fff;
  font-size: clamp(2rem, 2.35vw, 2.35rem);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(31, 185, 255, 0.18);
  transition:
    color 160ms ease,
    text-shadow 160ms ease;
}
.brand-tagline {
  margin-top: 4px;
  color: var(--blue-bright);
  font-size: 0.83rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(31, 185, 255, 0.18);
}
.brand:hover .brand-title,
.brand:focus .brand-title {
  color: var(--green-soft);
  text-shadow:
    0 0 12px rgba(114, 255, 24, 0.34),
    0 0 18px rgba(31, 185, 255, 0.18);
}
@media (max-width: 860px) {
  .brand {
    width: min(360px, calc(100vw - 2rem));
    height: 70px;
    gap: 12px;
  }
  .brand-icon-frame {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }
  .brand-icon {
    width: 56px;
    height: 56px;
  }
  .brand-copy {
    height: 62px;
  }
  .brand-title {
    font-size: clamp(1.75rem, 8vw, 2.1rem);
  }
  .brand-tagline {
    font-size: 0.72rem;
  }
}

/* PCWS approved site-wide button + container halo update */
.nav a,
.side-menu a,
button.btn:not(.btn-price),
a.btn:not(.btn-price),
input.btn:not(.btn-price),
.nav-toggle {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 400 !important;
  background: rgba(35, 35, 35, 0.58) !important;
  background-image: none !important;
  border: 1px solid rgba(35, 35, 35, 0.94) !important;
  box-shadow:
    0 0 0 1px rgba(0, 139, 243, 0.34),
    0 0 18px rgba(0, 139, 243, 0.38),
    0 12px 30px rgba(0, 0, 0, 0.34) !important;
  text-shadow: none !important;
}

.nav a:hover,
.nav a:focus-visible,
.side-menu a:hover,
.side-menu a:focus-visible,
button.btn:not(.btn-price):hover,
button.btn:not(.btn-price):focus-visible,
a.btn:not(.btn-price):hover,
a.btn:not(.btn-price):focus-visible,
input.btn:not(.btn-price):hover,
input.btn:not(.btn-price):focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 400 !important;
  background: rgba(35, 35, 35, 0.74) !important;
  background-image: none !important;
  border-color: rgba(35, 35, 35, 1) !important;
  box-shadow:
    0 0 0 1px rgba(0, 139, 243, 0.52),
    0 0 24px rgba(0, 139, 243, 0.56),
    0 14px 34px rgba(0, 0, 0, 0.38) !important;
  filter: none !important;
  transform: none !important;
}

.nav a *,
.side-menu a *,
button.btn:not(.btn-price) *,
a.btn:not(.btn-price) *,
input.btn:not(.btn-price) *,
.nav-toggle * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 400 !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.card,
.panel,
.legal-card,
.test-hero,
.test-panel,
.result-card,
.note-card,
.summary-box,
.hero-copy,
.hero-image-card,
.spec-card,
.cta-card,
.traffic-card,
.micro div,
.traffic-bullets div,
.feature-tile,
.hero-media {
  box-shadow:
    0 0 0 1px rgba(0, 139, 243, 0.24),
    0 0 22px rgba(0, 139, 243, 0.28),
    0 14px 34px rgba(0, 0, 0, 0.30) !important;
  border-color: rgba(0, 139, 243, 0.32) !important;
}

.hero-offer-card {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36) !important;
  border-color: rgba(255, 255, 255, 0.86) !important;
}

.btn-price,
.btn-price:hover,
.btn-price:focus-visible,
.btn-price *,
.btn-price:hover *,
.btn-price:focus-visible * {
  font-weight: inherit;
}
