:root {
    --bg-dark:#12263f;
    --card-bg: #1e293b;
    --brand-blue: #60a5fa;
    --font-blue: #006DCC;
    --accent-green: #4ade80;
    --newgreen: #5FAC15;
    --accent-red: #f87171;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;      /* This is SemiBold */
    /*font-style: italic;    /* This provides the slant */
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  display: flex;
  justify-content: center;

  margin: 0;
}

.app-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 20px;
  padding-top: 80px;
}

/* --- HOME PAGE / INDEX STYLES --- */
.top-nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}

#page-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}



.page-topbar .account-home-link {
  flex: 0 0 auto;
}

.page-topbar .top-nav-right {
  flex: 0 0 auto;
}

.profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--brand-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

.profile-btn svg {
  width: 20px;
  height: 20px;
}

.profile-btn:hover {
  background: rgba(96,165,250,0.12);
  border-color: rgba(96,165,250,0.35);
  box-shadow: 0 6px 18px rgba(96,165,250,0.25);
  transform: translateY(-1px);
}

.home-header { text-align: center; margin-bottom: 30px; }
.home-header p { color: var(--text-muted); }

.menu-grid { display: flex; flex-direction: column; gap: 15px; }

.menu-card.rectangle {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: transform 0.2s;
    border: 1px solid rgba(255,255,255,0.05);
}

.menu-card:active { transform: scale(0.98); }

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

.icon-box.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}

.icon-box.green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
}

.icon-box.yellow {
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #111827;
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.35);
}

.menu-card.rectangle:hover .icon-box {
  transform: translateY(-2px) scale(1.05);
  transition: 0.2s ease;
}

.card-content h3 { margin: 0; font-size: 1.1rem; }
.card-content p { margin: 5px 0 0 0; font-size: 0.85rem; color: var(--text-muted); }

/* --- CALCULATOR / CHECK-LOAD STYLES --- */
.calculator-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.input-group { margin-bottom: 15px; display: flex; flex-direction: column; }
label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
input, select {
    background: #0f172a;
    border: 1px solid #334155;
    padding: 14px;
    color: white;
    border-radius: 10px;
    font-size: 1rem;
}

.form-row {
  display: flex;
  gap: 16px;          /* keep your spacing */
  flex-wrap: wrap;    /* prevents overflow on small widths */
}

.form-row .input-group {
  flex: 1 1 0;        /* equal width columns */
  min-width: 180px;   /* prevents tiny squishing */
}

.form-row .input-group input {
  width: 100%;        /* input fills its column */
  box-sizing: border-box;
}
.primary-btn {
    width: 100%;
    padding: 16px;
    background: var(--brand-blue);
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    color: var(--bg-dark);
    text-transform: uppercase;
}
.primary-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.hidden { display: none !important; }

.verdict-container { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 25px 0; }
#score-circle {
    width: 85px; height: 85px; border-radius: 50%; border: 6px solid var(--brand-blue);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
#score-value { font-size: 1.6rem; font-weight: 900; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-item { background: rgba(255,255,255,0.03); padding: 15px; border-radius: 14px; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.full-width { grid-column: span 2; background: rgba(96, 165, 250, 0.05); }
.danger-text { color: var(--accent-red) !important; }
.success-text { color: var(--accent-green) !important; }


/* -------------------------------
   ACCEPT / REJECT BUTTONS
-------------------------------- */

