:root {
  --blue-deep: #003c69;
  --blue: #0062a5;
  --blue-light: #0b83d8;
  --cyan: #33b7ff;
  --footer: #303030;
  --text: #161a22;
  --muted: #6a707b;
  --page: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 22px 36px rgba(21, 30, 42, 0.12);
}

* {
  box-sizing: border-box;
}

.boxx {
background: radial-gradient(circle at 82% 0%, rgba(31, 198, 97, 0.12), transparent 32%), linear-gradient(145deg, #071d31, #003c69) !important;
  color: #fff !important;
}

/*
 * Some Android browsers report a desktop-like CSS viewport even when viewed
 * on a narrow physical screen. This final override must remain after the
 * desktop component rules so they cannot replace the stacked phone layout.
 */
@media (max-width: 900px),
       (hover: none) and (pointer: coarse) and (max-device-width: 1200px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .watch-page .page-shell {
    width: calc(100% - 24px);
    max-width: 100%;
  }

  .watch-feature,
  .watch-feature.tv-box-offer {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .watch-feature > *,
  .tv-box-content,
  .tv-box-image,
  .mag-login-instructions,
  .wide-steps {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .tv-box-image {
    order: -1;
    flex: 0 1 auto;
    margin: 0;
  }

  .tv-box-image img {
    display: block;
    width: auto;
    max-width: min(100%, 320px);
    height: auto;
    margin: 0 auto;
  }

  .watch-feature p,
  .watch-feature li,
  .mag-login-instructions {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

.tv-box-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.tv-box-content {
    flex: 1;
    min-width: 0;
}

.tv-box-image {
    flex: 0 0 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-box-image img {
    display: block;
    width: 100%;
    max-width: 300px;
    max-height: 240px;
    object-fit: contain;
}
.tv-box-offer .download-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
}

@media (max-width: 768px) {
    .tv-box-offer {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }

    .tv-box-image {
        flex-basis: auto;
        order: -1;
    }

    .tv-box-image img {
        max-width: 320px;
        margin: 0 auto;
    }
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-strip {
  height: 23px;
  background: #073c63;
}

.brand-band {
  background:
    radial-gradient(circle at 25% 20%, rgba(51, 183, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #dce9f3 100%);
  min-height: 102px;
  display: flex;
  align-items: center;
}

.brand {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  display: block;
}

.brand img {
  display: block;
  width: 255px;
  max-width: 70vw;
  height: 68px;
  object-fit: contain;
}

.main-nav {
  background: linear-gradient(#0877bd, #004b82 58%, #003b68);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.nav-inner {
  width: min(1180px, calc(100% - 64px));
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu a {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #fff;
  font-size: 14px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.menu a:hover,
.menu a.is-active {
  background: rgba(0, 30, 61, 0.35);
}

.language-list {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 12px;
}

.flag {
  width: 16px;
  height: 11px;
  display: inline-grid;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.flag.is-active {
  box-shadow: 0 0 0 1px #fff, 0 0 0 4px rgba(44, 181, 255, 0.36);
}

.flag-ru {
  background: linear-gradient(#fff 0 33%, #2454b8 33% 66%, #da1b2b 66%);
}

.flag-lv {
  background: linear-gradient(#8b111a 0 40%, #fff 40% 60%, #8b111a 60%);
}

.flag-lt {
  background: linear-gradient(#f2c100 0 33%, #169b62 33% 66%, #c1272d 66%);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 52px;
  border: 0;
  background: rgba(0, 34, 68, 0.2);
  padding: 14px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.page-shell {
  width: min(1170px, calc(100% - 64px));
  margin: 0 auto;
}

.home-hero {
  background:
    radial-gradient(circle at 78% 10%, rgba(51, 183, 255, 0.22), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  padding: 28px 0 30px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.35fr);
  gap: 34px;
  align-items: center;
}

.app-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.app-hero-panel {
  min-height: 398px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(51, 183, 255, 0.18), transparent 38%),
    linear-gradient(145deg, #071d31, #003c69);
  border-radius: 8px;
  box-shadow: 0 22px 38px rgba(0, 36, 70, 0.18);
}

.hero-copy {
  padding: 8px 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  color: var(--blue-deep);
  background: rgba(0, 98, 165, 0.1);
  border: 1px solid rgba(0, 98, 165, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.app-hero-panel .hero-kicker {
  color: #d8f4ff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-copy h1 {
  max-width: 520px;
  margin: 18px 0 12px;
  color: #071d31;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 700;
}

.app-hero-panel .hero-copy h1 {
  color: #fff;
  font-size: 42px;
}

.hero-copy p {
  max-width: 520px;
  margin: 0;
  color: #4d5f70;
  font-size: 17px;
}

.app-hero-panel .hero-copy p {
  color: #d7ebf8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-button,
.secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-deep));
  box-shadow: 0 14px 24px rgba(0, 87, 148, 0.24);
}

.secondary-button {
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid rgba(0, 62, 105, 0.18);
}

.app-hero-panel .secondary-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  color: #e8f6ff;
  font-size: 15px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(51, 183, 255, 0.14);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  border-radius: 8px;
  background: #06132b;
  box-shadow: 0 22px 38px rgba(0, 33, 66, 0.22);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  display: block;
  object-fit: cover;
}

.app-banner {
  overflow: hidden;
  min-height: 398px;
  border-radius: 8px;
  background: #071d31;
  box-shadow: 0 22px 38px rgba(0, 33, 66, 0.18);
}

.app-banner img {
  width: 100%;
  height: 100%;
  min-height: 398px;
  display: block;
  object-fit: contain;
  background: linear-gradient(135deg, #071d31, #0b83d8);
}

.device-strip {
  background: #fff;
  padding: 18px 0 8px;
}

.device-grid {
  width: min(1170px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.device-grid span {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 10px;
 background: #0b5fa5;
color: #ffffff;
border: 1px solid #084a82;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.features-section {
  background: #fff;
  padding: 0 0 68px;
}

.modern-features {
  padding-top: 34px;
}

.section-heading {
  width: min(1170px, calc(100% - 64px));
  margin: 0 auto 22px;
}

.section-heading span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 620px;
  margin: 0;
  color: #111923;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 700;
}

.simple-page {
  min-height: 420px;
  padding: 56px 0 72px;
  background: #fff;
}

.simple-page-inner {
  width: min(940px, calc(100% - 64px));
  margin: 0 auto;
}

.simple-page h1 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 400;
}

.simple-page p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.simple-page a {
  color: var(--blue);
}

.watch-hero {
  background:
    radial-gradient(circle at 72% 0%, rgba(51, 183, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 54%, #e9f6ff 100%);
  padding: 48px 0 38px;
}

.watch-hero-inner h1 {
  max-width: 760px;
  margin: 18px 0 12px;
  color: #071d31;
  font-size: 44px;
  line-height: 1.08;
}

.watch-hero-inner p {
  max-width: 790px;
  margin: 0;
  color: #4d5f70;
  font-size: 18px;
}

.watch-page {
  background: #fff;
  padding: 0 0 72px;
}

.watch-device-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 0 34px;
}

.watch-device-nav a {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: #0b5fa5;
color: #ffffff;
border: 1px solid #084a82;
 border: 1px solid #084a82;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.watch-device-nav a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-deep));
  border-color: transparent;
}

.watch-app-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: 24px;
  align-items: center;
  max-width: 100%;
  margin: 0 0 26px;
  padding: 28px;
  background:
    radial-gradient(circle at 82% 0%, rgba(31, 198, 97, 0.12), transparent 32%),
    linear-gradient(145deg, #071d31, #003c69);
  border-radius: 8px;
  box-shadow: 0 22px 38px rgba(0, 36, 70, 0.14);
}

.watch-app-preview-copy span {
  display: inline-flex;
  margin-bottom: 9px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.watch-app-preview-copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 28px;
  line-height: 1.16;
}

.watch-app-preview-copy ol {
  margin: 0;
  padding-left: 20px;
  color: #d7ebf8;
}

.watch-app-preview-copy li {
  margin-bottom: 9px;
}

.watch-app-preview-copy strong {
  color: #fff;
}

.watch-app-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 520px;
  justify-self: end;
}

.watch-app-images figure {
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(218, 240, 255, 0.24);
  border-radius: 8px;
}

.watch-app-images a {
  display: block;
  cursor: zoom-in;
}

.watch-app-images img {
  display: block;
  width: 100%;
  height: 170px;
  object-position: top center;
  background: #071015;
}

.watch-app-images figcaption {
  padding: 10px 12px;
  color: #e8f6ff;
  font-size: 13px;
  font-weight: 700;
}

.watch-card strong {
  color: var(--blue-deep);
  font-weight: 900;
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.watch-card {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  padding: 24px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(51, 183, 255, 0.95), rgba(0, 60, 105, 0.95)) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 20px 34px rgba(0, 45, 85, 0.09);
}

.watch-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-deep));
}

.watch-card-head span,
.watch-feature span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.watch-card h2,
.watch-feature h2,
.watch-help h2 {
  margin: 0 0 14px;
  color: #101820;
  font-size: 22px;
  line-height: 1.2;
}

.watch-card ol,
.wide-steps {
  margin: 0;
  padding-left: 20px;
  color: #536170;
}

.watch-card li,
.wide-steps li {
  margin-bottom: 9px;
}

.watch-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  margin-top: 24px;
  padding: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(51, 183, 255, 0.16), transparent 34%),
    linear-gradient(145deg, #071d31, #003c69);
  border-radius: 8px;
  color: #e8f6ff;
  box-shadow: 0 22px 38px rgba(0, 36, 70, 0.16);
}

.watch-feature h2,
.watch-feature p,
.watch-feature .wide-steps {
  color: #fff;
}

.watch-feature p {
  margin: 0;
  color: #d7ebf8;
}

.watch-feature span {
  color: var(--cyan);
}

.watch-feature .wide-steps li {
  color: #e8f6ff;
}

.media-station {
  background:
    radial-gradient(circle at 80% 0%, rgba(31, 198, 97, 0.16), transparent 34%),
    linear-gradient(145deg, #06243f, #0062a5);
}

.copy-link-button {
  align-self: end;
  justify-self: start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  color: #071d31;
  background: #fff;
  border-radius: 6px;
  font-weight: 800;
}

.download-link-button {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: #fff;
  background: linear-gradient(135deg, #1fc661, #118f45);
  box-shadow: 0 14px 24px rgba(17, 143, 69, 0.18);
}

.download-link-button:hover {
  color: #fff;
  transform: translateY(-1px);
}

.watch-feature-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dark-window-button {
  color: #fff;
  background: #071015;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font: inherit;
}

.media-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  padding: 26px;
}

.media-guide-modal.is-open {
  display: grid;
  place-items: center;
}

.media-guide-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 9, 18, 0.82);
}

.media-guide-modal-window {
  position: relative;
  width: min(1180px, 100%);
  height: min(88vh, 980px);
  overflow: hidden;
  background: #050b12;
  border: 1px solid rgba(51, 183, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.media-guide-modal-window iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.media-guide-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 30, 55, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.media-embed-body {
  margin: 0;
  background: #050b12;
}

.media-guide {
  background:
    radial-gradient(circle at 78% 0%, rgba(51, 183, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 52%, #e9f6ff 100%);
  padding: 64px 0 78px;
}

.media-guide-embed {
  min-height: 100vh;
  padding: 26px 0;
  background:
    radial-gradient(circle at 78% 0%, rgba(51, 183, 255, 0.16), transparent 34%),
    linear-gradient(145deg, #061624, #071015);
}

.media-guide-shell {
  display: grid;
  gap: 26px;
}

.media-guide-hero {
  padding: 34px;
  color: #e8f6ff;
  background:
    radial-gradient(circle at 90% 0%, rgba(31, 198, 97, 0.14), transparent 32%),
    linear-gradient(145deg, #071d31, #003c69);
  border-radius: 8px;
  box-shadow: 0 22px 38px rgba(0, 36, 70, 0.14);
}

.media-guide-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 42px;
  line-height: 1.08;
}

.media-guide-hero p {
  max-width: 820px;
  margin: 0;
  color: #d7ebf8;
}

.media-start-link {
  width: min(100%, 520px);
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(218, 240, 255, 0.22);
  border-radius: 8px;
}

.media-start-link span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.media-start-link strong {
  color: #fff;
  font-size: 20px;
  word-break: break-word;
}

.media-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.media-step-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dcecf8;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 45, 85, 0.09);
}

.media-step-images {
  display: grid;
}

.media-step-images.is-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #071015;
}

.media-step-image {
  display: block;
  cursor: zoom-in;
  background: #071015;
}

.media-step-image img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: contain;
  object-position: top center;
}

.media-step-copy {
  padding: 20px 22px 22px;
}

.media-step-copy span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.media-step-copy h2 {
  margin: 7px 0 8px;
  color: #101820;
  font-size: 22px;
}

.media-step-copy p {
  margin: 0;
  color: #536170;
}

.media-guide-note {
  padding: 28px;
  background: #eef7ff;
  border: 1px solid #dcecf8;
  border-radius: 8px;
}

.media-guide-note h2 {
  margin: 0 0 8px;
}

.media-guide-note p {
  max-width: 720px;
  margin: 0 0 18px;
  color: #536170;
}

.watch-help {
  margin-top: 24px;
  padding: 30px;
  background: #eef7ff;
  border: 1px solid #dcecf8;
  border-radius: 8px;
}

.watch-help p {
  max-width: 720px;
  margin: 0 0 18px;
  color: #536170;
}

.contact-hero {
  background:
    radial-gradient(circle at 76% 0%, rgba(51, 183, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 54%, #e9f6ff 100%);
  padding: 48px 0 38px;
}

.contact-hero-inner h1 {
  max-width: 780px;
  margin: 18px 0 12px;
  color: #071d31;
  font-size: 44px;
  line-height: 1.08;
}

.contact-hero-inner p {
  max-width: 760px;
  margin: 0;
  color: #4d5f70;
  font-size: 18px;
}

.contact-page {
  background: #fff;
  padding: 34px 0 72px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.contact-panel,
.whatsapp-panel,
.direct-contact-card {
  border-radius: 8px;
  box-shadow: 0 20px 34px rgba(0, 45, 85, 0.09);
}

.contact-panel {
  padding: 30px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(51, 183, 255, 0.95), rgba(0, 60, 105, 0.95)) border-box;
  border: 1px solid transparent;
}

.contact-card-head span,
.whatsapp-panel span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card-head h2,
.whatsapp-panel h2,
.direct-contact-card h2 {
  margin: 0 0 18px;
  color: #101820;
  font-size: 24px;
  line-height: 1.2;
}

.contact-form,
.whatsapp-form {
  display: grid;
  gap: 16px;
}

.contact-form label,
.whatsapp-form label {
  display: grid;
  gap: 7px;
  color: #10243a;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.whatsapp-form input,
.whatsapp-form select,
.whatsapp-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: #142331;
  background: #f7fbff;
  border: 1px solid #dcecf8;
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea,
.whatsapp-form textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.form-alert.success {
  color: #075b2b;
  background: #e8faef;
  border: 1px solid #bceccc;
}

.form-alert.error {
  color: #8a1f1f;
  background: #fff1f1;
  border: 1px solid #f3c3c3;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.whatsapp-panel {
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 0%, rgba(31, 198, 97, 0.2), transparent 34%),
    linear-gradient(145deg, #071d31, #0062a5);
}

.whatsapp-panel span,
.whatsapp-panel h2,
.whatsapp-panel p,
.whatsapp-panel label {
  color: #fff;
}

.whatsapp-panel p {
  margin: 0 0 18px;
  color: #d7ebf8;
}

.whatsapp-submit {
  min-height: 46px;
  padding: 10px 16px;
  color: #fff;
  background: #1fc661;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.setup-note {
  margin: 0;
  padding: 12px;
  color: #e8f6ff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 14px;
}

.direct-contact-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: #eef7ff;
  border: 1px solid #dcecf8;
}

.direct-contact-card a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.account-hero {
  background:
    radial-gradient(circle at 76% 0%, rgba(51, 183, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 54%, #e9f6ff 100%);
  padding: 48px 0 38px;
}

.account-hero-inner h1 {
  max-width: 760px;
  margin: 18px 0 12px;
  color: #071d31;
  font-size: 44px;
  line-height: 1.08;
}

.account-hero-inner p {
  max-width: 790px;
  margin: 0;
  color: #4d5f70;
  font-size: 18px;
}

.account-page {
  background: #fff;
  padding: 34px 0 72px;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
}

.account-layout-login-only {
  max-width: 620px;
  grid-template-columns: 1fr;
}

.account-panel {
  padding: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 0%, rgba(51, 183, 255, 0.18), transparent 34%),
    linear-gradient(145deg, #071d31, #003c69);
  border-radius: 8px;
  box-shadow: 0 22px 38px rgba(0, 36, 70, 0.16);
}

.account-panel span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-panel h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 28px;
}

.account-panel p {
  margin: 0;
  color: #d7ebf8;
}

.account-panel-light {
  color: #071d31;
  background:
    radial-gradient(circle at 100% 0%, rgba(51, 183, 255, 0.12), transparent 34%),
    #ffffff;
  border: 1px solid #dcecf8;
}

.account-panel-light span {
  color: var(--blue);
}

.account-panel-light h2 {
  color: #071d31;
}

.account-panel-light p {
  color: #536170;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.client-login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.client-login-form label {
  display: grid;
  gap: 7px;
  color: #fff;
  font-weight: 700;
}

.client-login-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: #142331;
  background: #f7fbff;
  border: 1px solid #dcecf8;
  border-radius: 6px;
  font: inherit;
}

.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.account-form-grid label {
  display: grid;
  gap: 7px;
  color: #fff;
  font-weight: 700;
}

.account-form-grid input,
.account-form-grid select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #142331;
  background: #f7fbff;
  border: 1px solid #dcecf8;
  border-radius: 6px;
  font: inherit;
}

.account-form-grid input:focus,
.account-form-grid select:focus,
.client-login-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(51, 183, 255, 0.18);
  outline: 0;
}

.account-form-grid .full {
  grid-column: 1 / -1;
}

.account-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.account-link-card {
  min-height: 178px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(51, 183, 255, 0.95), rgba(0, 60, 105, 0.95)) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 20px 34px rgba(0, 45, 85, 0.09);
}

.account-link-card strong {
  color: #101820;
  font-size: 21px;
}

.account-link-card span {
  color: #536170;
}

.cabinet-choice-page {
  min-height: 420px;
  padding: 42px 0 78px;
  background:
    radial-gradient(circle at 50% 0%, rgba(51, 183, 255, 0.1), transparent 32%),
    #ffffff;
}

.cabinet-choice-shell {
  max-width: 1060px;
}

.cabinet-register-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 34px;
}

.cabinet-register-action .primary-button {
  min-width: 190px;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
}

.cabinet-choice-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.cabinet-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 24px;
}

.cabinet-forgot-link {
  color: #0878b9;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.cabinet-forgot-link:hover {
  color: #055d8d;
  text-decoration: underline;
}

.cabinet-choice-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dcecf8;
  border-radius: 8px;
  box-shadow: 0 20px 34px rgba(0, 45, 85, 0.11);
}

.cabinet-choice-card.is-featured {
  border-color: rgba(51, 183, 255, 0.75);
  box-shadow: 0 24px 42px rgba(0, 74, 135, 0.16);
}

.cabinet-choice-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 68px;
  padding: 14px 18px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #005b96, #003c69);
}

.cabinet-choice-head span,
.cabinet-choice-head h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
}

.cabinet-choice-body {
  min-height: 238px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  padding: 28px;
  text-align: center;
}

.cabinet-choice-body h3 {
  max-width: 230px;
  margin: 0;
  color: #101820;
  font-size: 19px;
  line-height: 1.25;
}

.cabinet-choice-body p {
  min-height: 42px;
  margin: 0;
  color: #607083;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
}

.payment-badges span {
  padding: 6px 9px;
  color: #005b96;
  background: #eef7ff;
  border: 1px solid #dcecf8;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-logo-strip {
  width: min(100%, 190px);
  max-height: 34px;
  object-fit: contain;
}

.payment-logo-strip-small {
  width: min(100%, 92px);
}

.compact-button {
  min-height: 42px;
  padding: 10px 20px;
}

.compact-hero {
  padding-bottom: 28px;
}

.whmcs-frame-page {
  background: #f0f2f4;
  padding: 24px 0 72px;
}

.checkout-frame-page {
  padding: 18px 0 0;
}

.checkout-frame-shell {
  width: 100%;
  margin: 0 auto;
}

.whmcs-frame-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}

.checkout-frame-page .whmcs-frame-toolbar {
  justify-content: center;
  padding: 0 16px;
  margin: 0 auto 18px;
}

.checkout-frame-page .whmcs-frame-toolbar .secondary-button {
  min-width: 260px;
}

.whmcs-frame {
  width: 100%;
  min-height: 760px;
  display: block;
  background: #f0f2f4;
  border: 1px solid #dcecf8;
  border-radius: 8px;
  box-shadow: 0 20px 34px rgba(0, 45, 85, 0.09);
}

.whmcs-register-shell {
  max-width: 1040px;
}

.whmcs-register-frame {
  min-height: 1120px;
  background: #f4f7fb;
}

.checkout-frame {
  min-height: 1500px;
  height: 1500px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.custom-checkout-page {
  background: #fff;
  padding: 36px 0 78px;
}

.custom-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
  gap: 24px;
}

.checkout-panel,
.checkout-summary {
  padding: 28px;
  background: #fff;
  border: 1px solid #dcecf8;
  border-radius: 8px;
  box-shadow: 0 22px 42px rgba(0, 45, 85, 0.08);
}

.checkout-panel > span,
.checkout-summary > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-panel h2,
.checkout-summary h2 {
  margin: 8px 0 22px;
  color: #071d31;
  font-size: 28px;
}

.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-fields div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px 16px;
  background: #f4f9fd;
  border: 1px solid #dcecf8;
  border-radius: 7px;
}

.checkout-fields small,
.checkout-price small {
  color: #647385;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-fields strong {
  color: #101820;
  overflow-wrap: anywhere;
}

.checkout-summary {
  align-self: start;
  display: grid;
  gap: 16px;
}

.checkout-price {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: #0b6f35;
  background: #e8fff0;
  border: 1px solid #b9efc9;
  border-radius: 7px;
}

.checkout-price strong {
  color: #0b6f35;
  font-size: 28px;
}

.checkout-total-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 24px 0 18px;
  padding: 22px 18px;
  color: #0b6f35;
  background: #e8fff0;
  border: 1px solid #b9efc9;
  border-radius: 8px;
  font-size: 20px;
}

.checkout-total-bar strong {
  color: #0b6f35;
}

.checkout-addon-line {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  padding: 18px;
  background: #f0fff1;
  border: 1px solid #cfefcf;
  border-radius: 8px;
}

.checkout-addon-line label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #536170;
  font-weight: 800;
}

.checkout-addon-line input {
  width: 22px;
  height: 22px;
}

.checkout-addon-line small,
.checkout-payment-block p {
  margin: 0;
  color: #647385;
}

.checkout-payment-block {
  display: grid;
  gap: 18px;
}

.checkout-payment-methods {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 48px;
}

.payment-tile {
  position: relative;
  min-width: 150px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #647385;
  cursor: pointer;
}

.payment-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-check {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid #d7e3ed;
  border-radius: 50%;
}

.payment-tile input:checked + .payment-check {
  background: #2698d5;
  border-color: #2698d5;
}

.payment-tile input:checked + .payment-check::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

.payment-tile strong {
  color: #0b4e82;
  font-size: 22px;
}

.payment-tile small {
  color: #8a96a3;
}

.checkout-card-preview {
  display: grid;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(51, 183, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff, #f4f8fc);
  border: 1px solid #dbeaf5;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.checkout-card-preview > label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0b4e82;
  font-weight: 800;
}

.checkout-card-preview > label input {
  width: 22px;
  height: 22px;
  accent-color: #2698d5;
}

.card-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 120px;
  gap: 16px;
  align-items: end;
  max-width: 760px;
  margin: 0 auto;
}

.card-preview-grid div {
  display: grid;
  gap: 8px;
}

.card-preview-grid small {
  color: #536170;
  font-weight: 700;
}

.card-preview-grid input {
  width: 100%;
  min-height: 58px;
  padding: 13px 16px;
  color: #101820;
  background: #fff;
  border: 1px solid #d6e6f2;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 45, 85, 0.06);
  font: inherit;
  font-weight: 700;
}

.card-preview-grid input:disabled {
  opacity: 1;
  -webkit-text-fill-color: #101820;
}

.card-name-field {
  grid-column: 1 / -1;
  width: min(460px, 100%);
  justify-self: center;
}

.checkout-confirm-form {
  display: grid;
  gap: 12px;
}

.checkout-note {
  display: block;
  color: #647385;
  text-align: center;
}

.dashboard-topbar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.dashboard-stat {
  padding: 24px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(51, 183, 255, 0.95), rgba(0, 60, 105, 0.95)) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 20px 34px rgba(0, 45, 85, 0.09);
}

.dashboard-stat span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-stat strong {
  color: #101820;
  font-size: 30px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dashboard-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #dcecf8;
  border-radius: 8px;
  box-shadow: 0 20px 34px rgba(0, 45, 85, 0.09);
}

.dashboard-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.dashboard-card-head h2 {
  margin: 0;
  color: #101820;
  font-size: 24px;
}

.dashboard-card-head a {
  color: var(--blue);
  font-weight: 800;
}

.dashboard-list {
  display: grid;
  gap: 12px;
}

.dashboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  background: #f7fbff;
  border: 1px solid #dcecf8;
  border-radius: 8px;
}

