@charset "UTF-8";
/* ✅ GitHub Pages–compatible SCSS entry point */
/* LibSass requires @import instead of @use */
/*----------------------------------------
  Z-INDEX LAYER MAPPING
  99 - Sticky nav separator
  10 - Navigation bar
   5 - Modals / overlays
   3 - Page content wrappers (.pulse-wrapper)
   1 - Ambient visuals / background
----------------------------------------*/
/*----------------------------------------
  COLOR PALETTE
----------------------------------------*/
:root {
  --region-color-nsw: #7FB8E3;
  --region-color-vic: #8DA9B3;
  --region-color-qld: #B76E79;
  --region-color-sa: #D4A94F;
}

/*----------------------------------------
  TYPOGRAPHY
----------------------------------------*/
/*----------------------------------------
  SPACING & LAYOUT
----------------------------------------*/
/*----------------------------------------
  Z-INDEX LAYERS
----------------------------------------*/
/*----------------------------------------
  BREAKPOINTS
----------------------------------------*/
/*----------------------------------------
  TOOLS
----------------------------------------*/
.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: normal;
}

.wave-svg {
  width: 100%;
  height: auto;
  animation: waveFloat 10s ease-in-out infinite;
}

.wave {
  fill: none;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero .wave {
  stroke-opacity: 0.7;
}

.cta .wave {
  stroke: #ffffff;
  stroke-opacity: 0.5;
}

.tool-card .ambient-pulse-wave,
.tool-card .ambient-estimate-bars {
  opacity: 0.7;
}

.ambient-pulse-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ambient-estimate-bars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ambient-estimate-bars rect {
  fill: none;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  rx: 3px;
  ry: 3px;
}

.hero .ambient-estimate-bars {
  stroke-opacity: 0.7;
}

.cta .ambient-estimate-bars rect {
  stroke: #ffffff;
  stroke-opacity: 0.5;
}

@keyframes waveFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(6px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes ambientPulse {
  0%, 100% {
    transform: scale(1);
    background-position: 25% 50%;
    box-shadow: 0 0 4px rgba(255, 89, 94, 0.3);
  }
  50% {
    transform: scale(1.025);
    background-position: 25% 50%;
    box-shadow: 0 0 12px rgba(255, 89, 94, 0.6);
  }
}
@keyframes ambientEstimate {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 4px rgba(0, 153, 204, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0, 153, 204, 0.6);
  }
}
@keyframes ambientPulseBar {
  0%, 100% {
    box-shadow: 0 0 4px rgba(255, 89, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 12px rgba(255, 89, 94, 0.6);
  }
}
@keyframes textPulse {
  0%, 100% {
    text-shadow: 0 0 4px rgba(180, 220, 255, 0.3), 0 0 8px rgba(180, 220, 255, 0.15);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 6px rgba(180, 220, 255, 0.4), 0 0 12px rgba(180, 220, 255, 0.3);
    transform: scale(1.03);
  }
}
.pulse-text {
  text-shadow: 0 0 4px rgba(180, 220, 255, 0.3); /* Base glow */
}

.pulse-text-animate {
  animation: textPulse 2s ease-in-out infinite;
}

.pulse-ambient,
.estimate-ambient {
  animation: ambientPulse 2s ease-in-out infinite;
  border-radius: 6px;
}

/*----------------------------------------
  Z-INDEX LAYER MAPPING
  99 - Sticky nav separator
  10 - Navigation bar
   5 - Modals / overlays
   3 - Page content wrappers (.pulse-wrapper)
   1 - Ambient visuals / background
----------------------------------------*/
/*----------------------------------------
  GLOBAL RESETS & BASE TYPOGRAPHY
----------------------------------------*/
* {
  color: inherit;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background-color: #0A2342;
  color: #ffffff;
  margin: 0;
  padding: 0;
  overflow: visible;
}

main {
  max-width: 960px;
  margin: auto;
  padding: 2rem;
  background-color: #111827;
  color: #ffffff;
}

section {
  background-color: #111827;
  color: #ffffff;
  padding: 1rem;
  border-radius: 6px;
}

h1, h2, h3 {
  color: #5BC0BE;
  margin-bottom: 0.5rem;
}

h1.pulse-text {
  text-shadow: 0 0 6px rgba(180, 220, 255, 0.4);
}

h3 + p {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.notbold {
  font-weight: normal;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #111827;
}

#platform-tools {
  scroll-margin-top: 72px;
}

header.hero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 1rem 1rem 1rem;
  background-color: #0A2342;
  text-align: center;
  z-index: 1;
}

.hero-block {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 auto;
}

/*----------------------------------------
  LINK STYLING
----------------------------------------*/
a {
  color: #5BC0BE;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #FF595E;
}

/*----------------------------------------
  NAVIGATION BAR
----------------------------------------*/
.nav {
  height: 72px;
  padding: 0 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #111827;
  position: relative;
  z-index: 10;
}

.nav-brand {
  flex-shrink: 0;
}

.nav-brand img {
  height: 40px;
  padding-top: 4px;
  max-width: 100%;
  object-fit: contain;
}

.nav > .nav-links {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;
  align-items: center;
  list-style: none;
  padding: 1rem;
  margin-left: auto;
}

.nav-access-wrapper {
  margin-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding-top: 0px;
  flex-shrink: 0;
}

/*----------------------------------------
  NAV - ADMIN 3D ROLE TOGGLE
----------------------------------------*/
.toggle-wrapper {
  position: relative;
  width: 3em;
  height: 1.5em;
}

.role-toggle-3d {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 48px;
  background-color: #646569;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  margin-left: 1rem;
  margin-right: 0.5rem;
  box-sizing: border-box;
  gap: 0.4rem;
}

.toggle-label {
  display: inline-block;
  font-size: 0.85rem;
  color: #d1d5db;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  text-align: center;
  padding: 0;
  white-space: nowrap;
}

.toggle-checkbox {
  appearance: none;
  width: 3em;
  height: 1.5em;
  border-radius: 1em;
  background-color: #1f2937;
  position: relative;
  cursor: pointer;
  box-shadow: inset 0 0 0.125em rgba(255, 255, 255, 0.2), inset 0 0.0625em 0.125em rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease;
}

.toggle-checkbox:checked {
  background-color: #5BC0BE;
}

.toggle-3d-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1em;
  pointer-events: none;
}

