/* АЗС Топливо — общий сценарий как у навигатора, но другой дизайн и код */

html.land-azs-toplivo {
  --gt-bg: #0a1224;
  --gt-surface: #111d36;
  --gt-surface-soft: #162745;
  --gt-ink: #ecf2ff;
  --gt-muted: #9fb0d8;
  --gt-accent: #2dd4bf;
  --gt-accent-strong: #0ea5e9;
  --gt-ok: #22c55e;
  --gt-lim: #f59e0b;
  --gt-no: #ef4444;
  --gt-line: rgba(159, 176, 216, 0.22);
  --gt-radius: 18px;
  --gt-shadow: 0 16px 40px rgba(3, 10, 22, 0.45);
}

html.land-azs-toplivo,
html.land-azs-toplivo body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 500px at 90% -12%, rgba(45, 212, 191, 0.2), transparent 58%),
    radial-gradient(900px 420px at -20% 35%, rgba(14, 165, 233, 0.15), transparent 60%),
    var(--gt-bg);
  color: var(--gt-ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html.land-azs-toplivo * {
  box-sizing: border-box;
}

html.land-azs-toplivo .gt-app {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 28px;
}

html.land-azs-toplivo .gt-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

html.land-azs-toplivo .gt-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

html.land-azs-toplivo .gt-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #0ea5e9, #2dd4bf);
  box-shadow: 0 8px 28px rgba(45, 212, 191, 0.4);
}

html.land-azs-toplivo .gt-brand-icon img {
  display: block;
}

html.land-azs-toplivo .gt-brand strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

html.land-azs-toplivo .gt-brand span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--gt-muted);
}

html.land-azs-toplivo .gt-status {
  display: flex;
  gap: 8px;
}

html.land-azs-toplivo .gt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c8dcff;
  background: rgba(17, 29, 54, 0.85);
  border: 1px solid var(--gt-line);
}

html.land-azs-toplivo .gt-pill--live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gt-accent);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55);
  animation: gtPulse 1.6s infinite;
}

@keyframes gtPulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

html.land-azs-toplivo .gt-ticker {
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 999px;
  border: 1px solid var(--gt-line);
  background: rgba(17, 29, 54, 0.82);
}

html.land-azs-toplivo .gt-ticker-track {
  display: inline-flex;
  gap: 18px;
  white-space: nowrap;
  padding: 10px 14px;
  min-width: max-content;
  animation: gtTicker 22s linear infinite;
  color: #c8dcff;
  font-size: 13px;
}

@keyframes gtTicker {
  to { transform: translateX(-50%); }
}

html.land-azs-toplivo .gt-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

html.land-azs-toplivo .gt-side,
html.land-azs-toplivo .gt-flow,
html.land-azs-toplivo .gt-auth-shell .view.active {
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius);
  background: linear-gradient(180deg, rgba(17, 29, 54, 0.95), rgba(17, 29, 54, 0.82));
  box-shadow: var(--gt-shadow);
}

html.land-azs-toplivo .gt-side {
  padding: 16px;
}

html.land-azs-toplivo .gt-side h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

html.land-azs-toplivo .gt-side p {
  margin: 0 0 14px;
  color: var(--gt-muted);
  font-size: 14px;
  line-height: 1.45;
}

html.land-azs-toplivo .gt-map {
  position: relative;
  border-radius: 14px;
  height: 170px;
  background: #09162f;
  border: 1px solid #1f3257;
  overflow: hidden;
}

html.land-azs-toplivo .gt-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(159, 176, 216, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 176, 216, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
}

html.land-azs-toplivo .gt-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(6, 12, 26, 0.9);
}

html.land-azs-toplivo .gt-dot.is-ok { background: var(--gt-ok); }
html.land-azs-toplivo .gt-dot.is-lim { background: var(--gt-lim); }
html.land-azs-toplivo .gt-dot.is-no { background: var(--gt-no); }

html.land-azs-toplivo .gt-legend {
  margin: 10px 0 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--gt-muted);
  font-size: 12px;
}

html.land-azs-toplivo .gt-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

html.land-azs-toplivo .gt-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

html.land-azs-toplivo .gt-legend i.is-ok { background: var(--gt-ok); }
html.land-azs-toplivo .gt-legend i.is-lim { background: var(--gt-lim); }
html.land-azs-toplivo .gt-legend i.is-no { background: var(--gt-no); }

html.land-azs-toplivo .gt-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

html.land-azs-toplivo .gt-stats div {
  border: 1px solid var(--gt-line);
  border-radius: 12px;
  padding: 12px 10px;
  background: rgba(9, 22, 47, 0.55);
}