.dashboard-row div {
  display: grid;
  gap: 3px;
}

.dashboard-row strong {
  color: #101820;
}

.dashboard-row span {
  color: #536170;
  font-size: 14px;
}

.dashboard-row em {
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-empty {
  margin: 0;
  color: #536170;
}

.client-area-shell {
  background: #f1f3f5;
  padding: 0 0 72px;
}

.client-area-wrap {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 22px 54px rgba(0, 44, 76, 0.08);
}

.client-mini-actions {
  min-height: 44px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 8px 14px;
  background: #f7f9fb;
}

.client-mini-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  color: #fff;
  background: #075487;
  border-radius: 5px;
  font-weight: 800;
}

.client-area-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  padding: 8px 14px;
  background: #f7f9fb;
}

.client-area-menu a {
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 16px;
  color: #fff;
  background: #075487;
  border-radius: 5px;
  font-weight: 800;
  text-align: center;
}

.client-area-menu a:hover {
  background: #0b65a4;
}

.client-details-panel {
  scroll-margin-top: 18px;
  display: none;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 22px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #dde6ed;
  border-top: 0;
}

.client-subscription-panel {
  scroll-margin-top: 18px;
  display: none;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #dde6ed;
  border-top: 0;
}

.client-details-panel:target,
.client-subscription-panel:target {
  display: grid;
}

