/* AeroVPN Aurora theme — polished dark/light overrides
   Brand accent: #4CDDCE
   Goal: remove legacy blue/purple accents and make dark mode deeper.
*/

:root {
  color-scheme: dark;
}

html[data-aurora-scheme="light"] {
  color-scheme: light;
}


.aurora-blob { opacity: .14; filter: blur(128px); }
.aurora-blob-1,
.aurora-blob-2,
.aurora-blob-3 { background: #4CDDCE !important; }

html[data-aurora-scheme="light"] .aurora-grid {
  opacity: .55;
  background-image:
    linear-gradient(rgba(22, 91, 85, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 91, 85, .045) 1px, transparent 1px) !important;
}


html[data-aurora-scheme="light"] .aurora-sidebar,
html[data-aurora-scheme="light"] .aurora-topbar,
html[data-aurora-scheme="light"] .aurora-mobile-tabbar {
  background: rgba(248, 255, 254, .88) !important;
  box-shadow: 0 14px 44px rgba(22, 80, 75, .10) !important;
}

.aurora-brand-icon,
.aurora-user-ava,
.au-btn,
.m2-btn-primary,
button.m2-btn-primary,
a.m2-btn-primary,
button[type="submit"].au-btn:not(.au-btn-ghost),
button[type="submit"].m2-btn:not(.m2-btn-secondary) {
  background: linear-gradient(135deg, #4CDDCE 0%, #36CBBE 100%) !important;
  color: #02100F !important;
  border-color: rgba(76, 221, 206, .58) !important;
  box-shadow: 0 14px 36px rgba(76, 221, 206, .20), 0 1px 0 rgba(255, 255, 255, .38) inset !important;
}
.aurora-brand-icon:has(img) { background: transparent !important; box-shadow: none !important; }
.au-btn:hover,
.m2-btn-primary:hover,
button.m2-btn-primary:hover,
a.m2-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 46px rgba(76, 221, 206, .28), 0 1px 0 rgba(255, 255, 255, .44) inset !important;
}
.au-btn-ghost,
.m2-btn-secondary,
button.m2-btn-secondary,
a.m2-btn-secondary {
  background: rgba(76, 221, 206, .07) !important;
  color: var(--accent-2) !important;
  border-color: rgba(76, 221, 206, .22) !important;
  box-shadow: none !important;
}
.au-btn-ghost:hover,
.m2-btn-secondary:hover {
  background: rgba(76, 221, 206, .13) !important;
  border-color: rgba(76, 221, 206, .38) !important;
}

.aurora-brand-name,
.aurora-topbar-title h1,
.au-title,
.m2-title,
h1, h2, h3, h4 {
  color: var(--c-text) !important;
}
.aurora-brand-sub,
.aurora-topbar-title p,
.au-subtitle,
.m2-subtitle,
.muted,
.text-muted,
small {
  color: var(--c-text-2) !important;
}

/* Navigation */
.aurora-nav-section {
  color: var(--c-text-3) !important;
}
.aurora-nav-link,
.aurora-mobile-tabbar a,
.aurora-mobile-tabbar button {
  color: var(--c-text-2) !important;
}
.aurora-nav-link:hover,
.aurora-nav-link.is-active {
  background: linear-gradient(135deg, rgba(76, 221, 206, .14), rgba(76, 221, 206, .055)) !important;
  color: var(--accent-2) !important;
  border-color: rgba(76, 221, 206, .20) !important;
}
.aurora-nav-link.is-active::before {
  background: #4CDDCE !important;
  box-shadow: 0 0 20px rgba(76, 221, 206, .62) !important;
}
.aurora-mobile-tabbar a.is-active,
.aurora-mobile-tabbar button.is-active,
.aurora-mobile-tabbar a:hover,
.aurora-mobile-tabbar button:hover {
  color: var(--accent) !important;
}
.aurora-nav-icon,
.aurora-mobile-tabbar svg {
  stroke: currentColor !important;
}

/* Cards and panels */
.au-card,
.m2-card,
.card,
.panel,
.m2-panel,
.review-item,
.reviews-stat,
.router-vpn-card,
.au-metric,
.au-tariff-card,
.au-table-wrap,
.m2-table-wrap {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .050), rgba(255, 255, 255, .018)),
    var(--c-surface) !important;
  border-color: var(--c-border) !important;
  box-shadow: var(--shadow-card) !important;
}
.au-card:hover,
.m2-card:hover,
.review-item:hover,
.router-vpn-card:hover,
.au-tariff-card:hover {
  border-color: rgba(76, 221, 206, .25) !important;
}
html[data-aurora-scheme="light"] .au-card,
html[data-aurora-scheme="light"] .m2-card,
html[data-aurora-scheme="light"] .card,
html[data-aurora-scheme="light"] .panel,
html[data-aurora-scheme="light"] .m2-panel,
html[data-aurora-scheme="light"] .review-item,
html[data-aurora-scheme="light"] .reviews-stat,
html[data-aurora-scheme="light"] .router-vpn-card,
html[data-aurora-scheme="light"] .au-metric,
html[data-aurora-scheme="light"] .au-tariff-card,
html[data-aurora-scheme="light"] .au-table-wrap,
html[data-aurora-scheme="light"] .m2-table-wrap {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(236,251,249,.76)) !important;
}

/* Metric icons: remove leftover blue/purple backgrounds */
.au-metric-icon,
.m2-icon,
.icon-badge {
  background: radial-gradient(circle at 30% 20%, rgba(76, 221, 206, .22), rgba(76, 221, 206, .07)) !important;
  border: 1px solid rgba(76, 221, 206, .18) !important;
  color: var(--accent) !important;
  box-shadow: 0 12px 34px rgba(76, 221, 206, .10) !important;
}
.au-metric-icon svg,
.m2-icon svg,
.icon-badge svg,
.au-card svg,
.m2-card svg {
  stroke: currentColor;
}
.au-metric-icon svg [fill="#4CDDCE"],
.au-metric-icon svg [fill="#63E6D9"],
.au-metric-icon svg [fill="#7CEBE0"] {
  fill: currentColor !important;
}

/* Forms */
input,
select,
textarea,
.m2-input,
.form-control {
  background: rgba(5, 18, 17, .88) !important;
  color: var(--c-text) !important;
  border-color: rgba(76, 221, 206, .16) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.025) inset !important;
}
input::placeholder,
textarea::placeholder { color: rgba(157,185,182,.62) !important; }
html[data-aurora-scheme="light"] input,
html[data-aurora-scheme="light"] select,
html[data-aurora-scheme="light"] textarea,
html[data-aurora-scheme="light"] .m2-input,
html[data-aurora-scheme="light"] .form-control {
  background: rgba(255,255,255,.92) !important;
  color: #071A18 !important;
  border-color: rgba(30,105,98,.18) !important;
}
input:not([type="radio"]):not([type="checkbox"]):focus,
select:focus,
textarea:focus,
.m2-input:focus,
.form-control:focus {
  border-color: #4CDDCE !important;
  box-shadow: 0 0 0 3px rgba(76, 221, 206, .17), 0 1px 0 rgba(255,255,255,.035) inset !important;
  outline: none !important;
}

/* Tables */
.au-table,
.m2-table,
.data-table {
  color: var(--c-text) !important;
}
.au-table thead,
.m2-table thead,
.data-table thead {
  background: rgba(76, 221, 206, .06) !important;
}
.au-table th,
.m2-table th,
.data-table th {
  color: var(--c-text-2) !important;
  border-color: var(--c-border) !important;
}
.au-table td,
.m2-table td,
.data-table td {
  border-color: rgba(76, 221, 206, .08) !important;
}
.au-table tbody tr:hover,
.m2-table tbody tr:hover,
.data-table tbody tr:hover {
  background: rgba(76, 221, 206, .055) !important;
}

/* Links and badges */
a { color: var(--aero-link) !important; }
a:hover { color: #A5FFF8 !important; }
html[data-aurora-scheme="light"] a { color: #0E9A91 !important; }
html[data-aurora-scheme="light"] a:hover { color: #087D75 !important; }
.badge,
.m2-badge,
.au-badge,
.status-badge,
.pill {
  background: rgba(76, 221, 206, .10) !important;
  color: var(--accent-2) !important;
  border-color: rgba(76, 221, 206, .20) !important;
}

/* Notices */
.notice,
.m2-notice,
.alert,
.au-notice {
  background: rgba(76, 221, 206, .075) !important;
  color: var(--c-text) !important;
  border-color: rgba(76, 221, 206, .18) !important;
}
.au-notice-error,
.m2-notice-error {
  background: var(--danger-bg) !important;
  border-color: rgba(255, 118, 118, .28) !important;
  color: #FFD7D7 !important;
}
html[data-aurora-scheme="light"] .au-notice-error,
html[data-aurora-scheme="light"] .m2-notice-error {
  color: #8F2222 !important;
}
.au-notice-success,
.m2-notice-success {
  background: var(--success-bg) !important;
  border-color: rgba(76, 221, 206, .28) !important;
  color: var(--accent-2) !important;
}

/* Theme toggle */
.aurora-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(76, 221, 206, .22) !important;
  background: rgba(5, 18, 17, .82) !important;
  color: var(--c-text) !important;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
html[data-aurora-scheme="light"] .aurora-body .aurora-theme-toggle {
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(8, 83, 76, .18) !important;
  color: rgb(37, 80, 75) !important;
  box-shadow: 0 10px 26px rgba(22,80,75,.08) !important;
}
.aurora-theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(76, 221, 206, .52) !important;
  background: rgba(76, 221, 206, .12) !important;
}
html[data-aurora-scheme="light"] .aurora-body .aurora-theme-toggle:hover {
  background: rgba(76, 221, 206, 0.15) !important;
  border-color: rgba(8, 145, 136, 0.36) !important;
  color: rgb(3, 23, 20) !important;
}
.aurora-theme-toggle-icon { font-size: 14px; line-height: 1; color: var(--accent); }

/* Icon + label theme toggle: show BOTH the sun/moon glyph and the
   "Светлая"/"Тёмная" label, e.g. "☀ Светлая". .aurora-body (0,2,0) beats
   theme_minimal.css '.aurora-theme-toggle-label { display:none }' (0,1,0),
   which loads after this file, so the label stays visible too. */
.aurora-body .aurora-theme-toggle-icon {
  display: inline-flex !important;
  align-items: center;
  font-size: 15px;
  line-height: 1;
  margin-right: 6px;
  filter: none;
}
.aurora-body .aurora-theme-toggle-label {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: inherit !important;
  line-height: 1 !important;
}
.aurora-body .aurora-theme-toggle {
  gap: 0 !important;
  padding: 7px 14px !important;
}


.router-vpn-tariffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.router-vpn-card { border-radius: var(--r-xl, 22px); padding: 18px; }
.router-vpn-price { font-size: 22px; font-weight: 900; color: var(--accent) !important; margin: 10px 0; }
.router-vpn-status { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; border: 1px solid var(--c-border); background: rgba(76,221,206,.10); color: var(--accent-2); font-size: 12px; font-weight: 800; }
.router-vpn-status.is-bad { background: rgba(255,118,118,.12); color: var(--danger); border-color: rgba(255,118,118,.28); }
.router-vpn-status.is-muted { background: rgba(157,185,182,.10); color: var(--c-text-2); }

/* Final cleanup for legacy Aurora blue/purple classes */
[style*="#4f86ff"],
[style*="#7aadff"],
[style*="#a5b4fc"],
[style*="#c4b5fd"],
[style*="#818cf8"] {
  color: var(--accent) !important;
  border-color: rgba(76,221,206,.28) !important;
}
.aurora-body svg[stroke="#4f86ff"],
.aurora-body svg[stroke="#7aadff"],
.aurora-body svg[stroke="#a5b4fc"],
.aurora-body svg[stroke="#c4b5fd"],
.aurora-body svg[stroke="#818cf8"] {
  stroke: #4CDDCE !important;
}
.aurora-body svg [fill="#4f86ff"],
.aurora-body svg [fill="#7aadff"],
.aurora-body svg [fill="#a5b4fc"],
.aurora-body svg [fill="#c4b5fd"],
.aurora-body svg [fill="#818cf8"] {
  fill: #4CDDCE !important;
}

@media (max-width: 900px) {
  .aurora-mobile-tabbar-inner {
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .aurora-mobile-tabbar-inner::-webkit-scrollbar { display: none; }
  .aurora-mobile-tabbar a,
  .aurora-mobile-tabbar button {
    flex: 0 0 72px;
    min-width: 72px;
  }
  .aurora-body .aurora-theme-toggle-label {
    display: inline-flex !important;
    max-width: 56px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .router-vpn-tariffs { grid-template-columns: 1fr; }
}


.aero-legal-page h1 {
  margin: 0;
  color: var(--c-text);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.aero-legal-hero p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--c-text-2);
  font-size: 15px;
  line-height: 1.72;
}


.aero-legal-toc a:hover {
  transform: none;
  border-color: transparent;
  background: transparent;
  color: inherit;
}


.aero-legal-section:first-of-type {
  border-top: 0;
}

.aero-legal-section h2 {
  margin: 0 0 12px;
  color: #EAFDFC;
  font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: -0.025em;
}

.aero-legal-section p {
  margin: 12px 0 0;
  color: var(--c-text-2);
  font-size: 15px;
  line-height: 1.65;
  padding: 8px 10px 8px 14px;
  border-left: 2px solid rgba(76, 221, 206, .2);
  border-radius: 0 6px 6px 0;
  transition: background .15s ease, border-left-color .15s ease;
}

.aero-legal-section p:hover {
  background: transparent;
  border-left-color: rgba(76, 221, 206, .20);
}

.aero-legal-section a {
  color: #4CDDCE;
  text-decoration: none;
  border-bottom: 1px solid rgba(76, 221, 206, .45);
}

.aero-legal-section a:hover {
  color: #7CEBE0;
}

html[data-aurora-scheme="light"] .aero-legal-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(76, 221, 206, .16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(240, 252, 250, .94));
  border-color: rgba(14, 116, 105, .16);
}

html[data-aurora-scheme="light"] .aero-legal-meta,
html[data-aurora-scheme="light"] .aero-legal-toc a {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(14, 116, 105, .16);
}

html[data-aurora-scheme="light"] .aero-legal-page h1,
html[data-aurora-scheme="light"] .aero-legal-section h2,
html[data-aurora-scheme="light"] .aero-legal-meta strong {
  color: #062522;
}


@media (max-width: 760px) {
  .aero-legal-page {
    padding: 20px;
  }

  .aero-legal-hero {
    grid-template-columns: 1fr;
  }

  .aero-legal-meta {
    width: 100%;
  }

  .aero-legal-toc {
    grid-template-columns: 1fr;
  }
}


html[data-aurora-scheme="light"] .aurora-body,
html[data-aurora-scheme="light"] .aurora-body p,
html[data-aurora-scheme="light"] .aurora-body span,
html[data-aurora-scheme="light"] .aurora-body li,
html[data-aurora-scheme="light"] .aurora-body td,
html[data-aurora-scheme="light"] .aurora-body th,
html[data-aurora-scheme="light"] .m2-muted,
html[data-aurora-scheme="light"] .au-muted,
html[data-aurora-scheme="light"] .au-tariff-prop span,
html[data-aurora-scheme="light"] .review-muted {
  color: var(--c-text-2) !important;
}

html[data-aurora-scheme="light"] .aurora-body h1,
html[data-aurora-scheme="light"] .aurora-body h2,
html[data-aurora-scheme="light"] .aurora-body h3,
html[data-aurora-scheme="light"] .aurora-body h4,
html[data-aurora-scheme="light"] .au-hero-title,
html[data-aurora-scheme="light"] .au-tariff-name,
html[data-aurora-scheme="light"] .au-tariff-price-val,
html[data-aurora-scheme="light"] .au-tariff-prop b,
html[data-aurora-scheme="light"] .au-metric-value,
html[data-aurora-scheme="light"] .m2-metric {
  color: var(--c-text) !important;
}

/* Guest welcome block */
.au-hero-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(76, 221, 206, .18) !important;
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 4%, rgba(76, 221, 206, .18), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(76, 221, 206, .10), transparent 34%),
    linear-gradient(145deg, rgba(3, 16, 15, .98), rgba(2, 8, 7, .99)) !important;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
}

.au-hero-banner::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(76, 221, 206, .18), transparent 28%, transparent 72%, rgba(76, 221, 206, .10));
  opacity: .85;
}

.au-hero-banner > * {
  position: relative;
  z-index: 1;
}

.au-hero-banner .au-hero-label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(76, 221, 206, .28);
  border-radius: 999px;
  background: rgba(76, 221, 206, .09);
  color: #4CDDCE !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.au-hero-banner .au-hero-title {
  color: #F1FFFE !important;
  text-shadow: 0 0 28px rgba(76, 221, 206, .13);
}

.au-hero-banner .au-hero-subtitle {
  color: #B8D4D1 !important;
}

html[data-aurora-scheme="light"] .au-hero-banner {
  background:
    radial-gradient(circle at 16% 4%, rgba(76, 221, 206, .24), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(54, 203, 190, .14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(235, 249, 247, .96)) !important;
  border-color: rgba(15, 155, 145, .22) !important;
  box-shadow: 0 26px 62px rgba(22, 80, 75, .16), inset 0 1px 0 rgba(255, 255, 255, .95) !important;
}

html[data-aurora-scheme="light"] .au-hero-banner .au-hero-title {
  color: #041B18 !important;
  text-shadow: none;
}

html[data-aurora-scheme="light"] .au-hero-banner .au-hero-subtitle {
  color: #315E58 !important;
}

/* Guest popular plans */
.au-card .au-section-head h2 {
  color: var(--c-text) !important;
}

.au-section-head > a[href*="tariffs"] {
  color: var(--accent) !important;
}

.au-tariff-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(76, 221, 206, .10), transparent 34%),
    linear-gradient(180deg, rgba(6, 21, 20, .96), rgba(2, 8, 7, .98)) !important;
  border-color: rgba(76, 221, 206, .18) !important;
}

.au-tariff-card.featured {
  border-color: rgba(76, 221, 206, .44) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .58), 0 0 46px rgba(76, 221, 206, .14) !important;
}

.au-pill-blue {
  background: rgba(76, 221, 206, .12) !important;
  border-color: rgba(76, 221, 206, .28) !important;
  color: #4CDDCE !important;
}

html[data-aurora-scheme="light"] .au-tariff-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(76, 221, 206, .18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(240, 252, 250, .94)) !important;
  border-color: rgba(10, 83, 76, .16) !important;
}

html[data-aurora-scheme="light"] .au-tariff-card.featured {
  border-color: rgba(15, 155, 145, .38) !important;
  box-shadow: 0 24px 62px rgba(22, 80, 75, .16), 0 0 30px rgba(76, 221, 206, .16) !important;
}


.aero-legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(76, 221, 206, .14);
  grid-column: 1 / -1;
}


.aero-legal-toc a {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 11px 12px;
  border: 1px solid rgba(76, 221, 206, .14);
  border-radius: 15px;
  background: rgba(10, 30, 28, .72);
  color: #CFF5F1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
  justify-content: flex-start;
  gap: 10px;
  line-height: 1.35;
}

.aero-legal-toc a::before {
  counter-increment: aero-legal-toc;
  content: counter(aero-legal-toc);
  min-width: 26px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 221, 206, .18);
  border: none;
  color: #4CDDCE;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.aero-legal-section {
  padding: 20px 0;
  border-top: 1px solid rgba(76, 221, 206, .10);
  grid-column: 2;
  padding-top: 0;
}

.aero-legal-section + .aero-legal-section {
  padding-top: 20px;
}

html[data-aurora-scheme="light"] .aero-legal-toc a {
  color: #0E4E48 !important;
}

html[data-aurora-scheme="light"] .aero-legal-toc a::before {
  background: rgba(11, 146, 137, .14);
  border: none;
  border-radius: 8px;
  color: #087D76;
}

html[data-aurora-scheme="light"] .aero-legal-section p {
  color: #315E58 !important;
  border-left-color: rgba(8, 146, 137, .22);
}

html[data-aurora-scheme="light"] .aero-legal-section p:hover {
  background: transparent;
  border-left-color: rgba(8, 146, 137, .20);
}

@media (max-width: 920px) {
  

  .aero-legal-toc {
    grid-column: 1;
    position: static;
  }

  .aero-legal-section {
    grid-column: 1;
  }
}


/* Step numbers must stay readable after light-mode contrast fix */


/* Legal pages polish: remove tall gap and make update date subtle */
.aero-legal-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
  border-color: rgba(76, 221, 206, .18);
  background: radial-gradient(circle at 12% 0%, rgba(76, 221, 206, .10), transparent 28%),
    linear-gradient(180deg, rgba(6, 21, 20, .96), rgba(3, 16, 15, .98));
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) !important;
  gap: 24px 30px;
  grid-auto-rows: auto !important;
  align-items: start !important;
}

.aero-legal-toc {
  display: flex !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  grid-column: 1 !important;
  align-self: start;
  position: sticky;
  top: 92px;
  flex-direction: column;
  counter-reset: aero-legal-toc;
  grid-row: 2 !important;
}

.aero-legal-content {
  grid-column: 2 !important;
  grid-row: 2 !important;
  min-width: 0;
}

.aero-legal-content .aero-legal-section {
  grid-column: auto !important;
}

.aero-legal-content .aero-legal-section:first-child {
  padding-top: 0 !important;
  border-top: 0 !important;
}

.aero-legal-content .aero-legal-section + .aero-legal-section {
  margin-top: 28px;
  padding-top: 24px !important;
  border-top: 1px solid rgba(76, 221, 206, .10);
}

.aero-legal-meta {
  min-width: 0 !important;
  padding: 2px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: right;
  opacity: .86;
}

.aero-legal-meta span {
  display: block;
  margin-bottom: 2px !important;
  color: rgba(184, 212, 209, .72) !important;
  font-size: 11px !important;
  font-weight: 600;
}

.aero-legal-meta strong {
  display: block;
  color: rgba(241, 255, 254, .88) !important;
  font-size: 14px !important;
  font-weight: 800;
}

html[data-aurora-scheme="light"] .aero-legal-meta {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-aurora-scheme="light"] .aero-legal-meta span {
  color: rgba(49, 94, 88, .74) !important;
}

html[data-aurora-scheme="light"] .aero-legal-meta strong {
  color: rgba(4, 27, 24, .82) !important;
}

@media (max-width: 920px) {
  .aero-legal-page {
    grid-template-columns: 1fr !important;
    gap: 18px;
}

  .aero-legal-toc,
  .aero-legal-content {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .aero-legal-meta {
    text-align: left;
  }
}


/* =====================================================================
   Legal pages (/terms, /privacy): kill the "cards inside cards" look.
   The outer <section class="m2-card aero-legal-page"> is rendered as a
   generic card by the unified .aurora-body .m2-card rule (0,2,0 dark /
   0,3,1 light). These overrides use .aero-legal-page.m2-card (0,3,0) and
   the light +scheme variant (0,4,1) to win and flatten it. TOC links lose
   their mini-card chrome; the number badge (::before) is kept.
   ===================================================================== */

/* FIX 1 — flatten the outer wrapper (single visual layer). */
.aurora-body .aero-legal-page.m2-card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}
html[data-aurora-scheme="light"] .aurora-body .aero-legal-page.m2-card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* FIX 2 — TOC links become clean flat rows (badge kept via ::before). */
.aurora-body .aero-legal-toc a {
  border: none !important;
  background: transparent !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  color: #B8D4D1 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.aurora-body .aero-legal-toc a:hover {
  transform: none !important;
  border-color: transparent !important;
  background: transparent !important;
  color: inherit !important;
}
.aurora-body .aero-legal-toc a.is-active,
.aurora-body .aero-legal-toc a[aria-current] {
  background: rgba(76, 221, 206, .10) !important;
  color: #4CDDCE !important;
}
html[data-aurora-scheme="light"] .aurora-body .aero-legal-toc a {
  border: none !important;
  background: transparent !important;
  color: #2D5F58 !important;
}
html[data-aurora-scheme="light"] .aurora-body .aero-legal-toc a:hover {
  background: transparent !important;
  color: inherit !important;
}
html[data-aurora-scheme="light"] .aurora-body .aero-legal-toc a.is-active,
html[data-aurora-scheme="light"] .aurora-body .aero-legal-toc a[aria-current] {
  background: rgba(76, 221, 206, .12) !important;
  color: #087D76 !important;
}

/* FIX 3 — vertical divider between the TOC column and the content. */
.aurora-body .aero-legal-content {
  border-left: 1px solid rgba(76, 221, 206, .10) !important;
  padding-left: 30px !important;
}
html[data-aurora-scheme="light"] .aurora-body .aero-legal-content {
  border-left-color: rgba(8, 83, 76, .10) !important;
}

/* FIX 4 — subtle bottom rule under section headings (colour kept). */
.aurora-body .aero-legal-section h2 {
  margin: 0 0 10px !important;
  padding: 0 0 12px !important;
  border: none !important;
  border-bottom: 1px solid rgba(76, 221, 206, .12) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}
html[data-aurora-scheme="light"] .aurora-body .aero-legal-section h2 {
  border-bottom-color: rgba(8, 83, 76, .14) !important;
}

/* Single-column (≤920px): drop the now-horizontal divider/indent. */
@media (max-width: 920px) {
  .aurora-body .aero-legal-content {
    border-left: none !important;
    padding-left: 0 !important;
  }
}

/* Replace remaining legacy blue/purple surfaces with AeroVPN brand colors */
.aurora-body .au-card--glow,
.aurora-body .au-provider-card:hover,
.aurora-body .au-provider-card.selected,
.aurora-body .au-provider-card[data-selected="1"],
.aurora-body .au-amount-btn:hover,
.aurora-body .au-amount-btn.is-active,
.aurora-body .au-chip.active,
.aurora-body .au-chip.is-active,
.aurora-body .m2-notice.m2-info,
.aurora-body .au-notice-info {
  background: rgba(76, 221, 206, .095) !important;
  border-color: rgba(76, 221, 206, .30) !important;
  color: #BFFFFA !important;
  box-shadow: none !important;
}

.aurora-body .au-hero-label,
.aurora-body .au-chip.active,
.aurora-body .au-chip.is-active,
.aurora-body .wc-neo-locale-item.is-active {
  color: #4CDDCE !important;
}

.aurora-body .au-pill-purple,
.aurora-body .au-pill-blue {
  background: rgba(76, 221, 206, .12) !important;
  border-color: rgba(76, 221, 206, .28) !important;
  color: #4CDDCE !important;
}

.aurora-body .au-metric::after,
.aurora-body .au-hero-banner::before {
  background: radial-gradient(circle at 80% 40%, rgba(76, 221, 206, .12), transparent 58%) !important;
}

.aurora-body .au-provider-card:hover,
.aurora-body .au-amount-btn:hover,
.aurora-body .au-amount-btn.is-active {
  color: var(--c-text) !important;
}

/* Primary buttons: keep text dark/readable on hover despite global a:hover rule */
.aurora-body .au-btn:not(.au-btn-ghost),
.aurora-body button.au-btn:not(.au-btn-ghost),
.aurora-body a.au-btn:not(.au-btn-ghost),
.aurora-body .m2-btn-primary,
.aurora-body button.m2-btn-primary,
.aurora-body a.m2-btn-primary,
.aurora-body .m2-btn:not(.m2-btn-ghost):not(.m2-btn-secondary),
.aurora-body button[type="submit"].m2-btn:not(.m2-btn-secondary),
.aurora-body button[type="submit"].au-btn:not(.au-btn-ghost) {
  background: linear-gradient(135deg, #4CDDCE 0%, #36CBBE 100%) !important;
  color: #02100F !important;
  border-color: rgba(76, 221, 206, .50) !important;
  text-decoration: none !important;
}

.aurora-body .au-btn:not(.au-btn-ghost):not(.auth-telegram-btn):hover,
.aurora-body button.au-btn:not(.au-btn-ghost):hover,
.aurora-body a.au-btn:not(.au-btn-ghost):not(.auth-telegram-btn):hover,
.aurora-body .m2-btn-primary:hover,
.aurora-body button.m2-btn-primary:hover,
.aurora-body a.m2-btn-primary:hover,
.aurora-body .m2-btn:not(.m2-btn-ghost):not(.m2-btn-secondary):hover,
.aurora-body button[type="submit"].m2-btn:not(.m2-btn-secondary):hover,
.aurora-body button[type="submit"].au-btn:not(.au-btn-ghost):hover {
  color: #02100F !important;
  filter: none !important;
  background: linear-gradient(135deg, #63E6D9 0%, #4CDDCE 100%) !important;
  box-shadow: 0 18px 46px rgba(76, 221, 206, .24), 0 1px 0 rgba(255, 255, 255, .45) inset !important;
}

.aurora-body .au-btn[disabled],
.aurora-body .au-btn.is-disabled,
.aurora-body .m2-btn[disabled],
.aurora-body .m2-btn.is-disabled,
.aurora-body button:disabled {
  opacity: .58 !important;
  cursor: not-allowed !important;
}

/* Auth pages: remove the square behind the logo and replace old navy card */
.aurora-auth-scene {
  background:
    radial-gradient(circle at 50% -10%, rgba(76, 221, 206, .12), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(76, 221, 206, .08), transparent 32%) !important;
}

.aurora-auth-logo-icon {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
}

.aurora-auth-logo-icon img {
  display: block !important;
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.aurora-auth-logo-icon:not(:has(img)) {
  width: 44px !important;
  height: 44px !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #4CDDCE, #36CBBE) !important;
  color: #02100F !important;
}


.aurora-auth-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(76, 221, 206, .08), transparent 34%),
    linear-gradient(180deg, rgba(5, 20, 19, .97), rgba(2, 8, 7, .985)) !important;
  border: 1px solid rgba(76, 221, 206, .22) !important;
  box-shadow: 0 28px 78px rgba(0, 0, 0, .58), 0 0 0 1px rgba(255,255,255,.025) inset !important;
  color: #F4FFFE !important;
}

/* Wide auth box override */
.aurora-auth-box--wide,
.wc-guest-auth-page .aurora-auth-box--wide,
body.wc-guest-auth-page .aurora-auth-box--wide {
  width: min(100%, 560px) !important;
  max-width: 560px !important;
}

/* Centered single-action card (forgot password, etc.) */
.aurora-auth-card--centered {
  padding: 40px 36px 36px !important;
  text-align: center;
}
.aurora-auth-card--centered h2 {
  margin-bottom: 8px !important;
}
.aurora-auth-card--centered p {
  margin-bottom: 24px !important;
}
.aurora-auth-card--centered .au-form-grid {
  text-align: left;
  gap: 16px !important;
}
.aurora-auth-card--centered .aurora-auth-footer-note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--c-text-3);
  text-align: center;
}