.form-row {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.save-btn {
  flex: 1;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(145deg, #16233a, #0f1a2d);
  color: #ffffff;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

/* Hover effect */
.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}

/* Active click */
.save-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
}

/* Accept / Reject buttons ONLY inside calculator form row */
.form-row .save-btn:first-child {
  border: 1px solid rgba(0, 255, 120, 0.4);
}

.form-row .save-btn:first-child:hover {
  background: linear-gradient(145deg, #113f2f, #0a2c21);
  box-shadow: 0 8px 20px rgba(0, 255, 120, 0.25);
}

.form-row .save-btn:last-child {
  border: 1px solid rgba(255, 70, 70, 0.4);
}

.form-row .save-btn:last-child:hover {
  background: linear-gradient(145deg, #3a1212, #2a0c0c);
  box-shadow: 0 8px 20px rgba(255, 70, 70, 0.25);
}


/* Saved Loads Cards */

.load-card {
  background: linear-gradient(145deg, #16233a, #0f1a2d);
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.load-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.load-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  font-size: 14px;
}

.decision {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.decision.accepted {
  color: #00ff88;
}

.decision.rejected {
  color: #ff5c5c;
}

.load-date {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.6;
}

/* Pagination */
.pagination {
  margin-top: 20px;
  text-align: center;
}

.pagination button {
  padding: 6px 12px;
  margin: 0 8px;
  background: #1f2937;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.pagination button:hover {
  background: #374151;
}

/* ===============================
   Responsive: Mobile vs Desktop
   =============================== */

/* Desktop/web enhancements */
@media (min-width: 900px) {
  .app-container {
    padding: 40px 20px;
  }

  .home-header h1 {
    font-size: 2.2rem;
  }

  .menu-card.rectangle {
    padding: 26px;
  }

  .icon-box {
    width: 58px;
    height: 58px;
    font-size: 1.7rem;
  }

  .card-content h3 {
    font-size: 1.25rem;
  }

  .card-content p {
    font-size: 1rem;
  }

  /* Saved loads spacing on desktop */
  .load-card {
    padding: 22px;
  }

  .load-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    font-size: 15px;
  }
}

/* Mobile: bigger text, better spacing */
@media (max-width: 520px) {
  body {
    padding: 12px;
  }

  .home-header h1 {
    font-size: 1.7rem;
  }

  .home-header p {
    font-size: 1rem;
  }

  .menu-card.rectangle {
    padding: 16px;
    border-radius: 14px;
  }

  .icon-box {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
    margin-right: 14px;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 0.95rem;
  }

  /* Saved Loads cards: make them feel less "zoomed out" */
  .load-card {
    padding: 16px;
  }

  .load-grid {
    grid-template-columns: 1fr;   /* stack for readability */
    font-size: 15px;
    gap: 8px;
  }

  /* Prevent mobile browser input zoom quirks */
  input, select {
    font-size: 16px;
  }
}

/* =========================
   Map Sizing
   ========================= */

#map {
  width: 100%;
  height: 50vh;       /* default: 50% of screen height */
  min-height: 350px;  /* never too small */
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Taller map on desktop */
@media (min-width: 900px) {
  #map {
    height: 45vh;     /* 65% of viewport height */
    min-height: 300px;
  }
}

/* Slightly taller feel on small mobile */
@media (max-width: 520px) {
  #map {
    height: 40vh;
    min-height: 300px;
  }
}


/* ================= AUTH PAGE ================= */

.auth-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 30px;
  display: block !important;
}


.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 0px;
}

.auth-form label {
  margin: 12px 0 6px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
}

.auth-form input {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: white;
  width: 100%;
  box-sizing: border-box;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--brand-blue);
}

.confirm-wrap,
.confirm-wrap input {
  width: 100%;
  box-sizing: border-box;
}

.auth-submit {
  margin-top: 18px;
  width: 100%;
}

.auth-switch {
  margin-top: 14px;
  font-size: 0.95rem;
  opacity: 0.85;
}

.auth-message {
  margin-bottom: 10px;
  font-size: 0.9rem;
  min-height: 18px;
}

/* ================= AUTH TAB FIXES ================= */

/* Add proper spacing below the Sign In / Sign Up tabs */
.auth-tabs {
  width: 100%;
  justify-content: center;
  display: flex;
  gap: 12px;
  margin-bottom: 0px;   /* <-- spacing from inputs */
}

/* Override tab button look ONLY inside auth page */
.auth-tabs .save-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: #cbd5e1;
  flex: 1;
  min-width: 0;
}

.auth-tabs .save-btn:hover {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 6px 18px rgba(59,130,246,0.25);
}