.client-subscription-panel:target {
  gap: 18px;
}

.client-details-panel:target ~ .client-area-grid,
.client-subscription-panel:target ~ .client-area-grid {
  display: none;
}

.client-panel-label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-details-panel h2 {
  margin: 0;
  color: #071d31;
  font-size: 28px;
}

.client-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.client-details-form {
  margin: 0;
}

.client-details-form .form-alert {
  margin-bottom: 14px;
}

.client-details-grid p,
.client-details-grid label {
  margin: 0;
  padding: 12px 14px;
  background: #f4f9fd;
  border: 1px solid #dcecf8;
  border-radius: 6px;
}

.client-details-grid label.is-wide {
  grid-column: 1 / -1;
}

.client-details-grid span,
.client-details-grid strong,
.client-details-grid input,
.client-details-grid select {
  display: block;
}

.client-details-grid span {
  margin-bottom: 5px;
  color: #687684;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-details-grid strong {
  color: #101820;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.client-details-grid input,
.client-details-grid select {
  width: 100%;
  min-height: 42px;
  padding: 0;
  color: #101820;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-weight: 800;
}

.client-details-grid input::placeholder {
  color: #8a96a3;
}

.client-details-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.client-details-actions button,
.client-details-actions a {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 22px;
  color: #fff;
  background: #075487;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.client-details-actions a {
  color: #075487;
  background: #fff;
  border: 1px solid #dcecf8;
}

.client-details-actions button:hover {
  background: #0b65a4;
}

.subscription-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.subscription-panel-head h2 {
  margin: 0;
  color: #071d31;
  font-size: 28px;
}

.subscription-panel-head a {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 16px;
  color: #075487;
  background: #fff;
  border: 1px solid #dcecf8;
  border-radius: 5px;
  font-weight: 800;
}

.portal-login-card,
.portal-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.portal-login-card > div,
.portal-profile-grid p,
.portal-subscription-card {
  margin: 0;
  padding: 14px 16px;
  background: #f4f9fd;
  border: 1px solid #dcecf8;
  border-radius: 6px;
}

.portal-login-card span,
.portal-profile-grid span,
.portal-subscription-card dt {
  display: block;
  margin-bottom: 5px;
  color: #687684;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-login-card strong,
.portal-profile-grid strong,
.portal-subscription-card dd {
  color: #101820;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.portal-subscription-list h3 {
  margin: 4px 0 12px;
  color: #071d31;
  font-size: 22px;
}

.portal-subscription-list {
  display: grid;
  gap: 12px;
}

.portal-subscription-card h4 {
  margin: 0 0 12px;
  color: #075487;
  font-size: 20px;
}

.portal-subscription-card.is-compact {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 16px;
  align-items: center;
}

.portal-subscription-card.is-closed {
  opacity: 0.72;
}

.portal-subscription-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.portal-subscription-summary p {
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #dcecf8;
  border-radius: 6px;
}

.portal-subscription-summary .days-left strong {
  color: #0b65a4;
  font-size: 20px;
}

.portal-subscription-card.is-closed .days-left strong {
  color: #687684;
}

.portal-subscription-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.portal-subscription-card dd {
  margin: 0;
}

.empty-subscription-state {
  margin: 0;
  padding: 18px;
  color: #536170;
  background: #f4f9fd;
  border: 1px solid #dcecf8;
  border-radius: 6px;
}

.client-area-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border: 1px solid #dde6ed;
  border-top: 0;
}

.client-summary-card,
.client-box-card,
.client-package-card {
  padding: 26px 28px;
  background: #fff;
}

.whmcs-frame-page .frame-page-heading,
.whmcs-frame-page .login-frame-toolbar {
  display: none !important;
}

.native-login-page {
  min-height: 560px;
  padding: 36px 20px 72px;
  background: #fff;
}

.client-login-box {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 24px 30px;
  background: #fff;
  border: 1px solid #62b8ff;
  border-radius: 8px;
}

.client-login-box h1 {
  margin: 0 0 24px;
  color: #111;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 800;
}

.reminder-box {
  max-width: 560px;
}

.reminder-intro {
  margin: -8px 0 22px;
  color: #657180;
  font-size: 15px;
  line-height: 1.55;
}

.login-error {
  margin-bottom: 18px;
  padding: 11px 14px;
  background: #fff3f3;
  border: 1px solid #efb1b1;
  border-radius: 5px;
  color: #b32323;
  font-size: 14px;
  line-height: 1.4;
}

.native-login-group {
  margin-bottom: 18px;
}

.native-login-group label {
  display: block;
  margin-bottom: 7px;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

.native-login-control {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #cfdbe6;
  border-radius: 6px;
  outline: none;
  background: #f5f9fc;
  color: #222;
  font-size: 16px;
  font-weight: 600;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.native-login-control::placeholder {
  color: #87919c;
}

.native-login-control:focus {
  background: #fff;
  border-color: #45aefa;
  box-shadow: 0 0 0 3px rgba(69, 174, 250, .18);
}

.turnstile-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 65px;
  margin: 4px 0 18px;
}

.native-login-button {
  width: 100%;
  height: 50px;
  margin: 0 0 24px;
  padding: 0 15px;
  border: 0;
  border-radius: 6px;
  background: #0878b9;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, transform .1s ease, opacity .2s ease;
}

.native-login-button:hover {
  background: #056aa5;
}

.native-login-button:active {
  transform: translateY(1px);
}

.native-login-button:disabled {
  cursor: not-allowed;
  opacity: .7;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #657180;
  font-size: 14px;
  cursor: pointer;
}

.login-forgot-link {
  display: block;
  margin: -8px 0 20px;
  color: #0878b9;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.login-forgot-link:hover {
  color: #055d8d;
  text-decoration: underline;
}

.remember-row input {
  width: 15px;
  height: 15px;
  margin: 0;
  cursor: pointer;
}

.native-register-page {
  min-height: 640px;
  padding: 36px 20px 72px;
  background: #fff;
}

.client-register-box {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 24px 30px;
  background: #fff;
  border: 1px solid #62b8ff;
  border-radius: 8px;
}

.client-register-box h1 {
  margin: 0 0 24px;
  color: #111;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 800;
}

.native-register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.register-country-field {
  grid-column: 1 / -1;
}

.native-register-page select.native-login-control {
  appearance: auto;
  cursor: pointer;
}

.register-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 18px;
  color: #657180;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.register-terms input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 2px 0 0;
}

.register-terms a {
  color: #0878b9;
}

.native-register-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 0;
  border-radius: 6px;
  background: #0878b9;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}

.native-register-button:hover {
  background: #056aa5;
  color: #fff;
}

.native-register-button:disabled {
  cursor: not-allowed;
  opacity: .7;
}

.register-success {
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid #8bd5a4;
  border-radius: 6px;
  background: #effbf3;
  color: #176b35;
  font-size: 15px;
  line-height: 1.5;
}

.register-login-link {
  max-width: 360px;
  margin: 0 auto;
}

@media (max-width: 650px) {
  .native-login-page {
    padding: 24px 14px 52px;
  }

  .client-login-box {
    padding: 23px 18px 28px;
  }

  .client-login-box h1 {
    font-size: 23px;
  }

  .native-login-control {
    height: 46px;
    font-size: 15px;
  }

  .native-login-button {
    height: 48px;
    font-size: 16px;
  }

  .turnstile-wrap {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .native-register-page {
    padding: 24px 14px 52px;
  }

  .client-register-box {
    padding: 23px 18px 28px;
  }

  .client-register-box h1 {
    font-size: 23px;
  }

  .native-register-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .register-country-field {
    grid-column: auto;
  }
}

.client-summary-card {
  border-right: 1px solid #dde6ed;
}

.client-summary-card h1 {
  margin: 0 0 8px;
  color: #071d31;
  font-size: 34px;
}

.client-summary-card > p {
  margin: 0 0 22px;
  color: #536170;
}

.tv-credentials {
  padding-bottom: 18px;
  border-bottom: 2px solid #45b35d;
}

.tv-credentials h2,
.client-service-list h2,
.client-box-card h2 {
  margin: 0 0 10px;
  color: #202a33;
  font-size: 18px;
}

.tv-credentials p {
  margin: 7px 0;
  color: #101820;
}

.client-count-box {
  padding: 20px 0;
  border-bottom: 2px solid #ef5757;
}

.client-count-box span,
.client-count-box small {
  display: block;
  color: #536170;
  font-weight: 700;
}

.client-count-box strong {
  display: block;
  margin: 4px 0;
  color: #0b65a4;
  font-size: 40px;
  line-height: 1;
}

.client-service-list {
  padding-top: 22px;
}

.client-service-list p {
  margin: 0;
  color: #536170;
}

.client-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 14px;
  background: #f4f9fd;
  border: 1px solid #dcecf8;
  border-radius: 6px;
}

.client-service-row + .client-service-row {
  margin-top: 10px;
}

.client-service-row span {
  color: #101820;
  font-weight: 800;
}

.client-service-row strong,
.client-service-row a {
  color: var(--blue);
  font-weight: 800;
}

.client-package-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-package-card {
  position: relative;
  min-height: 224px;
  border-right: 1px solid #dde6ed;
  border-bottom: 1px solid #dde6ed;
}

.client-package-card h2 {
  max-width: 80%;
  margin: 0 0 18px;
  color: #7b858f;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
}

.cart-mark {
  position: absolute;
  top: 26px;
  right: 22px;
  color: #ccd2d8;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-package-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-package-card li {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  color: #536170;
  font-size: 11px;
  border-bottom: 2px solid var(--package-line, #29ace2);
}

.client-package-card li strong {
  color: #101820;
}

.client-package-card li a {
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  color: #fff;
  background: #075487;
  border-radius: 5px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.client-package-card li a:hover {
  background: #0b65a4;
}

.client-package-card li a.is-disabled,
.client-service-row a.is-disabled {
  color: #fff;
  background: #8a96a3;
  cursor: default;
  pointer-events: none;
}

.client-package-card.tone-blue {
  --package-line: #29ace2;
}

.client-package-card.tone-orange {
  --package-line: #ff6b1a;
}

.client-package-card.tone-amber {
  --package-line: #f6a623;
}

.client-package-card.tone-green {
  --package-line: #45b35d;
}

.client-box-card {
  grid-column: 1 / -1;
  border-top: 1px solid #dde6ed;
}

.feature-grid {
  width: min(1170px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 202px;
  padding: 28px 22px 24px;
  text-align: center;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(51, 183, 255, 0.95), rgba(0, 60, 105, 0.95)) border-box;
  border-radius: 8px;
  border: 1px solid transparent;
  box-shadow: 0 24px 40px rgba(0, 45, 85, 0.11);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-deep));
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -46px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(51, 183, 255, 0.1);
}

.feature-card h2 {
  position: relative;
  margin: 18px 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.feature-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-deep));
  border-radius: 18px;
  box-shadow: 0 14px 24px rgba(0, 68, 118, 0.22);
}

