/* EVVO account pages: dark, lime, the app's own look. */
:root {
  --lime: #b7ff3c;
  --bg: #070707;
  --card: #141414;
  --stroke: #2a2a2a;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --hint: #7e7e7e;
  --warn: #ffd166;
  --font: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(183, 255, 60, 0.1), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.shell {
  min-height: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: max(40px, env(safe-area-inset-top)) 20px
    max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  display: block;
  width: 168px;
  height: auto;
  margin-bottom: 36px;
}

.card {
  width: 100%;
  padding: 40px 28px 36px;
  background: linear-gradient(160deg, #1b2710 0%, var(--card) 46%);
  border: 1px solid var(--stroke);
  border-top: 4px solid var(--lime);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.state {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.state[hidden] {
  display: none;
}

.badge {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--lime);
  background: rgba(183, 255, 60, 0.12);
  border: 1px solid rgba(183, 255, 60, 0.35);
}

.badge--filled {
  color: #0b0b0b;
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 10px rgba(183, 255, 60, 0.12);
}

.badge--warn {
  color: var(--warn);
  background: rgba(255, 209, 102, 0.1);
  border-color: rgba(255, 209, 102, 0.35);
}

h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.lead--strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--lime);
}

.muted {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--hint);
}

.email {
  margin: 18px 0 0;
  padding: 10px 16px;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 12px;
}

.primary {
  width: 100%;
  min-height: 56px;
  margin-top: 28px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0b0b0b;
  background: var(--lime);
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    filter 0.12s ease;
}

.primary:hover {
  filter: brightness(1.06);
}

.primary:active {
  transform: scale(0.985);
}

.primary:focus-visible {
  outline: 3px solid rgba(183, 255, 60, 0.5);
  outline-offset: 3px;
}

.primary[disabled] {
  cursor: default;
  filter: saturate(0.7) brightness(0.85);
}

/* Three pulsing dots while the confirmation is on its way. */
.dots {
  display: none;
  width: 28px;
  height: 6px;
  background:
    radial-gradient(circle, #0b0b0b 3px, transparent 3.5px) 0 50% / 11px 6px
    repeat-x;
  animation: pulse 0.9s ease-in-out infinite;
}

.primary.is-busy .dots {
  display: block;
}

.next {
  width: 100%;
  margin-top: 26px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 16px;
}

.next p {
  margin: 0;
}

.next strong {
  color: var(--text);
  font-weight: 600;
}

.spinner {
  width: 44px;
  height: 44px;
  margin: 8px 0 4px;
  border: 4px solid rgba(183, 255, 60, 0.18);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.footer {
  margin-top: auto;
  padding-top: 32px;
  font-size: 13px;
  font-weight: 600;
}

.footer a {
  color: var(--lime);
  text-decoration: none;
}

.noscript {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 14px;
  text-align: center;
  color: var(--warn);
}

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

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@media (min-width: 720px) {
  .shell {
    padding-top: 72px;
  }

  .card {
    padding: 48px 44px 44px;
  }

  h1 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner,
  .dots {
    animation-duration: 2.4s;
  }

  .primary {
    transition: none;
  }
}