.toggle-3d-thumb {
  position: absolute;
  top: 0.125em;
  left: 0.125em;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  background-color: #e4ddcf;
  box-shadow: inset 0 -0.0625em 0.0625em rgba(0, 0, 0, 0.2), inset 0 0.1875em 0.0625em rgba(255, 255, 255, 0.3), 0 0.125em 0.125em rgba(0, 0, 0, 0.5);
  transition: left 0.3s ease;
}

.toggle-checkbox:checked ~ .toggle-3d-track .toggle-3d-thumb {
  left: 1.625em;
}

/*----------------------------------------
  DEBUG OUTLINES
----------------------------------------*/
.toggle-3d-track,
.toggle-3d-thumb {
  outline: 1px dashed red;
}

/*----------------------------------------
  NAV - ROLE ACCESS TOGGLE (ADMIN/USER)
----------------------------------------*/
#roleToggleContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  margin-top: 0.3rem;
  margin-left: 2rem;
  margin-right: 2rem;
  padding: 0.2rem 0.4rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.85rem;
  color: #d1d5db;
  height: 48px;
  box-sizing: border-box;
}

#roleToggleContainer label {
  display: none;
}

.role-toggle-btn {
  flex: 1;
  width: 100%;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  font-weight: normal;
  border: 1px solid #5BC0BE;
  border-radius: 4px;
  background-color: transparent;
  color: #5BC0BE;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: center;
}

.role-toggle-btn + .role-toggle-btn {
  margin-top: 0.2rem;
}