/* Icon block inside auth card */
.aurora-auth-icon-block {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: rgba(76, 221, 206, .10);
  border: 1px solid rgba(76, 221, 206, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: #4CDDCE;
}
html[data-aurora-scheme="light"] .aurora-auth-icon-block {
  background: rgba(14, 169, 158, .08);
  border-color: rgba(14, 169, 158, .22);
  color: #0A8880;
}

@media (max-width: 480px) {
  .aurora-auth-card--centered {
    padding: 32px 28px 28px !important;
  }
}

.aurora-auth-card h2,
.aurora-auth-card h3,
.aurora-auth-card label {
  color: #F4FFFE !important;
}

.aurora-auth-card p,
.aurora-auth-divider span,
.aurora-auth-card .au-muted,
.aurora-auth-card small {
  color: #C1DDDA !important;
}

.aurora-auth-card input,
.aurora-auth-card select,
.aurora-auth-card textarea {
  background: rgba(2, 11, 10, .92) !important;
  color: #F4FFFE !important;
  border-color: rgba(76, 221, 206, .22) !important;
}

.aurora-auth-card input:focus,
.aurora-auth-card select:focus,
.aurora-auth-card textarea:focus {
  background: rgba(4, 18, 17, .96) !important;
  border-color: rgba(76, 221, 206, .70) !important;
  box-shadow: 0 0 0 3px rgba(76, 221, 206, .18) !important;
}

/* Telegram-style custom button is made brand-colored; the official Telegram widget may stay blue because it is rendered by Telegram. */
.aurora-body .au-tg-btn {
  background: linear-gradient(135deg, #4CDDCE, #36CBBE) !important;
  color: #02100F !important;
  box-shadow: 0 14px 34px rgba(76, 221, 206, .18) !important;
}
.aurora-body .au-tg-btn:hover { color: #02100F !important; filter: none !important; }

/* Dropdowns, modals, toasts: remove old dark-blue surfaces */
.aurora-body .wc-neo-locale-menu,
.aurora-body .wc-toast,
.aurora-body .m2-keys-modal-box,
.aurora-body .m2-connect-modal-box,
.aurora-body .m2-hwid-modal-box,
.aurora-body .modal,
.aurora-body .modal-content,
.aurora-body .dialog,
.aurora-body .dialog-content {
  background:
    linear-gradient(180deg, rgba(6, 21, 20, .98), rgba(3, 14, 13, .99)) !important;
  border-color: rgba(76, 221, 206, .22) !important;
  color: var(--c-text) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.62) !important;
}

.aurora-body .wc-neo-locale-item:hover {
  background: rgba(76, 221, 206, .10) !important;
  color: var(--c-text) !important;
}

.aurora-body .au-field select option {
  background: #061514 !important;
  color: #F4FFFE !important;
}


html[data-aurora-scheme="light"] .aurora-body,
html[data-aurora-scheme="light"] .aurora-body p,
html[data-aurora-scheme="light"] .aurora-body li,
html[data-aurora-scheme="light"] .aurora-body td,
html[data-aurora-scheme="light"] .aurora-body th,
html[data-aurora-scheme="light"] .aurora-body label,
html[data-aurora-scheme="light"] .aurora-body .au-field label,
html[data-aurora-scheme="light"] .aurora-body .m2-muted,
html[data-aurora-scheme="light"] .aurora-body .au-muted,
html[data-aurora-scheme="light"] .aurora-body .muted,
html[data-aurora-scheme="light"] .aurora-body .text-muted,
html[data-aurora-scheme="light"] .aurora-body .aurora-topbar-title p,
html[data-aurora-scheme="light"] .aurora-body .aurora-brand-sub,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-prop span,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-price-unit,
html[data-aurora-scheme="light"] .aurora-body .au-provider-name,
html[data-aurora-scheme="light"] .aurora-body .aurora-auth-card p,
html[data-aurora-scheme="light"] .aurora-body .aurora-auth-divider span {
  color: #244B46 !important;
}

html[data-aurora-scheme="light"] .aurora-body h1,
html[data-aurora-scheme="light"] .aurora-body h2,
html[data-aurora-scheme="light"] .aurora-body h3,
html[data-aurora-scheme="light"] .aurora-body h4,
html[data-aurora-scheme="light"] .aurora-body .aurora-brand-name,
html[data-aurora-scheme="light"] .aurora-body .aurora-auth-logo-name,
html[data-aurora-scheme="light"] .aurora-body .aurora-topbar-title h1,
html[data-aurora-scheme="light"] .aurora-body .au-title,
html[data-aurora-scheme="light"] .aurora-body .au-hero-title,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-name,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-price-val,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-prop b,
html[data-aurora-scheme="light"] .aurora-body .au-metric-value,
html[data-aurora-scheme="light"] .aurora-body .aurora-auth-card h2,
html[data-aurora-scheme="light"] .aurora-body .aurora-auth-card h3 {
  color: #031714 !important;
}

html[data-aurora-scheme="light"] .aurora-auth-scene {
  background:
    radial-gradient(circle at 50% -10%, rgba(76, 221, 206, .18), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(76, 221, 206, .12), transparent 36%) !important;
}

html[data-aurora-scheme="light"] .aurora-auth-card,
html[data-aurora-scheme="light"] .aurora-body .wc-neo-locale-menu,
html[data-aurora-scheme="light"] .aurora-body .wc-toast,
html[data-aurora-scheme="light"] .aurora-body .m2-keys-modal-box,
html[data-aurora-scheme="light"] .aurora-body .m2-connect-modal-box,
html[data-aurora-scheme="light"] .aurora-body .m2-hwid-modal-box,
html[data-aurora-scheme="light"] .aurora-body .modal,
html[data-aurora-scheme="light"] .aurora-body .modal-content,
html[data-aurora-scheme="light"] .aurora-body .dialog,
html[data-aurora-scheme="light"] .aurora-body .dialog-content {
  background:
    radial-gradient(circle at 18% 0%, rgba(76, 221, 206, .15), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,252,250,.98)) !important;
  border-color: rgba(8, 145, 136, .24) !important;
  color: #031714 !important;
  box-shadow: 0 26px 64px rgba(22, 80, 75, .16), 0 1px 0 rgba(255,255,255,.96) inset !important;
}

html[data-aurora-scheme="light"] .aurora-auth-card input,
html[data-aurora-scheme="light"] .aurora-auth-card select,
html[data-aurora-scheme="light"] .aurora-auth-card textarea,
html[data-aurora-scheme="light"] .aurora-body input,
html[data-aurora-scheme="light"] .aurora-body select,
html[data-aurora-scheme="light"] .aurora-body textarea,
html[data-aurora-scheme="light"] .aurora-body .m2-input,
html[data-aurora-scheme="light"] .aurora-body .form-control {
  background: #FFFFFF !important;
  color: #031714 !important;
  border-color: rgba(8, 83, 76, .24) !important;
}

html[data-aurora-scheme="light"] .aurora-auth-card input:focus,
html[data-aurora-scheme="light"] .aurora-auth-card select:focus,
html[data-aurora-scheme="light"] .aurora-auth-card textarea:focus,
html[data-aurora-scheme="light"] .aurora-body input:focus,
html[data-aurora-scheme="light"] .aurora-body select:focus,
html[data-aurora-scheme="light"] .aurora-body textarea:focus {
  border-color: rgba(8, 145, 136, .70) !important;
  box-shadow: 0 0 0 3px rgba(76, 221, 206, .22) !important;
}

html[data-aurora-scheme="light"] .aurora-body input::placeholder,
html[data-aurora-scheme="light"] .aurora-body textarea::placeholder {
  color: rgba(36, 75, 70, .58) !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-card,
html[data-aurora-scheme="light"] .aurora-body .m2-card,
html[data-aurora-scheme="light"] .aurora-body .card,
html[data-aurora-scheme="light"] .aurora-body .panel,
html[data-aurora-scheme="light"] .aurora-body .m2-panel,
html[data-aurora-scheme="light"] .aurora-body .au-table-wrap,
html[data-aurora-scheme="light"] .aurora-body .m2-table-wrap,
html[data-aurora-scheme="light"] .aurora-body .review-item,
html[data-aurora-scheme="light"] .aurora-body .reviews-stat,
html[data-aurora-scheme="light"] .aurora-body .router-vpn-card,
html[data-aurora-scheme="light"] .aurora-body .au-metric,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-card {
  background:
    radial-gradient(circle at 16% 0%, rgba(76, 221, 206, .12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,252,250,.96)) !important;
  color: #031714 !important;
  border-color: rgba(8, 83, 76, .16) !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-notice-info,
html[data-aurora-scheme="light"] .aurora-body .m2-notice.m2-info {
  background: rgba(76, 221, 206, .14) !important;
  color: #0B4E48 !important;
  border-color: rgba(8, 145, 136, .26) !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-notice-success,
html[data-aurora-scheme="light"] .aurora-body .m2-notice.m2-success {
  color: #0B5E50 !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-notice-error,
html[data-aurora-scheme="light"] .aurora-body .m2-notice.m2-error {
  color: #8F2222 !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-btn-ghost,
html[data-aurora-scheme="light"] .aurora-body .m2-btn-secondary,
html[data-aurora-scheme="light"] .aurora-body a.m2-btn-secondary {
  background: rgba(8, 145, 136, .08) !important;
  color: #087D76 !important;
  border-color: rgba(8, 145, 136, .24) !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-btn-ghost:hover,
html[data-aurora-scheme="light"] .aurora-body .m2-btn-secondary:hover,
html[data-aurora-scheme="light"] .aurora-body a.m2-btn-secondary:hover {
  background: rgba(8, 145, 136, .13) !important;
  color: #065B55 !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-field select option {
  background: #FFFFFF !important;
  color: #031714 !important;
}

/* Make scrollbars brand-colored instead of blue */
.aurora-body ::-webkit-scrollbar-thumb {
  background: rgba(76, 221, 206, .28) !important;
}
html[data-aurora-scheme="light"] .aurora-body ::-webkit-scrollbar-thumb {
  background: rgba(8, 145, 136, .28) !important;
}

/* Aurora polish: locale menu readability and guest start section */
.aurora-body .wc-neo-locale-wrap {
  position: relative;
}
.aurora-body .aurora-locale-btn,
.aurora-body .wc-neo-locale-toggle {
  background: rgba(5, 18, 17, .82) !important;
  border: 1px solid rgba(76, 221, 206, .22) !important;
  color: #EAFDFC !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18) !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease !important;
  /* Rounded-rect (not pill): match the theme toggle and general UI radius.
     theme_minimal.css forces border-radius:8px / padding:6px 8px (0,1,0);
     set them here at (0,2,0) to control radius + padding consistently. */
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  min-height: 36px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.aurora-body .aurora-locale-btn:hover,
.aurora-body .wc-neo-locale-toggle:hover,
.aurora-body .aurora-locale-btn[aria-expanded="true"],
.aurora-body .wc-neo-locale-toggle[aria-expanded="true"] {
  background: rgba(76, 221, 206, .12) !important;
  border-color: rgba(76, 221, 206, .50) !important;
  color: #EAFDFC !important;
  transform: translateY(-1px);
}
.aurora-body .wc-neo-locale-caret {
  color: rgba(234, 253, 252, .72) !important;
  font-size: 10px !important;
  margin-left: 2px !important;
}
.aurora-body .wc-neo-locale-menu {
  min-width: 154px;
  padding: 5px !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, rgba(6, 21, 20, .99), rgba(2, 8, 7, .99)) !important;
  border: 1px solid rgba(76, 221, 206, .22) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .58) !important;
  overflow: hidden;
}
.aurora-body .wc-neo-locale-item {
  display: flex !important;
  align-items: center;
  min-height: 38px;
  width: 100%;
  padding: 7px 12px !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #D6F2EF !important;
  border: 0 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-align: left;
  cursor: pointer;
  transition: background .14s ease, color .14s ease, transform .14s ease !important;
}
.aurora-body .wc-neo-locale-item:hover,
.aurora-body .wc-neo-locale-item:focus-visible {
  background: rgba(76, 221, 206, .13) !important;
  color: #FFFFFF !important;
  outline: none !important;
}
.aurora-body .wc-neo-locale-item.is-active,
.aurora-body .wc-neo-locale-item.is-active:hover {
  background: rgba(76, 221, 206, .14) !important;
  color: #7CEBE0 !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

html[data-aurora-scheme="light"] .aurora-body .aurora-locale-btn,
html[data-aurora-scheme="light"] .aurora-body .wc-neo-locale-toggle {
  background: rgba(255, 255, 255, .90) !important;
  border-color: rgba(8, 83, 76, .18) !important;
  color: #031714 !important;
  box-shadow: 0 10px 26px rgba(22, 80, 75, .08) !important;
}
html[data-aurora-scheme="light"] .aurora-body .aurora-locale-btn:hover,
html[data-aurora-scheme="light"] .aurora-body .wc-neo-locale-toggle:hover,
html[data-aurora-scheme="light"] .aurora-body .aurora-locale-btn[aria-expanded="true"],
html[data-aurora-scheme="light"] .aurora-body .wc-neo-locale-toggle[aria-expanded="true"] {
  background: rgba(76, 221, 206, .15) !important;
  border-color: rgba(8, 145, 136, .36) !important;
  color: #031714 !important;
}
html[data-aurora-scheme="light"] .aurora-body .wc-neo-locale-caret {
  color: rgba(3, 23, 20, .62) !important;
}
html[data-aurora-scheme="light"] .aurora-body .wc-neo-locale-menu {
  background: linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(239, 252, 250, .99)) !important;
  border-color: rgba(8, 83, 76, .18) !important;
  box-shadow: 0 20px 52px rgba(22, 80, 75, .16) !important;
}
html[data-aurora-scheme="light"] .aurora-body .wc-neo-locale-item {
  background: transparent !important;
  color: rgb(14, 72, 65) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 7px 12px !important;
}
html[data-aurora-scheme="light"] .aurora-body .wc-neo-locale-item:hover,
html[data-aurora-scheme="light"] .aurora-body .wc-neo-locale-item:focus-visible {
  background: rgba(76, 221, 206, .16) !important;
  color: #031714 !important;
}
html[data-aurora-scheme="light"] .aurora-body .wc-neo-locale-item.is-active,
html[data-aurora-scheme="light"] .aurora-body .wc-neo-locale-item.is-active:hover {
  background: rgba(8, 145, 136, .12) !important;
  color: #087D76 !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}


.aurora-body .au-start-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(76, 221, 206, .08);
  filter: blur(38px);
  pointer-events: none;
}

.aurora-body .au-start-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(76, 221, 206, .22);
  background: rgba(76, 221, 206, .08);
  color: #7CEBE0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}


.aurora-body .au-start-trial-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(76, 221, 206, .11);
  border: 1px solid rgba(76, 221, 206, .20);
  color: #EAFDFC;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}


.aurora-body .au-start-step-num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4CDDCE, #36CBBE);
  color: #02100F;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(76, 221, 206, .20);
}


html[data-aurora-scheme="light"] .aurora-body .au-start-card {
  background:
    radial-gradient(circle at 8% 0%, rgba(76, 221, 206, .20), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(240, 252, 250, .96)) !important;
  border-color: rgba(8, 83, 76, .16) !important;
}
html[data-aurora-scheme="light"] .aurora-body .au-start-eyebrow {
  background: rgba(8, 145, 136, .10);
  color: #087D76;
  border-color: rgba(8, 145, 136, .20);
}
html[data-aurora-scheme="light"] .aurora-body .au-start-trial-pill {
  background: rgba(8, 145, 136, .10);
  border-color: rgba(8, 145, 136, .20);
  color: #063D38;
}
html[data-aurora-scheme="light"] .aurora-body .au-start-step {
  background: rgba(255, 255, 255, .74);
  border-color: rgba(8, 83, 76, .14);
  box-shadow: 0 14px 34px rgba(22, 80, 75, .08), inset 0 1px 0 rgba(255, 255, 255, .92);
}
@media (max-width: 960px) {
  .aurora-body .au-start-head { flex-direction: column; }
  .aurora-body .au-start-grid { grid-template-columns: 1fr; }
  .aurora-body .au-start-step { min-height: auto; }
}


/* AeroVPN Aurora — start block final polish */
.aurora-body .au-hero-banner + .au-start-card,
.aurora-body .au-start-card {
  margin-top: 18px !important;
}


.aurora-body .au-start-head {
  display: block !important;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px !important;
  position: relative;
  z-index: 1;
}

.aurora-body .au-start-copy {
  max-width: 920px;
}

.aurora-body .au-start-eyebrow,
.aurora-body .au-start-trial-pill {
  display: none !important;
}

.aurora-body .au-start-head h2 {
  margin: 0 0 8px !important;
  font-size: clamp(24px, 2vw, 30px) !important;
  letter-spacing: -0.04em !important;
  line-height: 1.12 !important;
}

.aurora-body .au-start-subtitle {
  max-width: none !important;
  margin: 0 !important;
  color: var(--c-text-2) !important;
  line-height: 1.58 !important;
  font-size: 15px !important;
}

.aurora-body .au-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px !important;
  position: relative;
  z-index: 1;
  align-items: stretch !important;
}


.aurora-body .au-start-step > div {
  min-width: 0;
}

.aurora-body .au-start-step-title {
  display: block !important;
  margin: 1px 0 7px !important;
  color: var(--c-text) !important;
  font-size: 15px !important;
  font-weight: 950;
  letter-spacing: -.015em;
  max-width: 100%;
  line-height: 1.22 !important;
  white-space: nowrap;
  overflow-wrap: normal;
}

.aurora-body .au-start-step-text {
  margin: 0;
  color: var(--c-text-2) !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  max-width: 100%;
}

html[data-aurora-scheme="light"] .aurora-body .au-hero-banner + .au-start-card,
html[data-aurora-scheme="light"] .aurora-body .au-start-card {
  margin-top: 18px !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-start-subtitle,
html[data-aurora-scheme="light"] .aurora-body .au-start-step-text {
  color: #26514d !important;
}

@media (max-width: 1180px) {
  .aurora-body .au-start-grid { grid-template-columns: 1fr !important; }
  
}

@media (max-width: 680px) {
  .aurora-body .au-start-card { margin-top: 14px !important; padding: 20px !important; }
  .aurora-body .au-start-step { padding: 16px !important; }
}


/* === AeroVPN single subscription page === */
.au-subscription-page {
  padding: clamp(18px, 2vw, 28px);
  display: grid;
  gap: 22px;
}

.au-subscription-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.au-subscription-head h1,
.au-empty-subscription h2,
.au-subscription-card h2,
.au-connect-preview h2 {
  margin: 0;
  color: var(--c-text-1);
  letter-spacing: -0.03em;
}

.au-kicker,
.au-label {
  display: inline-flex;
  margin: 0 0 8px;
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.au-subscription-actions,
.au-inline-actions,
.au-download-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.au-subscription-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 18px;
}

.au-subscription-card,
.au-tariff-buy-card {
  border: 1px solid var(--c-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(76, 221, 206, .10), transparent 38%),
    var(--c-surface-1);
  box-shadow: var(--c-shadow-soft);
  padding: clamp(18px, 2vw, 24px);
}

.au-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.au-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(76, 221, 206, .28);
  background: rgba(76, 221, 206, .10);
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.au-status-pill.is-warning {
  border-color: rgba(245, 158, 11, .35);
  background: rgba(245, 158, 11, .12);
  color: #f8c16b;
}

.au-status-pill.is-expired {
  border-color: rgba(239, 68, 68, .35);
  background: rgba(239, 68, 68, .12);
  color: #fca5a5;
}

.au-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.au-detail-item {
  border: 1px solid var(--c-border);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
  padding: 14px;
}

.au-detail-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--c-text-3);
  font-size: 12px;
  font-weight: 700;
}

.au-detail-item strong {
  color: var(--c-text-1);
  font-size: 15px;
  word-break: break-word;
}

.au-link-block {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.au-copy-link {
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(76, 221, 206, .24);
  border-radius: 18px;
  background: rgba(76, 221, 206, .06);
  color: var(--c-text-1);
  cursor: pointer;
  text-align: left;
}

.au-copy-link:hover {
  border-color: rgba(76, 221, 206, .55);
  background: rgba(76, 221, 206, .10);
}

.au-copy-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--c-text-2);
}

.au-copy-link b {
  color: var(--c-accent);
  font-size: 13px;
  white-space: nowrap;
}

.au-copy-link.is-empty {
  cursor: default;
  display: block;
  color: var(--c-text-3);
}

.au-connect-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.au-connect-steps-mini {
  display: grid;
  gap: 10px;
  margin: 8px 0;
}

.au-connect-steps-mini div,
.au-connect-step-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
  padding: 12px;
}

.au-connect-steps-mini b,
.au-connect-step-card > b {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--c-accent);
  color: #02100f;
  font-weight: 900;
}

.au-connect-steps-mini span {
  color: var(--c-text-1);
  font-weight: 700;
}

.au-empty-subscription {
  border: 1px dashed rgba(76, 221, 206, .32);
  border-radius: 22px;
  background: rgba(76, 221, 206, .055);
  padding: clamp(18px, 2vw, 28px);
}

.au-trial-form {
  margin: 0;
}

.au-tariff-buy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.au-tariff-buy-card {
  display: grid;
  gap: 12px;
}

.au-tariff-buy-card h3 {
  margin: 0;
  color: var(--c-text-1);
}

.au-price {
  color: var(--c-text-1);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.au-connect-modal-box {
  max-width: 760px;
}

.au-connect-wizard {
  display: grid;
  gap: 14px;
}

.au-platform-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 5px;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}

.au-platform-tabs button {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 9px 12px;
  background: transparent;
  color: var(--c-text-2);
  font-weight: 800;
  cursor: pointer;
}

.au-platform-tabs button:hover,
.au-platform-tabs button.is-active {
  border-color: rgba(76, 221, 206, .45);
  background: rgba(76, 221, 206, .12);
  color: var(--c-accent);
}

.au-connect-step-card h3 {
  margin: 0 0 4px;
  color: var(--c-text-1);
}

.au-connect-step-card p {
  margin: 0 0 12px;
  color: var(--c-text-2);
}

.au-device-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
  background: rgba(255,255,255,.025);
}

.au-device-row strong {
  display: block;
  color: var(--c-text-1);
}

.au-device-row span {
  display: block;
  color: var(--c-text-3);
  font-size: 12px;
  margin-top: 2px;
}

html[data-theme="light"] .au-subscription-card,
html[data-theme="light"] .au-tariff-buy-card,
html[data-theme="light"] .au-detail-item,
html[data-theme="light"] .au-connect-step-card,
html[data-theme="light"] .au-connect-steps-mini div,
html[data-theme="light"] .au-device-row {
  background: rgba(255,255,255,.84);
}

html[data-theme="light"] .au-copy-link {
  background: rgba(76, 221, 206, .08);
}

html[data-theme="light"] .au-copy-link span,
html[data-theme="light"] .au-connect-step-card p {
  color: var(--c-text-2);
}

@media (max-width: 1100px) {
  .au-subscription-grid,
  .au-tariff-buy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .au-subscription-head,
  .au-card-title-row,
  .au-device-row {
    flex-direction: column;
    align-items: stretch;
  }
  .au-detail-grid {
    grid-template-columns: 1fr;
  }
  .au-copy-link {
    grid-template-columns: 1fr;
  }
  .au-subscription-actions,
  .au-inline-actions,
  .au-download-buttons {
    align-items: stretch;
  }
  .au-subscription-actions .m2-btn,
  .au-inline-actions .m2-btn,
  .au-download-buttons .m2-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Home dashboard: account status, single subscription and reviews */
.aurora-body .au-home-overview-card,
.aurora-body .au-home-subscription-summary,
.aurora-body .au-home-reviews-card,
.aurora-body .au-home-onboarding-card {
  margin-bottom: 18px;
}

.aurora-body .au-home-overview-card,
.aurora-body .au-home-subscription-summary,
.aurora-body .au-home-reviews-card {
  padding: 22px;
}

.aurora-body .au-home-subscription-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.aurora-body .au-home-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.aurora-body .au-home-status-card,
.aurora-body .au-home-subscription-main,
.aurora-body .au-home-quick-actions,
.aurora-body .au-home-empty-subscription,
.aurora-body .au-home-review-item {
  border: 1px solid rgba(76, 221, 206, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .025);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.aurora-body .au-home-status-card {
  padding: 16px;
  display: grid;
  gap: 6px;
}

.aurora-body .au-home-status-card span,
.aurora-body .au-home-details-grid span {
  color: var(--c-text-3);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.aurora-body .au-home-status-card strong {
  color: var(--c-text-1);
  font-size: 22px;
  line-height: 1.1;
}

.aurora-body .au-home-status-card strong.is-ok { color: var(--c-accent); }
.aurora-body .au-home-status-card strong.is-warn { color: #fbbf24; }
.aurora-body .au-home-status-card strong.is-muted { color: var(--c-text-2); }

.aurora-body .au-home-status-card small {
  color: var(--c-text-2);
  line-height: 1.45;
}

.aurora-body .au-home-status-card a {
  color: var(--c-accent);
  font-weight: 900;
  text-decoration: none;
}

.aurora-body .au-home-subscription-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 14px;
}

.aurora-body .au-home-subscription-main,
.aurora-body .au-home-quick-actions,
.aurora-body .au-home-empty-subscription {
  padding: 18px;
}

.aurora-body .au-home-subscription-main h3,
.aurora-body .au-home-empty-subscription h3 {
  margin: 4px 0 0;
  color: var(--c-text-1);
  word-break: break-word;
}

.aurora-body .au-home-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.aurora-body .au-home-details-grid > div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(76, 221, 206, .055);
  border: 1px solid rgba(76, 221, 206, .10);
}

.aurora-body .au-home-details-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--c-text-1);
  font-size: 14px;
}

.aurora-body .au-home-sub-link {
  width: 100%;
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(76, 221, 206, .22);
  border-radius: 16px;
  background: rgba(76, 221, 206, .07);
  color: var(--c-text-1);
  padding: 12px 14px;
}

.aurora-body .au-home-sub-link:hover {
  border-color: rgba(76, 221, 206, .55);
  background: rgba(76, 221, 206, .12);
}

.aurora-body .au-home-sub-link span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--c-text-2);
}

.aurora-body .au-home-sub-link b {
  color: var(--c-accent);
  font-size: 12px;
  white-space: nowrap;
}

.aurora-body .au-home-quick-actions,
.aurora-body .au-home-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.aurora-body .au-home-empty-actions {
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 14px;
}

.aurora-body .au-home-onboarding-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: start;
}

.aurora-body .au-home-onboarding-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aurora-body .au-home-onboarding-text p {
  margin: 0;
}

.aurora-body .au-home-onboarding-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aurora-body .au-home-onboarding-perks li {
  color: var(--c-text-2);
  font-size: 13.5px;
  padding-left: 18px;
  position: relative;
}

.aurora-body .au-home-onboarding-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 900;
}

.aurora-body .au-home-onboarding-form {
  margin-top: 6px;
}

.aurora-body .au-home-onboarding-btn {
  width: 100%;
  justify-content: center;
}

.aurora-body .au-home-onboarding-steps {
  padding: 16px;
  border-radius: var(--au-radius-md);
  border: 1px solid rgba(76, 221, 206, .14);
  background: rgba(76, 221, 206, .05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aurora-body .au-home-onboarding-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text-2);
  font-size: 13px;
  line-height: 1.4;
}

.aurora-body .au-home-onboarding-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(76, 221, 206, .12);
  border: 1px solid rgba(76, 221, 206, .28);
  color: var(--c-accent);
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aurora-body .au-keys-onboarding-card {
  margin-bottom: 0;
  align-self: start;
}

html[data-aurora-scheme="light"] .aurora-body .au-home-onboarding-steps {
  background: rgba(76, 221, 206, .07);
  border-color: rgba(76, 221, 206, .18);
}

@media (max-width: 680px) {
  .aurora-body .au-home-onboarding-body {
    grid-template-columns: 1fr;
  }
  .aurora-body .au-home-onboarding-steps {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .aurora-body .au-home-onboarding-step {
    flex: 1 1 120px;
  }
}

.aurora-body .au-home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.aurora-body .au-home-review-item {
  padding: 16px;
}

.aurora-body .au-home-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.aurora-body .au-home-review-head strong {
  color: var(--c-text-1);
}

.aurora-body .au-home-review-item p {
  margin: 0;
  color: var(--c-text-2);
  line-height: 1.55;
}

.aurora-body .au-home-review-date {
  font-size: 11px;
  color: var(--c-text-3, #6B8F8C);
  margin: -4px 0 6px;
  letter-spacing: .02em;
}

html[data-aurora-scheme="light"] .aurora-body .au-home-status-card,
html[data-aurora-scheme="light"] .aurora-body .au-home-subscription-main,
html[data-aurora-scheme="light"] .aurora-body .au-home-quick-actions,
html[data-aurora-scheme="light"] .aurora-body .au-home-empty-subscription,
html[data-aurora-scheme="light"] .aurora-body .au-home-review-item {
  background: rgba(255,255,255,.80);
}

@media (max-width: 980px) {
  .aurora-body .au-home-status-grid,
  .aurora-body .au-home-subscription-grid,
  .aurora-body .au-home-reviews-grid,
  .aurora-body .au-home-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .aurora-body .au-home-overview-top,
  .aurora-body .au-home-subscription-title-row,
  .aurora-body .au-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .aurora-body .au-home-overview-card,
  .aurora-body .au-home-subscription-summary,
  .aurora-body .au-home-reviews-card {
    padding: 18px;
  }
  .aurora-body .au-home-sub-link {
    grid-template-columns: 1fr;
  }
}


.aurora-body .au-qr-open-btn {
  min-height: 56px;
  white-space: nowrap;
}

.aurora-body .au-qr-modal-box {
  max-width: 440px;
}

.aurora-body .au-qr-wrap {
  display: flex;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(76, 221, 206, .18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(76, 221, 206, .12), transparent 55%),
    rgba(255, 255, 255, .035);
}

.aurora-body .au-qr-image {
  width: min(260px, 100%);
  height: auto;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

/* /referral QR (link + UTM tags) is served as SVG; force a square box so it
   keeps a non-zero height even if the SVG reports no intrinsic size. */
.aurora-body #qr-referral-modal .au-qr-image,
.aurora-body #qr-utm-modal .au-qr-image {
  aspect-ratio: 1 / 1;
}


.aurora-body .au-traffic-card .au-section-head {
  margin-bottom: 14px;
}

.aurora-body .au-traffic-card .au-section-head strong {
  color: var(--c-text-1);
  white-space: nowrap;
}

.aurora-body .au-traffic-progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(76, 221, 206, .20);
  background: rgba(76, 221, 206, .07);
}

.aurora-body .au-traffic-progress span {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #36CBBE, #4CDDCE, #7CEBE0);
  box-shadow: 0 0 22px rgba(76, 221, 206, .26);
}


.aurora-body .au-traffic-empty {
  margin: 10px 0 0;
  font-size: 13px;
}

html[data-aurora-scheme="light"] .aurora-body .au-traffic-card,
html[data-aurora-scheme="light"] .aurora-body .au-qr-wrap {
  background: rgba(255, 255, 255, .82);
}


@media (max-width: 720px) {
  

  .aurora-body .au-qr-open-btn {
    width: 100%;
    justify-content: center;
  }

  .aurora-body .au-traffic-card .au-section-head strong {
    white-space: normal;
  }
}




.aurora-body .au-traffic-chart:focus {
  outline: 2px solid rgba(76, 221, 206, .45);
  outline-offset: 3px;
}


.aurora-body .au-traffic-tooltip b,
.aurora-body .au-traffic-tooltip span {
  display: block;
}


.aurora-body .au-traffic-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--c-text-2);
  font-size: 13px;
}

.aurora-body .au-traffic-meta b {
  color: var(--c-accent);
}


.aurora-body .au-traffic-head h2 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.02em;
}


.aurora-body .au-traffic-progress,
.aurora-body .au-traffic-meta {
  display: none !important;
}


