/* ===============================
   FREE SCAN CARD — ONLY
================================ */

.hero .card {
  max-width: 800px;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  padding: 48px 56px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ===============================
   VALIDATION STYLES
================================ */

.error-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dc2626;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  width: 220px;
  position: relative;
}

.error-msg {
  color: #dc2626;
  font-size: 13px;
  margin-top: 6px;
}

input.error {
  border-color: #dc2626 !important;
  background-color: #fff7ed;
}

/* ===============================
   FORM GRID
================================ */

.hero .card .form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.hero .card .form-grid input {
  height: 54px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #cfd6e1;
  background: #ffffff;
  color: #111827;
}

.hero .card .form-grid input::placeholder {
  color: #9ca3af;
}

.hero .card .form-grid input:focus {
  outline: none;
  border-color: #94a3b8;
}

/* ===============================
   CUSTOM STATE DROPDOWN
================================ */

.custom-select {
  position: relative;
  width: 100%;
  height: 54px;
  border-radius: 6px;
  border: 1px solid #cfd6e1;
  background: #ffffff;
  cursor: pointer;
  font-size: 15px;
}

.custom-select .selected {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #111827;
  text-align: left;
}

.custom-select .options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #cfd6e1;
  border-radius: 6px;
  max-height: 240px;
  overflow-y: auto;
  display: none;
  z-index: 99999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.custom-select.open .options {
  display: block;
}

.custom-select .options div {
  padding: 10px 16px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
  text-align: left;
}

.custom-select .options div:hover {
  background: #f3f4f6;
}

/* ===============================
   TITLE & SUBTITLE
================================ */

.hero .card h1 {
  font-size: 27px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.hero .card .subtitle {
  font-size: 16px;
  color: #4b5563;
  text-align: center;
  margin-bottom: 36px;
}

/* ===============================
   TERMS
================================ */

.hero .card .terms {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  text-align: center;
  max-width: 720px;
  margin: 28px auto 36px;
}

.hero .card .terms a {
  color: #dc2626;
  text-decoration: none;
}

.hero .card .terms a:hover {
  text-decoration: underline;
}

/* ===============================
   CTA BUTTON
================================ */

.hero .card .cta {
  display: flex;
  justify-content: center;
}

.hero .card .cta button {
  background: #16a34a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
}

.hero .card .cta button:hover {
  background: #15803d;
}

.scanresult-container {
  display: none;
}

.custom-select .options div.active {
  background-color: #e9f0ff;
  font-weight: 600;
}
}

.scan-btn {
  background: #10b24a;
  color: white;
  border: none;
  padding: 12px 35px;
  font-size: 18px;
  font-weight: 200;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  cursor: pointer;
}

/* Lock icon */
.lock-icon {
  width: 28px;
  height: 28px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 650px) {
  .hero .card {
    padding: 32px 24px;
  }

  .hero .card .form-grid {
    grid-template-columns: 1fr;
  }

  .hero .card h1 {
    font-size: 24px;
  }
}

.error-summary[hidden] {
  display: none !important;
}
.scan-loader {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.scan-loader-gif {
  width: 120px;   /* adjust if needed */
  height: auto;
}

.loader-text {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
}
/* ===============================
   FIXED FOOTER BUTTON
================================ */

.fixed-footer-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #050505f7;
  padding: 16px 20px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
  z-index: 999999;

  display: none;            
  justify-content: center;
}

.fixed-footer-cta.show {
  display: flex;            
}

.fixed-footer-cta .remove-btn {
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
}

.fixed-footer-cta .remove-btn:hover {
  background: #15803d;
}
body {
  padding-bottom: 100px;  /* space for fixed footer button */
}