.role-toggle-btn:hover {
  background-color: #5BC0BE;
  color: #111827;
}

.role-toggle-btn.active {
  background-color: #5BC0BE;
  color: #ffffff;
  border-color: #FF595E;
}

/*----------------------------------------
  NAV ACCESS BUTTON
----------------------------------------*/
.nav-access-btn {
  width: 180px;
  height: 48px;
  padding: 0.5rem 1.4rem;
  margin-right: 0.5rem;
  margin-top: 2px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #5BC0BE;
  color: #ffffff !important;
  font-weight: bold;
  border-radius: 6px;
  border: 2px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  box-sizing: border-box;
}

.nav li {
  display: inline-flex;
  align-items: center;
}

.nav a {
  font-weight: bold;
  color: #5BC0BE;
  text-decoration: none;
}

.nav a:hover {
  color: #FF595E;
}

.nav-separator-final {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, #5bc0be, #ff595e);
  background-size: 100% 100%;
  background-position: left center;
  animation: ambientPulseBar 2s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
  box-shadow: 0 0 4px rgba(255, 89, 94, 0.3), 0 0 6px rgba(91, 192, 190, 0.2), inset 0 0 0 rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  position: relative;
  z-index: 99;
  margin: 0;
  opacity: 0.75;
}

.nav-fade-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(to bottom, #0A2342, rgba(10, 35, 66, 0));
  pointer-events: none;
  z-index: 999;
}

.nav-access-btn:hover {
  background-color: #bfe9e7;
  border-color: #ffffff;
  color: #111827 !important;
}

.nav-access-btn.fade-text {
  opacity: 0;
  transition: opacity 0.6s ease-in;
}

.nav-access-btn.fade-text.visible {
  opacity: 1;
}

.nav-access-btn.checking {
  pointer-events: none;
}

.nav-access-btn.checking .cta-top,
.nav-access-btn.checking .cta-bottom {
  color: #d1d5db !important;
  opacity: 0.7;
}

.nav-access-btn.checking:hover {
  background-color: #5BC0BE; /* lock background */
  border-color: transparent;
  color: #d1d5db !important;
}

.nav-access-btn .cta-top {
  font-size: 0.85rem;
  margin: 0;
  padding-bottom: 0.1rem;
  font-weight: normal;
  opacity: 0.9;
}

.nav-access-btn .cta-bottom {
  font-size: 1.2rem;
  margin: 0;
}

.nav-access-btn.loading {
  background-color: #5BC0BE;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-access-btn.hidden {
  display: none !important;
}

.nav-access-btn.logged-in::after {
  content: "LOGGED IN";
  position: absolute;
  top: -10px;
  right: -15px;
  font-size: 0.7rem;
  background-color: #FF595E;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  text-transform: uppercase;
}

/*----------------------------------------
  INACTIVITY WARNING
----------------------------------------*/
.nav-access-btn.logged-in.countdown::after {
  content: attr(data-countdown);
  background-color: #FFCC00;
  color: #0A2342;
  animation: pulseGlow 1s infinite;
}

#logoutButton.countdown::after {
  content: attr(data-countdown);
  background-color: #FFCC00;
  color: #0A2342;
  animation: pulseGlow 1s infinite;
}

#accessToggleBtn {
  position: relative;
}

#accessToggleBtn.countdown::after {
  content: attr(data-countdown);
  position: absolute;
  top: -10px;
  right: -15px;
  font-size: 0.7rem;
  background-color: #FFCC00;
  color: #0A2342;
  padding: 2px 6px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: pulseGlow 1s infinite;
  z-index: 2;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 4px rgba(255, 204, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 4px rgba(255, 204, 0, 0.3);
  }
}
/*----------------------------------------
  CTA BUTTON BLOCKS
----------------------------------------*/
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cta {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: #5BC0BE;
  color: #0A2342;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta:hover,
.stacked-text:hover {
  background-color: #FF595E;
  color: #ffffff;
}

.stacked-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  line-height: 1.2;
  box-sizing: border-box;
}

