@charset "UTF-8";
/*reset*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #DCE7F7;
}

/* Scope everything to #geo and use namespaced classes to avoid collisions */
/* Make the checker match other sections’ width & spacing */
#checker {
  padding: 18px;
}

/* light vertical rhythm */
#geo .g-card {
  /*width: 100%;*/
}

/* card never exceeds container */
/* Card */
#geo .g-card {
  background: linear-gradient(180deg, #0F1C33, #0B1426);
  border: 1px solid #1E2B47;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(9, 16, 31, 0.35);
  padding: 18px;
}

/* Small pill */
#geo .g-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 12px;
  color: #CFE3FF;
  background: rgba(63, 106, 213, 0.14);
  border: 1px solid rgba(119, 166, 255, 0.25);
  padding: 6px 10px;
  border-radius: 999px;
  margin: 0 0 10px;
}

/* Headings / text */
#geo h3 {
  margin: 0 0 8px;
  color: #E9F1FF;
  font-weight: 700;
}

#geo .g-muted {
  color: #9FB0C9;
}

/* Row + inputs */
#geo .g-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 10px;
}

#geo .g-row > * {
  flex: 1 1 auto;
  min-width: 0;
}

/* allow shrinking without overflow */
#geo .g-input {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #273657;
  background: #0C162B;
  color: #EAF2FF;
  outline: none;
}

#geo .g-input::placeholder {
  color: #6E84A9;
}

#geo .g-input:focus {
  border-color: #3E6BDA;
  box-shadow: 0 0 0 3px rgba(62, 107, 218, 0.25);
}

/* Buttons (primary + ghost) */
#geo .g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
  background: linear-gradient(180deg, #3B82F6, #2563EB);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.33);
  flex: 0 0 auto; /* keep natural button width in rows */
  min-width: 160px; /* prevents awkward wrap */
}

#geo .g-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #2563EB, #1D4ED8);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.38);
}

#geo .g-btnGhost {
  background: transparent;
  border: 1px solid #2D406B;
  color: #CFE1FF;
  box-shadow: none;
}

#geo .g-btnGhost:hover {
  border-color: #4C6ED8;
  color: #fff;
  box-shadow: 0 8px 22px rgba(25, 46, 97, 0.35);
}

/* On small screens: input full width, button drops beneath to full width */
@media (max-width: 640px) {
  #geo .g-row .g-input {
    flex: 1 1 100%;
  }
  #geo .g-row .g-btn {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }
}
/* Gauge panel */
#geo .g-gaugePanel {
  display: none;
  grid-template-columns: 300px 1fr;
  gap: 12px;
  margin: 10px 0 12px;
}

@media (max-width: 980px) {
  #geo .g-gaugePanel {
    grid-template-columns: 1fr;
  }
}
#geo .g-gauge {
  background: #0C162B;
  border: 1px solid #273657;
  border-radius: 12px;
  padding: 16px;
  display: grid;
  place-items: center;
}

#geo .g-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1/0.6;
}

#geo .g-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

#geo .g-score {
  position: absolute;
  bottom: 12%;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.3px;
  color: #EAF2FF;
}

#geo .g-label {
  position: absolute;
  bottom: 3%;
  left: 0;
  right: 0;
  text-align: center;
  color: #9FB0C9;
  font-size: 13px;
}

#geo .g-track {
  stroke: #22324B;
}

#geo .g-prog {
  stroke-linecap: round;
}

/* Summary card beside gauge */
#geo .g-summary {
  background: #0C162B;
  border: 1px solid #273657;
  border-radius: 12px;
  padding: 14px;
  color: #CFE1FF;
}

#geo .g-summary h4 {
  margin: 0.1rem 0 0.35rem;
  color: #E9F1FF;
}

#geo .g-summary .g-meta {
  color: #9FB0C9;
  font-size: 14px;
  margin-bottom: 0.25rem;
}

#geo .g-summary ul {
  margin: 0.4rem 0 0;
  padding-left: 18px;
}

#geo .g-summary li {
  margin: 0.15rem 0;
}

/* Full report (printable-style) */
#geo .g-resultWrap {
  display: none;
  margin-top: 12px;
}

#geo .g-result {
  background: #0C162B;
  border: 1px solid #273657;
  border-radius: 12px;
  color: #BFD0EA;
  padding: 12px;
  line-height: 1.55;
}

/* Actions at bottom (only after success) */
#geo .g-actions {
  display: none; /* revealed after success */
  margin-top: 12px;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA stripe — centered */
#geo .g-cta {
  margin-top: 14px;
  background: linear-gradient(180deg, #0C1A33, #0A1328);
  border: 1px solid #1E2B47;
  border-radius: 14px;
  padding: 18px;
  display: none;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#geo .g-ctaActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

hr {
  border-color: #BFD0EA;
}

.accordion {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.accordion:not(:last-child) {
  border-bottom: 1px solid #141111;
}
.accordion:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.accordion:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.accordion .accordion__header {
  background-color: #003249;
  padding: 1.2rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.accordion .accordion__header > h4 {
  font-weight: normal;
}
.accordion .accordion__header .bx {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: aliceblue;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #141111;
  font-size: 32px;
  transition: 400ms all ease-in-out;
}
.accordion--expand .accordion__header {
  background-color: #2971af;
}
.accordion--expand .accordion__header .bx {
  transform: rotate(180deg);
}
.accordion .accordion__body {
  overflow: hidden;
  background-color: #202b2f;
  max-height: 0;
  padding: 0 16px;
  opacity: 0;
  transition: 400ms all ease-in-out;
}
.accordion--expand .accordion__body {
  opacity: 1;
  max-height: 500px;
  padding: 16px;
}