.aurora-body .au-traffic-grid-line {
  stroke: rgba(124, 235, 224, .16);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.aurora-body .au-traffic-grid-line.is-vertical {
  stroke: rgba(124, 235, 224, .08);
}


.aurora-body .au-traffic-area {
  fill: url(#trafficFillInteractive);
  opacity: .95;
}

.aurora-body .au-traffic-line {
  fill: none;
  stroke: #4CDDCE;
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 13px rgba(76, 221, 206, .34));
  stroke-linejoin: round;
}

.aurora-body .au-traffic-point {
  fill: #03100F;
  stroke: #4CDDCE;
  stroke-width: 3;
  opacity: .92;
  transition: transform .16s ease, opacity .16s ease, fill .16s ease;
  transform-origin: center;
}


.aurora-body .au-traffic-crosshair.is-visible {
  opacity: 1;
}


.aurora-body .au-traffic-tooltip b,
.aurora-body .au-traffic-tooltip span,
.aurora-body .au-traffic-tooltip em {
  display: block;
}


html[data-aurora-scheme="light"] .aurora-body .au-traffic-chart {
  background: radial-gradient(circle at 50% 0%, rgba(76, 221, 206, .18), transparent 45%),
    linear-gradient(180deg, rgba(76, 221, 206, .06), rgba(255, 255, 255, .74)),
    rgba(255, 255, 255, .90);
  border-color: rgba(28, 133, 124, .20);
}

html[data-aurora-scheme="light"] .aurora-body .au-traffic-grid-line {
  stroke: rgba(16, 98, 91, .14);
}

html[data-aurora-scheme="light"] .aurora-body .au-traffic-grid-line.is-vertical {
  stroke: rgba(16, 98, 91, .08);
}

html[data-aurora-scheme="light"] .aurora-body .au-traffic-axis-label {
  fill: #315C58;
}

html[data-aurora-scheme="light"] .aurora-body .au-traffic-x-label {
  fill: #071A18;
}

html[data-aurora-scheme="light"] .aurora-body .au-traffic-point {
  fill: #ffffff;
}

html[data-aurora-scheme="light"] .aurora-body .au-traffic-tooltip {
  background: rgba(255, 255, 255, .96);
  color: #071A18;
  box-shadow: 0 18px 44px rgba(22, 80, 75, .16), 0 0 0 1px rgba(76, 221, 206, .14) inset;
}

html[data-aurora-scheme="light"] .aurora-body .au-traffic-tooltip span {
  color: #071A18;
}

html[data-aurora-scheme="light"] .aurora-body .au-traffic-tooltip em {
  color: #315C58;
}

@media (max-width: 720px) {
  

  .aurora-body .au-traffic-summary {
    width: 100%;
  }

  .aurora-body .au-traffic-chart {
    min-height: 320px;
    border-radius: 20px;
  }

  .aurora-body .au-traffic-chart svg {
    height: 320px;
  }
}


.aurora-body .au-traffic-card:focus,
.aurora-body .au-traffic-card:focus-within,
.aurora-body .au-traffic-chart:focus,
.aurora-body .au-traffic-chart:focus-visible {
  outline: none !important;
  box-shadow: none;
}


.aurora-body .au-traffic-axis-label {
  fill: var(--c-text-2);
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  opacity: .82;
}

.aurora-body .au-traffic-x-label {
  fill: var(--c-text-1);
  opacity: .76;
  font-weight: 500 !important;
}


.aurora-body .au-traffic-tooltip em {
  margin-top: 3px;
  color: #9DB9B6;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
  display: none;
}

html[data-aurora-scheme="light"] .aurora-body .au-traffic-summary {
  color: #173A36 !important;
}


/* AeroVPN: traffic chart hover cleanup */
.aurora-body .au-traffic-head .m2-muted {
  display: none !important;
}

.aurora-body .au-traffic-head {
  align-items: center !important;
  margin-bottom: 18px !important;
}


.aurora-body .au-traffic-tooltip.is-visible {
  opacity: 1;
  transform: none !important;
}

.aurora-body .au-traffic-tooltip b {
  margin-bottom: 4px !important;
  font-size: 12px !important;
  color: #4CDDCE;
  letter-spacing: 0 !important;
  font-style: normal;
  font-weight: 700 !important;
  text-transform: none !important;
}

.aurora-body .au-traffic-tooltip span {
  font-size: 13px !important;
  color: #E8F7F6;
  white-space: nowrap;
  font-weight: 650 !important;
}

.aurora-body .au-traffic-crosshair {
  opacity: 0;
  stroke: rgba(76, 221, 206, .58) !important;
  stroke-width: 1.15 !important;
  stroke-dasharray: 5 5 !important;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.aurora-body .au-traffic-point.is-active {
  fill: #7CEBE0;
  opacity: 1;
  transform: none !important;
  filter: drop-shadow(0 0 12px rgba(76, 221, 206, .55));
  r: 6;
}

.aurora-body .au-traffic-axis-label,
.aurora-body .au-traffic-x-label {
  user-select: none;
}

@media (max-width: 720px) {
  .aurora-body .au-traffic-head {
    gap: 12px;
    align-items: flex-start !important;
}

  .aurora-body .au-traffic-tooltip {
    max-width: calc(100% - 20px);
  }
}


.aurora-body .au-traffic-chart svg {
  display: block;
  width: 100%;
  height: 380px;
  touch-action: none;
  cursor: default;
}

.aurora-body .au-traffic-tooltip {
  position: absolute;
  z-index: 4;
  min-width: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(76, 221, 206, .34);
  border-radius: 16px;
  background: rgba(2, 12, 11, .92);
  color: #E8F7F6;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .38), 0 0 0 1px rgba(76, 221, 206, .08) inset;
  backdrop-filter: blur(16px);
  pointer-events: none;
  opacity: 0;
  transform: none !important;
  transition: opacity .12s ease !important;
  width: max-content;
  max-width: min(220px, calc(100% - 24px));
  will-change: left, top, opacity;
}


/* AeroVPN: traffic chart frame and hover accuracy fix */
.aurora-body .au-traffic-hit-area,
.aurora-body .au-traffic-hit-area:hover,
.aurora-body .au-traffic-hit-area:focus {
  fill: transparent !important;
  stroke: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.aurora-body .au-traffic-chart svg,
.aurora-body .au-traffic-chart svg * {
  outline: none !important;
}


.aurora-body .au-traffic-hit-area {
  fill: transparent;
  pointer-events: all;
  cursor: crosshair !important;
}


/* === AeroVPN navigation order and subscription page polish === */
.aurora-body .aurora-nav-link[target="_blank"] .aurora-nav-icon {
  opacity: .9;
}

.aurora-body .au-home-overview-top {
  align-items: flex-start;
}

.aurora-body .au-subscription-head {
  display: block;
}

.aurora-body .au-subscription-head .m2-muted {
  max-width: 780px;
}


.aurora-body .au-connect-preview {
  display: grid !important;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
}

.aurora-body .au-connect-steps-mini {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 10px !important;
}

.aurora-body .au-connect-steps-mini div {
  min-height: 58px;
  align-items: center !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  padding: 12px 14px !important;
}

.aurora-body .au-connect-steps-mini b {
  width: 30px !important;
  height: 30px !important;
  line-height: 1 !important;
}

.aurora-body .au-connect-steps-mini span {
  line-height: 1.25 !important;
}

@media (max-width: 720px) {
  
  .aurora-body .au-subscription-link-tools .au-qr-open-btn {
    width: 100% !important;
  }
}


/* Payments page: readonly payment history only */
.au-payments-clean {
  padding: clamp(20px, 2.4vw, 32px);
}

.au-payments-clean__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.au-payments-clean__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.au-payments-clean__subtitle {
  margin: 10px 0 0;
  max-width: 760px;
}

.au-payments-clean__table {
  margin-top: 10px;
}

.au-payments-table th,
.au-payments-table td {
  vertical-align: middle;
}

.au-payment-source-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(76, 221, 206, 0.10);
  border: 1px solid rgba(76, 221, 206, 0.22);
  color: var(--au-text, #E8F7F6);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

html[data-aurora-scheme="light"] .au-payment-source-badge,
html[data-aurora-scheme="light"] .aurora-body .au-payment-source-badge {
  background: rgba(76, 221, 206, 0.14) !important;
  border-color: rgba(14, 145, 135, 0.22) !important;
  color: #123D39 !important;
}

.au-payment-source-badge--bot {
  background: rgba(76, 221, 206, 0.16);
}

.au-payment-id {
  max-width: 260px;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  opacity: 0.88;
}

.au-payments-clean__empty {
  margin-top: 6px;
  padding: 34px;
  border: 1px solid rgba(76, 221, 206, 0.16);
  border-radius: 24px;
  background: rgba(76, 221, 206, 0.045);
}

.au-payments-clean__empty h2 {
  margin: 0 0 8px;
}

@media (max-width: 760px) {
  .au-payments-clean {
    padding: 18px;
  }

  .au-payment-source-badge {
    min-height: 24px;
    padding: 4px 8px;
  }
}


/* =========================================================
   AeroVPN global blue cleanup — push popup and remaining blue UI
   ========================================================= */

.aurora-body,
.aurora-body * {
  --accent-color: #4CDDCE;
  --accent-light: #7CEBE0;
  --primary-color: #4CDDCE;
  --primary-hover: #63E6D9;
  --link-color: #4CDDCE;
  --info: #4CDDCE;
  --color-info: #4CDDCE;
  --surface-color: #061514;
  --panel-bg: #061514;
  --text-color: #EAFDFC;
  --border-color: rgba(76, 221, 206, .22);
}

/* Web Push permission prompt */
.aurora-body .wc-push-permission-prompt {
  background:
    radial-gradient(circle at 100% 0%, rgba(76, 221, 206, .10), transparent 34%),
    linear-gradient(180deg, rgba(6, 21, 20, .98), rgba(3, 16, 15, .98)) !important;
  color: #EAFDFC !important;
  border: 1px solid rgba(76, 221, 206, .22) !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .54), 0 0 28px rgba(76, 221, 206, .10) !important;
}

.aurora-body .wc-push-permission-title {
  color: #F2FFFE !important;
}

.aurora-body .wc-push-permission-text {
  color: #C6DDDA !important;
  opacity: 1 !important;
}

.aurora-body .wc-push-permission-btn {
  border-radius: 12px !important;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

.aurora-body .wc-push-permission-btn-later {
  background: rgba(255, 255, 255, .03) !important;
  border: 1px solid rgba(76, 221, 206, .22) !important;
  color: #EAFDFC !important;
}

.aurora-body .wc-push-permission-btn-later:hover {
  background: rgba(76, 221, 206, .09) !important;
  border-color: rgba(76, 221, 206, .42) !important;
  color: #FFFFFF !important;
}

.aurora-body .wc-push-permission-btn-allow {
  background: linear-gradient(135deg, #4CDDCE, #36CBBE) !important;
  color: #021312 !important;
  border: 1px solid rgba(124, 235, 224, .48) !important;
  box-shadow: 0 10px 26px rgba(76, 221, 206, .22) !important;
  font-weight: 700 !important;
}

.aurora-body .wc-push-permission-btn-allow:hover {
  background: linear-gradient(135deg, #63E6D9, #4CDDCE) !important;
  color: #021312 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 34px rgba(76, 221, 206, .30) !important;
}

html[data-aurora-scheme="light"] .aurora-body .wc-push-permission-prompt {
  background:
    radial-gradient(circle at 100% 0%, rgba(76, 221, 206, .22), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(241, 255, 253, .98)) !important;
  color: #061514 !important;
  border-color: rgba(27, 128, 118, .22) !important;
  box-shadow: 0 22px 65px rgba(12, 86, 78, .15) !important;
}

html[data-aurora-scheme="light"] .aurora-body .wc-push-permission-title {
  color: #061514 !important;
}

html[data-aurora-scheme="light"] .aurora-body .wc-push-permission-text {
  color: #315B57 !important;
}

html[data-aurora-scheme="light"] .aurora-body .wc-push-permission-btn-later {
  background: rgba(255, 255, 255, .72) !important;
  border-color: rgba(27, 128, 118, .24) !important;
  color: #214844 !important;
}

/* Generic fallback for leftover blue utility classes and inline-color leftovers inside Aurora. */
.aurora-body .badge--blue,
.aurora-body .stat-card__icon--blue,
.aurora-body .quick-card__icon--blue,
.aurora-body .adm-user-badge--site,
.aurora-body .au-pill-blue,
.aurora-body .ref-balance-val.blue {
  background: rgba(76, 221, 206, .12) !important;
  border-color: rgba(76, 221, 206, .28) !important;
  color: #4CDDCE !important;
}

html[data-aurora-scheme="light"] .aurora-body .badge--blue,
html[data-aurora-scheme="light"] .aurora-body .stat-card__icon--blue,
html[data-aurora-scheme="light"] .aurora-body .quick-card__icon--blue,
html[data-aurora-scheme="light"] .aurora-body .adm-user-badge--site,
html[data-aurora-scheme="light"] .aurora-body .au-pill-blue,
html[data-aurora-scheme="light"] .aurora-body .ref-balance-val.blue {
  background: rgba(76, 221, 206, .16) !important;
  border-color: rgba(27, 128, 118, .24) !important;
  color: #0A8F83 !important;
}

.aurora-body [style*="#2563eb"],
.aurora-body [style*="#3b82f6"],
.aurora-body [style*="#60a5fa"],
.aurora-body [style*="#93c5fd"],
.aurora-body [style*="#1d4ed8"],
.aurora-body [style*="#1e40af"],
.aurora-body [style*="#2f6bff"],
.aurora-body [style*="rgb(59,130,246)"],
.aurora-body [style*="59,130,246"],
.aurora-body [style*="#4f86ff"],
.aurora-body [style*="#7aadff"],
.aurora-body [style*="#a5b4fc"],
.aurora-body [style*="#c4b5fd"] {
  border-color: rgba(76, 221, 206, .28) !important;
  color: #4CDDCE !important;
}

.aurora-body button[style*="#2563eb"],
.aurora-body a[style*="#2563eb"],
.aurora-body [style*="background:#2563eb"],
.aurora-body [style*="background: #2563eb"],
.aurora-body [style*="background:#3b82f6"],
.aurora-body [style*="background: #3b82f6"],
.aurora-body [style*="background:#2f6bff"],
.aurora-body [style*="background: #2f6bff"] {
  background: linear-gradient(135deg, #4CDDCE, #36CBBE) !important;
  color: #021312 !important;
}


.aurora-sidebar,
.aurora-topbar,
.aurora-mobile-tabbar {
  background: linear-gradient(180deg, rgba(0, 8, 7, .97), rgba(1, 13, 12, .94)) !important;
  border-color: var(--c-border) !important;
  box-shadow: 0 26px 86px rgba(0, 0, 0, .58) !important;
  backdrop-filter: blur(22px) saturate(120%);
}

.aurora-bg {
  background: radial-gradient(circle at 20% 0%, rgba(76, 221, 206, .095), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(54, 203, 190, .045), transparent 26%),
    radial-gradient(circle at 48% 105%, rgba(76, 221, 206, .035), transparent 34%) !important;
}
.aurora-grid {
  opacity: .52 !important;
  background-image: linear-gradient(rgba(76, 221, 206, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 221, 206, .018) 1px, transparent 1px) !important;
}

/* Brand: use AeroVPN text in Azonix when the font is available on the site/client */
.aurora-brand-name,
.aurora-auth-logo-name {
  font-family: "Azonix", "Orbitron", "Montserrat", "Segoe UI", system-ui, sans-serif !important;
  letter-spacing: .075em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}
.aurora-brand-name { font-size: 17px !important; }
.aurora-auth-logo-name {
  color: #F4FFFE !important;
  text-shadow: 0 0 24px rgba(76, 221, 206, .10);
  font-size: 22px !important;
}
.aurora-brand-sub { display: none !important; }
.aurora-brand { align-items: center !important; gap: 10px !important; }
.aurora-brand-icon img,
.aurora-auth-logo-icon img { filter: drop-shadow(0 0 14px rgba(76, 221, 206, .14)); }


.wc-guest-auth-page .aurora-app,
.wc-guest-auth-page .aurora-main,
.wc-guest-auth-page .aurora-content {
  min-height: 100dvh !important;
  height: 100dvh !important;
}
.wc-guest-auth-page .aurora-content {
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.wc-guest-auth-page .aurora-auth-scene {
  width: 100% !important;
  min-height: 100dvh !important;
  padding: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(circle at 50% -8%, rgba(76, 221, 206, .11), transparent 34%),
    radial-gradient(circle at 12% 100%, rgba(76, 221, 206, .055), transparent 32%) !important;
}
.wc-guest-auth-page .aurora-auth-box {
  width: min(100%, 460px) !important;
  margin: 0 auto !important;
}
.wc-guest-auth-page .aurora-auth-card {
  background:
    radial-gradient(circle at 16% 0%, rgba(76, 221, 206, .06), transparent 32%),
    linear-gradient(180deg, rgba(2, 13, 12, .98), rgba(0, 7, 6, .99)) !important;
  border-color: rgba(76, 221, 206, .20) !important;
  box-shadow: 0 30px 92px rgba(0, 0, 0, .64), 0 0 0 1px rgba(255,255,255,.02) inset !important;
}

@media (max-height: 760px), (max-width: 760px) {
  
  .wc-guest-auth-page .aurora-app,
  .wc-guest-auth-page .aurora-main,
  .wc-guest-auth-page .aurora-content {
    min-height: 100dvh !important;
    height: auto !important;
  }
  .wc-guest-auth-page .aurora-content { overflow: visible !important; }
  .wc-guest-auth-page .aurora-auth-scene {
    min-height: 100dvh !important;
    padding: 22px 16px !important;
    align-items: flex-start !important;
  }
}


html[data-aurora-scheme="light"] .aurora-body p,
html[data-aurora-scheme="light"] .aurora-body li,
html[data-aurora-scheme="light"] .aurora-body td,
html[data-aurora-scheme="light"] .aurora-body th,
html[data-aurora-scheme="light"] .aurora-body label,
html[data-aurora-scheme="light"] .aurora-body .au-muted,
html[data-aurora-scheme="light"] .aurora-body .m2-muted,
html[data-aurora-scheme="light"] .aurora-body .muted,
html[data-aurora-scheme="light"] .aurora-body .text-muted,
html[data-aurora-scheme="light"] .aurora-body .aurora-topbar-title p,
html[data-aurora-scheme="light"] .aurora-body .au-subtitle,
html[data-aurora-scheme="light"] .aurora-body .m2-subtitle {
  color: #183F3A !important;
}
html[data-aurora-scheme="light"] .aurora-body .aurora-nav-link,
html[data-aurora-scheme="light"] .aurora-body .aurora-mobile-tabbar a,
html[data-aurora-scheme="light"] .aurora-body .aurora-mobile-tabbar button {
  color: #0D665F !important;
}
html[data-aurora-scheme="light"] .aurora-body .aurora-nav-section {
  color: #315C56 !important;
}
html[data-aurora-scheme="light"] .aurora-body .au-card,
html[data-aurora-scheme="light"] .aurora-body .m2-card,
html[data-aurora-scheme="light"] .aurora-body .review-card,
html[data-aurora-scheme="light"] .aurora-body .review-item,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,255,254,.90)),
    #FFFFFF !important;
  color: #021411 !important;
}
html[data-aurora-scheme="light"] .aurora-body input,
html[data-aurora-scheme="light"] .aurora-body textarea,
html[data-aurora-scheme="light"] .aurora-body select {
  color: #021411 !important;
}


html[data-aurora-scheme="light"] .aurora-body .au-hero-label,
html[data-aurora-scheme="light"] .aurora-body .au-hero-banner .au-hero-label {
  color: #067B72 !important;
  background: rgba(76, 221, 206, .18) !important;
  border-color: rgba(8, 145, 136, .30) !important;
  text-shadow: none !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-start-step-title,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-name,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-price-val,
html[data-aurora-scheme="light"] .aurora-body .review-author,
html[data-aurora-scheme="light"] .aurora-body .review-text,
html[data-aurora-scheme="light"] .aurora-body .m2-label,
html[data-aurora-scheme="light"] .aurora-body label {
  color: #061715 !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-start-subtitle,
html[data-aurora-scheme="light"] .aurora-body .au-start-step-text,
html[data-aurora-scheme="light"] .aurora-body .m2-muted,
html[data-aurora-scheme="light"] .aurora-body .review-date {
  color: #234A46 !important;
}


.aurora-body .au-start-step-link {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 18px;
  color: inherit !important;
  text-decoration: none !important;
  border-radius: inherit;
}

.aurora-body .au-start-step-link > div { min-width: 0; }

.aurora-body .au-start-step:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 221, 206, .34) !important;
  background: rgba(76, 221, 206, .055) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .18), 0 0 0 1px rgba(76, 221, 206, .08) inset !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-start-step:hover {
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 18px 42px rgba(22, 80, 75, .12), 0 0 0 1px rgba(8, 145, 136, .12) inset !important;
}

@media (max-width: 680px) {
  .aurora-body .au-start-step-link { padding: 16px; }
}

/* Auth pages: remove unnecessary document scroll and fix background anomaly */
body.wc-guest-auth-page {
  overflow: hidden !important;
  background: #000605 !important;
}

body.wc-guest-auth-page .aurora-app,
body.wc-guest-auth-page .aurora-main,
body.wc-guest-auth-page .aurora-content {
  min-height: 100vh !important;
  height: 100vh !important;
  overflow: hidden !important;
}

body.wc-guest-auth-page .aurora-main {
  background:
    radial-gradient(circle at 50% -12%, rgba(76,221,206,.12), transparent 32%),
    radial-gradient(circle at 18% 100%, rgba(76,221,206,.08), transparent 34%),
    linear-gradient(180deg, #000605, #010B0A 48%, #000605) !important;
}

body.wc-guest-auth-page .aurora-content {
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.wc-guest-auth-page .aurora-auth-scene {
  width: 100% !important;
  min-height: 100vh !important;
  height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(16px, 3vh, 34px) clamp(16px, 3vw, 42px) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(76, 221, 206, .11), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(76, 221, 206, .065), transparent 32%) !important;
}

body.wc-guest-auth-page .aurora-auth-box {
  width: min(100%, 460px) !important;
  max-height: calc(100vh - 28px) !important;
  display: grid !important;
  align-content: center !important;
  gap: 18px !important;
}

body.wc-guest-auth-page .aurora-auth-card {
  max-height: calc(100vh - 112px) !important;
  overflow: auto !important;
  scrollbar-width: thin;
}

html[data-aurora-scheme="light"] body.wc-guest-auth-page {
  background: #F2FFFD !important;
}

html[data-aurora-scheme="light"] body.wc-guest-auth-page .aurora-main {
  background:
    radial-gradient(circle at 50% -10%, rgba(76,221,206,.18), transparent 33%),
    radial-gradient(circle at 12% 100%, rgba(76,221,206,.12), transparent 34%),
    linear-gradient(180deg, #F7FFFE, #ECFBF9 55%, #F8FFFE) !important;
}

html[data-aurora-scheme="light"] body.wc-guest-auth-page .aurora-auth-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(76, 221, 206, .16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,255,253,.96)) !important;
  color: #061715 !important;
}

html[data-aurora-scheme="light"] body.wc-guest-auth-page .aurora-auth-card h2,
html[data-aurora-scheme="light"] body.wc-guest-auth-page .aurora-auth-card h3,
html[data-aurora-scheme="light"] body.wc-guest-auth-page .aurora-auth-card label,
html[data-aurora-scheme="light"] body.wc-guest-auth-page .aurora-auth-logo-name {
  color: #061715 !important;
}

html[data-aurora-scheme="light"] body.wc-guest-auth-page .aurora-auth-card p,
html[data-aurora-scheme="light"] body.wc-guest-auth-page .aurora-auth-card small,
html[data-aurora-scheme="light"] body.wc-guest-auth-page .aurora-auth-divider span {
  color: #234A46 !important;
}

@media (max-height: 760px), (max-width: 760px) {
  body.wc-guest-auth-page {
    overflow: auto !important;
  }
  body.wc-guest-auth-page .aurora-app,
  body.wc-guest-auth-page .aurora-main,
  body.wc-guest-auth-page .aurora-content,
  body.wc-guest-auth-page .aurora-auth-scene {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }
  body.wc-guest-auth-page .aurora-auth-card {
    max-height: none !important;
    overflow: visible !important;
  }
}


/* Auth pages layout fix: remove aurora-main/main wrappers from layout and keep background clean */
.wc-guest-auth-page.aurora-body,
.wc-guest-auth-page.aurora-body > html {
  min-height: 100dvh !important;
}


@media (min-height: 780px) and (min-width: 761px) {
  .wc-guest-auth-page .aurora-auth-main .aurora-auth-card {
    overflow: visible !important;
  }
}

@media (max-height: 760px), (max-width: 760px) {
  .wc-guest-auth-page.aurora-body {
    overflow-y: auto !important;
}

  .wc-guest-auth-page .aurora-app,
  .wc-guest-auth-page .aurora-auth-main,
  .wc-guest-auth-page .aurora-auth-main .aurora-auth-scene {
    min-height: 100dvh !important;
    height: auto !important;
  }

  .wc-guest-auth-page .aurora-app,
  .wc-guest-auth-page .aurora-auth-main {
    overflow: visible !important;
  }

  .wc-guest-auth-page .aurora-auth-main .aurora-auth-scene {
    padding: 22px 16px !important;
    align-items: flex-start !important;
    overflow: visible !important;
  }

  .wc-guest-auth-page .aurora-auth-main .aurora-auth-box,
  .wc-guest-auth-page .aurora-auth-main .aurora-auth-card {
    max-height: none !important;
  }
}


.wc-guest-auth-page .aurora-auth-controls .aurora-theme-toggle:hover,
.wc-guest-auth-page .aurora-auth-controls .aurora-locale-btn:hover {
  background:
    linear-gradient(180deg, rgba(10, 43, 39, .92), rgba(4, 18, 17, .96)) !important;
  border-color: rgba(76, 221, 206, .52) !important;
  color: #FFFFFF !important;
  transform: none !important;
}


html[data-aurora-scheme="light"] .wc-guest-auth-page .aurora-auth-controls .aurora-theme-toggle:hover,
html[data-aurora-scheme="light"] .wc-guest-auth-page .aurora-auth-controls .aurora-locale-btn:hover {
  background:
    linear-gradient(180deg, rgba(241, 255, 253, .98), rgba(220, 249, 245, .98)) !important;
  color: #071A18 !important;
  border-color: rgba(20, 163, 151, .42) !important;
}

html[data-aurora-scheme="light"] .wc-guest-auth-page .aurora-auth-controls .wc-neo-locale-menu {
  background: rgba(255, 255, 255, .98) !important;
  border-color: rgba(28, 147, 137, .22) !important;
  box-shadow: 0 22px 52px rgba(20, 92, 86, .14) !important;
}

@media (max-width: 760px) {
  .wc-guest-auth-page .aurora-auth-controls {
    top: 12px !important;
    right: 12px !important;
    gap: 8px !important;
  }

  .wc-guest-auth-page .aurora-auth-controls .aurora-theme-toggle {
    padding-inline: 12px !important;
  }

  .wc-guest-auth-page .aurora-auth-controls .aurora-theme-toggle-label {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 64px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .wc-guest-auth-page .aurora-auth-main .aurora-auth-scene {
    padding-top: 68px !important;
  }
}

@media (max-width: 420px) {
  .wc-guest-auth-page .aurora-auth-controls {
    left: 12px !important;
    right: 12px !important;
    justify-content: flex-end !important;
  }
}


/* === Auth pages final layout fix: no aurora-main/topbar wrapper, no page scroll, floating controls === */
.wc-guest-auth-page.aurora-body {
  overflow: hidden !important;
  background: radial-gradient(circle at 16% 12%, rgba(76, 221, 206, .12), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(76, 221, 206, .08), transparent 30%),
    linear-gradient(180deg, #000504 0%, #00100e 46%, #000504 100%) !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
}

html[data-aurora-scheme="light"] .wc-guest-auth-page.aurora-body {
  background: radial-gradient(circle at 16% 12%, rgba(76, 221, 206, .22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(76, 221, 206, .16), transparent 30%),
    linear-gradient(180deg, #eefdfb 0%, #f7fffd 48%, #e8fbf8 100%) !important;
}

.wc-guest-auth-page .aurora-app {
  min-height: 100dvh !important;
  height: 100dvh !important;
  overflow: hidden !important;
  grid-template-columns: 240px minmax(0, 1fr) !important;
}

.wc-guest-auth-page .aurora-main,
.wc-guest-auth-page .aurora-content {
  display: none !important;
}

/* Auth pages keep a slim title bar pinned to the top (like home/reviews).
   It is fixed so it does not disturb the centered-card grid below; the
   floating theme/locale controls (z-index 120) sit above it on the right. */
.wc-guest-auth-page .aurora-topbar {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  left: 240px !important;
  right: 0 !important;
  z-index: 110 !important;
  align-items: center !important;
  min-height: 69px !important;
  padding: 16px 32px !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--c-border) !important;
  box-shadow: none !important;
}
.wc-guest-auth-page .aurora-topbar .aurora-topbar-left {
  min-width: 0 !important;
}
.wc-guest-auth-page .aurora-topbar .aurora-topbar-title h1 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
}
.wc-guest-auth-page .aurora-topbar .aurora-topbar-title p {
  display: none !important;
}

.wc-guest-auth-page .aurora-auth-main {
  position: relative !important;
  z-index: 2 !important;
  min-width: 0 !important;
  width: 100% !important;
  min-height: 100dvh !important;
  height: 100dvh !important;
  padding: 64px 28px 28px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.wc-guest-auth-page .aurora-auth-main .aurora-auth-scene {
  width: min(100%, 620px) !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  background: transparent !important;
  margin: 0 auto !important;
}

.wc-guest-auth-page .aurora-auth-main .aurora-auth-box {
  width: min(100%, 460px) !important;
  max-height: calc(100dvh - 110px) !important;
  overflow: visible !important;
  margin: 0 auto !important;
}

.wc-guest-auth-page .aurora-auth-main .aurora-auth-card {
  max-height: calc(100dvh - 185px) !important;
  overflow: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(76, 221, 206, .28) transparent !important;
}

.wc-guest-auth-page .aurora-auth-controls {
  position: fixed !important;
  top: 18px !important;
  right: 24px !important;
  z-index: 120 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  pointer-events: auto !important;
}

.wc-guest-auth-page .aurora-auth-controls .aurora-theme-toggle,
.wc-guest-auth-page .aurora-auth-controls .aurora-locale-btn {
  min-height: 36px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(76, 221, 206, .22) !important;
  background: rgba(5, 18, 17, .82) !important;
  color: var(--c-text) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-aurora-scheme="light"] .wc-guest-auth-page .aurora-auth-controls .aurora-theme-toggle,
html[data-aurora-scheme="light"] .wc-guest-auth-page .aurora-auth-controls .aurora-locale-btn {
  background: rgba(255, 255, 255, .88) !important;
  color: rgb(37, 80, 75) !important;
  border-color: rgba(8, 83, 76, .18) !important;
  box-shadow: 0 10px 26px rgba(22, 80, 75, .08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.wc-guest-auth-page .aurora-auth-controls .wc-neo-locale-menu {
  right: 0 !important;
  left: auto !important;
  top: calc(100% + 8px) !important;
  min-width: 144px !important;
  border-color: rgba(76, 221, 206, .28) !important;
  background: linear-gradient(180deg, rgba(5, 22, 20, .98), rgba(1, 8, 7, .99)) !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, .38) !important;
}

@media (max-width: 860px) {
  .wc-guest-auth-page .aurora-app {
    display: block !important;
    height: auto !important;
    min-height: 100dvh !important;
    overflow: visible !important;
  }

  .wc-guest-auth-page .aurora-sidebar {
    display: none !important;
  }

  .wc-guest-auth-page .aurora-topbar {
    left: 0 !important;
  }

  .wc-guest-auth-page.aurora-body {
    overflow: auto !important;
  }

  .wc-guest-auth-page .aurora-auth-main {
    height: auto !important;
    min-height: 100dvh !important;
    padding: 72px 16px 22px !important;
    overflow: visible !important;
  }

  .wc-guest-auth-page .aurora-auth-main .aurora-auth-box,
  .wc-guest-auth-page .aurora-auth-main .aurora-auth-card {
    max-height: none !important;
    overflow: visible !important;
  }

  

  .wc-guest-auth-page .aurora-auth-controls .aurora-theme-toggle-label {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 64px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .wc-guest-auth-page .aurora-auth-controls .aurora-theme-toggle {
    width: auto !important;
    min-width: 0 !important;
    justify-content: center !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* === Auth pages: keep guest sidebar, no topbar, clean centered form === */
@media (min-width: 861px) {
  .wc-guest-auth-page .aurora-app {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
  }

  .wc-guest-auth-page .aurora-sidebar {
    display: flex !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 240px !important;
    min-width: 240px !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden !important;
    z-index: 40 !important;
  }

  .wc-guest-auth-page .aurora-auth-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 72px 32px 32px !important;
    background: transparent !important;
  }

  .wc-guest-auth-page .aurora-auth-controls {
    right: 24px !important;
    top: 18px !important;
    z-index: 160 !important;
  }

  .wc-guest-auth-page .aurora-auth-main .aurora-auth-scene {
    width: min(100%, 640px) !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    background: transparent !important;
  }

  .wc-guest-auth-page .aurora-auth-main .aurora-auth-card {
    max-height: calc(100dvh - 180px) !important;
    overflow: auto !important;
  }

  .wc-guest-auth-page.aurora-body,
  .wc-guest-auth-page.aurora-body > .aurora-app {
    overflow: hidden !important;
  }
}

/* Keep compact auth layout on small screens: sidebar is intentionally hidden there. */
@media (max-width: 860px) {
  .wc-guest-auth-page .aurora-auth-controls {
    top: 12px !important;
    right: 12px !important;
    gap: 8px !important;
    position: fixed !important;
    z-index: 160 !important;
}
}

/* ==========================================================================
   AeroVPN Aurora — unified design system pass
   Purpose: make typography, spacing, cards, buttons and light/dark contrast consistent
   ========================================================================== */

.aurora-body {
  --aero-accent: #4CDDCE;
  --aero-accent-hover: #63E6D9;
  --aero-accent-active: #36CBBE;
  --aero-bg: #000605;
  --aero-bg-soft: #010B0A;
  --aero-surface: #03100F;
  --aero-panel: #061917;
  --aero-panel-2: #08211F;
  --aero-field: #061917;
  --aero-text: #F2FFFE;
  --aero-muted: #B6D2CF;
  --aero-dim: #7E9B97;
  --aero-link: #7CEBE0;
  --aero-outline: #204642;
  --aero-divider: #163632;
  /* theme variables used by aurora base styles */
  --c-bg: #020807;
  --c-bg-1: #010B0A;
  --c-bg-2: #031210;
  --c-surface: rgba(3, 16, 15, .95);
  --c-surface-2: rgba(5, 22, 20, .97);
  --c-surface-3: rgba(6, 27, 24, .96);
  --c-border: rgba(76, 221, 206, .16);
  --c-border-2: rgba(76, 221, 206, .34);
  --c-text: #F2FFFE;
  --c-text-2: #B6D2CF;
  --c-text-3: #86A7A3;
  --c-text-muted: #B6D2CF;
  --g-a: #4CDDCE;
  --g-b: #36CBBE;
  --g-c: #7CEBE0;
  --g-d: #0A1E1C;
  --accent: #4CDDCE;
  --accent-2: #7CEBE0;
  --accent-3: #36CBBE;
  --accent-glow: rgba(76, 221, 206, .24);
  --success: #4CDDCE;
  --success-bg: rgba(76, 221, 206, .12);
  --warning: #F6C65B;
  --warning-bg: rgba(246, 198, 91, .12);
  --danger: #FF7676;
  --danger-bg: rgba(255, 118, 118, .12);
  --shadow-card: 0 24px 70px rgba(0, 0, 0, .56), 0 1px 0 rgba(255, 255, 255, .035) inset;
  --shadow-glow: 0 0 46px rgba(76, 221, 206, .16);
  color: var(--c-text) !important;
  background: radial-gradient(circle at 14% -12%, rgba(76, 221, 206, .12), transparent 29%),
    radial-gradient(circle at 92% 6%, rgba(54, 203, 190, .055), transparent 26%),
    linear-gradient(180deg, #000605 0%, #010B0A 48%, #000605 100%) !important;
  --c-bg: #000605;
  --au-font-main: Inter, Manrope, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --au-font-display: Inter, Manrope, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --au-radius-xs: 12px;
  --au-radius-sm: 16px;
  --au-radius-md: 22px;
  --au-radius-lg: 28px;
  --au-page-gap: clamp(18px, 1.8vw, 28px);
  --au-card-pad: clamp(20px, 2vw, 30px);
  --au-card-pad-sm: clamp(16px, 1.4vw, 22px);
  --au-field-h: 46px;
  --au-shadow-card: 0 24px 70px rgba(0, 0, 0, .18);
  --au-shadow-card-light: 0 18px 44px rgba(22, 80, 75, .08);
  --au-shadow-button: 0 12px 24px rgba(76, 221, 206, .18);
}

.aurora-body,
.aurora-body button,
.aurora-body input,
.aurora-body textarea,
.aurora-body select {
  font-family: var(--au-font-main) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.aurora-body h1,
.aurora-body h2,
.aurora-body h3,
.aurora-body h4,
.aurora-body .au-hero-title,
.aurora-body .au-payments-clean__title,
.aurora-body .guided-step-title-text {
  font-family: var(--au-font-display) !important;
  color: var(--c-text) !important;
  font-weight: 850 !important;
  letter-spacing: -.035em !important;
  line-height: 1.08 !important;
}

.aurora-body p,
.aurora-body .m2-muted,
.aurora-body .au-muted,
.aurora-body .au-hero-subtitle,
.aurora-body .au-start-subtitle,
.aurora-body .au-payments-clean__subtitle {
  color: var(--c-text-2) !important;
  font-size: 15px !important;
  line-height: 1.58 !important;
}

.aurora-body .aurora-brand-title,
.aurora-body .aurora-auth-logo-name {
  font-family: "Azonix", "Audiowide", "Montserrat", var(--au-font-display) !important;
  letter-spacing: .035em !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
}

/* Page rhythm */
.aurora-body .aurora-content,
.aurora-body .wc-neo-content,
.aurora-body .au-subscription-page,
.aurora-body .au-payments-clean,
.aurora-body .ref-page {
  padding: var(--au-page-gap) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: var(--au-page-gap) !important;
  align-items: start !important;
  align-content: start !important;
}

/* Inner page grids: no extra padding (aurora-content already provides it).
   Use html prefix to beat old `html .aurora-body .reviews-page-shell { display:flex }` rule. */
html .aurora-body .reviews-page-shell,
html .aurora-body .au-ref-page {
  display: grid !important;
  flex-direction: unset !important;
  gap: var(--au-page-gap) !important;
  align-items: start !important;
  align-content: start !important;
  width: 100% !important;
  padding: 0 !important;
}

.aurora-body .aurora-page-head {
  padding: 18px var(--au-page-gap) !important;
}

.aurora-body .aurora-page-head h1,
.aurora-body .aurora-page-title {
  font-size: clamp(20px, 1.35vw, 26px) !important;
  margin: 0 0 6px !important;
}

.aurora-body .aurora-page-head p,
.aurora-body .aurora-page-subtitle {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Unified cards */
.aurora-body .au-card,
.aurora-body .m2-card,
.aurora-body .reviews-panel,
.aurora-body .review-card,
.aurora-body .au-subscription-card,
.aurora-body .au-traffic-card,
.aurora-body .au-home-overview-card,
.aurora-body .au-home-subscription-summary,
.aurora-body .au-home-reviews-card,
.aurora-body .au-home-onboarding-card,
.aurora-body .au-start-card,
.aurora-body .au-hero-banner,
.aurora-body .au-payments-clean .au-card,
.aurora-body .router-vpn-card,
.aurora-body .aurora-auth-card,
.aurora-body .ref-card {
  border-radius: var(--au-radius-lg) !important;
  /* More visible teal hairline + ring so the bottom edge reads on the dark bg. */
  border: 1px solid rgba(76, 221, 206, .28) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(76, 221, 206, .065), transparent 34%),
    linear-gradient(180deg, rgba(6, 21, 20, .96), rgba(3, 12, 11, .98)) !important;
  box-shadow: var(--au-shadow-card), 0 0 0 1px rgba(76, 221, 206, .08) !important;
}

.aurora-body .au-card,
.aurora-body .m2-card,
.aurora-body .reviews-panel,
.aurora-body .au-subscription-card,
.aurora-body .au-traffic-card,
.aurora-body .au-home-overview-card,
.aurora-body .au-home-subscription-summary,
.aurora-body .au-home-reviews-card,
.aurora-body .au-home-onboarding-card,
.aurora-body .au-start-card,
.aurora-body .au-hero-banner,
.aurora-body .au-payments-clean .au-card,
.aurora-body .router-vpn-card,
.aurora-body .ref-card {
  padding: var(--au-card-pad) !important;
}

.aurora-body .au-section-head,
.aurora-body .au-traffic-head,
.aurora-body .au-payments-clean__head {
  margin-bottom: 18px !important;
  gap: 12px !important;
}

.aurora-body .au-section-head h2,
.aurora-body .au-traffic-head h2,
.aurora-body .reviews-panel h2,
.aurora-body .au-payments-clean__title,
.aurora-body .au-start-head h2,
.aurora-body .ref-hero h1,
.aurora-body .ref-section-title {
  font-size: clamp(22px, 1.8vw, 30px) !important;
  margin: 0 !important;
  letter-spacing: -.02em !important;
}

/* Nested metric cards */
.aurora-body .au-home-status-card,
.aurora-body .au-detail-item,
.aurora-body .au-home-details-grid > *,
.aurora-body .reviews-stat,
.aurora-body .au-tariff-card,
.aurora-body .au-payment-source-badge,
.aurora-body .au-connect-step-card,
.aurora-body .router-vpn-status,
.aurora-body .router-vpn-price,
.aurora-body .ref-stat,
.aurora-body .ref-info {
  border-radius: var(--au-radius-md) !important;
  border: 1px solid rgba(76, 221, 206, .14) !important;
  background: rgba(2, 12, 11, .52) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}

.aurora-body .au-home-status-card,
.aurora-body .au-detail-item,
.aurora-body .reviews-stat,
.aurora-body .au-tariff-card,
.aurora-body .ref-stat,
.aurora-body .ref-info {
  padding: var(--au-card-pad-sm) !important;
}

.aurora-body .au-label,
.aurora-body .reviews-stat span,
.aurora-body .au-tariff-badge,
.aurora-body .au-pill,
.aurora-body .au-detail-item > span:first-child {
  color: var(--c-text-3) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase !important;
}

/* Buttons and fields */
.aurora-body .au-btn,
.aurora-body .m2-btn,
.aurora-body button[type="submit"],
.aurora-body .btn-primary {
  min-height: 44px !important;
  border-radius: var(--au-radius-sm) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  letter-spacing: -.005em !important;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease !important;
}

.aurora-body .au-btn:not(.au-btn-ghost),
.aurora-body .m2-btn-primary,
.aurora-body .m2-btn:not(.m2-btn-ghost):not(.m2-btn-secondary),
.aurora-body button[type="submit"] {
  background: linear-gradient(135deg, #4CDDCE, #36CBBE) !important;
  border-color: transparent !important;
  color: #02110F !important;
  box-shadow: var(--au-shadow-button) !important;
}

.aurora-body .au-btn:not(.au-btn-ghost):not(.auth-telegram-btn):hover,
.aurora-body .m2-btn-primary:hover,
.aurora-body .m2-btn:not(.m2-btn-ghost):not(.m2-btn-secondary):hover,
.aurora-body button[type="submit"]:hover {
  transform: translateY(-1px) !important;
  color: #02110F !important;
  background: linear-gradient(135deg, #63E6D9, #4CDDCE) !important;
  box-shadow: 0 16px 34px rgba(76, 221, 206, .24) !important;
}

.aurora-body .au-btn-ghost,
.aurora-body .m2-btn-ghost,
.aurora-body .m2-btn-secondary {
  background: rgba(76, 221, 206, .055) !important;
  border: 1px solid rgba(76, 221, 206, .18) !important;
  color: var(--c-text-2) !important;
  box-shadow: none !important;
}

.aurora-body .au-btn-ghost:hover,
.aurora-body .m2-btn-ghost:hover,
.aurora-body .m2-btn-secondary:hover {
  background: rgba(76, 221, 206, .11) !important;
  border-color: rgba(76, 221, 206, .32) !important;
  color: var(--c-text) !important;
  transform: translateY(-1px) !important;
}

.aurora-body input,
.aurora-body textarea,
.aurora-body select,
.aurora-body .au-field input,
.aurora-body .m2-input {
  min-height: var(--au-field-h) !important;
  border-radius: var(--au-radius-sm) !important;
  border: 1px solid rgba(76, 221, 206, .18) !important;
  background: rgba(1, 8, 7, .62) !important;
  color: var(--c-text) !important;
  font-size: 14px !important;
}

.aurora-body textarea {
  line-height: 1.55 !important;
}

.aurora-body input:not([type="radio"]):not([type="checkbox"]):focus,
.aurora-body textarea:focus,
.aurora-body select:focus,
.aurora-body .m2-input:focus {
  outline: none !important;
  border-color: rgba(76, 221, 206, .55) !important;
  box-shadow: 0 0 0 4px rgba(76, 221, 206, .10) !important;
}

/* Home page */
.aurora-body .au-hero-banner {
  padding: clamp(26px, 2.8vw, 40px) !important;
  min-height: auto !important;
  margin-bottom: 0 !important;
}

.aurora-body .au-hero-label {
  display: inline-flex !important;
  width: fit-content !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  color: #7CEBE0 !important;
  border: 1px solid rgba(76, 221, 206, .24) !important;
  background: rgba(76, 221, 206, .08) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

.aurora-body .au-hero-title {
  margin: 14px 0 10px !important;
  font-size: clamp(30px, 3vw, 48px) !important;
}

.aurora-body .au-hero-subtitle {
  max-width: 780px !important;
}

.aurora-body .au-start-card {
  position: relative;
  overflow: visible;
  padding: clamp(24px, 2.2vw, 32px) !important;
  border-color: rgba(76, 221, 206, .18) !important;
  background: radial-gradient(circle at 10% 0%, rgba(76, 221, 206, .12), transparent 30%),
    linear-gradient(180deg, rgba(8, 26, 24, .94), rgba(4, 14, 13, .98)) !important;
  margin-top: 0 !important;
}

.aurora-body .au-start-grid,
.aurora-body .au-grid-3,
.aurora-body .au-home-status-grid,
.aurora-body .au-home-details-grid {
  gap: 16px !important;
}

.aurora-body .au-start-step,
.aurora-body .au-start-step-link {
  height: 100% !important;
  border-radius: var(--au-radius-md) !important;
}

.aurora-body .au-start-step {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  min-height: 118px !important;
  padding: 18px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(76, 221, 206, .14);
  background: rgba(2, 8, 7, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.aurora-body .au-start-step-title,
.aurora-body .au-tariff-name {
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  letter-spacing: -.015em !important;
}

.aurora-body .au-tariff-price-val {
  font-size: clamp(32px, 2.3vw, 44px) !important;
  letter-spacing: -.045em !important;
}

.aurora-body .au-tariff-prop {
  font-size: 14px !important;
  line-height: 1.45 !important;
}


.aurora-body .review-author {
  color: var(--c-text) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
}


.aurora-body .review-stars,
.aurora-body .reviews-rating {
  color: #FFD34D !important;
  font-size: 18px !important;
  letter-spacing: .08em !important;
}


/* Subscription traffic chart */
.aurora-body .au-traffic-card {
  margin-top: 22px;
  border: 1px solid rgba(76, 221, 206, .16);
  border-radius: 24px;
  padding: clamp(20px, 2vw, 32px) !important;
  background: radial-gradient(circle at 16% 0%, rgba(76, 221, 206, .10), transparent 34%),
    rgba(255, 255, 255, .025);
  box-shadow: var(--c-shadow-soft);
  -webkit-tap-highlight-color: transparent;
}

.aurora-body .au-traffic-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0 !important;
  border-radius: 0;
  color: var(--c-text) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

.aurora-body .au-traffic-chart {
  margin-top: 12px;
  color: var(--c-accent);
  border: 1px solid rgba(76, 221, 206, .12) !important;
  border-radius: var(--au-radius-lg) !important;
  background: radial-gradient(circle at 45% 0%, rgba(76, 221, 206, .10), transparent 38%),
    rgba(255, 255, 255, .015) !important;
  background-size: 100% 40px, 80px 100%, auto;
  overflow: hidden !important;
  position: relative;
  min-height: 380px;
  cursor: default !important;
  padding: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Auth pages */
.aurora-body .aurora-auth-scene {
  min-height: 100vh !important;
  padding: clamp(24px, 4vw, 44px) !important;
}

.aurora-body .aurora-auth-card {
  width: min(100%, 420px) !important;
  padding: clamp(24px, 2.4vw, 34px) !important;
}

.aurora-body .aurora-auth-card h1,
.aurora-body .aurora-auth-card h2 {
  font-size: clamp(24px, 2vw, 32px) !important;
  margin-bottom: 10px !important;
}

.aurora-body .aurora-auth-logo {
  margin-bottom: 22px !important;
}

/* Light scheme fixes */
html[data-aurora-scheme="light"] .aurora-body {
  --aero-bg: #F3FBFA;
  --aero-bg-soft: #E8F7F5;
  --aero-surface: #FFFFFF;
  --aero-panel: #F7FEFD;
  --aero-panel-2: #ECF9F7;
  --aero-field: #FFFFFF;
  --aero-text: #041B18;
  --aero-muted: #315E58;
  --aero-dim: #486E69;
  --aero-outline: #9DDAD3;
  --aero-divider: #C6E8E4;
  --c-bg: #EAFBF8;
  --c-bg-1: #F5FFFD;
  --c-bg-2: #DDF7F3;
  --c-surface: rgba(255, 255, 255, .94);
  --c-surface-2: rgba(244, 253, 251, .96);
  --c-surface-3: rgba(232, 249, 246, .96);
  --c-border: rgba(8, 83, 76, .16);
  --c-border-2: rgba(8, 145, 136, .28);
  --c-text: #061D1A;
  --c-text-2: #25504B;
  --c-text-3: #55736F;
  --c-text-muted: #234A46;
  --accent: #0B9289;
  --accent-2: #087D76;
  --accent-3: #16B8AB;
  --accent-glow: rgba(76, 221, 206, .20);
  --shadow-card: 0 18px 50px rgba(22, 80, 75, .13), 0 1px 0 rgba(255, 255, 255, .95) inset;
  --shadow-glow: 0 0 38px rgba(76, 221, 206, .16);
  color: #021411 !important;
  background: radial-gradient(circle at 16% -10%, rgba(76, 221, 206, .22), transparent 31%),
    radial-gradient(circle at 90% 3%, rgba(54, 203, 190, .12), transparent 30%),
    linear-gradient(180deg, #F5FFFE 0%, #ECFBF9 60%, #F8FFFE 100%) !important;
  --c-muted: #5F7C78;
}

html[data-aurora-scheme="light"] .aurora-body,
html[data-aurora-scheme="light"] .aurora-body p,
html[data-aurora-scheme="light"] .aurora-body span,
html[data-aurora-scheme="light"] .aurora-body li,
html[data-aurora-scheme="light"] .aurora-body td,
html[data-aurora-scheme="light"] .aurora-body th,
html[data-aurora-scheme="light"] .aurora-body label {
  color: var(--c-text-2) !important;
}

html[data-aurora-scheme="light"] .aurora-body h1,
html[data-aurora-scheme="light"] .aurora-body h2,
html[data-aurora-scheme="light"] .aurora-body h3,
html[data-aurora-scheme="light"] .aurora-body h4,
html[data-aurora-scheme="light"] .aurora-body strong,
html[data-aurora-scheme="light"] .aurora-body b,
html[data-aurora-scheme="light"] .aurora-body .au-hero-title,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-name,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-price-val,
html[data-aurora-scheme="light"] .aurora-body .review-author {
  color: #061D1A !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-card,
html[data-aurora-scheme="light"] .aurora-body .m2-card,
html[data-aurora-scheme="light"] .aurora-body .reviews-panel,
html[data-aurora-scheme="light"] .aurora-body .review-card,
html[data-aurora-scheme="light"] .aurora-body .au-subscription-card,
html[data-aurora-scheme="light"] .aurora-body .au-traffic-card,
html[data-aurora-scheme="light"] .aurora-body .au-home-overview-card,
html[data-aurora-scheme="light"] .aurora-body .au-home-subscription-summary,
html[data-aurora-scheme="light"] .aurora-body .au-home-reviews-card,
html[data-aurora-scheme="light"] .aurora-body .au-home-onboarding-card,
html[data-aurora-scheme="light"] .aurora-body .au-start-card,
html[data-aurora-scheme="light"] .aurora-body .au-hero-banner,
html[data-aurora-scheme="light"] .aurora-body .au-payments-clean .au-card,
html[data-aurora-scheme="light"] .aurora-body .router-vpn-card,
html[data-aurora-scheme="light"] .aurora-body .aurora-auth-card,
html[data-aurora-scheme="light"] .aurora-body .ref-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(76, 221, 206, .15), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(244, 253, 251, .96)) !important;
  /* Bump border contrast + add a hairline ring so the bottom edge stays visible
     against the near-white bottom of the card gradient. */
  border-color: rgba(8, 83, 76, .28) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 4px 16px rgba(0, 0, 0, .06), 0 0 0 1px rgba(8, 83, 76, .06) !important;
}

/* =====================================================================
   Home: flatten the outer card wrappers of "Как начать" (.au-start-card)
   and "Популярные тарифы" (.au-home-tariffs-wrap) so the inner
   .au-start-step / .au-tariff-card cards stop reading as cards-in-cards
   (Variant A). The wrappers become plain transparent containers; the
   inner cards keep their look. Specificity is bumped via .au-card.<class>
   (+ scheme for light) to beat the unified card rules — which are all
   !important — regardless of source order. .au-home-tariffs-wrap is added
   to both home tariff blocks (guest + authenticated) in home.html.
   ===================================================================== */
.aurora-body .au-card.au-start-card,
.aurora-body .au-card.au-home-tariffs-wrap {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Drop the decorative blur-glow that belonged to the start card. */
.aurora-body .au-card.au-start-card::after {
  display: none !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-card.au-start-card,
html[data-aurora-scheme="light"] .aurora-body .au-card.au-home-tariffs-wrap {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-home-status-card,
html[data-aurora-scheme="light"] .aurora-body .au-detail-item,
html[data-aurora-scheme="light"] .aurora-body .au-home-details-grid > *,
html[data-aurora-scheme="light"] .aurora-body .reviews-stat,
html[data-aurora-scheme="light"] .aurora-body .au-tariff-card,
html[data-aurora-scheme="light"] .aurora-body .au-connect-step-card,
html[data-aurora-scheme="light"] .aurora-body .router-vpn-status,
html[data-aurora-scheme="light"] .aurora-body .router-vpn-price,
html[data-aurora-scheme="light"] .aurora-body .ref-stat,
html[data-aurora-scheme="light"] .aurora-body .ref-info {
  background: rgba(255, 255, 255, .76) !important;
  border-color: rgba(8, 83, 76, .14) !important;
  box-shadow: 0 14px 32px rgba(22, 80, 75, .065), inset 0 1px 0 rgba(255, 255, 255, .92) !important;
}

html[data-aurora-scheme="light"] .aurora-body input,
html[data-aurora-scheme="light"] .aurora-body textarea,
html[data-aurora-scheme="light"] .aurora-body select,
html[data-aurora-scheme="light"] .aurora-body .m2-input {
  background: rgba(255, 255, 255, .88) !important;
  border-color: rgba(8, 83, 76, .20) !important;
  color: #061D1A !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-hero-label {
  color: #087D76 !important;
  background: rgba(8, 145, 136, .10) !important;
  border-color: rgba(8, 145, 136, .20) !important;
}

/* Responsive consistency */
@media (max-width: 1180px) {
  .aurora-body .reviews-list,
  .aurora-body .au-grid-3,
  .aurora-body .au-start-grid {
    grid-template-columns: 1fr !important;
  }

  .aurora-body .au-start-step-title {
    white-space: normal !important;
}
}

@media (max-width: 720px) {
  .aurora-body .aurora-content,
  .aurora-body .wc-neo-content,
  .aurora-body .au-subscription-page,
  .aurora-body .reviews-page-shell,
  .aurora-body .au-payments-clean {
    padding: 16px !important;
    gap: 16px !important;
  }

  .aurora-body .au-card,
  .aurora-body .m2-card,
  .aurora-body .reviews-panel,
  .aurora-body .review-card,
  .aurora-body .au-start-card,
  .aurora-body .au-hero-banner,
  .aurora-body .au-subscription-card,
  .aurora-body .au-traffic-card {
    border-radius: 22px !important;
    padding: 18px !important;
  }

  .aurora-body .au-hero-title {
    font-size: 30px !important;
  }
}

/* =====================================================================
   Guest hero banner polish (home page). Placed after all earlier
   .aurora-body .au-hero-* rules so it wins on source order at equal
   specificity. Two-column layout: content (wrapped in .au-hero-content
   in home.html) sits in the left column, the right column is left for a
   decorative glow. The redundant "AeroVPN" label badge is hidden.
   ===================================================================== */
.aurora-body .au-hero-banner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-content: center !important;
  min-height: 220px !important;
  padding: clamp(40px, 4vw, 56px) !important;
}

.aurora-body .au-hero-content {
  grid-column: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  min-width: 0 !important;
  max-width: 560px !important;
}

/* Hidden brand badge — (0,3,0) beats the .aurora-body .au-hero-label
   display:inline-flex rule (0,2,0). */
.aurora-body .au-hero-banner .au-hero-label {
  display: none !important;
}

.aurora-body .au-hero-banner .au-hero-subtitle {
  max-width: 520px !important;
  line-height: 1.65 !important;
}

/* Decorative right-side glow (no image in the markup). overflow:hidden on
   the banner clips it; z-index:0 keeps it behind the content (which gets
   z-index:1 from the existing .au-hero-banner > * rule). */
.aurora-body .au-hero-banner::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 221, 206, .12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
html[data-aurora-scheme="light"] .aurora-body .au-hero-banner::after {
  background: radial-gradient(circle, rgba(76, 221, 206, .18) 0%, transparent 65%);
}

/* Collapse to a single column before the content gets cramped. */
@media (max-width: 900px) {
  .aurora-body .au-hero-banner {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .aurora-body .au-hero-content { max-width: none !important; }
  .aurora-body .au-hero-banner::after {
    width: 280px !important;
    height: 280px !important;
    opacity: .7 !important;
  }
}

/* Re-assert a compact mobile padding (this block is later in source than
   the max-width:720px media rule above, so restate it here). */
@media (max-width: 720px) {
  .aurora-body .au-hero-banner { padding: 22px !important; }
}


.aurora-body .reviews-panel {
  min-height: auto !important;
  padding: clamp(22px, 1.8vw, 30px) !important;
}


.aurora-body .review-card-head {
  gap: 12px !important;
  margin-bottom: 8px !important;
  align-items: center !important;
}

.aurora-body .review-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #02110F !important;
  background: linear-gradient(135deg, #4CDDCE, #36CBBE) !important;
}

.aurora-body .review-stars {
  font-size: 16px !important;
  letter-spacing: 1.5px !important;
}

.aurora-body .review-date {
  color: var(--c-text-3) !important;
  font-size: 12px !important;
}

.aurora-body .review-text {
  color: var(--c-text-2) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.aurora-body .review-card::after {
  font-size: 92px !important;
  right: 18px !important;
  bottom: -20px !important;
  opacity: .8 !important;
}

@media (min-width: 1500px) {
  .aurora-body .reviews-list {
    grid-template-columns: repeat(auto-fill, minmax(390px, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .aurora-body .reviews-list {
    grid-template-columns: 1fr !important;
  }
}


.aurora-body .reviews-hero-grid {
  gap: clamp(14px, 1.2vw, 18px) !important;
  align-items: stretch !important;
  margin-bottom: 0 !important;
}

.aurora-body .reviews-hero-grid > .reviews-panel {
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: clamp(22px, 1.7vw, 28px) !important;
}

.aurora-body .reviews-hero-grid > .reviews-panel h2 {
  margin-bottom: 8px !important;
}

.aurora-body .reviews-hero-grid > .reviews-panel .m2-muted {
  margin: 0 !important;
  line-height: 1.5 !important;
}

.aurora-body .reviews-stats {
  margin-top: 16px !important;
  gap: 12px !important;
}

.aurora-body .reviews-stat {
  min-height: 76px !important;
  padding: 14px 16px !important;
}

.aurora-body .reviews-stat strong {
  font-size: 26px !important;
}

.aurora-body .reviews-panel .m2-btn,
.aurora-body .reviews-panel a.m2-btn {
  min-height: 44px !important;
  min-width: 132px !important;
  padding: 0 22px !important;
  border-radius: 16px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 18px !important;
  width: fit-content !important;
}

.aurora-body .reviews-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.aurora-body .review-card {
  min-height: 118px !important;
  padding: 16px !important;
  gap: 12px !important;
  border-radius: 22px !important;
}

@media (min-width: 1181px) {
  .aurora-body .reviews-page-shell {
    gap: 18px !important;
  }

  .aurora-body .reviews-list {
    transform: translateY(-4px);
  }
}

@media (max-width: 980px) {
  .aurora-body .reviews-hero-grid > .reviews-panel {
    height: auto !important;
  }
}

/* Reviews top panels compact height final */
.aurora-body .reviews-page-shell {
  gap: 14px !important;
}

.aurora-body .reviews-page-shell .reviews-hero-grid {
  align-items: start !important;
  gap: 16px !important;
  margin-bottom: 0 !important;
}

.aurora-body .reviews-page-shell .reviews-hero-grid > .reviews-panel {
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
  padding: clamp(18px, 1.25vw, 22px) !important;
}

.aurora-body .reviews-page-shell .reviews-hero-grid > .reviews-panel h2 {
  font-size: clamp(22px, 1.65vw, 28px) !important;
  line-height: 1.08 !important;
  margin-bottom: 8px !important;
}

.aurora-body .reviews-page-shell .reviews-hero-grid > .reviews-panel .m2-muted {
  font-size: 14px !important;
  line-height: 1.45 !important;
  max-width: 680px !important;
}

.aurora-body .reviews-page-shell .reviews-stats {
  margin-top: 14px !important;
  gap: 10px !important;
}

.aurora-body .reviews-page-shell .reviews-stat {
  min-height: 66px !important;
  padding: 12px 14px !important;
  border-radius: 18px !important;
}

.aurora-body .reviews-page-shell .reviews-stat span {
  font-size: 11px !important;
  line-height: 1.25 !important;
  margin-bottom: 6px !important;
}

.aurora-body .reviews-page-shell .reviews-stat strong {
  font-size: 24px !important;
}

.aurora-body .reviews-page-shell .reviews-panel .m2-btn,
.aurora-body .reviews-page-shell .reviews-panel a.m2-btn {
  min-height: 40px !important;
  min-width: 118px !important;
  padding: 0 20px !important;
  margin-top: 14px !important;
  border-radius: 14px !important;
}

.aurora-body .reviews-page-shell .reviews-list {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

@media (max-width: 980px) {
  .aurora-body .reviews-page-shell .reviews-hero-grid > .reviews-panel {
    height: auto !important;
  }
}


/* Final reviews layout fix: equal compact top panels + no vertical gap */
html .aurora-body .reviews-page-shell {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

html .aurora-body .reviews-page-shell .reviews-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
  margin: 0 !important;
}

html .aurora-body .reviews-page-shell .reviews-hero-grid > .reviews-panel {
  height: auto !important;
  min-height: 0 !important;
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 22px !important;
}

html .aurora-body .reviews-page-shell .reviews-stats {
  margin-top: 16px !important;
  gap: 12px !important;
}

html .aurora-body .reviews-page-shell .reviews-stat {
  min-height: 64px !important;
  padding: 12px 14px !important;
}

html .aurora-body .reviews-page-shell .reviews-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  align-items: start !important;
}

html .aurora-body .reviews-page-shell .review-card {
  min-height: 108px !important;
  padding: 14px 16px !important;
  gap: 10px !important;
}

@media (max-width: 980px) {
  html .aurora-body .reviews-page-shell .reviews-hero-grid,
  html .aurora-body .reviews-page-shell .reviews-list {
    grid-template-columns: 1fr !important;
  }
}


/* Active sidebar item + account overview email card polish */
.aurora-nav .aurora-nav-link.is-active {
  position: relative !important;
  background:
    linear-gradient(135deg, rgba(76, 221, 206, .20), rgba(76, 221, 206, .075)) !important;
  color: var(--aero-accent) !important;
  border-color: rgba(76, 221, 206, .34) !important;
  box-shadow:
    inset 0 0 0 1px rgba(76, 221, 206, .10),
    0 10px 26px rgba(76, 221, 206, .08) !important;
}
.aurora-nav .aurora-nav-link.is-active::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 10px !important;
  bottom: 10px !important;
  width: 3px !important;
  border-radius: 999px !important;
  background: var(--aero-accent) !important;
  opacity: 1 !important;
  box-shadow: 0 0 18px rgba(76, 221, 206, .70) !important;
}
html[data-aurora-scheme="light"] .aurora-nav .aurora-nav-link.is-active {
  background:
    linear-gradient(135deg, rgba(76, 221, 206, .24), rgba(76, 221, 206, .10)) !important;
  color: #00796f !important;
  border-color: rgba(0, 154, 142, .28) !important;
}

.au-home-status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.au-home-status-card a {
  color: var(--aero-accent) !important;
  font-weight: 750 !important;
  text-decoration: none !important;
}
.au-home-status-card a:hover {
  text-decoration: none !important;
}
@media (max-width: 1100px) {
  .au-home-status-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Sidebar active navigation final override */
.aurora-sidebar .aurora-nav-link.is-active,
html .aurora-body .aurora-sidebar .aurora-nav-link.is-active {
  position: relative !important;
  color: var(--aero-accent, #4CDDCE) !important;
  background:
    linear-gradient(135deg, rgba(76, 221, 206, .20), rgba(76, 221, 206, .060)) !important;
  border: 1px solid rgba(76, 221, 206, .32) !important;
  box-shadow:
    inset 0 0 0 1px rgba(76, 221, 206, .08),
    0 12px 28px rgba(76, 221, 206, .08) !important;
  opacity: 1 !important;
}
.aurora-sidebar .aurora-nav-link.is-active::before,
html .aurora-body .aurora-sidebar .aurora-nav-link.is-active::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 9px !important;
  bottom: 9px !important;
  width: 3px !important;
  border-radius: 999px !important;
  background: var(--aero-accent, #4CDDCE) !important;
  box-shadow: 0 0 18px rgba(76, 221, 206, .72) !important;
}
html[data-aurora-scheme="light"] .aurora-sidebar .aurora-nav-link.is-active,
html[data-aurora-scheme="light"] .aurora-body .aurora-sidebar .aurora-nav-link.is-active {
  color: #00796F !important;
  background:
    linear-gradient(135deg, rgba(76, 221, 206, .22), rgba(76, 221, 206, .08)) !important;
  border-color: rgba(0, 154, 142, .28) !important;
}


/* ------------------------------------------------------------------
   AeroVPN Aurora — nicer active sidebar item
   Final override: softer pill, internal accent rail, cleaner hover.
------------------------------------------------------------------- */
html .aurora-body .aurora-sidebar .aurora-nav-link {
  position: relative !important;
  min-height: 42px !important;
  border-radius: 16px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .18s ease !important;
}

html .aurora-body .aurora-sidebar .aurora-nav-link:not(.is-active):hover {
  color: var(--c-text, #EAFDFC) !important;
  background:
    linear-gradient(135deg, rgba(76, 221, 206, .075), rgba(76, 221, 206, .035)) !important;
  border-color: rgba(76, 221, 206, .13) !important;
  box-shadow: inset 0 0 0 1px rgba(76, 221, 206, .035) !important;
  transform: translateX(2px) !important;
}

html .aurora-body .aurora-sidebar .aurora-nav-link.is-active {
  color: var(--c-text, #EAFDFC) !important;
  background:
    radial-gradient(circle at 18px 50%, rgba(76, 221, 206, .25), transparent 34px),
    linear-gradient(135deg, rgba(76, 221, 206, .155), rgba(76, 221, 206, .060)) !important;
  border-color: rgba(76, 221, 206, .26) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    inset 0 0 0 1px rgba(76, 221, 206, .045),
    0 12px 34px rgba(76, 221, 206, .075) !important;
  transform: none !important;
}

html .aurora-body .aurora-sidebar .aurora-nav-link.is-active::before {
  content: "" !important;
  position: absolute !important;
  left: 8px !important;
  top: 11px !important;
  bottom: 11px !important;
  width: 4px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #7CEBE0, #4CDDCE) !important;
  opacity: 1 !important;
  box-shadow: 0 0 14px rgba(76, 221, 206, .48) !important;
}

html .aurora-body .aurora-sidebar .aurora-nav-link.is-active::after {
  content: "" !important;
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: #4CDDCE !important;
  box-shadow: 0 0 0 4px rgba(76, 221, 206, .10), 0 0 16px rgba(76, 221, 206, .42) !important;
  transform: translateY(-50%) !important;
  opacity: .92 !important;
}

html .aurora-body .aurora-sidebar .aurora-nav-link.is-active .aurora-nav-icon {
  color: #4CDDCE !important;
  stroke: #4CDDCE !important;
  filter: drop-shadow(0 0 8px rgba(76, 221, 206, .28)) !important;
}

html[data-aurora-scheme="light"] .aurora-body .aurora-sidebar .aurora-nav-link:not(.is-active):hover {
  color: #062D2A !important;
  background:
    linear-gradient(135deg, rgba(76, 221, 206, .16), rgba(76, 221, 206, .060)) !important;
  border-color: rgba(0, 154, 142, .16) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .50) !important;
}


html[data-aurora-scheme="light"] .aurora-body .aurora-sidebar .aurora-nav-link.is-active::after {
  box-shadow: 0 0 0 4px rgba(76, 221, 206, .16), 0 0 18px rgba(76, 221, 206, .38) !important;
}

/* Mobile active tab uses the same calmer style */
html .aurora-body .aurora-mobile-tabbar a.is-active,
html .aurora-body .aurora-mobile-tabbar button.is-active {
  color: var(--c-text, #EAFDFC) !important;
  background:
    linear-gradient(135deg, rgba(76, 221, 206, .16), rgba(76, 221, 206, .065)) !important;
  border-color: rgba(76, 221, 206, .22) !important;
  box-shadow: 0 10px 28px rgba(76, 221, 206, .08) !important;
}


/* ------------------------------------------------------------------
   AeroVPN Aurora — simplified active sidebar item
   Request: keep icons neutral and remove the left accent rail.
------------------------------------------------------------------- */
html .aurora-body .aurora-sidebar .aurora-nav-link.is-active,
html[data-aurora-scheme="light"] .aurora-body .aurora-sidebar .aurora-nav-link.is-active {
  background:
    linear-gradient(135deg, rgba(76, 221, 206, .145), rgba(76, 221, 206, .050)) !important;
  border-color: rgba(76, 221, 206, .24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    inset 0 0 0 1px rgba(76, 221, 206, .040),
    0 10px 26px rgba(76, 221, 206, .060) !important;
}

html[data-aurora-scheme="light"] .aurora-body .aurora-sidebar .aurora-nav-link.is-active {
  color: #052B28 !important;
  background: linear-gradient(135deg, rgba(76, 221, 206, .18), rgba(255, 255, 255, .72)) !important;
  border-color: rgba(0, 154, 142, .20) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86),
    0 10px 26px rgba(22, 120, 112, .085) !important;
}

html .aurora-body .aurora-sidebar .aurora-nav-link.is-active::before,
html[data-aurora-scheme="light"] .aurora-body .aurora-sidebar .aurora-nav-link.is-active::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  opacity: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

html .aurora-body .aurora-sidebar .aurora-nav-link.is-active .aurora-nav-icon,
html .aurora-body .aurora-sidebar .aurora-nav-link.is-active svg {
  color: var(--c-text-2, #9DB9B6) !important;
  stroke: currentColor !important;
  filter: none !important;
}

html[data-aurora-scheme="light"] .aurora-body .aurora-sidebar .aurora-nav-link.is-active .aurora-nav-icon,
html[data-aurora-scheme="light"] .aurora-body .aurora-sidebar .aurora-nav-link.is-active svg {
  color: #28726C !important;
  stroke: currentColor !important;
  filter: none !important;
}

html .aurora-body .aurora-sidebar .aurora-nav-link:not(.is-active):hover .aurora-nav-icon,
html .aurora-body .aurora-sidebar .aurora-nav-link:not(.is-active):hover svg {
  color: currentColor !important;
  stroke: currentColor !important;
  filter: none !important;
}

/* =========================================================
   AeroVPN Aurora — payments page compact polish
   ========================================================= */
.aurora-body .au-payments-clean {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 18px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: clamp(22px, 2.1vw, 34px) !important;
  margin: 0 !important;
}

.aurora-body .au-payments-clean__head {
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
}

.aurora-body .au-payments-clean__title {
  font-size: clamp(26px, 2vw, 36px) !important;
  line-height: 1.08 !important;
  margin: 0 !important;
}

.aurora-body .au-payments-clean__subtitle {
  margin: 8px 0 0 !important;
  max-width: 720px !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.aurora-body .au-payments-clean__table {
  margin-top: 2px !important;
}

.aurora-body .au-payments-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.aurora-body .au-payments-table th,
.aurora-body .au-payments-table td {
  padding: 13px 16px !important;
  font-size: 14px !important;
}

.aurora-body .au-payments-clean__empty {
  margin: 2px 0 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 22px 24px !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 16px !important;
  row-gap: 4px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(76, 221, 206, .16) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(76, 221, 206, .10), transparent 38%),
    rgba(76, 221, 206, .045) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.aurora-body .au-payments-clean__empty::before {
  content: "₽";
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(76, 221, 206, .30), rgba(76, 221, 206, .12));
  border: 1px solid rgba(76, 221, 206, .24);
  color: var(--accent, #4CDDCE);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.aurora-body .au-payments-clean__empty h2 {
  margin: 0 !important;
  font-size: clamp(20px, 1.35vw, 26px) !important;
  line-height: 1.15 !important;
}

.aurora-body .au-payments-clean__empty p {
  margin: 0 !important;
  max-width: 720px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-payments-clean__empty {
  background:
    radial-gradient(circle at 0% 0%, rgba(76, 221, 206, .18), transparent 42%),
    rgba(255, 255, 255, .56) !important;
  border-color: rgba(14, 145, 135, .18) !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-payments-clean__empty::before {
  background: linear-gradient(135deg, rgba(76, 221, 206, .36), rgba(76, 221, 206, .14));
  border-color: rgba(14, 145, 135, .24);
  color: #08766d;
}

@media (max-width: 760px) {
  .aurora-body .au-payments-clean {
    padding: 18px !important;
    gap: 14px !important;
  }

  .aurora-body .au-payments-clean__empty {
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }

  .aurora-body .au-payments-clean__empty::before {
    width: 40px;
    height: 40px;
  }
}

/* ─────────────────────────────────────────────────────────────
   AeroVPN Aurora — profile page redesign
   ───────────────────────────────────────────────────────────── */

.au-profile-page {
  display: grid;
  gap: 18px;
}

.au-profile-push-banner {
  margin: 0 !important;
}

.au-profile-push-banner--compact {
  min-height: 0 !important;
  padding: 14px 16px !important;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--c-border) !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, rgba(76, 221, 206, .10), rgba(255, 255, 255, .025)) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .20) !important;
}

html[data-aurora-scheme="light"] .au-profile-push-banner--compact {
  background: linear-gradient(135deg, rgba(76, 221, 206, .16), rgba(255, 255, 255, .72)) !important;
  box-shadow: 0 14px 34px rgba(22, 80, 75, .09) !important;
}

.au-profile-push-message {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--c-text-2);
  font-size: 14px;
  line-height: 1.45;
}

.au-profile-push-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #02100F;
  background: linear-gradient(135deg, #4CDDCE, #36CBBE);
  box-shadow: 0 12px 28px rgba(76, 221, 206, .16);
}

.au-profile-push-icon svg {
  width: 17px;
  height: 17px;
}

.au-profile-push-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.au-btn-sm {
  min-height: 34px !important;
  padding: 7px 13px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}


.au-profile-actions-card h2,
.au-profile-info-card h2,
.au-profile-support-card h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -.035em;
  line-height: 1.1;
}

.au-profile-section-head p {
  margin: 8px 0 0;
  color: var(--c-text-2);
}

.au-eyebrow {
  margin: 0 0 8px !important;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent) !important;
}


.au-profile-actions-card,
.au-profile-info-card,
.au-profile-support-card {
  padding: 24px 26px !important;
}

.au-profile-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.au-profile-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.au-profile-action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px;
  border-radius: 18px;
  color: var(--c-text) !important;
  text-decoration: none !important;
  border: 1px solid var(--c-border);
  background: linear-gradient(135deg, rgba(255,255,255,.035), rgba(76,221,206,.055));
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

html[data-aurora-scheme="light"] .au-profile-action {
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(76,221,206,.08));
}

.au-profile-action:hover {
  transform: translateY(-1px);
  border-color: rgba(76, 221, 206, .38);
  box-shadow: 0 16px 36px rgba(76, 221, 206, .10);
}

.au-profile-action.is-current {
  border-color: rgba(76, 221, 206, .45);
  background: linear-gradient(135deg, rgba(76, 221, 206, .14), rgba(76, 221, 206, .045));
}

.au-profile-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--c-text-2);
  border: 1px solid var(--c-border);
  background: rgba(76, 221, 206, .065);
}

.au-profile-action-icon svg {
  width: 21px;
  height: 21px;
}

.au-profile-action b {
  display: block;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.au-profile-action small {
  display: block;
  margin-top: 5px;
  color: var(--c-text-2);
  font-size: 12.5px;
  line-height: 1.35;
}

.au-profile-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.au-profile-info-card .au-props-stack,
.au-profile-support-card .au-props-stack {
  display: grid;
  gap: 10px;
}

.au-profile-info-card .au-prop-row,
.au-profile-support-card .au-prop-row {
  min-height: 46px;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .03) !important;
  border: 1px solid var(--c-border) !important;
}

html[data-aurora-scheme="light"] .au-profile-info-card .au-prop-row,
html[data-aurora-scheme="light"] .au-profile-support-card .au-prop-row {
  background: rgba(255, 255, 255, .72) !important;
}

.au-profile-info-card .au-profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.au-profile-info-card .au-profile-actions .au-btn {
  min-height: 40px;
  padding: 10px 15px;
  border-radius: 14px;
}

/* Telegram unlink is disabled by product policy */
form[action$="/profile/link/unlink"],
form[action*="/profile/link/unlink"] {
  display: none !important;
}

@media (max-width: 980px) {
  .au-profile-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .au-profile-page {
    gap: 14px;
  }

  .au-profile-push-banner--compact {
    align-items: stretch;
    flex-direction: column;
    padding: 13px !important;
  }

  .au-profile-push-actions {
    width: 100%;
  }

  .au-profile-push-actions .au-btn {
    flex: 1 1 auto;
  }

  .au-profile-actions-card,
  .au-profile-info-card,
  .au-profile-support-card {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .au-profile-action-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   AeroVPN Aurora — profile connected pages polish
   Settings / security / Telegram pages
   ========================================================== */

.au-profile-subpage {
  display: grid;
  gap: 18px;
  align-content: start;
  align-items: start;
}

.au-profile-subpage > .m2-notice {
  margin: 0;
}

.au-profile-subpage > .m2-card,
.au-profile-subpage .m2-card {
  border-radius: 24px !important;
  border: 1px solid var(--c-border) !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(76, 221, 206, .10), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    var(--c-surface) !important;
  box-shadow: var(--shadow-card) !important;
}

html[data-aurora-scheme="light"] .au-profile-subpage > .m2-card,
html[data-aurora-scheme="light"] .au-profile-subpage .m2-card {
  background:
    radial-gradient(circle at 8% 0%, rgba(76, 221, 206, .16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,255,254,.78)) !important;
  box-shadow: 0 18px 46px rgba(22, 80, 75, .10) !important;
}

.au-profile-subpage > .m2-card:not(.au-profile-subnav-card) {
  padding: clamp(22px, 2.2vw, 34px) !important;
}

.au-profile-subpage > .m2-card:not(.au-profile-subnav-card) > h1 {
  font-size: clamp(24px, 2.1vw, 32px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em !important;
  color: var(--c-text) !important;
}

.au-profile-subpage .m2-muted {
  color: var(--c-text-2) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.au-profile-subnav-card {
  padding: clamp(20px, 2vw, 28px) !important;
}

.au-profile-subnav-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.au-profile-kicker {
  color: var(--c-text-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.au-profile-subnav-head h1 {
  margin: 0 !important;
  color: var(--c-text) !important;
  font-size: clamp(25px, 2.2vw, 34px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.04em !important;
}

.au-profile-subnav-head p {
  margin: 0;
  max-width: 720px;
  color: var(--c-text-2);
  font-size: 15px;
  line-height: 1.55;
}

.au-profile-subnav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.au-profile-subnav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 84px;
  padding: 15px;
  border-radius: 18px;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.030), rgba(255,255,255,.012)),
    rgba(76, 221, 206, .025);
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.au-profile-subnav-item:hover {
  transform: translateY(-1px);
  border-color: rgba(76, 221, 206, .34);
  background:
    linear-gradient(180deg, rgba(76,221,206,.09), rgba(76,221,206,.035)),
    rgba(76, 221, 206, .035);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
}

.au-profile-subnav-item.is-active {
  border-color: rgba(76, 221, 206, .50);
  background:
    linear-gradient(135deg, rgba(76,221,206,.18), rgba(76,221,206,.055)),
    rgba(76, 221, 206, .04);
  box-shadow: 0 18px 40px rgba(76, 221, 206, .12);
}

.au-profile-subnav-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--c-text-2);
  background: rgba(76, 221, 206, .06);
  border: 1px solid var(--c-border);
}

.au-profile-subnav-icon svg {
  width: 21px;
  height: 21px;
}

.au-profile-subnav-item span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.au-profile-subnav-item b {
  font-size: 15px;
  line-height: 1.15;
  color: var(--c-text);
}

.au-profile-subnav-item small {
  color: var(--c-text-2);
  font-size: 12px;
  line-height: 1.35;
}

.au-profile-subpage .m2-props {
  display: grid;
  gap: 10px !important;
}

.au-profile-subpage .m2-props p {
  margin: 0 !important;
  min-height: 52px;
  padding: 13px 16px !important;
  border-radius: 16px !important;
  border: 1px solid var(--c-border) !important;
  background: rgba(76, 221, 206, .030) !important;
}

html[data-aurora-scheme="light"] .au-profile-subpage .m2-props p {
  background: rgba(255,255,255,.62) !important;
}

.au-profile-subpage .m2-props span {
  color: var(--c-text-2) !important;
}

.au-profile-subpage .m2-props b {
  color: var(--c-text) !important;
  font-weight: 800 !important;
}

.au-profile-subpage .m2-form-grid {
  display: grid;
  gap: 14px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.au-profile-subpage .m2-form-grid .m2-field,
.au-profile-subpage .m2-form-grid .m2-field-checkbox,
.au-profile-subpage .m2-form-grid .m2-actions-wrap,
.au-profile-subpage .m2-form-grid > .m2-btn,
.au-profile-subpage .m2-form-grid > button {
  grid-column: span 1;
}

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

.au-profile-subpage .m2-form-grid > .m2-btn,
.au-profile-subpage .m2-form-grid > button,
.au-profile-subpage .m2-form-grid .m2-actions-wrap {
  grid-column: 1 / -1;
}

.au-profile-subpage .m2-field {
  display: grid;
  gap: 8px;
}

.au-profile-subpage .m2-field span,
.au-profile-subpage .m2-field-checkbox span {
  color: var(--c-text-2) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

.au-profile-subpage .m2-field input,
.au-profile-subpage .m2-field select,
.au-profile-subpage .m2-field textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 15px !important;
  border: 1px solid var(--c-border) !important;
  color: var(--c-text) !important;
  background: rgba(0,0,0,.12) !important;
  outline: none !important;
  padding: 0 14px !important;
}

html[data-aurora-scheme="light"] .au-profile-subpage .m2-field input,
html[data-aurora-scheme="light"] .au-profile-subpage .m2-field select,
html[data-aurora-scheme="light"] .au-profile-subpage .m2-field textarea {
  background: rgba(255,255,255,.82) !important;
}

.au-profile-subpage .m2-field input:focus,
.au-profile-subpage .m2-field select:focus,
.au-profile-subpage .m2-field textarea:focus {
  border-color: rgba(76, 221, 206, .55) !important;
  box-shadow: 0 0 0 4px rgba(76,221,206,.10) !important;
}

.au-profile-subpage .m2-field-checkbox {
  min-height: 48px;
  padding: 13px 15px;
  border-radius: 15px;
  border: 1px solid var(--c-border);
  background: rgba(76,221,206,.025);
  display: flex;
  align-items: center;
  gap: 10px;
}

.au-profile-subpage .m2-field-checkbox input {
  accent-color: var(--accent);
}

.au-profile-subpage .m2-actions-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.au-profile-subpage .m2-btn,
.au-profile-subpage a.m2-btn,
.au-profile-subpage button.m2-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 15px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800 !important;
  text-decoration: none;
}

.au-profile-subpage .m2-btn-ghost {
  color: var(--c-text) !important;
  background: rgba(76,221,206,.04) !important;
  border: 1px solid var(--c-border) !important;
}

.au-profile-subpage #profileNotificationPrefs .m2-form-grid {
  grid-template-columns: minmax(220px, 1.2fr) minmax(120px, .8fr);
  align-items: end;
}

.au-profile-subpage #profileNotificationPrefs .m2-field-checkbox:nth-of-type(odd),
.au-profile-subpage #profileNotificationPrefs .m2-field:nth-of-type(even) {
  grid-column: auto;
}

@media (max-width: 1180px) {
  .au-profile-subnav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .au-profile-subpage {
    gap: 14px;
  }

  .au-profile-subnav-grid,
  .au-profile-subpage .m2-form-grid,
  .au-profile-subpage #profileNotificationPrefs .m2-form-grid {
    grid-template-columns: 1fr;
  }

  .au-profile-subnav-item {
    min-height: 74px;
  }

  .au-profile-subpage > .m2-card:not(.au-profile-subnav-card) {
    padding: 18px !important;
  }
}


/* Profile structure cleanup: password moved into account settings, Telegram state polished */
.au-profile-action-grid,
.au-profile-subnav-grid {
  align-items: stretch;
}

.au-profile-action[href*="/profile/settings"],
.au-profile-subnav-item[href*="/profile/settings"] {
  min-width: 0;
}

.au-profile-settings-card,
.au-telegram-link-card {
  overflow: hidden;
}

.au-profile-password-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.au-profile-password-form .m2-btn {
  grid-column: 1 / -1;
}


.au-telegram-status p {
  margin: 0;
  max-width: 720px;
}

.au-telegram-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--c-text);
  font-weight: 800;
  font-size: 13px;
  background: rgba(76, 221, 206, .12);
  border: 1px solid rgba(76, 221, 206, .30);
  white-space: nowrap;
}


.au-telegram-props span {
  color: var(--c-text-2);
  font-weight: 600;
}

.au-telegram-props b {
  color: var(--c-text);
  text-align: right;
}


.au-telegram-actions {
  margin-top: 20px;
}

html[data-aurora-scheme="light"] .au-telegram-status-icon {
  background: rgba(76, 221, 206, .14);
}

@media (max-width: 900px) {
  .au-profile-password-form {
    grid-template-columns: 1fr;
  }

  

  .au-telegram-badge {
    grid-column: 1 / -1;
    justify-self: flex-start;
  }

  .au-telegram-props {
    grid-template-columns: 1fr;
  }
}


/* Profile pages — unified quick actions and compact Telegram layout */
.au-profile-page > .au-profile-actions-card:first-of-type {
  margin-top: 0 !important;
}

.au-profile-actions-card--compact {
  padding: clamp(18px, 1.8vw, 24px) !important;
}

.au-profile-actions-card--compact .au-profile-section-head {
  margin-bottom: 14px !important;
}

.au-profile-actions-card--compact .au-profile-action-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)) !important;
  gap: 12px !important;
}

.au-profile-actions-card--compact .au-profile-action {
  min-height: 74px !important;
  padding: 12px 14px !important;
}

.au-profile-actions-card--compact .au-profile-action-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 15px !important;
}

.au-profile-actions-card--compact .au-profile-action b {
  font-size: 15px !important;
}

.au-profile-actions-card--compact .au-profile-action small {
  font-size: 12.5px !important;
  line-height: 1.35 !important;
}

.au-profile-inline-logout {
  margin: 0 !important;
  display: inline-flex !important;
}

/* Profile subpages use the same quick-actions block as the main profile */
.au-profile-subpage > .au-profile-actions-card {
  margin: 0 !important;
}

.au-profile-subpage > .au-profile-actions-card + .m2-card {
  margin-top: 0 !important;
}

/* Telegram linked page — less empty height, cleaner status block */
.au-telegram-link-card {
  padding: clamp(20px, 2vw, 28px) !important;
  min-height: 0 !important;
}

.au-telegram-status {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: center;
}

.au-telegram-status-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(76, 221, 206, .10);
  border: 1px solid var(--c-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.au-telegram-status-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.au-telegram-status h1 {
  margin: 0 0 5px !important;
  font-size: clamp(24px, 2.2vw, 32px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em;
}

.au-telegram-status .au-eyebrow {
  margin-bottom: 7px !important;
}

.au-telegram-props {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  margin-top: 18px !important;
}

.au-telegram-props p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 0;
  min-height: 48px !important;
  padding: 12px 15px !important;
  border-radius: 16px;
  background: color-mix(in srgb, var(--c-surface-2) 70%, transparent);
  border: 1px solid var(--c-border);
}

.au-telegram-note {
  margin-top: 12px !important;
}

@media (max-width: 900px) {
  .au-profile-actions-card--compact .au-profile-action-grid {
    grid-template-columns: 1fr !important;
  }

  .au-telegram-status {
    grid-template-columns: 44px minmax(0, 1fr) !important;
}

  .au-telegram-status-icon {
    width: 44px !important;
    height: 44px !important;
  }
}

/* Subscription page: align subscription link and QR button exactly in one row */
.aurora-body .au-subscription-link-tools {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 132px !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.aurora-body .au-subscription-link-tools .au-copy-link,
.aurora-body .au-subscription-link-tools .au-qr-open-btn {
  min-height: 56px !important;
  height: 56px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  align-self: stretch !important;
}

.aurora-body .au-subscription-link-tools .au-copy-link {
  display: grid !important;
  width: 100% !important;
}

.aurora-body .au-subscription-link-tools .au-qr-open-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-inline: 16px !important;
  width: 100% !important;
  padding: 0 16px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.aurora-body .au-bypass-subscription-notice {
  margin-top: 0 !important;
}

@media (max-width: 720px) {
  .aurora-body .au-subscription-link-tools {
    grid-template-columns: 1fr !important;
}
}

/* Auth polish: Telegram button, terms checkbox and validation */
.aurora-body .auth-telegram-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 18px 42px rgba(34, 158, 217, .30) !important;
}
.aurora-body .auth-telegram-btn:hover { transform: translateY(-1px); }
.aurora-body .auth-telegram-icon,
.aurora-body .auth-telegram-icon svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  fill: currentColor;
}


.aurora-body .au-field.is-invalid input:not([type="checkbox"]) {
  border-color: rgba(249, 115, 22, .70) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .14) !important;
}
@media (max-width: 560px) {
  .aurora-body .auth-telegram-btn { width: 100%; min-height: 48px; }
}


.aurora-body .m2-field.is-invalid input:not([type="checkbox"]),
.aurora-body .au-field.is-invalid input:not([type="checkbox"]) {
  border-color: rgba(249, 115, 22, .70) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .14) !important;
}


.aurora-body .aurora-verify-card .m2-form-grid {
  gap: 16px;
}
.aurora-body .aurora-confirm-email-btn {
  width: 100%;
  justify-content: center;
}


.aurora-body .aurora-change-email summary span {
  color: var(--accent);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}


.aurora-body .aurora-auth-back a,
.aurora-body .m2-muted a {
  color: var(--accent) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Aurora auth UI — dark/light final pass
   Covers: Telegram #0088cc, visible terms checkbox, custom validation,
   email verification actions and light-mode surfaces. */
.aurora-body .auth-telegram-btn,
.auth-telegram-btn {
  background: #0088cc !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 18px 42px rgba(0, 136, 204, .30) !important;
  background-image: none !important;
  border: 0 !important;
}
.aurora-body .auth-telegram-btn:hover,
.auth-telegram-btn:hover {
  background: #0088cc !important;
  box-shadow: 0 22px 52px rgba(0, 136, 204, .36) !important;
  filter: brightness(1.07) !important;
}


.aurora-body .auth-form-alert {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(255, 118, 118, .34) !important;
  border-radius: 16px !important;
  background: rgba(255, 118, 118, .105) !important;
  color: #ffd6d6 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
.aurora-body .auth-form-alert::before {
  content: '!' !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 8px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 22px !important;
  background: #ff7676 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 1000 !important;
}
.aurora-body .auth-form-alert[hidden] {
  display: none !important;
}
html[data-aurora-scheme="light"] .aurora-body .auth-form-alert {
  color: #8a1212 !important;
  background: #fff3f3 !important;
  border-color: rgba(190, 45, 45, .22) !important;
}


.aurora-body button.aurora-auth-text-button[type="submit"],
.aurora-body .aurora-auth-text-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: auto !important;
  padding: 2px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--accent) !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  cursor: pointer !important;
}
.aurora-body button.aurora-auth-text-button[type="submit"]:hover,
.aurora-body .aurora-auth-text-button:hover {
  transform: none !important;
  color: #a8fff7 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html[data-aurora-scheme="light"] .aurora-body button.aurora-auth-text-button[type="submit"]:hover,
html[data-aurora-scheme="light"] .aurora-body .aurora-auth-text-button:hover {
  color: #087d75 !important;
}

/* ==========================================================
   Aurora auth hard overrides — source of truth for auth pages
   Fixes are kept in this main Aurora theme file,
   loaded after base CSS and Aurora templates.
   ========================================================== */
.aurora-body .auth-telegram-btn,
.aurora-body a.auth-telegram-btn,
.auth-telegram-btn {
  background: #0088cc !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: 0 18px 42px rgba(0, 136, 204, .30) !important;
}
.aurora-body .auth-telegram-btn:hover,
.aurora-body a.auth-telegram-btn:hover,
.auth-telegram-btn:hover {
  background: #0088cc !important;
  background-image: none !important;
  color: #fff !important;
  filter: brightness(1.07) !important;
  box-shadow: 0 22px 52px rgba(0, 136, 204, .36) !important;
}
.aurora-body .auth-telegram-btn:focus-visible,
.auth-telegram-btn:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(0, 136, 204, .24), 0 22px 52px rgba(0, 136, 204, .34) !important;
}
.aurora-body .auth-telegram-icon,
.aurora-body .auth-telegram-icon svg,
.auth-telegram-icon,
.auth-telegram-icon svg {
  color: #fff !important;
  fill: currentColor !important;
}


.aurora-body .auth-form-alert[hidden],
.auth-form-alert[hidden] { display: none !important; }
html[data-aurora-scheme="light"] .aurora-body .auth-form-alert,
html[data-aurora-scheme="light"] .auth-form-alert {
  background: #fff3f3 !important;
  border-color: rgba(190, 45, 45, .22) !important;
  color: #8a1212 !important;
}

.aurora-body .m2-field.is-invalid input:not([type="checkbox"]),
.aurora-body .au-field.is-invalid input:not([type="checkbox"]),
.aurora-body label.is-invalid input:not([type="checkbox"]) {
  border-color: rgba(255, 118, 118, .74) !important;
  box-shadow: 0 0 0 4px rgba(255, 118, 118, .14) !important;
}
html[data-aurora-scheme="light"] .aurora-body .m2-field.is-invalid input:not([type="checkbox"]),
html[data-aurora-scheme="light"] .aurora-body .au-field.is-invalid input:not([type="checkbox"]),
html[data-aurora-scheme="light"] .aurora-body label.is-invalid input:not([type="checkbox"]) {
  border-color: rgba(190, 45, 45, .36) !important;
  box-shadow: 0 0 0 4px rgba(190, 45, 45, .09) !important;
}

/* ---------------------------------------------------------------------------
   Custom validation tooltip (replaces native browser bubbles).
   Injected by form_validation.js into the invalid field's wrapper, which the
   script forces to position:relative. See static/js/form_validation.js.
--------------------------------------------------------------------------- */
.aurora-body .au-field-tooltip {
  position: absolute;
  z-index: 100;
  top: 100%;
  left: 0;
  margin-top: 6px;
  max-width: min(320px, 100%);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(249, 115, 22, .35);
  background: rgba(6, 21, 20, .96);
  color: #fb923c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .28);
  pointer-events: none;
  white-space: normal;
  animation: au-tooltip-in .18s ease;
}

@keyframes au-tooltip-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.aurora-body .au-field-tooltip::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 14px;
  width: 9px;
  height: 9px;
  background: rgba(6, 21, 20, .96);
  border-left: 1px solid rgba(249, 115, 22, .35);
  border-top: 1px solid rgba(249, 115, 22, .35);
  transform: rotate(45deg);
}

/* The "⚠ " warning glyph is prepended to the message text in
   form_validation.js so it always renders before the text and wraps with it. */

/* Light scheme */
html[data-aurora-scheme="light"] .aurora-body .au-field-tooltip {
  background: #fff;
  border-color: rgba(190, 45, 45, .30);
  color: #be2d2d;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}
html[data-aurora-scheme="light"] .aurora-body .au-field-tooltip::before {
  background: #fff;
  border-left-color: rgba(190, 45, 45, .30);
  border-top-color: rgba(190, 45, 45, .30);
}

.aurora-body .m2-btn:disabled,
.aurora-body .au-btn:disabled,
.aurora-body button[type="submit"]:disabled {
  cursor: not-allowed !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none !important;
  background: rgba(76, 221, 206, .16) !important;
  color: rgba(226, 255, 252, .46) !important;
  border-color: rgba(76, 221, 206, .16) !important;
  filter: none !important;
  background-image: none !important;
}
html[data-aurora-scheme="light"] .aurora-body .m2-btn:disabled,
html[data-aurora-scheme="light"] .aurora-body .au-btn:disabled,
html[data-aurora-scheme="light"] .aurora-body button[type="submit"]:disabled {
  background: rgba(14, 169, 158, .14) !important;
  color: rgba(7, 26, 24, .44) !important;
  border-color: rgba(14, 169, 158, .14) !important;
  background-image: none !important;
}

.aurora-body button.aurora-auth-text-button[type="submit"],
.aurora-body .aurora-auth-text-button,
button.aurora-auth-text-button[type="submit"],
.aurora-auth-text-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: auto !important;
  width: auto !important;
  padding: 2px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--accent) !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  cursor: pointer !important;
  filter: none !important;
}
.aurora-body .aurora-auth-muted-form,
.aurora-auth-muted-form {
  margin-top: 10px !important;
  text-align: center !important;
}
.aurora-body button.aurora-auth-text-button[type="submit"]:hover,
.aurora-body .aurora-auth-text-button:hover,
button.aurora-auth-text-button[type="submit"]:hover,
.aurora-auth-text-button:hover {
  transform: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #a8fff7 !important;
  filter: none !important;
}
html[data-aurora-scheme="light"] .aurora-body button.aurora-auth-text-button[type="submit"]:hover,
html[data-aurora-scheme="light"] .aurora-body .aurora-auth-text-button:hover,
html[data-aurora-scheme="light"] button.aurora-auth-text-button[type="submit"]:hover,
html[data-aurora-scheme="light"] .aurora-auth-text-button:hover {
  color: #087d75 !important;
}


html[data-aurora-scheme="light"] .aurora-body .aurora-change-email {
  border-top-color: rgba(14, 169, 158, .16) !important;
}

.aurora-body .m2-btn:disabled,
.aurora-body .m2-btn:disabled:hover,
.aurora-body .m2-btn:disabled:focus,
.aurora-body .m2-btn:disabled:active,
.aurora-body .au-btn:disabled,
.aurora-body .au-btn:disabled:hover,
.aurora-body .au-btn:disabled:focus,
.aurora-body .au-btn:disabled:active,
.aurora-body button[type="submit"]:disabled,
.aurora-body button[type="submit"]:disabled:hover,
.aurora-body button[type="submit"]:disabled:focus,
.aurora-body button[type="submit"]:disabled:active {
  cursor: not-allowed !important;
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  box-shadow: none !important;
  background: rgba(76, 221, 206, .16) !important;
  background-image: none !important;
  color: rgba(226, 255, 252, .46) !important;
  border-color: rgba(76, 221, 206, .16) !important;
  filter: none !important;
}

html[data-aurora-scheme="light"] .aurora-body .m2-btn:disabled,
html[data-aurora-scheme="light"] .aurora-body .m2-btn:disabled:hover,
html[data-aurora-scheme="light"] .aurora-body .m2-btn:disabled:focus,
html[data-aurora-scheme="light"] .aurora-body .m2-btn:disabled:active,
html[data-aurora-scheme="light"] .aurora-body .au-btn:disabled,
html[data-aurora-scheme="light"] .aurora-body .au-btn:disabled:hover,
html[data-aurora-scheme="light"] .aurora-body .au-btn:disabled:focus,
html[data-aurora-scheme="light"] .aurora-body .au-btn:disabled:active,
html[data-aurora-scheme="light"] .aurora-body button[type="submit"]:disabled,
html[data-aurora-scheme="light"] .aurora-body button[type="submit"]:disabled:hover,
html[data-aurora-scheme="light"] .aurora-body button[type="submit"]:disabled:focus,
html[data-aurora-scheme="light"] .aurora-body button[type="submit"]:disabled:active {
  background: rgba(14, 169, 158, .14) !important;
  background-image: none !important;
  color: rgba(7, 26, 24, .44) !important;
  border-color: rgba(14, 169, 158, .14) !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

.aurora-body .aurora-verify-auth {
  width: 100% !important;
  max-width: 1060px !important;
  margin: 0 auto !important;
  align-items: stretch !important;
  gap: clamp(16px, 2vw, 24px) !important;
  overflow-x: hidden !important;
  padding: clamp(16px, 3vw, 32px) !important;
  box-sizing: border-box !important;
}

.aurora-body .aurora-verify-side,
.aurora-body .aurora-verify-card {
  border-color: rgba(76, 221, 206, .18) !important;
  background: radial-gradient(circle at 14% 0%, rgba(76, 221, 206, .09), transparent 38%),
    linear-gradient(180deg, rgba(5, 27, 24, .86), rgba(2, 13, 12, .94)) !important;
  box-shadow: 0 26px 74px rgba(0, 0, 0, .30) !important;
}

.aurora-body .aurora-verify-card {
  padding: clamp(24px, 2.4vw, 36px) !important;
  min-width: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.aurora-body .aurora-verify-card h2 {
  margin-bottom: 14px;
  margin: 0 0 18px !important;
  line-height: 1.12 !important;
}

/* "Последний шаг" badge hidden on /verify-email (both schemes). The global
   .m2-kpi-pill styling in style.css is left intact for other pages. */
.aurora-body .aurora-verify-side .m2-kpi-pill {
  display: none !important;
}


.aurora-body .aurora-change-email summary::-webkit-details-marker {
  display: none !important;
}


.aurora-body .aurora-change-email-submit {
  width: 100% !important;
  justify-content: center !important;
  min-height: 42px !important;
  border-radius: 15px !important;
}

.aurora-body .aurora-auth-muted-form {
  margin: 12px 0 0 !important;
  text-align: center !important;
}

.aurora-body .aurora-auth-back {
  margin-top: 16px !important;
  text-align: center;
  padding-top: 14px !important;
  border-top: 1px solid rgba(76, 221, 206, .12) !important;
}

html[data-aurora-scheme="light"] .aurora-body .aurora-verify-side,
html[data-aurora-scheme="light"] .aurora-body .aurora-verify-card {
  border-color: rgba(14, 169, 158, .18) !important;
  background: radial-gradient(circle at 14% 0%, rgba(76, 221, 206, .18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(242, 253, 251, .94)) !important;
  box-shadow: 0 22px 60px rgba(22, 80, 75, .12) !important;
}

html[data-aurora-scheme="light"] .aurora-body .aurora-verify-side .m2-kpi-pill {
  display: none !important;
}


html[data-aurora-scheme="light"] .aurora-body .aurora-change-email summary:hover {
  color: #087d75 !important;
}

html[data-aurora-scheme="light"] .aurora-body .aurora-change-email-form,
html[data-aurora-scheme="light"] .aurora-body .aurora-auth-back {
  border-top-color: rgba(14, 169, 158, .14) !important;
}

@media (max-width: 920px) {
  .aurora-body .aurora-verify-auth {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
  }
  .aurora-body .aurora-verify-card {
    padding: 28px !important;
  }
}


/* === Aurora auth final polish: compact alerts, code box and resend cooldown UX === */
.aurora-body .auth-form-alert,
.auth-form-alert {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding: 9px 11px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(255, 118, 118, .34) !important;
  background: rgba(255, 118, 118, .105) !important;
  color: #ffd6d6 !important;
  font-size: 12px !important;
  line-height: 1.32 !important;
  font-weight: 760 !important;
  box-shadow: none !important;
}
.aurora-body .auth-form-alert::before,
.auth-form-alert::before {
  content: '!' !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 6px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 22px !important;
  background: #ff7676 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  flex-basis: 18px !important;
  margin-top: 0 !important;
}
.aurora-body .aurora-auth-card .au-notice,
.aurora-body .aurora-verify-card .au-notice {
  padding: 9px 11px !important;
  border-radius: 13px !important;
  font-size: 12px !important;
  line-height: 1.32 !important;
  font-weight: 760 !important;
}
.aurora-body .aurora-auth-card .au-notice svg,
.aurora-body .aurora-verify-card .au-notice svg {
  width: 15px !important;
  height: 15px !important;
}

.aurora-body .aurora-verify-card .m2-form-grid,
.aurora-body .aurora-verify-card form[data-auth-verify-form] {
  gap: 13px !important;
}
.aurora-body .aurora-confirm-email-btn,
.aurora-body button.aurora-confirm-email-btn[type="submit"] {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  position: relative !important;
}
.aurora-body button.aurora-confirm-email-btn[type="submit"]::before,
.aurora-body button.aurora-confirm-email-btn[type="submit"]::after {
  pointer-events: none !important;
}
.aurora-body button.aurora-confirm-email-btn[type="submit"]:disabled,
.aurora-body button.aurora-confirm-email-btn[type="submit"]:disabled:hover,
.aurora-body button.aurora-confirm-email-btn[type="submit"]:disabled:focus,
.aurora-body button.aurora-confirm-email-btn[type="submit"]:disabled:active {
  pointer-events: none !important;
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}


html[data-aurora-scheme="light"] .aurora-body .aurora-change-email-form {
  border-color: rgba(14, 169, 158, .14) !important;
  background: rgba(76, 221, 206, .06) !important;
}

/* === Aurora auth v80: Telegram button, verify spacing, resend timer === */
.aurora-body a.auth-telegram-btn,
.aurora-body .auth-telegram-btn,
html[data-aurora-scheme="light"] .aurora-body a.auth-telegram-btn,
html[data-aurora-scheme="light"] .aurora-body .auth-telegram-btn {
  background: #0088cc !important;
  background-image: linear-gradient(135deg, #0088cc 0%, #159bd6 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(0, 136, 204, .34) !important;
  box-shadow: 0 16px 34px rgba(0, 136, 204, .22) !important;
  text-shadow: none !important;
}
.aurora-body a.auth-telegram-btn span,
.aurora-body .auth-telegram-btn span,
.aurora-body a.auth-telegram-btn .auth-telegram-icon,
.aurora-body .auth-telegram-btn .auth-telegram-icon {
  color: #fff !important;
}
.aurora-body a.auth-telegram-btn svg,
.aurora-body .auth-telegram-btn svg,
.aurora-body a.auth-telegram-btn svg path,
.aurora-body .auth-telegram-btn svg path {
  fill: #fff !important;
  stroke: none !important;
}
.aurora-body a.auth-telegram-btn:hover,
.aurora-body .auth-telegram-btn:hover,
html[data-aurora-scheme="light"] .aurora-body a.auth-telegram-btn:hover,
html[data-aurora-scheme="light"] .aurora-body .auth-telegram-btn:hover {
  background: #0097df !important;
  background-image: linear-gradient(135deg, #0097df 0%, #17a9e8 100%) !important;
  color: #fff !important;
  box-shadow: 0 18px 38px rgba(0, 136, 204, .28) !important;
  filter: none !important;
}
html[data-aurora-scheme="light"] .aurora-body a.auth-telegram-btn,
html[data-aurora-scheme="light"] .aurora-body .auth-telegram-btn {
  box-shadow: 0 14px 28px rgba(0, 136, 204, .18) !important;
}

.aurora-body .aurora-verify-card .au-notice {
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 0 14px !important;
}
.aurora-body .aurora-verify-card .au-notice + .aurora-verify-email-box {
  margin-top: 4px !important;
}
.aurora-body .aurora-verify-email-box {
  display: grid !important;
  gap: 7px !important;
  margin: 10px 0 18px !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(76, 221, 206, .13) !important;
  background: rgba(76, 221, 206, .045) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}
.aurora-body .aurora-verify-email-display {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
}
.aurora-body .aurora-verify-email-display span {
  color: var(--c-text-3) !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  opacity: .78 !important;
}
.aurora-body .aurora-verify-email-display strong {
  color: var(--c-text) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}
.aurora-body .aurora-change-email {
  margin-top: 1px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(76, 221, 206, .14);
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.aurora-body .aurora-change-email summary {
  list-style: none !important;
  cursor: pointer !important;
  color: var(--accent) !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  text-align: center;
  user-select: none !important;
  display: inline-flex !important;
  width: fit-content !important;
  font-weight: 760 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  opacity: .70 !important;
  text-decoration-thickness: 1px !important;
}
.aurora-body .aurora-change-email summary:hover {
  color: #a8fff7 !important;
  opacity: 1 !important;
}
.aurora-body .aurora-change-email-form {
  display: grid !important;
  gap: 12px !important;
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(76, 221, 206, .12) !important;
  padding: 12px !important;
  border: 1px solid rgba(76, 221, 206, .12) !important;
  border-radius: 16px !important;
  background: rgba(76, 221, 206, .045) !important;
}
html[data-aurora-scheme="light"] .aurora-body .aurora-verify-email-box {
  border-color: rgba(14, 169, 158, .14) !important;
  background: rgba(255, 255, 255, .54) !important;
  box-shadow: 0 10px 26px rgba(22, 80, 75, .045), inset 0 1px 0 rgba(255, 255, 255, .92) !important;
}

.aurora-body .aurora-auth-text-button:disabled,
.aurora-body .aurora-auth-text-button:disabled:hover,
.aurora-body .aurora-auth-text-button:disabled:focus,
.aurora-body .aurora-auth-text-button[disabled],
.aurora-body .aurora-auth-text-button[disabled]:hover,
.aurora-body .aurora-auth-text-button[disabled]:focus {
  cursor: not-allowed !important;
  opacity: .58 !important;
  color: var(--c-text-3) !important;
  text-decoration: none !important;
  transform: none !important;
  filter: none !important;
}
.aurora-body .aurora-resend-code-button {
  min-height: 24px !important;
  padding: 0 !important;
}


/* === Aurora v81: real checkbox, public mobile shell and bottom nav fixes === */
.aurora-body .aurora-topbar-title p:empty {
  display: none !important;
}

@media (max-width: 900px) {
  .aurora-body:not(.wc-guest-auth-page) .aurora-content,
  .aurora-body:not(.wc-guest-auth-page) .wc-neo-content,
  .aurora-body:not(.wc-guest-auth-page) .m2-content {
    padding-bottom: calc(116px + env(safe-area-inset-bottom)) !important;
  }

  .aurora-body.wc-public-shell .aurora-burger {
    display: none !important;
  }

  .aurora-body.wc-public-shell .aurora-topbar-left {
    min-width: 0 !important;
  }

  .aurora-body.wc-public-shell .aurora-mobile-tabbar {
    justify-content: center !important;
  }

  .aurora-body.wc-public-shell .aurora-mobile-tabbar-inner {
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 0 max(10px, env(safe-area-inset-left)) 0 max(10px, env(safe-area-inset-right)) !important;
    justify-content: center !important;
    overflow-x: visible !important;
  }

  .aurora-body.wc-public-shell .aurora-mobile-tabbar a,
  .aurora-body.wc-public-shell .aurora-mobile-tabbar button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 96px !important;
  }
}

@media (max-width: 720px) {
  .aurora-body.wc-public-shell .aurora-topbar-title p {
    display: none !important;
  }

  .aurora-body .au-start-card {
    padding: 16px !important;
  }

  .aurora-body .au-start-head {
    margin-bottom: 14px !important;
  }

  .aurora-body .au-start-head h2 {
    font-size: 24px !important;
    line-height: 1.08 !important;
  }

  .aurora-body .au-start-subtitle {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .aurora-body .au-start-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .aurora-body .au-start-step {
    min-height: auto !important;
    border-radius: 18px !important;
  }

  .aurora-body .au-start-step-link {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 11px !important;
    padding: 14px !important;
  }

  .aurora-body .au-start-step-num {
    width: 32px !important;
    height: 32px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    margin-top: 1px !important;
  }

  .aurora-body .au-start-step-title {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    margin: 0 0 4px !important;
    font-size: 14.5px !important;
    line-height: 1.22 !important;
  }

  .aurora-body .au-start-step-text {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
  }
}

/* ==========================================================
   Aurora auth final alignment and checkbox polish
   ========================================================== */
body.wc-guest-auth-page .aurora-auth-main {
  padding: 28px !important;
  display: grid !important;
  place-items: center !important;
  min-height: 100dvh !important;
  height: 100dvh !important;
  overflow: hidden !important;
}

body.wc-guest-auth-page .aurora-auth-main .aurora-auth-scene {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  overflow: visible !important;
}

body.wc-guest-auth-page .aurora-auth-main .aurora-auth-box {
  width: min(100%, 460px) !important;
  max-height: none !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
}

body.wc-guest-auth-page .aurora-auth-main .aurora-auth-logo {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  align-self: center !important;
}

body.wc-guest-auth-page .aurora-auth-main .aurora-auth-card {
  width: 100% !important;
  max-height: min(calc(100dvh - 124px), 720px) !important;
  overflow: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(76, 221, 206, .24) transparent !important;
}

/* ==========================================================
   Aurora v85 final auth polish: visible checkbox, calm verify notes,
   resend timer and mobile auth positioning.
   ========================================================== */
.aurora-body .aurora-verify-card form[data-auth-verify-form] {
  gap: 12px !important;
  min-width: 0 !important;
  width: 100% !important;
}

/* Prevent auth-form-alert from expanding the card width */
.aurora-body .aurora-verify-card .auth-form-alert,
.aurora-body .auth-form-alert {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  align-self: stretch !important;
}

.aurora-body .aurora-verify-code-field > span,
.aurora-body .aurora-verify-card form[data-auth-verify-form] .m2-field > span {
  color: var(--accent) !important;
  opacity: .96 !important;
  font-weight: 850 !important;
}

.aurora-body .aurora-verify-inline-note {
  margin: -4px 0 2px !important;
  padding: 0 !important;
  color: var(--c-text-3) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
  opacity: .82 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
  display: block !important;
}

html[data-aurora-scheme="light"] .aurora-body .aurora-verify-inline-note {
  color: #42635F !important;
  opacity: .88 !important;
}

.aurora-body .aurora-resend-code-button,
.aurora-body button.aurora-resend-code-button[type="submit"] {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.aurora-body .aurora-resend-code-button:disabled,
.aurora-body .aurora-resend-code-button:disabled:hover,
.aurora-body .aurora-resend-code-button:disabled:focus,
.aurora-body .aurora-resend-code-button[disabled],
.aurora-body button.aurora-resend-code-button[type="submit"]:disabled,
.aurora-body button.aurora-resend-code-button[type="submit"]:disabled:hover,
.aurora-body button.aurora-resend-code-button[type="submit"]:disabled:focus,
.aurora-body button.aurora-auth-text-button.aurora-resend-code-button[type="submit"]:disabled,
.aurora-body button.aurora-auth-text-button.aurora-resend-code-button[type="submit"]:disabled:hover {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--c-text-3) !important;
  opacity: .72 !important;
  text-decoration: none !important;
  cursor: default !important;
  pointer-events: none !important;
  transform: none !important;
  filter: none !important;
}

.aurora-body .aurora-verify-card .au-notice-success {
  display: none !important;
}

@media (max-width: 860px) {
  body.wc-guest-auth-page .aurora-auth-main {
    min-height: 100dvh !important;
    height: auto !important;
    /* Center vertically; height:auto + overflow:visible lets tall content
       grow the page (top stays reachable) instead of clipping. */
    padding: 24px 16px !important;
    align-items: center !important;
    justify-items: center !important;
    place-items: center !important;
    overflow: visible !important;
  }

  body.wc-guest-auth-page .aurora-auth-main .aurora-auth-scene {
    align-items: center !important;
    justify-content: center !important;
  }

  body.wc-guest-auth-page .aurora-auth-main .aurora-auth-box {
    justify-content: center !important;
    gap: 12px !important;
    transform: none !important;
  }

  body.wc-guest-auth-page .aurora-auth-main .aurora-auth-logo {
    transform: scale(.94) !important;
  }

  body.wc-guest-auth-page .aurora-auth-main .aurora-auth-card {
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 480px) {
  body.wc-guest-auth-page .aurora-auth-main {
    /* Even top/bottom, 16px sides; centering is inherited from the
       max-width:860px block above. */
    padding: 16px !important;
  }

  body.wc-guest-auth-page .aurora-auth-main .aurora-auth-box {
    transform: none !important;
    width: 100% !important;
  }

  body.wc-guest-auth-page .aurora-auth-main .aurora-auth-card {
    width: 100% !important;
  }
}


/* ==========================================================
   Aurora v86 hotfix: registration checkbox + mobile form alignment
   ========================================================== */
body.wc-guest-auth-page .aurora-auth-card form[data-auth-register-form],
body.wc-guest-auth-page .aurora-auth-card .au-form-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  margin: 0 !important;
}

body.wc-guest-auth-page .aurora-auth-card .au-field {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px !important;
  margin: 0 !important;
}

body.wc-guest-auth-page .aurora-auth-card .au-field label,
body.wc-guest-auth-page .aurora-auth-card .m2-field > span {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

body.wc-guest-auth-page .aurora-auth-card input:not([type="checkbox"]),
body.wc-guest-auth-page .aurora-auth-card select,
body.wc-guest-auth-page .aurora-auth-card textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
}

body.wc-guest-auth-page .aurora-auth-card button[type="submit"] {
  width: 100% !important;
  justify-content: center !important;
}

/* ==========================================================
   Auth terms checkbox — aurora visual overrides
   Раскладка и скрытие input: theme_aurora_base.css
   ========================================================== */

/* Vertical centering: override align-items:start from base */
.auth-terms-field {
  align-items: center !important;
}

/* Inner label wraps only the checkbox square */
.auth-terms-label {
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
  position: relative !important;
  line-height: 0 !important;
  flex-shrink: 0 !important;
}

.auth-terms-field .auth-terms-box,
.aurora-body .auth-terms-field .auth-terms-box {
  width: 22px !important;
  height: 22px !important;
  margin-top: 0 !important;
  border-radius: 7px !important;
  border: 2px solid rgba(76, 221, 206, .72) !important;
  box-shadow: 0 0 0 4px rgba(76, 221, 206, .07) !important;
  box-sizing: border-box !important;
  position: relative !important;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease !important;
  pointer-events: none !important;
}

html[data-aurora-scheme="light"] .auth-terms-box {
  background: #fff !important;
  border-color: rgba(14, 169, 158, .70) !important;
  box-shadow: 0 0 0 4px rgba(14, 169, 158, .07) !important;
}

.auth-terms-label:hover .auth-terms-box {
  border-color: rgba(168, 255, 247, .96) !important;
  box-shadow: 0 0 0 4px rgba(76, 221, 206, .14) !important;
}

.auth-terms-input:checked + .auth-terms-box {
  background: #4cddce !important;
  border-color: #4cddce !important;
  box-shadow: 0 0 0 4px rgba(76, 221, 206, .20), 0 6px 18px rgba(76, 221, 206, .22) !important;
}

.auth-terms-input:checked + .auth-terms-box::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 12px !important;
  height: 7px !important;
  border: 0 !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9' fill='none'%3E%3Cpath d='M1 4L4.5 7.5L11 1' stroke='%23062321' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat !important;
  transform: translate(-50%, -50%) !important;
}

.auth-terms-field.is-invalid .auth-terms-box,
.aurora-body .auth-terms-field.is-invalid .auth-terms-box {
  border-color: rgba(255, 118, 118, .86) !important;
  box-shadow: 0 0 0 4px rgba(255, 118, 118, .16) !important;
}

/* ============================================================
   Reviews page
   ============================================================ */

.reviews-page-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reviews-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 18px;
  align-items: stretch;
  margin: 0;
}

.reviews-panel {
  position: relative;
  overflow: hidden;
}

.reviews-panel::before {
  content: "";
  position: absolute;
  inset: -40% -25% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(76,221,206,.16), transparent 68%);
  pointer-events: none;
}

.reviews-panel > * {
  position: relative;
  z-index: 1;
}

.reviews-hero-grid > .reviews-panel {
  height: auto;
  min-height: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px;
}

.reviews-hero-grid > .reviews-panel h2 {
  margin: 0 0 8px;
  line-height: 1.08;
}

.reviews-hero-grid > .reviews-panel .m2-muted {
  margin: 0;
  line-height: 1.45;
}

.reviews-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.reviews-stat {
  min-height: 64px;
  border: 1px solid var(--c-border, rgba(76,221,206,.16));
  border-radius: 20px;
  padding: 12px 14px;
  background:
    linear-gradient(180deg, rgba(76,221,206,.08), rgba(76,221,206,.025)),
    rgba(255,255,255,.025);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}

.reviews-stat span {
  display: block;
  font-size: 13px;
  color: var(--c-text-2, #9DB9B6);
  margin-bottom: 5px;
}

.reviews-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  color: var(--accent, #4CDDCE);
  letter-spacing: -0.03em;
}

.reviews-form-grid {
  display: grid;
  gap: 14px;
}

.reviews-rating {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.reviews-rating label { cursor: pointer; }

.reviews-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reviews-rating span {
  color: var(--c-text) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid var(--c-border, rgba(76,221,206,.14));
  background: rgba(255,255,255,.035);
  transition: .18s ease;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .02em;
}

.reviews-rating input:checked + span,
.reviews-rating label:hover span {
  border-color: var(--accent, #4CDDCE);
  color: var(--accent, #4CDDCE);
  box-shadow: 0 0 0 3px rgba(76,221,206,.13);
}

.reviews-alert {
  color: var(--c-text, inherit);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(76,221,206,.12);
  border: 1px solid rgba(76,221,206,.28);
}

.reviews-alert.error {
  background: rgba(255,98,98,.12);
  border-color: rgba(255,98,98,.28);
}

.reviews-readonly {
  display: grid;
  gap: 12px;
}

.reviews-own-box {
  border: 1px solid rgba(76,221,206,.24);
  border-radius: 22px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(76,221,206,.10), rgba(76,221,206,.035)),
    rgba(255,255,255,.025);
}

.reviews-bonus-note {
  font-size: 13px;
  line-height: 1.45;
  color: var(--c-text-2, #9DB9B6);
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 0;
}

.review-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 108px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid var(--c-border, rgba(76,221,206,.14));
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018)),
    rgba(6,21,20,.58);
  box-shadow: 0 22px 58px rgba(0,0,0,.16);
  overflow: hidden;
}

.review-card::after {
  content: "\201C";
  position: absolute;
  right: 16px;
  bottom: -16px;
  font-size: 72px;
  line-height: 1;
  font-weight: 900;
  color: rgba(76,221,206,.11);
  pointer-events: none;
}

html[data-aurora-scheme="light"] .review-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,255,254,.78)),
    rgba(255,255,255,.82);
  box-shadow: 0 18px 46px rgba(22,80,75,.10);
}

html[data-aurora-scheme="light"] .review-card::after {
  color: rgba(8,145,136,.16);
}

.review-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.review-author-side {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #02100F;
  font-weight: 900;
  background: linear-gradient(135deg, #4CDDCE, #36CBBE);
  box-shadow: 0 12px 30px rgba(76,221,206,.22);
}

.review-author {
  font-weight: 800;
  color: var(--c-text, inherit);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
}

.review-date {
  margin-top: 1px;
  color: var(--c-text-2, #9DB9B6);
  font-size: 12px;
}

.review-stars {
  color: #F6C65B;
  text-shadow: 0 6px 20px rgba(246,198,91,.22);
  letter-spacing: 1.5px;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1;
}

.review-text {
  position: relative;
  z-index: 1;
  white-space: pre-wrap;
  line-height: 1.55;
  color: var(--c-text, inherit);
  font-size: 14px;
}

.reviews-empty { grid-column: 1 / -1; }

.reviews-panel .m2-btn,
.reviews-panel a.m2-btn {
  min-height: 44px;
  min-width: 132px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.reviews-pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .reviews-hero-grid,
  .reviews-list { grid-template-columns: 1fr; }
  .reviews-hero-grid > .reviews-panel { height: auto; }
}

@media (max-width: 620px) {
  .reviews-stats { grid-template-columns: 1fr; }
  .reviews-rating { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .reviews-rating span { min-height: 40px; font-size: 13px; }
}

/* ============================================================
   Router VPN page
   ============================================================ */

.au-router-page { display: grid; gap: 18px; }
.au-router-notice {
  padding: 16px 18px; border: 1px solid rgba(76, 221, 206, .25); border-radius: 20px;
  background: rgba(76, 221, 206, .10); color: var(--m2-text, var(--c-text, #102321));
}
.au-router-notice.is-error { border-color: rgba(255, 100, 100, .35); background: rgba(255, 100, 100, .08); }
.au-router-notice.is-success { border-color: rgba(76, 221, 206, .42); background: rgba(76, 221, 206, .16); }

.au-router-card {
  border: 1px solid rgba(76, 221, 206, .25);
  border-radius: 28px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 24px 80px rgba(20, 93, 86, .08);
}
.au-router-card--pad { padding: 28px; }
.au-router-card--hero {
  position: relative; overflow: hidden;
  padding: 28px; display: grid; gap: 22px;
}
.au-router-card--hero::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px;
  border-radius: 50%; background: radial-gradient(circle, rgba(76, 221, 206, .28), transparent 68%);
  pointer-events: none;
}
.au-router-badge {
  width: fit-content; padding: 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 900; background: rgba(76, 221, 206, .16);
  border: 1px solid rgba(76, 221, 206, .36); color: #24534e;
}
.au-router-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.au-router-head h1, .au-router-head h2, .au-router-title { margin: 0; }
.au-router-lead { max-width: 860px; }
.au-router-lead h2 { margin: 0 0 12px; font-size: clamp(30px, 3vw, 44px); line-height: 1.06; }
.au-router-lead p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--m2-muted, var(--c-text-2, #42635f)); }

.au-router-feature-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.au-router-feature {
  position: relative; z-index: 1; min-height: 122px; padding: 18px 18px 16px;
  border: 1px solid rgba(30, 75, 71, .13); border-radius: 22px; background: rgba(255, 255, 255, .62);
}
.au-router-feature strong { display: block; margin-bottom: 8px; font-size: 18px; color: var(--m2-text, var(--c-text, #102321)); }
.au-router-feature span { display: block; color: var(--m2-muted, var(--c-text-2, #42635f)); line-height: 1.55; }

.au-router-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; position: relative; z-index: 1; }
.au-router-actions form { margin: 0; }

.au-router-grid {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr); gap: 18px; align-items: start;
}
.au-router-label {
  display: block; margin-bottom: 7px; text-transform: uppercase; letter-spacing: .08em;
  font-size: 12px; font-weight: 900; color: rgba(39, 78, 74, .78);
}
.au-router-status {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(76, 221, 206, .45); background: rgba(76, 221, 206, .12);
  font-weight: 800; font-size: 13px; color: #25544f; white-space: nowrap;
}
.au-router-status.is-bad { border-color: rgba(255, 90, 90, .35); background: rgba(255, 90, 90, .1); color: #8d2b2b; }
.au-router-status.is-muted { border-color: rgba(120, 140, 138, .28); background: rgba(120, 140, 138, .08); color: #52615f; }

.au-router-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.au-router-meta {
  min-height: 92px; padding: 16px 18px; border: 1px solid rgba(30, 75, 71, .13);
  border-radius: 20px; background: rgba(255, 255, 255, .68);
}
.au-router-meta strong { display: block; font-size: 24px; line-height: 1.15; color: var(--m2-text, var(--c-text, #102321)); }
.au-router-meta small { display: block; margin-top: 4px; color: var(--m2-muted, var(--c-text-2, #42635f)); font-size: 14px; line-height: 1.45; }

.au-router-side-title { margin: 0 0 14px; }
.au-router-tabs {
  display: flex; gap: 8px; padding: 6px; border: 1px solid rgba(76, 221, 206, .25);
  border-radius: 18px; background: rgba(76, 221, 206, .08); margin-bottom: 18px;
}
.au-router-tab-btn {
  flex: 1; border: 0; border-radius: 14px; padding: 12px 14px; cursor: pointer;
  font-weight: 900; background: transparent; color: #2c5b56;
}
.au-router-tab-btn.is-active {
  background: linear-gradient(135deg, #4cddce, #2fcdbc); color: #082522;
  box-shadow: 0 14px 34px rgba(76, 221, 206, .28);
}
.au-router-protocol { display: none; }
.au-router-protocol.is-active { display: block; }
.au-router-protocol h3 { margin: 0 0 10px; font-size: 34px; line-height: 1.06; }
.au-router-protocol p { margin: 0; color: var(--m2-muted, var(--c-text-2, #42635f)); line-height: 1.55; }
.au-router-downloads { display: grid; gap: 12px; margin-top: 18px; }
.au-router-downloads .m2-btn { width: 100%; justify-content: center; }

.au-router-section-title { margin: 0 0 16px; font-size: 42px; line-height: 1.05; }
.au-router-section-subtitle { margin: 0 0 20px; color: var(--m2-muted, var(--c-text-2, #42635f)); }

.au-router-tariffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.au-router-tariff {
  padding: 22px; display: grid; gap: 14px;
  border: 1px solid rgba(76, 221, 206, .22); border-radius: 24px; background: rgba(255, 255, 255, .66);
}
.au-router-tariff h3 { margin: 0; font-size: 28px; line-height: 1.08; }
.au-router-tariff-top { display: grid; gap: 8px; }
.au-router-price { font-size: 40px; line-height: 1; font-weight: 1000; color: var(--m2-text, var(--c-text, #102321)); }
.au-router-duration { color: var(--m2-muted, var(--c-text-2, #42635f)); }
.au-router-tariff-points { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--m2-muted, var(--c-text-2, #42635f)); }
.au-router-tariff-points li { position: relative; padding-left: 16px; }
.au-router-tariff-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .75; }

.au-router-history th, .au-router-history td { text-align: left; }

.au-router-compat-modal[hidden] { display: none; }
.au-router-compat-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 18px; }
.au-router-compat-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .48); backdrop-filter: blur(8px); }
.au-router-compat-dialog {
  position: relative; width: min(560px, 100%); border-radius: 24px; border: 1px solid rgba(76, 221, 206, .28);
  background: rgba(255, 255, 255, .96); color: var(--m2-text, #102321); box-shadow: 0 30px 100px rgba(0, 0, 0, .28); padding: 24px;
}
.au-router-compat-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(76, 221, 206, .25); background: rgba(76, 221, 206, .08); cursor: pointer;
  font-size: 22px; line-height: 1; color: inherit;
}
.au-router-compat-grid { display: grid; gap: 10px; margin-top: 14px; }
.au-router-compat-item {
  padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(30, 75, 71, .13); background: rgba(76, 221, 206, .08);
}

html[data-aurora-scheme="dark"] .au-router-card,
html[data-aurora-scheme="dark"] .au-router-compat-dialog,
html[data-aurora-scheme="dark"] .au-router-tariff {
  background: rgba(6, 21, 20, .88); border-color: rgba(76, 221, 206, .18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .04);
  color: var(--c-text, #eafdfc);
}
html[data-aurora-scheme="dark"] .au-router-meta,
html[data-aurora-scheme="dark"] .au-router-feature,
html[data-aurora-scheme="dark"] .au-router-compat-item {
  background: rgba(13, 41, 38, .72); border-color: rgba(76, 221, 206, .14);
}
html[data-aurora-scheme="dark"] .au-router-label { color: rgba(157, 185, 182, .92); }
html[data-aurora-scheme="dark"] .au-router-meta strong,
html[data-aurora-scheme="dark"] .au-router-feature strong,
html[data-aurora-scheme="dark"] .au-router-price,
html[data-aurora-scheme="dark"] .au-router-protocol h3,
html[data-aurora-scheme="dark"] .au-router-title,
html[data-aurora-scheme="dark"] .au-router-lead h2,
html[data-aurora-scheme="dark"] .au-router-section-title { color: var(--c-text, #eafdfc); }
html[data-aurora-scheme="dark"] .au-router-lead p,
html[data-aurora-scheme="dark"] .au-router-feature span,
html[data-aurora-scheme="dark"] .au-router-protocol p,
html[data-aurora-scheme="dark"] .au-router-duration,
html[data-aurora-scheme="dark"] .au-router-meta small,
html[data-aurora-scheme="dark"] .au-router-section-subtitle { color: var(--c-text-2, #9db9b6); }
html[data-aurora-scheme="dark"] .au-router-status,
html[data-aurora-scheme="dark"] .au-router-badge { color: #7cebe0; background: rgba(76, 221, 206, .12); border-color: rgba(76, 221, 206, .28); }
html[data-aurora-scheme="dark"] .au-router-status.is-bad { color: #ff9c9c; background: rgba(255, 90, 90, .12); border-color: rgba(255, 90, 90, .26); }
html[data-aurora-scheme="dark"] .au-router-status.is-muted { color: var(--c-text-2, #9db9b6); background: rgba(157, 185, 182, .08); border-color: rgba(157, 185, 182, .18); }
html[data-aurora-scheme="dark"] .au-router-tab-btn { color: var(--c-text-2, #9db9b6); }
html[data-aurora-scheme="dark"] .au-router-notice { color: var(--c-text, #eafdfc); }
html[data-aurora-scheme="dark"] .au-router-compat-close { color: var(--c-text, #eafdfc); background: rgba(76, 221, 206, .08); }

@media (max-width: 1080px) {
  .au-router-grid { grid-template-columns: 1fr; }
  .au-router-lead h2, .au-router-section-title, .au-router-protocol h3 { font-size: 32px; }
}
@media (max-width: 820px) {
  .au-router-feature-grid, .au-router-meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .au-router-card--pad, .au-router-card--hero { padding: 20px; }
  .au-router-head { flex-direction: column; }
  .au-router-actions .m2-btn,
  .au-router-actions form,
  .au-router-actions form .m2-btn { width: 100%; justify-content: center; }
  .au-router-lead h2, .au-router-section-title, .au-router-protocol h3, .au-router-tariff h3 { font-size: 28px; }
  .au-router-price { font-size: 34px; }
}

/* ============================================================
   WC Identity modal (Telegram / email prompt)
   ============================================================ */

.wc-identity-modal[hidden] { display: none !important; }
.wc-identity-modal { position: fixed; inset: 0; z-index: 12000; display: grid; place-items: center; padding: 18px; }
.wc-identity-modal__backdrop { position: absolute; inset: 0; background: rgba(5,18,17,.52); backdrop-filter: blur(10px); }
.wc-identity-modal__dialog {
  position: relative; width: min(500px, 100%); border: 1px solid rgba(76,221,206,.22); border-radius: 22px;
  background: rgba(255,255,255,.97); box-shadow: 0 32px 90px rgba(7,37,34,.22), 0 0 0 1px rgba(76,221,206,.06); padding: 32px;
  color: var(--m2-text, var(--c-text, #102321));
}
.wc-identity-modal__close {
  position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border-radius: 10px;
  border: 1px solid rgba(76,221,206,.18); background: rgba(76,221,206,.06); color: inherit; cursor: pointer;
  font-size: 17px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.wc-identity-modal__icon {
  display: none !important;
}
.wc-identity-modal__dialog h2 { margin: 0 42px 12px 0; font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--m2-text, var(--c-text, #102321)); }
.wc-identity-modal__dialog p { margin: 0; color: var(--m2-muted, var(--c-text-2, #42635f)); font-size: 16px; line-height: 1.58; }
.wc-identity-modal__points { display: grid; gap: 6px; margin: 16px 0 0; padding: 14px 16px 14px 38px; list-style: none; background: rgba(76,221,206,.04); border: 1px solid rgba(76,221,206,.10); border-radius: 12px; }
.wc-identity-modal__points li { position: relative; padding-left: 0; color: var(--m2-muted, var(--c-text-2, #42635f)); font-size: 13.5px; line-height: 1.5; }
.wc-identity-modal__points li::before {
  content: ""; position: absolute; left: -22px; top: .55em; width: 6px; height: 6px;
  border-radius: 50%; background: #4cddce; box-shadow: 0 0 0 3px rgba(76,221,206,.10);
}
.wc-identity-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.wc-identity-modal__actions .m2-btn { justify-content: center; }

html[data-aurora-scheme="dark"] .wc-identity-modal__dialog {
  background: linear-gradient(155deg, rgba(9,28,26,.98) 0%, rgba(5,16,15,.99) 100%); border-color: rgba(76,221,206,.16);
  box-shadow: 0 40px 100px rgba(0,0,0,.60), 0 0 0 1px rgba(76,221,206,.05), inset 0 1px 0 rgba(76,221,206,.06);
  color: var(--c-text, #eafdfc);
}
html[data-aurora-scheme="dark"] .wc-identity-modal__dialog h2 { color: var(--c-text, #eafdfc); }
html[data-aurora-scheme="dark"] .wc-identity-modal__dialog p,
html[data-aurora-scheme="dark"] .wc-identity-modal__points li { color: var(--c-text-2, #9db9b6); }
html[data-aurora-scheme="dark"] .wc-identity-modal__close {
  border-color: rgba(76,221,206,.14); background: rgba(76,221,206,.06); color: rgba(76,221,206,.70);
}
html[data-aurora-scheme="dark"] .wc-identity-modal__close:hover {
  background: rgba(76,221,206,.12); border-color: rgba(76,221,206,.26); color: #4cddce;
}

@media (max-width: 620px) {
  .wc-identity-modal { padding: 14px; }
  .wc-identity-modal__dialog { padding: 22px; border-radius: 24px; }
  .wc-identity-modal__dialog h2 { font-size: 26px; }
  .wc-identity-modal__actions .m2-btn,
  .wc-identity-modal__actions a { width: 100%; }
}

/* ========== Reviews page (aurora template) ========== */
html .aurora-body .reviews-page-shell {
  display: grid !important;
  flex-direction: unset !important;
  gap: var(--au-page-gap) !important;
  align-items: start !important;
  align-content: start !important;
  padding: 0 !important;
  width: 100% !important;
}

.aurora-body .au-reviews-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--au-page-gap);
  align-items: stretch;
  width: 100%;
}

/* Fix 2: right card becomes a flex column so its CTA sits at the bottom and
   both cards match height. Scoped to direct children so the review form
   (submit button, hints) inside the authenticated branch is untouched. */
.aurora-body .au-reviews-top-grid .au-card:last-child {
  display: flex;
  flex-direction: column;
}

.aurora-body .au-reviews-top-grid .au-card:last-child > .m2-muted {
  margin-top: 8px;
  line-height: 1.55;
}

.aurora-body .au-reviews-top-grid .au-card:last-child > .m2-btn {
  margin-top: auto;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 22px;
}

.aurora-body .au-reviews-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

/* Fix 1: flatten the stat blocks so they stop reading as cards-in-a-card.
   The dark context selector (0,3,0) beats the global .au-detail-item card
   rule (0,2,0); the light override below needs (0,4,1) to beat the light
   global .au-detail-item (0,3,1). */
.aurora-body .au-reviews-stat-grid .au-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: none !important;
  background: rgba(76, 221, 206, .07) !important;
  box-shadow: none !important;
  border-radius: var(--au-radius-sm) !important;
  padding: 14px 16px !important;
}

html[data-aurora-scheme="light"] .aurora-body .au-reviews-stat-grid .au-detail-item {
  border: none !important;
  background: rgba(76, 221, 206, .08) !important;
  box-shadow: none !important;
}

.aurora-body .au-reviews-stat-grid .au-detail-item span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 850;
  color: var(--c-text-3);
}

.aurora-body .au-reviews-stat-grid .au-detail-item strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.1;
}

.aurora-body .au-reviews-own-box {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--au-radius-md);
  border: 1px solid rgba(76, 221, 206, .14);
  background: rgba(2, 12, 11, .52);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html[data-aurora-scheme="light"] .aurora-body .au-reviews-own-box {
  background: rgba(255, 255, 255, .76);
  border-color: rgba(8, 83, 76, .14);
}

.aurora-body .au-reviews-stars {
  color: #F6C65B !important;
  font-size: 16px;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(246, 198, 91, .25);
}

.aurora-body .au-reviews-text {
  color: var(--c-text-2);
  font-size: 14px;
  line-height: 1.55;
}

.aurora-body .au-reviews-bonus {
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-accent);
}

.aurora-body .au-reviews-form {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.aurora-body .au-reviews-rating {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.aurora-body .au-reviews-rating label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 14px;
  color: var(--c-text-2);
}

/* Fix 3: auto-fill grid adapts to the review count (no empty padded third
   column at 2 reviews; cards keep a 320px min). */
.aurora-body .au-reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--au-page-gap);
  align-items: start;
  width: 100%;
}

.aurora-body .au-review-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--au-card-pad-sm) !important;
}

.aurora-body .au-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.aurora-body .au-review-author-side {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Fix 4: stronger teal avatar with a clearly readable initial in both schemes. */
.aurora-body .au-review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(76, 221, 206, .25), rgba(76, 221, 206, .12));
  border: 1.5px solid rgba(76, 221, 206, .35);
  color: #4CDDCE !important; /* bright teal: readable on the dark card */
  font-size: 15px;
  font-weight: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

html[data-aurora-scheme="light"] .aurora-body .au-review-avatar {
  color: rgb(4, 60, 55) !important;
  background: linear-gradient(135deg, rgba(76, 221, 206, .22), rgba(76, 221, 206, .10));
  border-color: rgba(8, 83, 76, .25);
}

.aurora-body .au-review-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
}

.aurora-body .au-review-date {
  font-size: 12px;
  color: var(--c-text-3);
  margin-top: 2px;
}

.aurora-body .au-review-text {
  font-size: 14px;
  color: var(--c-text-2);
  line-height: 1.55;
}

/* Fix 3: with auto-fill the lone-item full-width stretch hack is no longer
   wanted — a single/odd card stays at its natural track width. */
.aurora-body .au-reviews-list .au-review-item:last-child:nth-child(3n+1) {
  grid-column: auto;
}

.aurora-body .au-reviews-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.aurora-body .au-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text-2);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(76, 221, 206, .12);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
}

.aurora-body .au-page-btn:hover:not(.is-disabled):not(.is-active) {
  background: rgba(76, 221, 206, .12);
  color: var(--c-accent);
  border-color: rgba(76, 221, 206, .3);
}

.aurora-body .au-page-btn.is-active {
  background: rgba(76, 221, 206, .18);
  color: var(--c-accent);
  border-color: rgba(76, 221, 206, .4);
  cursor: default;
}

.aurora-body .au-page-btn.is-disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}

.aurora-body .au-page-ellipsis {
  color: var(--c-text-3);
  font-size: 13px;
  padding: 0 4px;
  line-height: 36px;
}

html[data-aurora-scheme="light"] .aurora-body .au-page-btn {
  background: rgba(0, 0, 0, .04);
  border-color: rgba(8, 83, 76, .14);
  color: var(--c-text-2);
}

html[data-aurora-scheme="light"] .aurora-body .au-page-btn.is-active {
  background: rgba(76, 221, 206, .14);
  border-color: rgba(8, 83, 76, .3);
  color: var(--c-accent);
}

@media (max-width: 1100px) {
  .aurora-body .au-reviews-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 980px) {
  .aurora-body .au-reviews-top-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .aurora-body .au-reviews-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .aurora-body .au-reviews-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aurora-body .au-page-btn { min-width: 32px; height: 32px; padding: 0 8px; font-size: 12px; }
}

/* ========== Referral page (aurora template) ========== */
.aurora-body .au-ref-page {
  display: grid;
  gap: var(--au-page-gap);
  align-items: start;
  align-content: start;
}

.aurora-body .au-ref-hero {
  position: relative;
  overflow: hidden;
}

.aurora-body .au-ref-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -96px;
  top: -96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 221, 206, .18), transparent 68%);
  pointer-events: none;
}

.aurora-body .au-ref-lead {
  max-width: 780px;
  font-size: 15px;
  position: relative;
  z-index: 1;
  margin-top: 6px;
  line-height: 1.55;
}

/* Withdrawal amount — no number spinners, manual entry only */
.aurora-body .au-ref-page input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.aurora-body .au-ref-page input[type="number"]::-webkit-outer-spin-button,
.aurora-body .au-ref-page input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Accrual + withdrawal history — two columns, stack on narrow screens */
.aurora-body .au-ref-history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
@media (max-width: 980px) {
  .aurora-body .au-ref-history-grid { grid-template-columns: 1fr; }
}

/* UTM section — even vertical rhythm so content doesn't stick to card edges */
.aurora-body .au-ref-page .au-ref-utm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.aurora-body .au-ref-page .au-ref-utm > .au-section-head { margin-bottom: 0; }
.aurora-body .au-ref-page .au-ref-utm > .au-ref-lead { margin: 0; }
.aurora-body .au-ref-page .au-ref-utm > .au-ref-utm-create,
.aurora-body .au-ref-page .au-ref-utm > .au-ref-utm-list,
.aurora-body .au-ref-page .au-ref-utm > .au-ref-utm-limit { margin-top: 0; }

.aurora-body .au-ref-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

.aurora-body .au-ref-stat-grid .au-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aurora-body .au-ref-stat-grid .au-detail-item span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 850;
  color: var(--c-text-3);
}

.aurora-body .au-ref-stat-grid .au-detail-item strong {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.aurora-body .au-ref-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.aurora-body .au-ref-info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--au-card-pad-sm) !important;
}

.aurora-body .au-ref-info-item strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--c-text);
}

/* ---------------------------------------------------------------------------
   Referral: remove "card-in-a-card" nesting.
   .au-detail-item gets a full card look from the global rule (~line 3712:
   border + bg + radius + shadow, specificity 0,2,0) and the light scheme
   overrides its bg (line 4078, specificity 0,3,1). To win in BOTH schemes
   with a single declaration these overrides are scoped under .au-ref-page,
   giving 4 classes (0,4,0) > (0,3,1). Only affects the referral page; the
   .au-detail-item card style is untouched everywhere else.
--------------------------------------------------------------------------- */

/* 1. Hero stats — flat tinted plates, no border/shadow (Variant A). */
.aurora-body .au-ref-page .au-ref-stat-grid .au-detail-item {
  border: none !important;
  background: rgba(76, 221, 206, .07) !important;
  box-shadow: none !important;
  border-radius: var(--au-radius-sm) !important;
}

/* 2. "How it works" steps — content blocks with a left accent, no card
      wrapper (Variant B). .au-ref-info-grid in the selector keeps it at
      4 classes so it also beats the light-scheme .au-detail-item bg. */
.aurora-body .au-ref-page .au-ref-info-grid .au-ref-info-item {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border-left: 3px solid rgba(76, 221, 206, .5) !important;
  padding: 2px 0 2px 14px !important;
}

/* Light scheme: slightly tweak accents for contrast on the bright surface. */
html[data-aurora-scheme="light"] .aurora-body .au-ref-page .au-ref-stat-grid .au-detail-item {
  background: rgba(8, 83, 76, .06) !important;
}
html[data-aurora-scheme="light"] .aurora-body .au-ref-page .au-ref-info-grid .au-ref-info-item {
  border-left-color: rgba(8, 83, 76, .45) !important;
}

/* 3. Safety net: any other .au-detail-item that ends up directly inside an
      .au-card on the referral page must not render as a nested card either. */
.aurora-body .au-ref-page .au-card .au-detail-item {
  box-shadow: none !important;
}

.aurora-body .au-ref-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: var(--au-page-gap);
  align-items: start;
}

.aurora-body .au-ref-form-grid {
  display: grid;
  gap: 14px;
}

.aurora-body .au-ref-payout-fields {
  display: grid;
  gap: 10px;
}

.aurora-body .au-ref-payout-fields[hidden] { display: none !important; }

.aurora-body .au-ref-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.aurora-body .au-ref-method {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid rgba(76, 221, 206, .14);
  border-radius: var(--au-radius-sm);
  background: rgba(2, 12, 11, .52);
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  color: var(--c-text);
  transition: border-color .16s, background .16s, transform .12s;
}

.aurora-body .au-ref-method:hover {
  border-color: rgba(76, 221, 206, .34);
  background: rgba(76, 221, 206, .07);
  transform: translateY(-1px);
}

.aurora-body .au-ref-method input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--c-accent);
  flex: 0 0 auto;
}

/* Fix 1 + 2: force a real radio appearance and a hardcoded teal accent.
   style.css forces appearance:checkbox (square) and a blue accent-color, and
   --c-accent is a build-time PostCSS var that never lands as a runtime custom
   property, so it resolves to undefined -> system blue. Hardcode the teal. */
.aurora-body .au-ref-method input[type="radio"] {
  appearance: radio !important;
  -webkit-appearance: radio !important;
  accent-color: #4CDDCE !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 auto;
  margin: 0;
  cursor: pointer;
  /* Fix 4 (scoped): strip the global input:focus border/shadow off the radio. */
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

.aurora-body .au-ref-method input[type="radio"]:focus,
.aurora-body .au-ref-method input[type="radio"]:focus-visible {
  box-shadow: none !important;
  border-color: transparent !important;
  outline: none !important;
}

/* Fix 3: highlight the whole card when its radio is selected. */
.aurora-body .au-ref-method:has(input:checked) {
  border-color: rgba(76, 221, 206, .55) !important;
  background: rgba(76, 221, 206, .10) !important;
  box-shadow: inset 0 0 0 1px rgba(76, 221, 206, .25);
}

html[data-aurora-scheme="light"] .aurora-body .au-ref-method {
  background: rgba(255, 255, 255, .76);
  border-color: rgba(8, 83, 76, .14);
  color: #061D1A;
}

html[data-aurora-scheme="light"] .aurora-body .au-ref-method:hover {
  background: rgba(76, 221, 206, .10);
  border-color: rgba(76, 221, 206, .34);
}

html[data-aurora-scheme="light"] .aurora-body .au-ref-method:has(input:checked) {
  border-color: rgba(8, 83, 76, .45) !important;
  background: rgba(76, 221, 206, .12) !important;
  box-shadow: inset 0 0 0 1px rgba(8, 83, 76, .15);
}

.aurora-body .au-ref-current-method {
  padding: 14px 16px;
  border: 1px solid rgba(76, 221, 206, .18);
  border-radius: var(--au-radius-sm);
  background: rgba(76, 221, 206, .07);
  margin-bottom: 4px;
}

.aurora-body .au-ref-current-method strong {
  display: block;
  margin-top: 4px;
  color: var(--c-text);
  font-size: 15px;
}

html[data-aurora-scheme="light"] .aurora-body .au-ref-current-method {
  background: rgba(76, 221, 206, .09);
  border-color: rgba(8, 83, 76, .15);
}

.aurora-body .au-ref-table-wrap {
  overflow: auto;
  border: 1px solid rgba(76, 221, 206, .14);
  border-radius: var(--au-radius-md);
  background: rgba(2, 12, 11, .25);
}

html[data-aurora-scheme="light"] .aurora-body .au-ref-table-wrap {
  background: rgba(255, 255, 255, .35);
  border-color: rgba(8, 83, 76, .10);
}

.aurora-body .au-ref-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.aurora-body .au-ref-table th,
.aurora-body .au-ref-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(76, 221, 206, .10);
  text-align: left;
  vertical-align: top;
}

.aurora-body .au-ref-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 900;
  color: var(--c-text-3);
  background: rgba(76, 221, 206, .06);
}

html[data-aurora-scheme="light"] .aurora-body .au-ref-table th {
  background: rgba(76, 221, 206, .08);
  color: rgba(39, 78, 74, .76);
  border-bottom-color: rgba(8, 83, 76, .10);
}

.aurora-body .au-ref-table td {
  color: var(--c-text-2);
  font-size: 14px;
}

html[data-aurora-scheme="light"] .aurora-body .au-ref-table td {
  color: #2a4a46;
  border-bottom-color: rgba(8, 83, 76, .08);
}

.aurora-body .au-ref-table tr:last-child td { border-bottom: 0; }

.aurora-body .au-ref-empty {
  padding: 22px;
  border: 1px dashed rgba(76, 221, 206, .22);
  border-radius: var(--au-radius-md);
  background: rgba(76, 221, 206, .05);
  text-align: center;
  font-size: 14px;
}

.aurora-body .au-ref-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid rgba(76, 221, 206, .26);
  background: rgba(76, 221, 206, .10);
  color: var(--c-accent);
}

.aurora-body .au-ref-chip--pending,
.aurora-body .au-ref-chip--hold,
.aurora-body .au-ref-chip--approved {
  background: rgba(255, 190, 80, .12);
  border-color: rgba(255, 190, 80, .28);
  color: #c88a10;
}

.aurora-body .au-ref-chip--rejected,
.aurora-body .au-ref-chip--cancelled,
.aurora-body .au-ref-chip--reversed {
  background: rgba(255, 90, 90, .10);
  border-color: rgba(255, 90, 90, .22);
  color: #e05050;
}

html[data-aurora-scheme="light"] .aurora-body .au-ref-chip { color: #1a7a72; }
html[data-aurora-scheme="light"] .aurora-body .au-ref-chip--pending,
html[data-aurora-scheme="light"] .aurora-body .au-ref-chip--hold,
html[data-aurora-scheme="light"] .aurora-body .au-ref-chip--approved { color: #8a5a00; }
html[data-aurora-scheme="light"] .aurora-body .au-ref-chip--rejected,
html[data-aurora-scheme="light"] .aurora-body .au-ref-chip--cancelled,
html[data-aurora-scheme="light"] .aurora-body .au-ref-chip--reversed { color: #8d2b2b; }

@media (max-width: 1080px) {
  .aurora-body .au-ref-two-col { grid-template-columns: 1fr; }
  .aurora-body .au-ref-stat-grid,
  .aurora-body .au-ref-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .aurora-body .au-ref-form-grid .m2-btn { width: 100%; justify-content: center; }
  .aurora-body .au-ref-stat-grid,
  .aurora-body .au-ref-info-grid,
  .aurora-body .au-ref-method-grid { grid-template-columns: 1fr; }
  .aurora-body .au-ref-table-wrap { border: 0; background: transparent; overflow: visible; }
  .aurora-body .au-ref-table,
  .aurora-body .au-ref-table thead,
  .aurora-body .au-ref-table tbody,
  .aurora-body .au-ref-table tr,
  .aurora-body .au-ref-table td { display: block; width: 100%; min-width: 0; }
  .aurora-body .au-ref-table thead { display: none; }
  .aurora-body .au-ref-table tr {
    border: 1px solid rgba(76, 221, 206, .14);
    border-radius: var(--au-radius-sm);
    padding: 10px 12px;
    margin-bottom: 10px;
    background: rgba(2, 12, 11, .52);
  }
  .aurora-body .au-ref-table td { border: 0 !important; padding: 6px 0; overflow-wrap: anywhere; }
  .aurora-body .au-ref-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    letter-spacing: .07em;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--c-text-3);
  }
  html[data-aurora-scheme="light"] .aurora-body .au-ref-table tr {
    background: rgba(255, 255, 255, .76);
    border-color: rgba(8, 83, 76, .12);
  }
}

/* Locale switcher — fully neutral, no brand color */
.aurora-body .au-locale-current-hint { margin-bottom: 10px; font-size: 13px; }
.aurora-body .au-locale-form { margin-top: 0; }
.aurora-body .au-locale-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.aurora-body .au-locale-btn {
  padding: 5px 14px !important;
  border-radius: 7px !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  background: rgba(255,255,255,.04) !important;
  color: rgba(255,255,255,.45) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background .15s, border-color .15s, color .15s;
}
.aurora-body .au-locale-btn:hover {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.16) !important;
  color: rgba(255,255,255,.7) !important;
  transform: none !important;
  filter: none !important;
}
.aurora-body .au-locale-btn.is-active {
  background: rgba(255,255,255,.11) !important;
  border-color: rgba(255,255,255,.24) !important;
  color: rgba(255,255,255,.9) !important;
  font-weight: 500 !important;
}
html[data-aurora-scheme="light"] .aurora-body .au-locale-btn {
  border-color: rgba(0,0,0,.12) !important;
  background: rgba(0,0,0,.03) !important;
  color: #8a9a98 !important;
}
html[data-aurora-scheme="light"] .aurora-body .au-locale-btn:hover {
  background: rgba(0,0,0,.07) !important;
  border-color: rgba(0,0,0,.18) !important;
  color: #4a5a58 !important;
}
html[data-aurora-scheme="light"] .aurora-body .au-locale-btn.is-active {
  background: rgba(0,0,0,.08) !important;
  border-color: rgba(0,0,0,.22) !important;
  color: #1a2a28 !important;
  font-weight: 500 !important;
}
/* Dark scheme: mirror the muted look. Needed because the generic
   .aurora-body button[type="submit"] gradient (specificity 0,2,1) otherwise
   wins over the base .au-locale-btn (0,2,0); the scheme prefix lifts these to
   (0,3,1) so the language buttons stay quiet like in the light theme. */
html[data-aurora-scheme="dark"] .aurora-body .au-locale-btn {
  background: rgba(255,255,255,0.04) !important;
  background-image: none !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  color: rgba(255,255,255,0.62) !important;
  box-shadow: none !important;
}
html[data-aurora-scheme="dark"] .aurora-body .au-locale-btn:hover {
  background: rgba(255,255,255,0.08) !important;
  background-image: none !important;
  border-color: rgba(255,255,255,0.16) !important;
  color: rgba(255,255,255,0.7) !important;
}
html[data-aurora-scheme="dark"] .aurora-body .au-locale-btn.is-active {
  background: rgba(255,255,255,0.11) !important;
  background-image: none !important;
  border-color: rgba(255,255,255,0.24) !important;
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500 !important;
}

/* Push badge (used inside notif card) */
.aurora-body .au-push-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.aurora-body .au-push-badge--on   { background: rgba(76,221,206,.14); color: #4cddce; }
.aurora-body .au-push-badge--off  { background: rgba(255,255,255,.07); color: var(--c-text-3); }
.aurora-body .au-push-badge--blocked { background: rgba(255,90,90,.12); color: #ff7a7a; }
.aurora-body .au-push-badge--unknown { background: rgba(255,255,255,.04); color: var(--c-text-3); }
html[data-aurora-scheme="light"] .aurora-body .au-push-badge--on { background: rgba(76,221,206,.16); color: #0d7a72; }
html[data-aurora-scheme="light"] .aurora-body .au-push-badge--off { background: rgba(0,0,0,.06); color: #7a9490; }
html[data-aurora-scheme="light"] .aurora-body .au-push-badge--blocked { background: rgba(220,50,50,.1); color: #c03030; }

/* Merged notifications card — list layout */
.aurora-body .au-notif-card { padding: 0 !important; overflow: hidden; }
.aurora-body .au-notif-card__header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.aurora-body .au-notif-card__header .au-eyebrow { margin-bottom: 6px !important; }
.aurora-body .au-notif-card__header h1 {
  margin: 0 !important;
  font-size: clamp(20px, 2.1vw, 26px) !important;
  letter-spacing: -.03em !important;
  line-height: 1.08 !important;
  color: var(--c-text) !important;
}
html[data-aurora-scheme="light"] .aurora-body .au-notif-card__header {
  border-bottom-color: rgba(0,0,0,.07);
}
.aurora-body .au-notif-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.aurora-body label.au-notif-item { cursor: pointer; }
html[data-aurora-scheme="light"] .aurora-body .au-notif-item {
  border-bottom-color: rgba(0,0,0,.06);
}
.aurora-body .au-notif-item:last-of-type { border-bottom: none; }
.aurora-body .au-notif-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: var(--c-text-1);
  line-height: 1.4;
}
.aurora-body .au-push-status-detail {
  font-size: 12px;
  color: var(--c-text-3);
}
.aurora-body .au-push-status-detail:empty { display: none; }
.aurora-body .au-notif-item__ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
/* "Включить" uses m2-btn (handled by global teal gradient rule) */
.aurora-body .au-notif-push-btn-primary {
  font-size: 13px !important;
  padding: 6px 18px !important;
  min-height: 36px !important;
  white-space: nowrap;
}
.aurora-body .au-notif-push-btn {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: var(--c-text-3);
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.aurora-body .au-notif-push-btn:hover { background: rgba(255,255,255,.06); color: var(--c-text-2); }
html[data-aurora-scheme="light"] .aurora-body .au-notif-push-btn { border-color: rgba(0,0,0,.12); color: #7a9490; }
html[data-aurora-scheme="light"] .aurora-body .au-notif-push-btn:hover { background: rgba(0,0,0,.04); color: #3a5450; }
/* iOS-style toggle — input hidden, span is visual track */
.aurora-body .au-toggle-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.aurora-body .au-notif-chk {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}
.aurora-body .au-toggle-track {
  display: block;
  width: 40px;
  height: 24px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.12);
  position: relative;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.aurora-body .au-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: transform .2s, background .2s;
}
.aurora-body .au-notif-chk:checked + .au-toggle-track {
  background: rgba(76,221,206,.3);
  border-color: #4cddce;
}
.aurora-body .au-notif-chk:checked + .au-toggle-track::after {
  transform: translateX(16px);
  background: #4cddce;
}
html[data-aurora-scheme="light"] .aurora-body .au-toggle-track {
  background: rgba(0,0,0,.1);
  border-color: rgba(0,0,0,.15);
}
html[data-aurora-scheme="light"] .aurora-body .au-toggle-track::after { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
html[data-aurora-scheme="light"] .aurora-body .au-notif-chk:checked + .au-toggle-track { background: rgba(76,221,206,.5); border-color: #4cddce; }
html[data-aurora-scheme="light"] .aurora-body .au-notif-chk:checked + .au-toggle-track::after { background: #fff; }
/* Footer */
.aurora-body .au-notif-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap;
}
html[data-aurora-scheme="light"] .aurora-body .au-notif-card__footer { border-top-color: rgba(0,0,0,.07); }
.aurora-body .au-notif-save-status { font-size: 13px; margin: 0; }
.aurora-body .au-notif-save-status:empty { display: none; }

/* ================================================================
   Inline connection onboarding wizard (au-cow-*)
   Shown after trial activation or new subscription purchase.
   ================================================================ */

.au-cow-section {
  padding: clamp(24px, 2.8vw, 40px) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
}

.au-cow-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.au-cow-check {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #4CDDCE 0%, #36CBBE 100%);
  color: #02100F;
  box-shadow: 0 14px 32px rgba(76, 221, 206, .24);
}

.au-cow-header h1 {
  margin: 0 0 6px !important;
  font-size: clamp(24px, 2.2vw, 32px) !important;
  letter-spacing: -.04em !important;
  line-height: 1.06 !important;
}

.au-cow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.au-cow-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(76, 221, 206, .14);
  background: rgba(255, 255, 255, .025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

html[data-aurora-scheme="light"] .au-cow-step {
  background: rgba(255, 255, 255, .74);
  border-color: rgba(8, 83, 76, .12);
}

.au-cow-step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #4CDDCE 0%, #36CBBE 100%);
  color: #02100F;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.01em;
  box-shadow: 0 8px 20px rgba(76, 221, 206, .18);
}

.au-cow-step-body h2 {
  margin: 0 0 6px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
  line-height: 1.2 !important;
  color: var(--c-text) !important;
}

.au-cow-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.au-cow-platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 12px;
  border: 1px solid rgba(76, 221, 206, .18);
  background: rgba(76, 221, 206, .055);
  color: var(--c-text-2);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}

.au-cow-platform-btn:hover {
  border-color: rgba(76, 221, 206, .40);
  background: rgba(76, 221, 206, .10);
  color: var(--c-text);
}

.au-cow-platform-btn.is-active {
  border-color: rgba(76, 221, 206, .55);
  background: rgba(76, 221, 206, .16);
  color: var(--c-text);
  box-shadow: 0 0 0 1px rgba(76, 221, 206, .32);
}

html[data-aurora-scheme="light"] .au-cow-platform-btn {
  background: rgba(76, 221, 206, .06);
  border-color: rgba(8, 83, 76, .14);
  color: #244B46;
}

html[data-aurora-scheme="light"] .au-cow-platform-btn:hover {
  background: rgba(76, 221, 206, .14);
  border-color: rgba(8, 145, 136, .30);
  color: #031714;
}

html[data-aurora-scheme="light"] .au-cow-platform-btn.is-active {
  background: rgba(76, 221, 206, .18);
  border-color: rgba(8, 145, 136, .45);
  color: #031714;
  box-shadow: 0 0 0 1px rgba(8, 145, 136, .22);
}

.au-cow-downloads {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
}

.au-cow-download-link {
  display: block;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(76, 221, 206, .20);
  background: rgba(76, 221, 206, .065);
  color: var(--c-text-2) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: center;
  transition: border-color .15s, background .15s, color .15s;
}

.au-cow-download-link:hover {
  background: rgba(76, 221, 206, .13);
  border-color: rgba(76, 221, 206, .42);
  color: var(--c-text) !important;
}

html[data-aurora-scheme="light"] .au-cow-download-link {
  background: rgba(76, 221, 206, .07);
  border-color: rgba(8, 83, 76, .14);
  color: #244B46 !important;
}

html[data-aurora-scheme="light"] .au-cow-download-link:hover {
  background: rgba(76, 221, 206, .14);
  border-color: rgba(8, 145, 136, .32);
  color: #031714 !important;
}

.au-cow-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.au-cow-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid rgba(76, 221, 206, .10);
}

html[data-aurora-scheme="light"] .au-cow-footer {
  border-top-color: rgba(8, 83, 76, .08);
}

/* Waiting / creating state */
.au-cow-waiting {
  flex-direction: row !important;
  align-items: center !important;
  gap: 22px !important;
}

.au-cow-spinner {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 3px solid rgba(76, 221, 206, .20);
  border-top-color: #4CDDCE;
  border-radius: 50%;
  animation: au-cow-spin 0.9s linear infinite;
}

@keyframes au-cow-spin {
  to { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 900px) {
  .au-cow-steps {
    grid-template-columns: 1fr;
  }
  .au-cow-header {
    gap: 14px;
  }
  .au-cow-waiting {
    flex-direction: column !important;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .au-cow-section {
    padding: 20px !important;
    gap: 20px !important;
  }
  .au-cow-step {
    padding: 16px;
  }
  .au-cow-footer {
    justify-content: stretch;
  }
  .au-cow-footer .m2-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   Inline connection wizard inside subscription card (au-cw-*)
   Always visible in the right column of the subscription grid.
   ================================================================ */

.au-cw-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.au-cw-card h2 {
  margin: 0 0 18px !important;
}

.au-cw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.au-cw-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(76, 221, 206, .09);
}

.au-cw-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

html[data-aurora-scheme="light"] .au-cw-step {
  border-bottom-color: rgba(8, 83, 76, .08);
}

.au-cw-num {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #4CDDCE 0%, #36CBBE 100%);
  color: #02100F;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(76, 221, 206, .20);
}

.au-cw-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.au-cw-body > strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.3;
}

.au-cw-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.au-cw-platform-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 10px;
  border: 1px solid rgba(76, 221, 206, .18);
  background: rgba(76, 221, 206, .055);
  color: var(--c-text-2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}

.au-cw-platform-btn:hover {
  border-color: rgba(76, 221, 206, .40);
  background: rgba(76, 221, 206, .10);
  color: var(--c-text);
}

.au-cw-platform-btn.is-active {
  border-color: rgba(76, 221, 206, .55);
  background: rgba(76, 221, 206, .16);
  color: var(--c-text);
  box-shadow: 0 0 0 1px rgba(76, 221, 206, .30);
}

html[data-aurora-scheme="light"] .au-cw-platform-btn {
  background: rgba(76, 221, 206, .06);
  border-color: rgba(8, 83, 76, .14);
  color: #244B46;
}

html[data-aurora-scheme="light"] .au-cw-platform-btn:hover {
  background: rgba(76, 221, 206, .14);
  border-color: rgba(8, 145, 136, .30);
  color: #031714;
}

html[data-aurora-scheme="light"] .au-cw-platform-btn.is-active {
  background: rgba(76, 221, 206, .18);
  border-color: rgba(8, 145, 136, .45);
  color: #031714;
  box-shadow: 0 0 0 1px rgba(8, 145, 136, .22);
}

.au-cw-downloads {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.au-cw-download-link {
  display: block;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(76, 221, 206, .20);
  background: rgba(76, 221, 206, .065);
  color: var(--c-text-2) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: center;
  transition: border-color .15s, background .15s, color .15s;
}

.au-cw-download-link:hover {
  background: rgba(76, 221, 206, .13);
  border-color: rgba(76, 221, 206, .42);
  color: var(--c-text) !important;
}

html[data-aurora-scheme="light"] .au-cw-download-link {
  background: rgba(76, 221, 206, .07);
  border-color: rgba(8, 83, 76, .14);
  color: #244B46 !important;
}

html[data-aurora-scheme="light"] .au-cw-download-link:hover {
  background: rgba(76, 221, 206, .14);
  border-color: rgba(8, 145, 136, .32);
  color: #031714 !important;
}

.au-cw-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.au-cw-actions .m2-btn {
  width: 100%;
  justify-content: center;
  font-size: 13px;
}

/* Highlight after new subscription / purchase */
@keyframes au-cw-highlight {
  0%   { box-shadow: 0 0 0 0 rgba(76, 221, 206, .45), var(--au-card-shadow, none); }
  40%  { box-shadow: 0 0 0 6px rgba(76, 221, 206, .18), var(--au-card-shadow, none); }
  100% { box-shadow: 0 0 0 0 rgba(76, 221, 206, 0), var(--au-card-shadow, none); }
}

.au-cw-card--highlight {
  animation: au-cw-highlight 1.4s ease-out forwards;
}

/* ================================================================
   NEW APP-LIKE DESIGN — Subscription hero, stats, tariff list,
   dashboard quick actions, download apps
   ================================================================ */

/* ── Greeting ── */
.au-dash-greeting {
  margin-bottom: 16px;
}
.au-dash-greeting h1 {
  margin: 0 !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  letter-spacing: -.04em !important;
}
.au-dash-greeting .au-eyebrow { margin-bottom: 4px !important; }

/* ── Status badge (shared) ── */
.au-sub-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(76, 221, 206, .14);
  color: #4CDDCE;
  border: 1px solid rgba(76, 221, 206, .28);
  margin-bottom: 12px;
}
.au-sub-status-badge.is-expired { background: rgba(255,80,80,.12); color: #FF6B6B; border-color: rgba(255,80,80,.28); }
.au-sub-status-badge.is-warning { background: rgba(255,180,0,.12); color: #FFB400; border-color: rgba(255,180,0,.28); }
.au-sub-status-badge.is-inactive { background: rgba(255,255,255,.07); color: var(--c-text-2); border-color: rgba(255,255,255,.10); }
html[data-aurora-scheme="light"] .au-sub-status-badge { background: rgba(76,221,206,.10); border-color: rgba(8,145,136,.28); }
html[data-aurora-scheme="light"] .au-sub-status-badge.is-inactive { background: rgba(0,0,0,.05); color: #666; border-color: rgba(0,0,0,.12); }

/* ── Dashboard hero card ── */
.au-dash-hero {
  position: relative;
  border-radius: 24px;
  padding: clamp(20px, 2.8vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  margin-bottom: 14px;
}
.au-dash-hero--active {
  background: linear-gradient(135deg, rgba(76,221,206,.18) 0%, rgba(76,221,206,.06) 60%, rgba(76,221,206,.02) 100%);
  border: 1px solid rgba(76,221,206,.28);
}
.au-dash-hero--empty {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.09);
}
html[data-aurora-scheme="light"] .au-dash-hero--active {
  background: linear-gradient(135deg, rgba(76,221,206,.12) 0%, rgba(76,221,206,.04) 100%);
  border-color: rgba(8,145,136,.25);
}
html[data-aurora-scheme="light"] .au-dash-hero--empty {
  background: rgba(255,255,255,.7);
  border-color: rgba(0,0,0,.08);
}
.au-dash-hero-body { flex: 1; min-width: 0; }
.au-dash-hero-title {
  margin: 0 0 6px !important;
  font-size: clamp(24px, 2.6vw, 36px) !important;
  letter-spacing: -.04em !important;
  line-height: 1.05 !important;
}
.au-dash-hero-sub { margin: 0 0 16px; font-size: 14px; color: var(--c-text-2); }
.au-dash-hero-icon { flex-shrink: 0; opacity: .9; }
@media (max-width: 500px) { .au-dash-hero-icon { display: none; } }

.au-dash-hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4CDDCE 0%, #36CBBE 100%);
  color: #02100F !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: opacity .15s, transform .12s;
  box-shadow: 0 8px 22px rgba(76,221,206,.28);
}
.au-dash-hero-cta:hover { opacity: .88; transform: translateY(-1px); }
.au-dash-hero-cta--ghost {
  background: rgba(255,255,255,.08);
  color: var(--c-text) !important;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,.14);
}
html[data-aurora-scheme="light"] .au-dash-hero-cta--ghost {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.12);
  color: #244B46 !important;
}

/* ── Quick actions grid ── */
.au-dash-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
@media (max-width: 700px) { .au-dash-quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 360px) { .au-dash-quick-grid { grid-template-columns: repeat(2, 1fr); } }

.au-dash-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(76,221,206,.10);
  color: var(--c-text) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .12s;
  line-height: 1.2;
}
.au-dash-quick-btn:hover { background: rgba(76,221,206,.09); border-color: rgba(76,221,206,.28); transform: translateY(-2px); }
html[data-aurora-scheme="light"] .au-dash-quick-btn { background: rgba(255,255,255,.8); border-color: rgba(8,83,76,.12); color: #244B46 !important; }
html[data-aurora-scheme="light"] .au-dash-quick-btn:hover { background: rgba(76,221,206,.10); border-color: rgba(8,145,136,.30); color: #031714 !important; }

.au-dash-quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76,221,206,.12);
  color: #4CDDCE;
  flex-shrink: 0;
}
html[data-aurora-scheme="light"] .au-dash-quick-icon { background: rgba(76,221,206,.12); }

/* ── Download apps card ── */
.au-dash-apps-card {
  border-radius: 20px;
  padding: 18px 20px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(76,221,206,.10);
}
html[data-aurora-scheme="light"] .au-dash-apps-card { background: rgba(255,255,255,.75); border-color: rgba(8,83,76,.10); }
.au-dash-apps-title { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--c-text-2); }
.au-dash-apps-row { display: flex; gap: 8px; }
@media (max-width: 500px) { .au-dash-apps-row { justify-content: space-between; } }
.au-dash-app-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  text-decoration: none !important;
  color: var(--c-text-2) !important;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  transition: color .15s;
}
.au-dash-app-link:hover { color: var(--c-text) !important; }
.au-dash-app-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76,221,206,.10);
  color: #4CDDCE;
  transition: background .15s;
}
.au-dash-app-link:hover .au-dash-app-icon { background: rgba(76,221,206,.18); }
html[data-aurora-scheme="light"] .au-dash-app-icon { background: rgba(76,221,206,.10); }

/* ── Subscription hero card (keys page) ── */
.au-sub-hero {
  position: relative;
  border-radius: 24px;
  padding: clamp(20px, 2.8vw, 32px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(76,221,206,.18) 0%, rgba(76,221,206,.06) 60%, rgba(76,221,206,.02) 100%);
  border: 1px solid rgba(76,221,206,.28);
  margin-bottom: 14px;
}
.au-sub-hero.is-expired {
  background: linear-gradient(135deg, rgba(255,80,80,.10) 0%, rgba(255,80,80,.03) 100%);
  border-color: rgba(255,80,80,.22);
}
.au-sub-hero.is-expiring {
  background: linear-gradient(135deg, rgba(255,180,0,.10) 0%, rgba(255,180,0,.03) 100%);
  border-color: rgba(255,180,0,.22);
}
html[data-aurora-scheme="light"] .au-sub-hero {
  background: linear-gradient(135deg, rgba(76,221,206,.12) 0%, rgba(76,221,206,.04) 100%);
  border-color: rgba(8,145,136,.24);
}
.au-sub-hero-content { flex: 1; min-width: 0; }
.au-sub-tariff-name {
  margin: 0 0 6px !important;
  font-size: clamp(26px, 3vw, 40px) !important;
  letter-spacing: -.05em !important;
  line-height: 1.02 !important;
}
.au-sub-expiry { margin: 0 0 18px; font-size: 14px; color: var(--c-text-2); }
.au-sub-hero-icon { flex-shrink: 0; opacity: .85; }
@media (max-width: 500px) { .au-sub-hero-icon { display: none; } }

.au-sub-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.au-sub-hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: opacity .15s, transform .12s;
  background: linear-gradient(135deg, #4CDDCE 0%, #36CBBE 100%);
  color: #02100F;
  box-shadow: 0 6px 18px rgba(76,221,206,.26);
}
.au-sub-hero-btn:hover { opacity: .88; transform: translateY(-1px); }
.au-sub-hero-btn--ghost {
  background: rgba(255,255,255,.08);
  color: var(--c-text);
  box-shadow: none;
  border: 1px solid rgba(255,255,255,.14);
}
html[data-aurora-scheme="light"] .au-sub-hero-btn--ghost {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.12);
  color: #244B46;
}

/* ── Stats row ── */
.au-sub-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
@media (max-width: 480px) { .au-sub-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
.au-sub-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(76,221,206,.10);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
html[data-aurora-scheme="light"] .au-sub-stat { background: rgba(255,255,255,.8); border-color: rgba(8,83,76,.10); }
.au-sub-stat-value {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--c-text);
  line-height: 1.1;
}
.au-sub-stat-of { font-size: .65em; font-weight: 600; color: var(--c-text-2); }
.au-sub-stat-label { font-size: 11px; color: var(--c-text-2); font-weight: 600; line-height: 1.3; }
@media (max-width: 400px) { .au-sub-stat { padding: 12px 10px; } .au-sub-stat-value { font-size: 16px; } }

/* ── Subscription link card ── */
.au-sub-link-card {
  border-radius: 18px;
  border: 1px solid rgba(76,221,206,.12);
  background: rgba(255,255,255,.03);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
html[data-aurora-scheme="light"] .au-sub-link-card { background: rgba(255,255,255,.75); border-color: rgba(8,83,76,.10); }

/* One horizontal line: link field (flex) + grouped icon actions on the right */
.au-sub-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Link displayed as a roomy pill/input: monospace, soft teal border, ellipsis.
   Colors are softened further in the minimal layer; geometry lives here. */
.au-sub-link-field {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, .25);
  background: rgba(45, 212, 191, .07);
  color: rgba(220, 245, 240, .9);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .12s ease;
}
.au-sub-link-field:hover,
.au-sub-link-field:focus-visible {
  border-color: rgba(45, 212, 191, .5);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, .10), 0 6px 18px rgba(45, 212, 191, .12);
}
.au-sub-link-field:focus-visible { outline: none; }
/* Tactile press on the field */
.au-sub-link-field:active { transform: scale(.99); }
/* Short success flash when copying via the field (emerald-teal) */
.au-sub-link-field.is-flash {
  border-color: rgba(16, 185, 129, .55);
  background: rgba(16, 185, 129, .18);
}
html[data-aurora-scheme="light"] .au-sub-link-field {
  background: rgba(45, 212, 191, .10);
  border-color: rgba(45, 212, 191, .32);
  color: #14534c;
}

/* Action group: copy + QR kept together */
.au-sub-link-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* Same-size square icon buttons (matched to the field height), ghost teal */
.au-sub-link-btn {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, .28);
  background: rgba(45, 212, 191, .10);
  color: #5EEAD4;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .1s ease;
}
html[data-aurora-scheme="light"] .au-sub-link-btn {
  color: #1f6b63;
  background: rgba(45, 212, 191, .12);
  border-color: rgba(45, 212, 191, .34);
}
.au-sub-link-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.au-sub-link-btn:hover {
  background: rgba(45, 212, 191, .20);
  border-color: rgba(45, 212, 191, .5);
  box-shadow: 0 4px 14px rgba(45, 212, 191, .18);
}
/* Tactile press */
.au-sub-link-btn:active { transform: scale(.94); }

/* Copied success state: emerald-teal accent + checkmark swapped for the icon */
.au-sub-link-btn.is-copied {
  background: rgba(16, 185, 129, .20);
  border-color: rgba(16, 185, 129, .6);
  color: #6EE7B7;
}
html[data-aurora-scheme="light"] .au-sub-link-btn.is-copied {
  background: rgba(16, 185, 129, .14);
  border-color: rgba(16, 185, 129, .45);
  color: #0a7f5f;
}
.au-sub-link-btn.is-copied > svg { display: none; }
.au-sub-link-btn.is-copied::before {
  content: "✓";
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  animation: au-copy-check-in .26s cubic-bezier(.2, .9, .3, 1.4);
}
@keyframes au-copy-check-in {
  0%   { opacity: 0; transform: scale(.4); }
  100% { opacity: 1; transform: scale(1); }
}

/* Icon-only on desktop; text label revealed on mobile full-width layout */
.au-sub-link-btn-label { display: none; font-size: 14px; font-weight: 700; letter-spacing: .02em; }

@media (max-width: 640px) {
  .au-sub-link-row { flex-direction: column; align-items: stretch; }
  .au-sub-link-field { width: 100%; }
  .au-sub-link-actions { width: 100%; }
  .au-sub-link-btn { flex: 1 1 0; width: auto; padding: 0 14px; height: 50px; }
  .au-sub-link-btn-label { display: inline; }
}

/* ── Tariff list (buy/no subscription state) ── */
.au-sub-buy-hero {
  border-radius: 24px;
  padding: clamp(20px, 2.8vw, 32px);
  background: linear-gradient(135deg, rgba(76,221,206,.15) 0%, rgba(76,221,206,.04) 100%);
  border: 1px solid rgba(76,221,206,.24);
  margin-bottom: 14px;
}
html[data-aurora-scheme="light"] .au-sub-buy-hero { background: linear-gradient(135deg, rgba(76,221,206,.10) 0%, rgba(76,221,206,.03) 100%); border-color: rgba(8,145,136,.22); }
.au-sub-buy-hero h1 { margin: 0 0 8px !important; font-size: clamp(22px, 2.4vw, 30px) !important; letter-spacing: -.04em !important; }

.au-sub-tariff-section { margin-top: 8px; }
.au-tariff-list { display: flex; flex-direction: column; gap: 8px; }
.au-tariff-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(76,221,206,.12);
  background: rgba(255,255,255,.03);
  transition: border-color .15s, background .15s;
}
html[data-aurora-scheme="light"] .au-tariff-item { background: rgba(255,255,255,.7); border-color: rgba(8,83,76,.10); }
.au-tariff-item:hover { border-color: rgba(76,221,206,.30); background: rgba(76,221,206,.06); }
.au-tariff-item--popular {
  border-color: rgba(76,221,206,.34);
  background: rgba(76,221,206,.07);
}
html[data-aurora-scheme="light"] .au-tariff-item--popular { border-color: rgba(8,145,136,.30); background: rgba(76,221,206,.08); }
.au-tariff-item-left { flex: 1; min-width: 0; }
.au-tariff-item-name { font-size: 15px; font-weight: 800; margin-bottom: 3px; color: var(--c-text); }
.au-tariff-item-meta { font-size: 12px; color: var(--c-text-2); }
.au-tariff-item-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.au-tariff-item-price { font-size: 18px; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.au-tariff-item-price span { font-size: 13px; font-weight: 600; color: var(--c-text-2); }
.au-tariff-item-btn {
  padding: 8px 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #4CDDCE 0%, #36CBBE 100%);
  color: #02100F;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
  box-shadow: 0 4px 12px rgba(76,221,206,.22);
}
.au-tariff-item-btn:hover { opacity: .86; }

/* ── Empty subscription state ── */
.au-sub-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(32px, 4vw, 56px) 20px;
  gap: 10px;
}
.au-sub-empty-icon { opacity: .6; }
.au-sub-empty h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.au-sub-empty .m2-muted { max-width: 320px; }

/* ── Keys page: reviews preview ── */
.au-reviews-preview {
  margin-top: 8px;
}
.au-reviews-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.au-reviews-preview-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.au-reviews-preview-head a {
  font-size: 13px;
  color: #4CDDCE;
  text-decoration: none;
  white-space: nowrap;
}
.au-reviews-preview-head a:hover { text-decoration: none; }
.au-reviews-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 860px) { .au-reviews-preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .au-reviews-preview-grid { grid-template-columns: 1fr; } }
.au-review-card {
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(76,221,206,.09);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-aurora-scheme="light"] .au-review-card {
  background: rgba(255,255,255,.75);
  border-color: rgba(8,83,76,.09);
}
.au-review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.au-review-card-head strong { font-size: 14px; font-weight: 800; }
.au-review-stars { font-size: 13px; color: #FFB400; letter-spacing: 1px; }
.au-review-card-date { font-size: 11px; color: var(--c-text-3); }
.au-review-card-text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--c-text-2); }

/* ================================================================
   SETUP VPN WIZARD MODAL
   ================================================================ */

.au-setup-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 12, 11, .75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.au-setup-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
html[data-aurora-scheme="light"] .au-setup-modal {
  background: rgba(0,0,0,.45);
}

.au-setup-modal-box {
  background: var(--c-surface-2, #0d1f1d);
  border: 1px solid rgba(76,221,206,.18);
  border-radius: 28px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(76,221,206,.08);
  transform: translateY(16px) scale(.97);
  transition: transform .22s ease;
}
.au-setup-modal.is-open .au-setup-modal-box {
  transform: translateY(0) scale(1);
}
html[data-aurora-scheme="light"] .au-setup-modal-box {
  background: #f0faf8;
  border-color: rgba(8,145,136,.18);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}

/* ── Header: progress + close ── */
.au-setup-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(76,221,206,.09);
  flex-shrink: 0;
}
html[data-aurora-scheme="light"] .au-setup-modal-header {
  border-bottom-color: rgba(8,83,76,.09);
}

.au-setup-progress {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.au-setup-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.au-setup-progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.07);
  border: 2px solid rgba(76,221,206,.20);
  color: var(--c-text-2);
  font-size: 13px;
  font-weight: 800;
  transition: background .2s, border-color .2s, color .2s;
}
.au-setup-progress-step.is-active .au-setup-progress-dot {
  background: linear-gradient(135deg, #4CDDCE, #36CBBE);
  border-color: #4CDDCE;
  color: #02100F;
}
.au-setup-progress-step.is-done .au-setup-progress-dot {
  background: rgba(76,221,206,.16);
  border-color: rgba(76,221,206,.50);
  color: #4CDDCE;
}
.au-setup-progress-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--c-text-3);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.au-setup-progress-step.is-active .au-setup-progress-label { color: #4CDDCE; }
.au-setup-progress-line {
  flex: 1;
  height: 2px;
  background: rgba(76,221,206,.14);
  margin: 0 6px;
  margin-bottom: 18px;
  border-radius: 2px;
  transition: background .2s;
}

html[data-aurora-scheme="light"] .au-setup-progress-dot {
  background: rgba(0,0,0,.05);
  border-color: rgba(8,145,136,.20);
  color: #555;
}
html[data-aurora-scheme="light"] .au-setup-progress-step.is-active .au-setup-progress-dot {
  background: linear-gradient(135deg, #4CDDCE, #36CBBE);
  color: #02100F;
  border-color: #4CDDCE;
}
html[data-aurora-scheme="light"] .au-setup-progress-step.is-done .au-setup-progress-dot {
  background: rgba(76,221,206,.14);
  border-color: rgba(8,145,136,.40);
  color: #087d72;
}

.au-setup-modal-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,.07);
  color: var(--c-text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
}
.au-setup-modal-close:hover { background: rgba(255,255,255,.12); color: var(--c-text); }
html[data-aurora-scheme="light"] .au-setup-modal-close { background: rgba(0,0,0,.06); }
html[data-aurora-scheme="light"] .au-setup-modal-close:hover { background: rgba(0,0,0,.11); }

/* ── Panel body ── */
.au-setup-modal-body {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.au-setup-panel {
  padding: 28px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  /* Slide transitions */
  transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .28s ease;
  will-change: transform, opacity;
}
@media (max-width: 480px) { .au-setup-panel { padding: 22px 18px 16px; } }

/* Hidden: removed from flow */
.au-setup-panel--hidden { display: none !important; }

/* Enter from right (forward) */
.au-setup-panel--enter-right {
  transform: translateX(56px);
  opacity: 0;
}
/* Enter from left (back) */
.au-setup-panel--enter-left {
  transform: translateX(-56px);
  opacity: 0;
}
/* Animate to resting position */
.au-setup-panel--enter-active {
  transform: translateX(0);
  opacity: 1;
}
/* Exit to left (forward) */
.au-setup-panel--exit-left {
  display: flex !important;
  transform: translateX(-56px);
  opacity: 0;
  pointer-events: none;
}
/* Exit to right (back) */
.au-setup-panel--exit-right {
  display: flex !important;
  transform: translateX(56px);
  opacity: 0;
  pointer-events: none;
}

.au-setup-panel-icon { margin-bottom: 4px; opacity: .9; }

.au-setup-panel-title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: -.04em;
}

.au-setup-panel-desc {
  margin: 0;
  font-size: 14px;
  color: var(--c-text-2);
  line-height: 1.55;
  max-width: 380px;
}

/* ── Platform buttons ── */
.au-setup-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}
@media (max-width: 400px) { .au-setup-platforms { grid-template-columns: repeat(2, 1fr); } }

.au-setup-platform-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: 18px;
  border: 2px solid rgba(76,221,206,.12);
  background: rgba(255,255,255,.03);
  color: var(--c-text-2);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .12s;
}
.au-setup-platform-btn:hover {
  border-color: rgba(76,221,206,.30);
  background: rgba(76,221,206,.06);
  color: var(--c-text);
  transform: translateY(-2px);
}
.au-setup-platform-btn.is-active {
  border-color: #4CDDCE;
  background: rgba(76,221,206,.12);
  color: #4CDDCE;
}
.au-setup-platform-icon { width: 28px; height: 28px; flex-shrink: 0; }
html[data-aurora-scheme="light"] .au-setup-platform-btn { background: rgba(255,255,255,.7); border-color: rgba(8,83,76,.12); color: #444; }
html[data-aurora-scheme="light"] .au-setup-platform-btn.is-active { border-color: #089890; color: #087d72; background: rgba(76,221,206,.10); }

/* ── Download links ── */
.au-setup-downloads {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}
.au-setup-download-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(76,221,206,.18);
  background: rgba(76,221,206,.06);
  color: var(--c-text) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  transition: background .15s, border-color .15s;
}
.au-setup-download-link:hover { background: rgba(76,221,206,.12); border-color: rgba(76,221,206,.32); }
html[data-aurora-scheme="light"] .au-setup-download-link { background: rgba(76,221,206,.07); border-color: rgba(8,145,136,.18); color: #1a3d3a !important; }
html[data-aurora-scheme="light"] .au-setup-download-link:hover { background: rgba(76,221,206,.13); }

/* ── Step 3 subscription actions ── */
.au-setup-sub-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}
.au-setup-add-happ-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #4CDDCE 0%, #36CBBE 100%);
  color: #02100F;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(76,221,206,.30);
  transition: opacity .15s, transform .12s;
}
.au-setup-add-happ-btn:hover { opacity: .88; transform: translateY(-1px); }
.au-setup-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid rgba(76,221,206,.20);
  background: rgba(255,255,255,.05);
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.au-setup-copy-btn:hover { background: rgba(76,221,206,.08); border-color: rgba(76,221,206,.32); }
html[data-aurora-scheme="light"] .au-setup-copy-btn { background: rgba(255,255,255,.7); border-color: rgba(8,83,76,.18); color: #244B46; }

.au-setup-link-preview {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.18);
  font-size: 11px;
  color: var(--c-text-3);
  word-break: break-all;
  text-align: left;
  line-height: 1.4;
}
html[data-aurora-scheme="light"] .au-setup-link-preview { background: rgba(0,0,0,.05); }
.au-setup-step-hint {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--c-text-3);
}

/* ── Footer navigation ── */
.au-setup-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 22px;
  border-top: 1px solid rgba(76,221,206,.09);
  flex-shrink: 0;
  gap: 12px;
}
html[data-aurora-scheme="light"] .au-setup-modal-footer {
  border-top-color: rgba(8,83,76,.09);
}
.au-setup-btn-back,
.au-setup-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 14px;
  border: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, opacity .15s, transform .12s;
}
.au-setup-btn-back {
  background: rgba(255,255,255,.07);
  color: var(--c-text-2);
  visibility: hidden;
}
.au-setup-btn-back:hover { background: rgba(255,255,255,.12); color: var(--c-text); }
.au-setup-btn-next {
  background: linear-gradient(135deg, #4CDDCE 0%, #36CBBE 100%);
  color: #02100F;
  box-shadow: 0 6px 18px rgba(76,221,206,.25);
  margin-left: auto;
}
.au-setup-btn-next:hover { opacity: .88; transform: translateY(-1px); }
html[data-aurora-scheme="light"] .au-setup-btn-back { background: rgba(0,0,0,.06); color: #555; }
html[data-aurora-scheme="light"] .au-setup-btn-back:hover { background: rgba(0,0,0,.10); color: #333; }

@media (max-width: 480px) {
  .au-setup-modal-footer { padding: 14px 18px 18px; }
  .au-setup-btn-back, .au-setup-btn-next { padding: 10px 16px; font-size: 13px; }
}

/* ─── Renew modal ─────────────────────────────────────────── */
.au-renew-modal { max-width: 480px; width: 100%; }
.au-renew-form { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.au-renew-step { display: flex; flex-direction: column; gap: 10px; }
.au-renew-step-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .6;
}
.au-renew-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: .75;
  font-size: 12px;
}

/* Duration cards */
.au-renew-duration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}
.au-renew-duration-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 8px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.au-renew-duration-btn:hover {
  border-color: rgba(76,221,206,.4);
  background: rgba(76,221,206,.07);
}
.au-renew-duration-btn.is-active {
  border-color: #4cddce;
  background: rgba(76,221,206,.12);
}
html[data-aurora-scheme="light"] .au-renew-duration-btn {
  border-color: rgba(0,0,0,.1);
  background: rgba(0,0,0,.03);
}
html[data-aurora-scheme="light"] .au-renew-duration-btn:hover {
  border-color: rgba(76,221,206,.5);
  background: rgba(76,221,206,.08);
}
html[data-aurora-scheme="light"] .au-renew-duration-btn.is-active {
  border-color: #4cddce;
  background: rgba(76,221,206,.14);
}
.au-rdur-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1;
}
.au-rdur-price {
  font-size: 12px;
  opacity: .65;
  line-height: 1;
}
.au-renew-duration-btn.is-active .au-rdur-price { opacity: .85; }

/* Device buttons */
.au-renew-devices-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.au-renew-device-btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  min-width: 52px;
}
.au-renew-device-btn:hover {
  border-color: rgba(76,221,206,.4);
  background: rgba(76,221,206,.07);
}
.au-renew-device-btn.is-active {
  border-color: #4cddce;
  background: rgba(76,221,206,.14);
  color: #4cddce;
}
html[data-aurora-scheme="light"] .au-renew-device-btn {
  border-color: rgba(0,0,0,.1);
  background: rgba(0,0,0,.03);
}
html[data-aurora-scheme="light"] .au-renew-device-btn:hover {
  border-color: rgba(76,221,206,.45);
  background: rgba(76,221,206,.08);
}
html[data-aurora-scheme="light"] .au-renew-device-btn.is-active {
  border-color: #4cddce;
  background: rgba(76,221,206,.14);
  color: #0e9789;
}

/* Total price */
.au-renew-total {
  font-size: 17px;
  font-weight: 700;
  color: #4cddce;
  min-height: 22px;
}
html[data-aurora-scheme="light"] .au-renew-total { color: #0e9789; }

.au-renew-submit { align-self: stretch; }
.au-modal-submit { align-self: stretch; }

@media (max-width: 480px) {
  .au-renew-duration-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Unified modal component (au-modal-*) ───────────── */
.au-modal {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(2, 10, 10, .72);
}
html[data-aurora-scheme="light"] .au-modal {
  background: rgba(0, 28, 26, .45);
}
/* border + radius: au-modal-box sets what m2-card used to provide */
.au-modal-box {
  border-radius: 20px;
  padding: 0;
  border: 1px solid rgba(76,221,206,.2);
  overflow: hidden; /* clips radius; body handles scrolling */
}
/* Override aurora base overrides — same specificity, later in file wins */
.aurora-body .au-modal-box {
  box-shadow: 0 28px 72px rgba(0,0,0,.6), 0 0 0 1px rgba(76,221,206,.07) inset !important;
  background: linear-gradient(160deg, rgba(7,24,22,.98) 0%, rgba(3,14,13,.99) 100%) !important;
}
html[data-aurora-scheme="light"] .aurora-body .au-modal-box {
  border-color: rgba(8,145,136,.22);
  box-shadow: 0 20px 60px rgba(0,0,0,.14), 0 0 0 1px rgba(8,145,136,.06) inset !important;
  background: linear-gradient(160deg, rgba(240,255,253,.99) 0%, rgba(225,250,248,.99) 100%) !important;
}

/* Header */
.au-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(76,221,206,.1);
}
html[data-aurora-scheme="light"] .au-modal-header {
  border-bottom-color: rgba(8,145,136,.12);
}

/* Icon badge */
.au-modal-icon-wrap {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(76,221,206,.12);
  color: #4cddce;
  border: 1px solid rgba(76,221,206,.18);
}
html[data-aurora-scheme="light"] .au-modal-icon-wrap {
  background: rgba(76,221,206,.14);
  color: #0a8a7e;
  border-color: rgba(76,221,206,.22);
}

/* Title */
.au-modal-title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Close ×  */
.au-modal-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: none;
  cursor: pointer;
  color: var(--c-text);
  opacity: .55;
  transition: opacity .15s, background .15s;
}
.au-modal-close:hover { opacity: 1; background: rgba(255,255,255,.12); }
html[data-aurora-scheme="light"] .au-modal-close { background: rgba(0,0,0,.05); }
html[data-aurora-scheme="light"] .au-modal-close:hover { opacity: 1; background: rgba(0,0,0,.1); }

/* Body — scrollable if content exceeds viewport */
.au-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  max-height: calc(85vh - 74px); /* 74px ≈ header height */
}

/* Muted description inside modal */
.au-modal-desc {
  font-size: 14px;
  opacity: .65;
  margin: 0;
  line-height: 1.5;
}

/* ─── Addons device buttons (2-line: count + price) ──── */
.au-addons-devices-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.au-addons-device-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  min-width: 64px;
}
.au-addons-device-btn:hover {
  border-color: rgba(76,221,206,.4);
  background: rgba(76,221,206,.07);
}
.au-addons-device-btn.is-active {
  border-color: #4cddce;
  background: rgba(76,221,206,.14);
}
html[data-aurora-scheme="light"] .au-addons-device-btn {
  border-color: rgba(0,0,0,.1);
  background: rgba(0,0,0,.03);
}
html[data-aurora-scheme="light"] .au-addons-device-btn:hover {
  border-color: rgba(76,221,206,.45);
  background: rgba(76,221,206,.08);
}
html[data-aurora-scheme="light"] .au-addons-device-btn.is-active {
  border-color: #4cddce;
  background: rgba(76,221,206,.14);
}
.au-addons-dval {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1;
}
.au-addons-dprice {
  font-size: 11px;
  opacity: .6;
  line-height: 1;
}
.au-addons-device-btn.is-active .au-addons-dval { color: #4cddce; }
.au-addons-device-btn.is-active .au-addons-dprice { opacity: .8; }
html[data-aurora-scheme="light"] .au-addons-device-btn.is-active .au-addons-dval { color: #0a8a7e; }

/* ─── Connected devices list inside hwid modal ───────── */
.au-modal-body .au-device-row {
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(76,221,206,.04);
  border-color: rgba(76,221,206,.12);
}
.au-modal-body .au-device-row:last-child { margin-bottom: 0; }
html[data-aurora-scheme="light"] .au-modal-body .au-device-row {
  background: rgba(76,221,206,.06);
  border-color: rgba(8,145,136,.14);
}

@media (max-width: 480px) {
  .au-modal-header { padding: 14px 16px 12px; gap: 10px; }
  .au-modal-body { padding: 16px; gap: 14px; }
  .au-modal-title { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════
   Traffic bar chart  (au-tc-*)
   ═══════════════════════════════════════════════════════ */

/* Card padding override */
.aurora-body .au-traffic-card.au-tc {
  padding: clamp(18px, 2.2vw, 28px) !important;
  margin-top: 18px;
}

/* Header */
.au-tc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.au-tc-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.au-tc-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}
.au-tc-period {
  font-size: 12px;
  opacity: .46;
  line-height: 1;
}
.au-tc-usage { text-align: right; flex-shrink: 0; }
.au-tc-usage-val {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: #4cddce;
  letter-spacing: -0.02em;
  line-height: 1;
}
.au-tc-usage-unit { font-size: 0.6em; vertical-align: middle; font-weight: 700; }
.au-tc-usage-sep { font-size: 15px; opacity: .4; margin: 0 3px; }
.au-tc-usage-limit { display: block; font-size: 12px; opacity: .46; margin-top: 4px; }
html[data-aurora-scheme="light"] .au-tc-usage-val { color: #0a8a7e; }

/* Chart wrapper — reserves headroom for floating tooltip */
.au-tc-chart {
  position: relative;
  padding-top: 58px;
}

/* Bars row */
.au-tc-bars {
  display: flex;
  gap: 5px;
  align-items: stretch;
  height: 174px; /* 142px track + 32px date labels */
  user-select: none;
  -webkit-user-select: none;
}

/* Single day column */
.au-tc-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* Track (background behind fill) */
.au-tc-bar-track {
  flex: 1;
  width: 100%;
  position: relative;
  border-radius: 6px;
  background: rgba(76,221,206,.06);
  overflow: hidden;
  transition: background .15s;
}
.au-tc-col:hover .au-tc-bar-track,
.au-tc-col.is-active .au-tc-bar-track { background: rgba(76,221,206,.12); }
html[data-aurora-scheme="light"] .au-tc-bar-track { background: rgba(76,221,206,.1); }
html[data-aurora-scheme="light"] .au-tc-col:hover .au-tc-bar-track,
html[data-aurora-scheme="light"] .au-tc-col.is-active .au-tc-bar-track { background: rgba(76,221,206,.18); }

/* Fill bar — starts at 0, JS adds is-ready to animate to --pct */
.au-tc-bar-fill {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, rgba(76,221,206,.72) 0%, rgba(76,221,206,.36) 100%);
  transition: height .55s cubic-bezier(.4,0,.2,1);
  z-index: 1;
}
.au-tc-bars.is-ready .au-tc-bar-fill { height: var(--pct, 0%); }

/* Today (last bar) */
.au-tc-col.is-last .au-tc-bar-fill {
  background: linear-gradient(180deg, #4cddce 0%, rgba(76,221,206,.5) 100%);
}
.au-tc-col.is-last:hover .au-tc-bar-fill,
.au-tc-col.is-last.is-active .au-tc-bar-fill {
  background: linear-gradient(180deg, #7ceae0 0%, #4cddce 100%);
  box-shadow: 0 -8px 24px rgba(76,221,206,.4);
}
/* Hover on other bars */
.au-tc-col:not(.is-last):hover .au-tc-bar-fill,
.au-tc-col:not(.is-last).is-active .au-tc-bar-fill {
  background: linear-gradient(180deg, rgba(76,221,206,.9) 0%, rgba(76,221,206,.5) 100%);
}

/* Zero-value bar */
.au-tc-col.is-zero .au-tc-bar-track { opacity: .5; }

/* "Today" dot — small glowing pip at top of today's track */
.au-tc-bar-dot {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 3px rgba(76,221,206,.7);
  z-index: 3;
  pointer-events: none;
}

/* Date labels */
.au-tc-bar-date {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  opacity: .4;
  white-space: nowrap;
  transition: opacity .12s;
}
.au-tc-col.is-last .au-tc-bar-date {
  opacity: .8;
  font-weight: 600;
  color: #4cddce;
}
.au-tc-col:hover .au-tc-bar-date,
.au-tc-col.is-active .au-tc-bar-date { opacity: 1; }
html[data-aurora-scheme="light"] .au-tc-col.is-last .au-tc-bar-date { color: #0a8a7e; }

/* Floating tooltip — JS updates left; CSS handles Y-entrance animation */
.au-tc-tip {
  position: absolute;
  top: 0; left: 0;
  min-width: 138px;
  max-width: min(210px, calc(100% - 8px));
  background: rgba(4, 15, 14, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(76,221,206,.3);
  border-radius: 12px;
  padding: 9px 13px 10px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 20;
  box-shadow: 0 12px 36px rgba(0,0,0,.35), 0 0 0 1px rgba(76,221,206,.06) inset;
}
.au-tc-tip.is-visible { opacity: 1; transform: translateY(0); }
.au-tc-tip b { display: block; font-size: 12px; font-weight: 600; color: #4cddce; margin-bottom: 3px; white-space: nowrap; }
.au-tc-tip span { display: block; font-size: 13px; opacity: .85; white-space: nowrap; }
.au-tc-tip em { font-style: normal; font-weight: 700; opacity: 1; color: #e8f7f6; }
html[data-aurora-scheme="light"] .au-tc-tip {
  background: rgba(255,255,255,.97);
  border-color: rgba(76,221,206,.35);
  box-shadow: 0 8px 28px rgba(0,0,0,.11);
  color: #071a18;
}
html[data-aurora-scheme="light"] .au-tc-tip b { color: #0a8a7e; }
html[data-aurora-scheme="light"] .au-tc-tip span { opacity: .8; }
html[data-aurora-scheme="light"] .au-tc-tip em { color: #071a18; }

/* Empty state */
.au-tc-empty { font-size: 13px; opacity: .5; margin: 4px 0 0; }

/* Mobile */
@media (max-width: 540px) {
  .au-tc-header { margin-bottom: 16px; }
  .au-tc-chart { padding-top: 52px; }
  .au-tc-bars { height: 156px; gap: 4px; }
  .au-tc-bar-date { height: 26px; font-size: 10.5px; }
  .au-tc-usage-val { font-size: 22px; }
}
@media (max-width: 360px) {
  .au-tc-bars { gap: 3px; }
  .au-tc-bar-date { font-size: 10px; }
  .au-tc-tip { padding: 7px 10px 8px; min-width: 118px; }
}



/* Local cabinet overrides — integrated into the main Aurora theme. */

/*
  Локальные переопределения стилей личного кабинета.
  Эти правила встроены в основную тему Aurora.
*/

:root {
  /* Пример кастомизации бренда */
  --accent-a: #ffd166;
  --accent-b: #ef476f;
  --accent-c: #06d6a0;
}

.brand-title {
  letter-spacing: 0.04em;
}

.m2-subscription-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.m2-subscription-extend-form {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
}

.m2-subscription-days-input,
.m2-subscription-extend-form .m2-input,
.m2-subscription-extend-form .m2-btn {
  width: auto !important;
  flex: 0 0 auto;
}

.m2-subscription-actions .m2-btn,
.m2-subscription-extend-form .m2-btn,
.m2-subscription-extend-form .m2-input {
  min-height: 38px !important;
  height: 38px;
}

.m2-subscription-extend-form .m2-input {
  padding-top: 0;
  padding-bottom: 0;
}

.m2-table td > input[type="checkbox"] {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  min-height: 13px !important;
  max-width: 13px !important;
  max-height: 13px !important;
  display: block;
  margin: 0 auto;
  padding: 0 !important;
}

/* =====================================================================
   Fix 1 — Telegram auth button in Aurora teal.
   This supersedes the earlier #0088cc "source of truth" telegram-btn
   blocks (it is intentionally last in source order so, at equal
   specificity + !important, the cascade resolves here). The login
   template's inline #0088cc !important override was removed so this
   applies. Only the button surface is themed — the Telegram glyph keeps
   its brand blue.
   ===================================================================== */
.aurora-body a.auth-telegram-btn,
.aurora-body .auth-telegram-btn {
  background: #229ED9 !important;
  background-image: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%) !important;
  border: 1px solid rgba(42, 171, 238, .5) !important;
  color: #fff !important;
  text-shadow: none !important;
  box-shadow: rgba(34, 158, 217, .35) 0 4px 14px !important;
  width: 100% !important;
  max-width: 290px !important;
  min-height: 44px !important;
  padding: 10px 20px !important;
  font-weight: 750 !important;
  justify-content: center !important;
  gap: 10px !important;
  border-radius: var(--r-md) !important;
}
.aurora-body a.auth-telegram-btn:hover,
.aurora-body .auth-telegram-btn:hover {
  background: #229ED9 !important;
  background-image: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%) !important;
  border-color: rgba(42, 171, 238, .5) !important;
  color: #fff !important;
  filter: brightness(1.1) !important;
  transform: translateY(-1px) !important;
  box-shadow: rgba(34, 158, 217, .5) 0 6px 20px !important;
}
.aurora-body .auth-telegram-btn:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(42, 171, 238, .35), rgba(34, 158, 217, .5) 0 6px 20px !important;
}
/* label and glyph stay white on the Telegram-blue surface */
.aurora-body a.auth-telegram-btn span,
.aurora-body .auth-telegram-btn span {
  color: #fff !important;
}
.aurora-body a.auth-telegram-btn .auth-telegram-icon svg,
.aurora-body .auth-telegram-btn .auth-telegram-icon svg,
.aurora-body a.auth-telegram-btn svg path,
.aurora-body .auth-telegram-btn svg path {
  fill: #fff !important;
  stroke: none !important;
}
.aurora-body .auth-telegram-icon svg {
  filter: none !important;
}
/* Light scheme — same Telegram-blue button, .au-btn form */
html[data-aurora-scheme="light"] .aurora-body a.auth-telegram-btn,
html[data-aurora-scheme="light"] .aurora-body .auth-telegram-btn {
  background: #229ED9 !important;
  background-image: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%) !important;
  border-color: rgba(42, 171, 238, .5) !important;
  color: #fff !important;
  box-shadow: rgba(34, 158, 217, .35) 0 4px 14px !important;
}
html[data-aurora-scheme="light"] .aurora-body a.auth-telegram-btn:hover,
html[data-aurora-scheme="light"] .aurora-body .auth-telegram-btn:hover {
  background: #229ED9 !important;
  background-image: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%) !important;
  border-color: rgba(42, 171, 238, .5) !important;
  color: #fff !important;
  filter: brightness(1.1) !important;
  transform: translateY(-1px) !important;
  box-shadow: rgba(34, 158, 217, .5) 0 6px 20px !important;
}
/* Dark scheme — deeper, muted Telegram blue so it stays recognisable (not teal)
   on the dark surface. The theme scope (html[data-aurora-scheme="dark"]) lifts
   specificity to (0,3,2), beating the brand rule
   .aurora-body .au-btn:not(.au-btn-ghost) (0,3,0) that otherwise repaints it teal.
   Form (radius/padding/font/border style/shadow type/hover) stays as defined above. */
html[data-aurora-scheme="dark"] .aurora-body a.auth-telegram-btn,
html[data-aurora-scheme="dark"] .aurora-body .auth-telegram-btn {
  background: #1B7FB3 !important;
  background-image: linear-gradient(135deg, #1E92CE 0%, #1B7FB3 100%) !important;
  border-color: rgba(30, 146, 206, .45) !important;
  color: #fff !important;
  box-shadow: rgba(20, 110, 160, .4) 0 4px 14px !important;
}
html[data-aurora-scheme="dark"] .aurora-body a.auth-telegram-btn:hover,
html[data-aurora-scheme="dark"] .aurora-body .auth-telegram-btn:hover {
  background: #1B7FB3 !important;
  background-image: linear-gradient(135deg, #1E92CE 0%, #1B7FB3 100%) !important;
  border-color: rgba(30, 146, 206, .45) !important;
  color: #fff !important;
  filter: brightness(1.1) !important;
  transform: translateY(-1px) !important;
  box-shadow: rgba(20, 110, 160, .55) 0 6px 20px !important;
}

/* Reset password — change email link */
.aurora-body .aurora-reset-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.aurora-body .aurora-reset-change-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  opacity: 0.75;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.aurora-body .aurora-reset-change-link:hover {
  opacity: 1;
}

html[data-aurora-scheme="light"] .aurora-body .aurora-reset-change-link {
  color: #087D76;
}

/* ===================================================================
   Unified block-card titles across the cabinet (Payments, Reviews,
   Referral, Subscription, Home sections, traffic card). Brings the
   per-page <h1>/<h2> section headers to one calm size, overriding the
   clamp(22–30px)/font-weight:850 grouping rules above. The `html`
   prefix lifts specificity above those rules; !important beats their
   !important. Excludes the topbar title (.aurora-topbar-title h1) and
   the hero title (.au-hero-title) by selector.
   =================================================================== */
html .aurora-body .au-payments-clean__title,
html .aurora-body .au-section-head h2,
html .aurora-body .au-start-head h2,
html .aurora-body .reviews-panel h2,
html .aurora-body .au-traffic-head h2,
html .aurora-body .au-tc-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
}

/* ── Referral: UTM tags + partner statistics ── */
.aurora-body .au-ref-page .au-ref-utm-counter {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-accent, #4CDDCE);
  background: rgba(76, 221, 206, .12);
  border: 1px solid rgba(76, 221, 206, .28);
}
.aurora-body .au-ref-page .au-ref-utm-create {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 6px;
}
.aurora-body .au-ref-page .au-ref-utm-create .m2-input {
  flex: 1 1 220px;
  min-width: 0;
}
.aurora-body .au-ref-page .au-ref-utm-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.aurora-body .au-ref-page .au-ref-utm-card {
  border: 1px solid var(--c-border, rgba(76, 221, 206, .16));
  border-radius: 16px;
  padding: 16px;
  background: rgba(76, 221, 206, .04);
}
.aurora-body .au-ref-page .au-ref-utm-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.aurora-body .au-ref-page .au-ref-utm-name {
  font-size: 15px;
  font-weight: 700;
  word-break: break-word;
}
/* Delete form sits inline in the actions row; display:contents keeps its
   button as a direct flex item so it lines up 50×50 with copy/QR. */
.aurora-body .au-ref-page .au-ref-utm-del { display: contents; }

/* Danger variant of the square icon button — same shape as copy/QR, red accent */
.au-sub-link-btn--danger {
  color: rgb(255, 138, 138);
  border-color: rgba(255, 107, 107, .28);
  background: rgba(255, 107, 107, .08);
}
.au-sub-link-btn--danger:hover {
  color: #fff;
  background: rgba(255, 107, 107, .85);
  border-color: rgba(255, 107, 107, .9);
  box-shadow: 0 4px 14px rgba(255, 107, 107, .28);
}
.au-sub-link-btn--danger:active { transform: scale(.96); }
.au-sub-link-btn--danger:focus-visible {
  outline: none;
  border-color: rgba(255, 107, 107, .9);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, .28);
}
html[data-aurora-scheme="light"] .au-sub-link-btn--danger {
  color: #d64545;
  border-color: rgba(214, 69, 69, .35);
  background: rgba(214, 69, 69, .08);
}
html[data-aurora-scheme="light"] .au-sub-link-btn--danger:hover {
  color: #fff;
  background: rgba(214, 69, 69, .9);
  border-color: rgba(214, 69, 69, .95);
  box-shadow: 0 4px 14px rgba(214, 69, 69, .25);
}
.aurora-body .au-ref-page .au-ref-utm-tg {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
}
.aurora-body .au-ref-page .au-ref-utm-copy-inline {
  background: none;
  border: none;
  padding: 0;
  color: var(--c-accent, #4CDDCE);
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
}
.aurora-body .au-ref-page .au-ref-utm-copy-inline.is-copied { color: #6EE7B7; }
.aurora-body .au-ref-page .au-ref-utm-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.aurora-body .au-ref-page .au-ref-utm-users { margin-top: 12px; }
.aurora-body .au-ref-page .au-ref-utm-users-btn { white-space: nowrap; }
.aurora-body .au-ref-page .m2-btn.is-copied {
  border-color: rgba(110, 231, 183, .6) !important;
  color: #6EE7B7 !important;
}