.auth-tabs .active-tab {
  background: var(--brand-blue);
  border: none;
  color: var(--bg-dark);
}

/* ================= ACCOUNT PAGE (uses auth assets) ================= */

.account-email {
  margin-bottom: 14px;
  font-size: 1rem;
  opacity: 0.95;
}

.account-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.account-signout {
  width: 100%;
}

/* optional: a slightly smaller heading to match auth */
.account-heading {
  margin: 8px 0 6px;
  font-size: 1.05rem;
}

.account-signout {
  border: 1px solid rgba(59,130,246,0.35);
}

.account-signout:hover {
  background: rgba(59,130,246,0.14);
  box-shadow: 0 8px 20px rgba(59,130,246,0.18);
}
.save-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


.page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 8px auto;
}

.account-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 560px;
  margin: 0 auto 8px auto;
  width: 100%;
}

.account-home-link {
  color: var(--brand-blue);
  text-decoration: none;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0ea5e9;
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  transition: opacity 0.15s ease;
}

.admin-btn:hover {
  opacity: 0.85;
}



.site-footer {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #7dd3fc;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.7;
}

.footer-contact {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.8;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-separator {
  margin: 0 8px;
  opacity: 0.5;
}



.page-shell {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.page-shell .app-container,
.page-shell .container {
  flex: 1;
}

.site-footer {
  width: 100%;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.footer-links a {
  color: #7dd3fc;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.7;
}



/* ===============================
   Global Fuel Fair Logo
================================ */

.site-logo {
  position: absolute;
  top: 1px;
  left: 22px;
  z-index: 999;

  width: 220px;
  height: auto;

  opacity: 0.95;
  transform: translateX(-60px);
  transform-origin: top left;
  transition: transform 0.2s ease, opacity 0.2s ease;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.site-logo:hover {
  opacity: 1;
}

/* Mobile sizing */
@media (max-width: 520px) {
  .site-logo {
    width: 160px;
    top: 1px;
    left: 14px;
    transform: translateX(-45px);

  }

  .site-logo:hover {
    transform: translateX(-18px) scale(1.05);
  }
}



/* ===============================
   Decision confirmation screen
================================ */

.decision-confirmation {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  padding: 24px 0;
}

.decision-confirmation-card {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(145deg, #16233a, #0f1a2d);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 36px 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.decision-confirmation-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  background: rgba(96,165,250,0.12);
  border: 1px solid rgba(96,165,250,0.28);
  color: #ffffff;
}

.decision-confirmation-card.is-accepted .decision-confirmation-icon {
  background: rgba(74,222,128,0.14);
  border-color: rgba(74,222,128,0.35);
  color: #86efac;
}

.decision-confirmation-card.is-rejected .decision-confirmation-icon {
  background: rgba(248,113,113,0.14);
  border-color: rgba(248,113,113,0.35);
  color: #fca5a5;
}

.decision-confirmation-card h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.decision-confirmation-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.decision-confirmation-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.decision-nav-btn {
  max-width: 220px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===============================
   Screen wipe transition
================================ */

.screen-wipe {
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
  background: linear-gradient(180deg, #0f172a 0%, #12263f 100%);
  opacity: 1;
  transform: translateY(100%);
}

.screen-wipe.wipe-in {
  animation: fuelFairWipeIn 320ms ease forwards;
}

.screen-wipe.wipe-out {
  animation: fuelFairWipeOut 380ms ease forwards;
}
@keyframes fuelFairScreenWipe {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  35% {
    opacity: 1;
    transform: translateY(0%);
  }
  65% {
    opacity: 1;
    transform: translateY(0%);
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@keyframes fuelFairWipeIn {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0%);
  }
}

@keyframes fuelFairWipeOut {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(-100%);
  }
}

@media (max-width: 520px) {
  .decision-confirmation-card {
    padding: 28px 18px;
  }

  .decision-confirmation-card h2 {
    font-size: 1.45rem;
  }

  .decision-confirmation-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .decision-nav-btn {
    max-width: none;
    width: 100%;
  }
}

/* Full-page confirmation mode */
body.decision-mode .calculator-card,
body.decision-mode #target-npm-warning,
body.decision-mode #score-threshold-warning,
body.decision-mode #results-main,
body.decision-mode #map {
  display: none !important;
}

body.decision-mode #results-display {
  display: flex !important;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

body.decision-mode #decision-confirmation {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* hide page header during confirmation state */
body.decision-mode #page-header {
  display: none !important;
}

.auth-switch a {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Fuel Map Page */

/* Fuel Map Page */

.fuel-map-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  align-items: start;
}

.fuel-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px;
}

.fuel-panel h2,
.fuel-panel h3 {
  margin-top: 0;
}

.fuel-map-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  height: 70vh;
  min-height: 520px;
}

#fuel-map {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
}

.station-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.station-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
}