.stacked-text .cta-top {
  font-weight: normal;
  font-size: 0.85rem;
}

.stacked-text .cta-bottom {
  font-size: 1.2rem;
  margin-top: 0.15rem;
}

.cta-bottom.pulse-text {
  animation: textPulse 2s ease-in-out infinite;
  text-shadow: 0 0 4px rgba(180, 220, 255, 0.3);
}

/*----------------------------------------
  CTA INTEREST TOGGLE STATES
----------------------------------------*/
.interest-selector .cta {
  position: relative;
  min-width: 160px;
  opacity: 0.85;
}

.interest-selector .cta.selected {
  background-color: #FF595E;
  color: #ffffff;
  opacity: 1;
}

.interest-selector .cta.selected::after {
  content: "SELECTED";
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 0.7rem;
  background-color: #FF595E;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/*----------------------------------------
  FOOTER
----------------------------------------*/
.footer-cta {
  margin-top: 2rem;
  text-align: center;
}

.site-footer {
  background-color: #0A2342;
  color: #ffffff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #5BC0BE;
}

.site-footer a {
  color: #5BC0BE;
  text-decoration: none;
  margin: 0 0.5rem;
}

.site-footer a:hover {
  color: #FF595E;
}

.footer-note {
  margin-top: 0.5rem;
  font-style: italic;
  color: #94a3b8;
}

.footer-logo img {
  height: 32px;
  max-width: 100%;
  opacity: 0.6;
}

.card-block {
  background-color: #1F2937;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  margin: 1rem 0;
}

.narrow {
  max-width: 960px;
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.tool-card {
  background-color: #1F2937;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}
.tool-card h2, .tool-card h3 {
  font-weight: bold;
  color: #5BC0BE;
  font-size: 1rem;
  margin-top: 0.25rem !important;
  margin-bottom: 0.15rem !important;
  text-decoration: none;
  transition: color 0.3s ease;
}
.tool-card h4 {
  font-weight: normal;
  color: #9CA3AF;
  font-size: 0.9rem;
  margin-top: 0.5rem !important;
  margin-bottom: 0.3rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.tool-card p {
  color: #D1D5DB;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}
.tool-card svg {
  display: block;
  max-width: 100%;
  margin-bottom: 0.5rem;
}

.tool-card.pulse {
  background-color: #1F2937;
  overflow: hidden;
}

.tool-card.estimate {
  background-color: #1F2937;
  overflow: hidden;
}

.tool-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
}
.tool-card-link:hover .tool-card {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.tool-card-link:hover h3 {
  color: #FF595E;
}
.tool-card-link:hover h4 {
  color: rgb(170.1033519553, 176.1061452514, 186.3966480447);
}
.tool-card-link:hover p {
  text-decoration: none;
}
.tool-card-link, .tool-card-link:hover, .tool-card-link h3, .tool-card-link:hover h3 {
  text-decoration: none !important;
}

.pulse-content,
.estimate-content {
  position: relative;
  z-index: 3;
}

/*----------------------------------------
  ADMIN DASHBOARD STYLING MODULE
----------------------------------------*/
body.admin {
  font-size: 16px;
  line-height: 1.8;
  background-color: #0E1A2B;
  color: #EAEAEA;
}
body.admin .pulse-wrapper {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
}
body.admin .hero {
  text-align: left;
  margin-bottom: 2rem;
}
body.admin .hero h1 {
  font-size: 2.25rem;
  color: #5BC0BE;
  margin-bottom: 0.5rem;
}
body.admin .hero p {
  font-size: 1.1rem;
  color: #CCC;
}
body.admin .hero h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: #EAEAEA;
}
body.admin .hero img {
  margin-top: 0.5rem;
  max-height: 60px;
}
body.admin h2 {
  font-size: 1.5rem;
  color: #5BC0BE;
  margin-bottom: 1rem;
  border-bottom: 1px solid #5BC0BE;
  padding-bottom: 0.5rem;
}
body.admin .accordion-toggle {
  font-size: 1.25rem;
  font-weight: 600;
  background-color: #122840;
  color: #5BC0BE;
  border: none;
  border-bottom: 1px solid #5BC0BE;
  padding: 0.75rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
body.admin .accordion-toggle::after {
  content: "▼";
  float: right;
}
body.admin .accordion-toggle.open::after {
  content: "▲";
}
body.admin .accordion-toggle:hover, body.admin .accordion-toggle:focus {
  background-color: #1C3452;
  outline: none;
}
body.admin .accordion-content {
  padding: 1rem 1.5rem;
  background-color: #101C2A;
  border-left: 2px solid #2A3D56;
  border-radius: 0 0 8px 8px;
  margin-top: 0;
  display: none;
}
body.admin .accordion-content.open {
  display: block;
}
body.admin .accordion-content p {
  margin-bottom: 1rem;
}
body.admin .accordion-content button {
  background-color: #5BC0BE;
  color: #0E1A2B;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
body.admin .accordion-content button:hover {
  background-color: #4AA9A5;
}

/*----------------------------------------
  CONTACT FORM
----------------------------------------*/
.contact-form {
  background-color: #1F2937;
  padding: 0.75rem;
  border-radius: 6px;
  max-width: 600px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  border: 1px solid #ccc;
  border-radius: 0.375rem;
  background-color: #ffffff;
  color: #111827;
  transition: border-color 0.2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b7280;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #5BC0BE;
  outline: none;
  outline: 2px solid #5BC0BE;
  outline-offset: 2px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #5BC0BE;
  outline-offset: 2px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  row-gap: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.form-grid label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1.25rem;
  margin-bottom: 0.3rem;
  display: block;
}

.form-grid input,
.form-grid textarea {
  width: 95%;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  margin-top: 0.25rem;
  border: 1px solid #ccc;
  color: #111827;
  border-radius: 0.375rem;
  transition: border-color 0.2s ease;
}
.form-grid input:focus,
.form-grid textarea:focus {
  border-color: #5BC0BE;
  outline: none;
  outline: 2px solid #5BC0BE;
  outline-offset: 2px;
}

textarea {
  resize: vertical;
}

.consent-wrapper {
  width: 95%;
  margin: 0%;
  padding: 1.5rem;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  flex-direction: column;
  border: 1.5px solid #D4D4D4;
  border-radius: 0.375rem;
  background-color: #0A2342;
}

.consent-wrapper > #validationWrapper {
  width: 100%;
  box-sizing: border-box;
}

#captcha {
  background-color: #ffffff;
  color: #111827;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.5rem;
  font-size: 1rem;
  text-align: center;
}
#captcha::placeholder {
  color: #6b7280;
}
#captcha:focus {
  border-color: #5BC0BE;
  outline: none;
  outline: 2px solid #5BC0BE;
  outline-offset: 2px;
}

.form-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-block label {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.form-block input[type=text] {
  width: 120px;
  padding: 0.5rem;
  font-size: 1rem;
  text-align: center;
  margin-top: 0.25rem;
}

/*----------------------------------------
  ACCESS - SUBSCRIPTION LOG ON FORM
----------------------------------------*/
form.access-form {
  background-color: #1F2937;
  padding: 0.75rem;
  border-radius: 6px;
  max-width: 600px;
  margin-top: 1rem;
  margin: auto;
}

form.access-form .form-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 1.25rem;
  row-gap: 0.1rem;
  margin-bottom: 0.3rem;
  margin-top: 0.25rem;
}

form.access-form .form-grid label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1.25rem;
  margin-bottom: 0.3rem;
  display: block;
  color: #ffffff;
}

form.access-form .form-grid input[type=email],
form.access-form .form-grid input[type=password] {
  width: 95%;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  padding: 0.75rem;
  border: 1px solid #ccc;
  color: #111827;
  border-radius: 0.375rem;
  background-color: #ffffff;
  transition: border-color 0.2s ease;
}
form.access-form .form-grid input[type=email]::placeholder,
form.access-form .form-grid input[type=password]::placeholder {
  color: #6b7280;
}
form.access-form .form-grid input[type=email]:focus,
form.access-form .form-grid input[type=password]:focus {
  border-color: #5BC0BE;
  outline: none;
  outline: 2px solid #5BC0BE;
  outline-offset: 2px;
}

#login-btn.loading {
  opacity: 0.5;
  pointer-events: none;
  display: inline-flex; /* Keeps layout stable */
}