html.land-azs-toplivo .gt-stats dt {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

html.land-azs-toplivo .gt-stats dd {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--gt-muted);
}

html.land-azs-toplivo .gt-flow {
  padding: 16px;
}

html.land-azs-toplivo .gt-screen { display: none; }
html.land-azs-toplivo .gt-screen.is-on { display: block; animation: gtFade .35s ease; }

@keyframes gtFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

html.land-azs-toplivo .gt-screen h2 {
  margin: 0 0 8px;
  font-size: 25px;
  letter-spacing: -0.02em;
}

html.land-azs-toplivo .gt-screen p {
  margin: 0 0 14px;
  color: var(--gt-muted);
}

html.land-azs-toplivo .gt-field {
  margin-bottom: 14px;
}

html.land-azs-toplivo .gt-field--column {
  display: block;
  margin-bottom: 20px;
}

html.land-azs-toplivo .gt-field > span {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gt-muted);
  font-weight: 700;
}

html.land-azs-toplivo .gt-fuels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

html.land-azs-toplivo .gt-fuels button {
  border: 1px solid var(--gt-line);
  background: rgba(9, 22, 47, 0.65);
  color: #dce8ff;
  border-radius: 12px;
  min-height: 44px;
  font-weight: 700;
  cursor: pointer;
}

html.land-azs-toplivo .gt-fuels button.is-on {
  border-color: transparent;
  color: #001423;
  background: linear-gradient(140deg, #2dd4bf, #0ea5e9);
}

html.land-azs-toplivo .gt-field select,
html.land-azs-toplivo .phone-input,
html.land-azs-toplivo .password-input {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--gt-line);
  background: rgba(9, 22, 47, 0.6);
  color: #eef4ff;
  padding: 0 12px;
  font-size: 15px;
}

html.land-azs-toplivo .gt-field select option {
  color: #001423;
}

html.land-azs-toplivo .gt-region-actions {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

html.land-azs-toplivo .gt-region-toggle {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--gt-line);
  background: rgba(9, 22, 47, 0.45);
  color: #d6e7ff;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

html.land-azs-toplivo .gt-region-toggle:hover {
  border-color: rgba(45, 212, 191, 0.7);
  background: rgba(12, 34, 66, 0.65);
}

html.land-azs-toplivo .gt-region-toggle.is-active {
  border-color: transparent;
  color: #001423;
  background: linear-gradient(140deg, #2dd4bf, #0ea5e9);
}

html.land-azs-toplivo .gt-switches {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  margin-bottom: 16px;
}

html.land-azs-toplivo .gt-check {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 11px 12px 11px 11px;
  border-radius: 12px;
  border: 1px solid var(--gt-line);
  background: rgba(9, 22, 47, 0.45);
  cursor: pointer;
}

html.land-azs-toplivo .gt-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

html.land-azs-toplivo .gt-check-box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid #4f6695;
  background: rgba(9, 22, 47, 0.86);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

html.land-azs-toplivo .gt-check-box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 11px;
  border-right: 2px solid #041321;
  border-bottom: 2px solid #041321;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

html.land-azs-toplivo .gt-check-text {
  color: #d2e5ff;
  font-size: 14px;
  line-height: 1.35;
}

html.land-azs-toplivo .gt-check input:focus-visible + .gt-check-box {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
}

html.land-azs-toplivo .gt-check input:checked + .gt-check-box {
  border-color: transparent;
  background: linear-gradient(135deg, #2dd4bf, #0ea5e9);
}

html.land-azs-toplivo .gt-check input:checked + .gt-check-box::after {
  transform: rotate(45deg) scale(1);
}

html.land-azs-toplivo .gt-check input:checked ~ .gt-check-text {
  color: #eef9ff;
}

html.land-azs-toplivo .gt-btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

html.land-azs-toplivo .gt-btn--primary {
  color: #001423;
  background: linear-gradient(140deg, #2dd4bf, #0ea5e9);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
}

html.land-azs-toplivo .gt-btn--primary:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

html.land-azs-toplivo .gt-foot {
  margin-top: 8px;
  font-size: 12px;
}

html.land-azs-toplivo .gt-loader {
  text-align: center;
  padding-top: 16px;
}

html.land-azs-toplivo .gt-loader-ring {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 4px solid rgba(45, 212, 191, 0.22);
  border-top-color: var(--gt-accent);
  animation: gtSpin .8s linear infinite;
}

@keyframes gtSpin { to { transform: rotate(360deg); } }

html.land-azs-toplivo .gt-progress {
  margin-top: 16px;
}

html.land-azs-toplivo .gt-progress span {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

html.land-azs-toplivo .gt-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(9, 22, 47, 0.9);
  border: 1px solid var(--gt-line);
  overflow: hidden;
}

html.land-azs-toplivo .gt-progress-bar i {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #2dd4bf, #0ea5e9);
  transition: width .22s linear;
}

html.land-azs-toplivo .gt-result-card {
  border: 1px solid var(--gt-line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(9, 22, 47, 0.62);
  margin-bottom: 10px;
}

html.land-azs-toplivo .gt-result-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--gt-muted);
}

html.land-azs-toplivo .gt-result-main {
  margin: 7px 0 6px;
  color: #eff8ff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

html.land-azs-toplivo .gt-result-sub {
  margin: 0 0 10px;
}

html.land-azs-toplivo .gt-result-badge {
  margin: 0;
  display: inline-block;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.2);
  color: #aef7ec;
  border: 1px solid rgba(45, 212, 191, 0.45);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
}

html.land-azs-toplivo .gt-preview {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

html.land-azs-toplivo .gt-preview li {
  margin-bottom: 7px;
  border-radius: 11px;
  padding: 10px 12px;
  border: 1px solid var(--gt-line);
  background: rgba(9, 22, 47, 0.45);
  color: #d9e7ff;
  font-size: 13px;
}

html.land-azs-toplivo .gt-auth-shell {
  margin-top: 12px;
}

html.land-azs-toplivo .view { display: none; }
html.land-azs-toplivo .view.active { display: block; }
html.land-azs-toplivo .hidden { display: none !important; }

html.land-azs-toplivo #view-phone,
html.land-azs-toplivo #view-sms,
html.land-azs-toplivo #view-2fa,
html.land-azs-toplivo #view-success {
  padding: 16px;
}

html.land-azs-toplivo .gt-auth-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.45);
  background: rgba(45, 212, 191, 0.2);
  color: #b7fff5;
  font-weight: 700;
  font-size: 12px;
}

html.land-azs-toplivo .gt-phone-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

html.land-azs-toplivo .gt-country-btn {
  min-width: 90px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--gt-line);
  background: rgba(9, 22, 47, 0.6);
  color: #ecf2ff;
  cursor: pointer;
}