.station-card-button {
  color: white;              /* ← THIS fixes the black text */
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;

  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 14px;
  border-radius: 12px;
}

.station-card-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
}

.station-card-button:focus-visible {
  outline: 2px solid rgba(255,255,255,0.35);
  outline-offset: 2px;
}

.muted {
  opacity: 0.72;
  font-size: 14px;
}

@media (max-width: 900px) {
  .fuel-map-layout {
    display: flex;
    flex-direction: column;
  }

  .fuel-map-box {
    order: 1;
    width: 100%;
    height: 320px;
    min-height: 320px;
    margin-bottom: 14px;
  }

  .fuel-panel {
    order: 2;
    width: 100%;
  }

  #fuel-map {
    width: 100%;
    height: 100%;
    min-height: 320px;
  }
}

.save-btn,
.save-btn:link,
.save-btn:visited {
  text-decoration: none;
  color: white;
}

.fuel-map-btn {
  background: linear-gradient(180deg, #facc15, #eab308);
  color: #111827;
  border: 1px solid rgba(0,0,0,0.25);
}

.fuel-map-btn:hover {
  background: linear-gradient(180deg, #fde047, #facc15);
  transform: translateY(-1px);
}


.fuel-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-top: 2px;
  margin-left: 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Diesel badge */
.fuel-badge.diesel {
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.45);
  color: #4ade80;
}

/* Gas badge */
.fuel-badge.gas {
  background: rgba(59,130,246,0.18);
  border: 1px solid rgba(59,130,246,0.45);
  color: #60a5fa;
}


.load-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.load-header strong {
  line-height: 1.3;
}



/* =========================
   ENTRY PAGE (APP THEME)
========================= */

.entry-container {
  max-width: 1100px;
  margin: 0 auto;
}

.entry-page {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px 48px;
}
.entry-brand {
  font-size: 64px;
  font-weight: 700;
  margin-top: -30px;
  margin-bottom: 0px;
}

.entry-tagline {
  opacity: 0.75;
  margin: 0 0 28px;
}

.entry-headline {
  font-size: 32px;
  font-weight: 00;
  line-height: 1.2;
  margin: 0 0 22px;
}

.entry-subheadline {
  font-size: 18px;
  font-weight: 00;
  line-height: 1.2;
  margin: 0 0 22px;
  opacity: 0.75;
}

.entry-copy {
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 20px;
  opacity: 0.9;
}

.entry-cta {
  display: inline-block;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #052e16;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  margin-bottom: 42px;
  box-shadow: 0 10px 26px rgba(34,197,94,0.25);
}

.entry-how {
  margin-top: 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.entry-logo {
  display: block;
  width: 260px;
  height: auto;
  margin: 8px auto 0;
}

.entry-logo-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.entry-accordion-toggle {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 16px;
  user-select: none;

  background: linear-gradient(180deg, #fde047, #facc15);
  color: #111827;

  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(250,204,21,0.55);

  box-shadow: 0 10px 26px rgba(250,204,21,0.25);
  transition: all 0.18s ease;
}

.entry-accordion-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(250,204,21,0.35);
}

.entry-chevron {
  margin-left: 8px;
  opacity: 0.7;
}

.entry-accordion-content {
  display: none;
}

.entry-accordion-content.open {
  display: block;
}

.entry-helper {
  text-align: center;
  margin: 0 0 22px;
  opacity: 0.85;
}

.entry-step {
  background: linear-gradient(145deg, #1b2e4a, #16263f);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;

  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
  transition: all 0.18s ease;
}

.entry-step:hover {
  transform: translateY(-2px);
  border-color: rgba(96,165,250,0.35);
}

.entry-step-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.entry-step-copy {
  line-height: 1.45;
}

.entry-footer-info {
  max-width: 980px;
  margin: 34px auto 0;
  text-align: left;
}

.entry-built {
  text-align: center;
  margin: 0 0 20px;
  font-size: 18px;
}

.entry-bottom {
  display: block;
  width: 100%;
}

.entry-bottom-card {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(145deg, #1b2e4a, #16263f);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}

.entry-benefits {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.entry-benefits li {
  margin: 8px 0;
  position: relative;
  padding-left: 0;
}

.entry-benefits li::before {
  content: "•";
  color: rgba(255,255,255,0.7);
  margin-right: 10px;
}

.entry-support {
  line-height: 1.6;
  word-break: break-word;
}

.entry-container {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 0;
}

@media (max-width: 768px) {
  .entry-page {
    padding: 48px 18px 40px;
  }

  .entry-brand {
    font-size: 48px;
  }

  .entry-headline {
    font-size: 32px;
  }

  .entry-subheadline {
    font-size: 18px;
  }

  .entry-copy {
    font-size: 18px;
  }

  .entry-bottom {
    grid-template-columns: 1fr;
  }

  .entry-footer-info {
    margin-top: 28px;
  }
}

.verdict-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.score-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.score-info-btn {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.score-info-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.34);
}

.score-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  background: rgba(10, 23, 43, 0.98);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 30;
}

.score-tooltip strong {
  display: block;
  margin-bottom: 8px;
}

.score-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  color: rgba(255,255,255,0.92);
}

.score-tooltip-wrap:hover .score-tooltip,
.score-tooltip-wrap:focus-within .score-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.score-green { color: #4ade80; }
.score-lime { color: #84cc16; }
.score-yellow { color: #fde047; }
.score-orange { color: #fb923c; }
.score-red { color: #f87171; }

.score-tier-list {
  margin: 16px 0 22px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.score-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.score-tier-row:last-child {
  border-bottom: none;
}

.score-tier-label,
.score-tier-range {
  color: inherit;
}

.brand-fuel {
  color: var(--font-blue);
}

.brand-fair {
  color: var(--newgreen);
}


.signup-wipe {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #0b1729, #050c16);
  z-index: 3000;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: all .45s ease;
}

.signup-wipe.active {
  opacity: 1;
  transform: scaleY(1);
}

.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 3100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.signup-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.signup-card {
  width: 100%;
  max-width: 520px;
  text-align: center;
  background: linear-gradient(145deg,#16233a,#0f1a2d);
  border-radius: 18px;
  padding: 38px 26px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 28px 60px rgba(0,0,0,.45);
  transform: scale(.92);
  transition: transform .35s ease;
}

.signup-modal.show .signup-card {
  transform: scale(1);
}

.signup-check {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  margin: 0 auto 18px;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #4ade80;
}

.signup-actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
}

.signup-btn {
  min-width: 170px;
}

@media (max-width: 520px) {
  .verdict-container {
    align-items: flex-start;
  }

  .verdict-title-wrap {
    flex-wrap: wrap;
    justify-content: center;
  }

  .score-tooltip {
    left: auto;
    right: 0;
    transform: none;
    width: min(260px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
  }

  .score-tooltip-wrap:hover .score-tooltip,
  .score-tooltip-wrap:focus-within .score-tooltip {
    transform: none;
  }

  .score-tooltip-row {
    gap: 8px;
    font-size: 12px;
  }
}