#login-btn.hidden {
  display: none !important;
}

/*----------------------------------------
  FORM INPUT VISIBILITY FIX (Scoped)
----------------------------------------*/
.light-form input,
.light-form textarea,
.light-form select {
  color: #111 !important;
  background-color: #fff !important;
}

.light-form input::placeholder,
.light-form textarea::placeholder {
  color: #6b7280;
}

.light-form input:-webkit-autofill,
.light-form input:-webkit-autofill:hover,
.light-form input:-webkit-autofill:focus,
.light-form textarea:-webkit-autofill {
  -webkit-text-fill-color: #111 !important;
  box-shadow: 0 0 0px 1000px #fff inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/*----------------------------------------
  REGION OF INTEREST CAPSULE OPTIONS
----------------------------------------*/
.capsule-option {
  border-radius: 999px;
  background-color: #5BC0BE;
  color: #0A2342;
  padding: 0.5rem 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.capsule-option input[type=checkbox] {
  display: none;
}

.capsule-option:hover {
  background-color: #3CAEA3;
  color: #ffffff;
}

.capsule-option input[type=checkbox]:checked + .cta-bottom {
  color: #ffffff;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

.region-row .capsule-option {
  min-width: 80px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background-color: #5BC0BE;
  color: #0A2342;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  text-align: center;
}

.region-row .capsule-option.selected {
  background-color: #FF595E;
  color: #fff;
}

.region-row .capsule-option .selected-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 0.7rem;
  background-color: #FF595E;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/*----------------------------------------
  FORM SECTION FADE & ANIMATE
----------------------------------------*/
@keyframes fadeInEase {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero.fade-out,
#contactForm.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

#thankYouMessage {
  background-color: #111827;
  margin-top: 2rem;
  scroll-margin-top: 6rem;
  opacity: 0;
  transform: translateY(10px);
  padding: 2rem 1rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#thankYouMessage.show, #thankYouMessage.fade-in {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInEase 0.4s ease forwards;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
  75% {
    transform: translateX(-2px);
  }
}
.cta.shake {
  animation: shake 0.4s ease;
}

.shake {
  animation: shake 0.5s;
}

.fade-in {
  animation: fadeInEase 0.4s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*----------------------------------------
  LEGAL STYLING MODULE
----------------------------------------*/
body.legal {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.2px;
  background-color: #0E1A2B;
}

.legal-container {
  color: #EAEAEA;
  max-width: 900px;
  margin: auto;
  padding: 0 1rem;
}
.legal-container h1, .legal-container h2, .legal-container h3 {
  color: #5BC0BE;
  border-bottom: 1px solid #5BC0BE;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}
.legal-container h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.legal-container h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.legal-container h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #EAEAEA;
}
.legal-container p, .legal-container li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.legal-container li.tight {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.legal-container ul, .legal-container ol {
  padding-left: 1.5rem;
  margin: 0;
}
.legal-container a {
  color: #5BC0BE;
  text-decoration: underline;
  font-weight: 500;
}
.legal-container .legal-section ul, .legal-container .legal-section ol {
  padding-left: 1.2rem;
}
.legal-container .legal-section li {
  margin-bottom: 0.5rem !important;
  line-height: 1.4 !important;
}

/*----------------------------------------
  COLLAPSIBLE LEGAL BLOCKS
----------------------------------------*/
.legal-section {
  margin-bottom: 2rem;
}

.legal-toggle {
  width: 100%;
  font-size: 1.25rem;
  font-weight: 600;
  background-color: #122840;
  color: #5BC0BE;
  border: none;
  border-bottom: 1px solid #5BC0BE;
  padding: 0.75rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.legal-toggle:hover, .legal-toggle:focus {
  background-color: #1C3452;
  outline: none;
}
.legal-toggle:focus-visible {
  outline: 2px solid #5BC0BE;
  outline-offset: 3px;
}
.legal-toggle::after {
  content: "▼";
  float: right;
}
.legal-toggle[aria-expanded=true]::after {
  content: "▲";
}

.legal-content {
  padding: 1rem 1.5rem;
  background-color: #101C2A;
  border-left: 2px solid #2A3D56;
  border-radius: 0 0 8px 8px;
  margin-top: 0;
}
.legal-content[hidden] {
  display: none;
}

/*----------------------------------------
  CTA & NAVIGATION
----------------------------------------*/
body.legal .estimate-ambient {
  animation: none !important;
}

body.legal .legal-nav-toggle {
  text-align: center;
  margin: 3rem auto 1rem;
}
body.legal .legal-nav-toggle .stacked-text {
  display: flex;
  height: 50px;
  width: 360px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}
body.legal .legal-nav-toggle .cta-top {
  font-size: 0.9rem;
}
body.legal .legal-nav-toggle .cta-bottom {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0;
}

/*----------------------------------------
  INLINE NAV LINKS
----------------------------------------*/
.legal-inline-links {
  text-align: center;
  margin: 1.5rem auto;
  max-width: 900px;
}
.legal-inline-links .legal-link-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.legal-inline-links .legal-link-row a {
  color: #5BC0BE;
  text-decoration: underline;
  font-weight: 500;
  margin: 0 0.75rem;
}
.legal-inline-links a {
  margin: 0 0.25rem;
}

.legal-separator {
  margin: 0 0.5rem;
  color: #999;
}

/*----------------------------------------
  DISABLE DEFAULT MARKERS
----------------------------------------*/
details.legal-nav summary,
details.legal-nav::-webkit-details-marker,
details.legal-nav::marker {
  display: none;
}

.card-block {
  background-color: #1F2937;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  margin: 1rem 0;
}

.hidden {
  display: none !important;
}

/*----------------------------------------
  ACCORDION STYLING
----------------------------------------*/
.accordion-toggle {
  cursor: pointer;
  font-weight: bold;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ccc;
}

.accordion-toggle::after {
  content: "▸";
  float: right;
  transition: transform 0.2s ease;
}

.accordion-toggle.open::after {
  transform: rotate(90deg);
}

.accordion-content {
  display: none;
  padding: 0.5rem 1rem;
  border-left: 2px solid #eee;
  font-size: 0.95em;
  background: #f9f9f9;
}

/*----------------------------------------
  🛠️ DEBUGGING TOOLS
----------------------------------------*/
.debug-logout-btn {
  display: none; /* Hidden by default, shown via JS in dev mode */
  position: fixed;
  top: 65px;
  right: 43px;
  background-color: #FFCC00;
  color: #0A2342;
  font-size: 0.45rem;
  font-weight: 600;
  border: none;
  padding: 4px 4px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.debug-logout-btn:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Optional debug panel */
.debug-panel {
  position: fixed;
  top: 48px;
  right: 12px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 12px;
  font-size: 0.8rem;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  width: 220px;
}
.debug-panel .debug-header {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}
.debug-panel button {
  display: block;
  margin: 4px 0;
  width: 100%;
  font-size: 0.75rem;
  padding: 4px;
  cursor: pointer;
}

.debug-panel.hidden {
  display: none !important;
}

/* Dev mode badge */
.dev-badge {
  position: fixed;
  top: 8px;
  left: 12px;
  background: #333;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 998;
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 600px) {
  .debug-logout-btn,
  .debug-panel,
  .dev-badge {
    display: none !important;
  }
}

/*# sourceMappingURL=main.css.map */