/*
 * Order funnel (/{lang}/report) in the brand look of the homepage form: dark background, gold
 * section titles, white fields, the gold gradient button. Markup: components/report/ReportFunnel.tsx.
 * The page keeps a minimal top bar on purpose (logo, languages) so nothing distracts from the order.
 */
@font-face {
  font-family: 'e-Ukraine';
  src: url('/legacy/fonts/e-Ukraine/e-Ukraine-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('/legacy/fonts/e-Ukraine/e-Ukraine-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Anglecia Pro Dsp';
  src: url('/legacy/fonts/AngleciaProDisplay/AngleciaProDisplay-Italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(96, 62, 214, 0.26), transparent 62%),
    radial-gradient(700px 420px at 4% 6%, rgba(96, 62, 214, 0.12), transparent 60%),
    #121220;
  color: rgba(255, 255, 255, 0.76);
  font: 400 16px/1.65 'e-Ukraine', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 948px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
a {
  color: #e5ad65;
  text-underline-offset: 3px;
}
a:hover {
  color: #fff;
}

/* Top bar */
main > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
main > header > a {
  display: flex;
  align-items: center;
}
main > header img {
  display: block;
  height: 32px;
  width: auto;
}
main > header nav {
  display: flex;
  gap: 8px;
}
main > header nav a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 17px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}
main > header nav a:hover,
main > header nav a[aria-current] {
  border-color: #e5ad65;
  color: #e5ad65;
}

/* Intro block */
.cover {
  margin: 0 0 28px;
  padding: 32px;
  border: 1px solid rgba(229, 173, 101, 0.28);
  border-radius: 20px;
  background: #040406;
}
.cover p {
  margin: 0 0 14px;
}
.cover p:last-child {
  margin-bottom: 0;
}
.cover strong {
  color: #fff;
  font-weight: 500;
}
h1 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-serif, 'Noto Serif'), Georgia, serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

#status {
  min-height: 1.65em;
  margin: 0 0 12px;
  color: #fff;
  overflow-wrap: anywhere;
}

/* Form */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 22px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(8, 8, 16, 0.55);
}
legend {
  padding: 0 10px;
  color: #e5ad65;
  font-size: 20px;
  font-weight: 500;
}
label {
  display: block;
  margin: 14px 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: #161616;
  font: 400 16px/1.3 'e-Ukraine', system-ui, sans-serif;
}
input:disabled {
  background: rgba(255, 255, 255, 0.55);
  color: #44444c;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 400;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  accent-color: #e5ad65;
}
.note,
main > footer {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.note {
  margin: 14px 0;
}
p[id^='selected'] {
  margin: 8px 0 0;
  color: #e5ad65;
  font-size: 14px;
}
p[id^='selected']:empty {
  display: none;
}

/* Buttons: the gradient button for the main action, an outlined one for the rest */
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 10px 0;
  padding: 0 20px;
  border: 1px solid #e5ad65;
  border-radius: 8px;
  background: transparent;
  color: #e5ad65;
  font: 500 14px/1.2 'e-Ukraine', system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    background-position 0.4s ease-in-out;
}
button:hover,
.button:hover {
  background: rgba(229, 173, 101, 0.12);
  color: #fff;
}
#continue,
#pay,
#download {
  min-height: 59px;
  padding: 0 30px;
  border: 0;
  background-color: #b77a2b;
  background-image: linear-gradient(to right, #e5ad65 0%, #b37526 50%, #b77a2b 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  box-shadow: 0 20px 60px rgba(229, 173, 101, 0.33);
  color: #121220;
  font-size: 16px;
}
#continue:hover,
#pay:hover,
#download:hover {
  background-position: 100% 0;
  color: #121220;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
  box-shadow: none;
}
#back {
  margin-left: 12px;
}

/* City search results */
.cities {
  margin-top: 4px;
  color: #fff;
  font-size: 14px;
}
.cities button {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 6px 0;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 400;
  text-align: left;
}
.cities button:hover {
  border-color: #e5ad65;
  background: rgba(229, 173, 101, 0.1);
}

/* Payment step */
#payment {
  padding: 24px;
  border: 1px solid rgba(229, 173, 101, 0.28);
  border-radius: 16px;
  background: rgba(8, 8, 16, 0.55);
}
#payment strong,
#price,
#charge {
  color: #fff;
  font-weight: 500;
}
.stripe-field {
  min-height: 52px;
  margin-top: 8px;
  padding: 16px 14px;
  border-radius: 8px;
  background: #fff;
}

main > footer {
  margin: 44px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
main > footer a {
  color: rgba(255, 255, 255, 0.6);
}
main > footer a:hover {
  color: #fff;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #e5ad65;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  main {
    padding: 0 20px 40px;
  }
  main > header {
    min-height: 60px;
    margin-bottom: 24px;
  }
  main > header img {
    height: 26px;
  }
  main > header nav a {
    padding: 0 10px;
  }
  .pair {
    grid-template-columns: 1fr;
  }
  .cover {
    padding: 22px;
  }
  h1 {
    font-size: 34px;
  }
  button,
  .button {
    width: 100%;
  }
  #back {
    margin-left: 0;
  }
}

/* Agreement before paying and the cookie link in the footer */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 14px;
  line-height: 1.55;
}
.consent input {
  flex: none;
  margin-top: 3px;
}
.consent a {
  color: #e5ad65;
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer button[data-cookie-settings] {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Apple Pay / Google Pay above the card fields */
#wallet-row {
  margin: 0 0 18px;
}
#wallet {
  max-width: 420px;
}
.or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.or::before,
.or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

/* Promo code of the Cosmic Wheel */
.promo {
  margin: 18px 0 6px;
  font-size: 15px;
}
.promo summary {
  width: max-content;
  max-width: 100%;
  color: #e5ad65;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.promo-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  max-width: 460px;
  margin-top: 12px;
}
.promo-row input {
  flex: 1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.promo-row button {
  flex: none;
  margin: 0;
}
#promo-msg {
  margin: 10px 0 0;
  color: #ffb4b4;
  font-size: 14px;
}
#promo-msg[data-tone='hint'] {
  color: rgba(255, 255, 255, 0.72);
}
#promo-msg:empty {
  display: none;
}
.promo-line {
  color: #f0c078;
}
.promo-wait {
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
}
.promo-line s,
#charge s {
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}