.feature-icon::before {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.icon-tv::before {
  content: "14";
}

.icon-gift::before {
  content: "OK";
}

.icon-satellite::before {
  content: "3";
  font-size: 24px;
}

.icon-film::before {
  content: ">";
  font-size: 23px;
}

.info-section {
  background: linear-gradient(180deg, #fff 0%, #eef7ff 100%);
  padding: 0 0 72px;
}

.info-grid {
  width: min(1170px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #dcecf8;
  border-radius: 8px;
}

.info-card strong {
  color: var(--cyan);
  font-size: 14px;
}

.info-card h2 {
  margin: 8px 0 10px;
  color: #101820;
  font-size: 19px;
}

.info-card p {
  margin: 0;
  color: #5d6976;
  font-size: 14px;
}

.site-footer {
  position: relative;
  background: var(--footer);
  color: #d2d2d2;
  padding: 34px 0 0;
}

.footer-inner {
  width: min(560px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.footer-links {
  display: grid;
  gap: 5px;
}

.footer-links a,
.footer-contact a,
.copyright a {
  color: #31a9ee;
}

.footer-contact {
  display: grid;
  gap: 12px;
  align-content: start;
}

.copyright {
  margin: 28px 32px 0 0;
  text-align: right;
  color: #d8d8d8;
  font-size: 12px;
}

.whatsapp-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, #1fc661, #16a950);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.whatsapp-text {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hero-layout,
  .app-hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-media,
  .hero-media img {
    min-height: 260px;
  }

  .app-hero-panel,
  .app-banner,
  .app-banner img {
    min-height: auto;
  }

  .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .watch-device-nav {
    grid-template-columns: repeat(4, 1fr);
  }

  .watch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .watch-feature {
    grid-template-columns: 1fr;
  }

  .watch-app-preview {
    grid-template-columns: 1fr;
  }

  .watch-app-images {
    justify-self: stretch;
    max-width: none;
  }

  .media-guide-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .account-layout,
  .account-form-grid,
  .account-links-grid,
  .cabinet-choice-grid,
  .dashboard-stat-grid,
  .dashboard-grid,
  .client-details-panel,
  .portal-subscription-card.is-compact,
  .portal-subscription-summary,
  .portal-subscription-card dl,
  .client-area-grid,
  .client-package-list,
  .custom-checkout-layout {
    grid-template-columns: 1fr;
  }

  .client-area-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cabinet-choice-body {
    min-height: auto;
  }

  .client-summary-card {
    border-right: 0;
    border-bottom: 1px solid #dde6ed;
  }

  .footer-inner {
    gap: 32px;
  }
}

@media (max-width: 680px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: 72px;
  }

  .brand,
  .nav-inner,
  .page-shell,
  .device-grid,
  .feature-grid,
  .section-heading,
  .info-grid,
  .footer-inner,
  .simple-page-inner {
    width: min(100% - 32px, 1170px);
  }

  .watch-hero {
    padding: 32px 0 28px;
  }

  .contact-hero,
  .account-hero {
    padding: 32px 0 28px;
  }

  .watch-hero-inner h1,
  .contact-hero-inner h1,
  .account-hero-inner h1 {
    font-size: 34px;
  }

  .watch-hero-inner p,
  .contact-hero-inner p,
  .account-hero-inner p {
    font-size: 16px;
  }

  .brand-band {
    min-height: 86px;
  }

  .brand img {
    width: 220px;
    height: 59px;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    height: 46px;
    padding: 0 14px;
  }

  .language-list {
    margin-left: auto;
  }

  .home-hero {
    padding: 20px 0 20px;
  }

  .app-hero-layout {
    gap: 14px;
  }

  .app-hero-panel {
    padding: 24px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .app-hero-panel .hero-copy h1 {
    font-size: 32px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .checkout-frame-page {
    padding-top: 14px;
  }

  .checkout-frame-page .whmcs-frame-toolbar {
    padding: 0 14px;
    margin-bottom: 12px;
  }

  .checkout-frame-page .whmcs-frame-toolbar .secondary-button {
    width: min(100%, 360px);
    min-width: 0;
  }

  .checkout-frame {
    min-height: 2450px;
    height: 2450px;
  }

  .hero-media,
  .hero-media img {
    min-height: 188px;
  }

  .app-banner img {
    min-height: 210px;
  }

  .device-grid,
  .feature-grid,
  .footer-inner,
  .watch-app-images,
  .watch-device-nav,
  .watch-grid,
  .client-details-grid,
  .portal-login-card,
  .portal-profile-grid,
  .client-area-menu {
    grid-template-columns: 1fr;
  }

  .watch-feature,
  .watch-app-preview,
  .watch-help,
  .contact-panel,
  .whatsapp-panel,
  .direct-contact-card,
  .dashboard-card,
  .dashboard-stat {
    padding: 24px;
  }

  .watch-page .page-shell {
    width: calc(100% - 24px);
    max-width: 100%;
  }

  .watch-feature,
  .watch-feature.tv-box-offer {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .watch-feature > *,
  .tv-box-content,
  .tv-box-image,
  .mag-login-instructions,
  .wide-steps {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .tv-box-image {
    margin-top: 4px;
display: grid;
  }

  .tv-box-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .watch-feature p,
  .watch-feature li,
  .mag-login-instructions {
      }

  .watch-app-images img {
    height: 190px;
  }

  .media-guide {
    padding: 38px 0 54px;
  }

  .media-guide-hero {
    padding: 26px;
  }

  .media-guide-hero h1 {
    font-size: 32px;
  }

  .media-step-image img {
    height: 210px;
  }

  .media-step-images.is-pair {
    grid-template-columns: 1fr;
  }

  .media-guide-modal {
    padding: 10px;
  }

  .media-guide-modal-window {
    height: 92vh;
  }

  .watch-feature-actions,
  .watch-feature-actions .copy-link-button {
    width: 100%;
  }

  .watch-feature-actions .copy-link-button {
    justify-content: center;
  }

  .dashboard-topbar,
  .dashboard-row,
  .dashboard-card-head,
  .subscription-panel-head,
  .client-details-actions,
  .client-mini-actions,
  .client-service-row {
    align-items: stretch;
    flex-direction: column;
  }

  .client-area-wrap {
    width: min(100% - 28px, 1120px);
  }

  .client-summary-card,
  .client-box-card,
  .client-package-card {
    padding: 24px;
  }

  .client-package-card li {
    grid-template-columns: minmax(68px, 1fr) auto auto;
    gap: 6px;
    font-size: 13px;
  }

  .client-package-card li a {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
    white-space: nowrap;
  }

  .client-package-card h2 {
    max-width: 100%;
    padding-right: 72px;
    font-size: 20px;
  }

  .checkout-fields {
    grid-template-columns: 1fr;
  }

  .checkout-total-bar,
  .checkout-payment-methods {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .card-preview-grid {
    grid-template-columns: 1fr;
  }

  .card-name-field {
    max-width: none;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .feature-card {
    min-height: 170px;
  }

  .copyright {
    margin-right: 16px;
  }

  .whatsapp-button {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    justify-content: center;
    font-size: 14px;
  }
}