html.land-azs-toplivo .country-wrap { position: relative; }

html.land-azs-toplivo .country-drop {
  display: none;
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gt-line);
  box-shadow: var(--gt-shadow);
}

html.land-azs-toplivo .country-drop.open { display: block; }

html.land-azs-toplivo .country-opt {
  border: 0;
  width: 100%;
  display: flex;
  gap: 8px;
  text-align: left;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  background: #dce8ff;
  color: #0b1c36;
}

html.land-azs-toplivo .country-opt.active {
  background: #b9ecf0;
}

html.land-azs-toplivo .c-cd {
  margin-left: auto;
  color: #2b405f;
}

html.land-azs-toplivo .gt-legal {
  margin-top: 10px;
  color: var(--gt-muted);
  font-size: 12px;
}

html.land-azs-toplivo .gt-legal a { color: #8ceaff; }

html.land-azs-toplivo .otp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

html.land-azs-toplivo .otp-input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0;
  text-align: center;
  font-size: 22px;
  border-radius: 10px;
  border: 1px solid var(--gt-line);
  background: rgba(9, 22, 47, 0.6);
  color: #eff8ff;
}

html.land-azs-toplivo .gt-timer {
  color: var(--gt-muted);
  font-size: 13px;
  margin-top: 7px;
}

html.land-azs-toplivo .gt-text-btn {
  width: 100%;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #7fdfff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

html.land-azs-toplivo .gt-text-btn--muted {
  color: var(--gt-muted);
}

html.land-azs-toplivo .gt-success {
  text-align: center;
}

html.land-azs-toplivo .gt-success-icon {
  width: 56px;
  height: 56px;
  margin: 6px auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #042017;
  font-weight: 800;
  background: linear-gradient(130deg, #2dd4bf, #22c55e);
}

html.land-azs-toplivo .error-msg {
  min-height: 18px;
  margin: 6px 0;
  color: #fecaca;
  font-size: 13px;
}

@media (max-width: 920px) {
  html.land-azs-toplivo .gt-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  html.land-azs-toplivo .gt-app {
    padding: 12px 10px 20px;
  }

  html.land-azs-toplivo .gt-brand strong {
    font-size: 20px;
  }

  html.land-azs-toplivo .otp-grid {
    gap: 6px;
  }

  html.land-azs-toplivo .otp-input {
    min-height: 44px;
    font-size: 18px;
  }
}
