/* ==========================================================
   Crop Price Predictor — global styles
   Palette: harvest field at golden hour
   Display face: Fraunces (characterful serif for headings)
   Body/UI face: Inter
   Data face: IBM Plex Mono (prices, numbers)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --soil: #3B2E1F;
  --forest: #1F3D2B;
  --forest-light: #2E5A3F;
  --gold: #E0A527;
  --gold-light: #F3C862;
  --wheat: #F7F1E1;
  --wheat-dim: #EFE6CE;
  --sage: #8FA998;
  --ink: #1B1B16;
  --danger: #B23A2E;
  --white: #FFFFFF;

  --radius: 10px;
  --shadow: 0 6px 20px rgba(59, 46, 31, 0.12);
  --shadow-soft: 0 2px 8px rgba(59, 46, 31, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--wheat);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  scroll-behavior: smooth;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 .4em 0;
  letter-spacing: -0.01em;
}

.mono { font-family: 'IBM Plex Mono', monospace; }

a { color: var(--forest-light); }

/* ---------- layout shell with field-row texture ---------- */
.field-bg {
  background-image: repeating-linear-gradient(
    180deg,
    var(--wheat) 0px,
    var(--wheat) 38px,
    var(--wheat-dim) 39px,
    var(--wheat) 40px
  );
  min-height: 100vh;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: var(--forest);
  color: var(--wheat);
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.top-bar .brand {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--wheat);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-bar .brand .leaf {
  color: var(--gold);
}

.top-bar nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.top-bar nav a,
.top-bar nav button {
  color: var(--wheat);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
}

.top-bar nav a:hover,
.top-bar nav button:hover {
  color: var(--gold-light);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ---------- auth pages ---------- */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-light) 55%, #4a7a54 100%);
}

.auth-card {
  background: var(--wheat);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
}

.auth-card .eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--soil);
}

.field input, .field select {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #DCD0B0;
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}

.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--forest-light);
  box-shadow: 0 0 0 3px rgba(46, 90, 63, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease;
  font-family: inherit;
}

.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-primary { background: var(--forest); color: var(--wheat); width: 100%; }
.btn-primary:hover { background: var(--forest-light); }

.btn-gold { background: var(--gold); color: var(--soil); }
.btn-gold:hover { background: var(--gold-light); }

.btn-outline { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.btn-outline:hover { background: rgba(31,61,43,0.06); }

.form-error {
  background: #FBE7E4;
  color: var(--danger);
  border: 1px solid #EFC2BA;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .85rem;
  margin-bottom: 16px;
  display: none;
}

.form-success {
  background: #E7F0E6;
  color: var(--forest);
  border: 1px solid #C4DAC1;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .85rem;
  margin-bottom: 16px;
  display: none;
}

.auth-switch {
  text-align: center;
  margin-top: 18px;
  font-size: .88rem;
  color: var(--soil);
}

/* ---------- cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.card h2 { font-size: 1.15rem; }

.stat-card {
  background: var(--forest);
  color: var(--wheat);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.stat-card .stat-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold-light);
  font-weight: 700;
}

.stat-card .stat-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2rem;
  font-weight: 600;
  margin-top: 6px;
}

/* ---------- prediction result "signature" element ---------- */
.price-ticker {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 18px 26px;
  background: var(--wheat-dim);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  margin: 10px 0 20px;
}

.price-ticker .amount {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--forest);
}

.price-ticker .unit { font-size: .85rem; color: var(--soil); }

/* ---------- table ---------- */
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead th {
  text-align: left;
  padding: 10px 12px;
  background: var(--wheat-dim);
  color: var(--soil);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
tbody td { padding: 10px 12px; border-bottom: 1px solid #EEE4CB; }
tbody tr:hover { background: #FBF7EC; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  background: var(--sage);
  color: var(--forest);
}
.badge.admin { background: var(--gold); color: var(--soil); }

.loading { color: var(--soil); font-style: italic; font-size: .9rem; }

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--soil);
}

footer.site-footer {
  text-align: center;
  padding: 24px;
  font-size: .8rem;
  color: var(--soil);
}
/* ---------- mobile responsive fixes ---------- */
@media (max-width: 800px) {

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

  .container {
    width: 100%;
    max-width: 100%;
    padding: 28px 16px 60px;
  }

  /* ---------- Mobile top bar ---------- */

  .top-bar {
    width: 100%;
    min-height: 58px;
    padding: 12px 16px;
    gap: 10px;
  }

  .top-bar .brand {
    font-size: 1.02rem;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-bar .brand .leaf {
    flex-shrink: 0;
  }

  /* Hide desktop navigation on mobile */
  .desktop-nav {
    display: none !important;
  }

  /* Mobile navigation */
  .mobile-nav {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    position: relative;
    flex-shrink: 0;
  }

  .mobile-role {
  background: #FFFFFF;
  color: #000000;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  cursor: default;
}

  .menu-btn {
    width: 34px !important;
    height: 34px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--wheat);
    border: none;
    border-radius: 7px;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
  }

  .menu-btn:hover {
    background: rgba(255, 255, 255, 0.10);
    color: var(--gold-light);
  }

  /* Mobile dropdown menu */
  .mobile-menu {
    display: none;
    position: absolute;
    top: 43px;
    right: 0;
    width: 230px;
    background: var(--white);
    color: var(--ink);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .20);
    padding: 8px;
    z-index: 1000;
  }

  .mobile-menu.show {
    display: block;
  }

  .mobile-email {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 10px;
    color: var(--soil);
    font-size: .82rem;
    border-bottom: 1px solid #EEE4CB;
    margin-bottom: 5px;
    overflow: hidden;
  }

  .mobile-email span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu a,
  .mobile-menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 10px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    font-family: inherit;
    font-size: .88rem;
    text-align: left;
    cursor: pointer;
  }

  .mobile-menu a:hover,
  .mobile-menu button:hover {
    background: var(--wheat);
    color: var(--forest);
  }

  /* ---------- Cards ---------- */

  .card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    overflow: hidden;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  input,
  select,
  button {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* ---------- Prediction result ---------- */

  .price-ticker {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    padding: 14px 16px;
  }

  .price-ticker .amount {
    font-size: 1.8rem;
  }

  .price-ticker .unit {
    font-size: .8rem;
  }

  /* ---------- Chart ---------- */

  #trendChart {
    width: 100% !important;
    max-width: 100%;
  }

  /* ---------- Prediction history ---------- */

  .card:has(table) {
    overflow-x: auto;
  }

  table {
    min-width: 600px;
  }

  /* ---------- Success message ---------- */

  #predictionSuccess {
    font-size: .9rem;
    line-height: 1.4;
  }
}

/* ---------- Desktop: hide mobile navigation ---------- */
@media (min-width: 801px) {
  .mobile-nav {
    display: none !important;
  }
}
/* ---------- Same account navigation on all screen sizes ---------- */

.account-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  position: relative;
}

/* User / Admin label - NOT clickable */
.account-role {
  background: #FFFFFF;
  color: #000000;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  cursor: default;
}

/* Three-dot button */
.account-nav .menu-btn {
  display: flex !important;
  width: 34px !important;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  background: transparent;
  color: var(--wheat);
  border: none;
  border-radius: 7px;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.account-nav .menu-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  color: var(--gold-light);
}

/* Dropdown position */
.account-nav .mobile-menu {
  top: 43px;
  right: 0;
}

/* Keep menu available on laptop AND mobile */
@media (min-width: 801px) {

  .account-nav {
    display: flex;
  }

  .account-nav .mobile-menu {
    display: none;
  }

  .account-nav .mobile-menu.show {
    display: block;
  }

  /* Old mobile navigation is no longer used */
  .mobile-nav {
    display: none !important;
  }
}
/* ==========================================================
   FINAL ACCOUNT MENU FIX
   ========================================================== */

.account-nav {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  position: relative;
  z-index: 2000;
}

.account-role {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  color: #000000 !important;
  padding: 7px 13px !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  white-space: nowrap;
  pointer-events: none;
}

.account-nav .menu-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 1.7rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  border-radius: 7px;
}

.account-nav .menu-btn:hover {
  background: rgba(255,255,255,0.12) !important;
  color: var(--gold-light) !important;
}


/* ---------- Dropdown ---------- */

.account-nav .mobile-menu {
  display: none !important;
  position: absolute !important;
  top: 43px !important;
  right: 0 !important;

  width: 250px !important;

  background: #ffffff !important;
  color: #1B1B16 !important;

  border: 1px solid #E5D9BD !important;
  border-radius: 10px !important;

  padding: 8px !important;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.22) !important;

  z-index: 99999 !important;
}


/* IMPORTANT: this is what opens the menu */
.account-nav .mobile-menu.show {
  display: block !important;
}


/* ---------- Email ---------- */

.account-nav .mobile-email {
  display: flex !important;
  align-items: center;
  gap: 9px;

  width: 100%;

  padding: 11px 10px !important;

  color: #3B2E1F !important;

  font-size: 0.82rem !important;

  border-bottom:
    1px solid #EEE4CB !important;

  margin-bottom: 5px !important;

  overflow: hidden;
}

.account-nav .mobile-email span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ---------- Dashboard / Help / Logout ---------- */

.account-nav .mobile-menu a,
.account-nav .mobile-menu button {
  width: 100% !important;

  display: flex !important;
  align-items: center;

  gap: 9px;

  padding: 11px 10px !important;

  border: none !important;
  border-radius: 7px !important;

  background: transparent !important;

  color: #1B1B16 !important;

  font-family: inherit;

  font-size: 0.88rem !important;

  text-align: left;

  text-decoration: none;

  cursor: pointer;
}

.account-nav .mobile-menu a:hover,
.account-nav .mobile-menu button:hover {
  background: #F7F1E1 !important;
  color: #1F3D2B !important;
}


/* ==========================================================
   PREDICTION INPUT SAFETY
   ========================================================== */

#year,
#rainfall,
#temperature,
#demand {
  font-family: 'IBM Plex Mono', monospace;
}


/* Don't allow browser spinner to create strange overflow */
#year,
#rainfall,
#temperature,
#demand {
  width: 100%;
  max-width: 100%;
}


/* Error message */
#formError {
  display: none;
  margin: 10px 0;
  padding: 10px 12px;

  border-radius: 7px;

  background: #FCEBE8;
  color: #B23A2E;

  font-size: 0.88rem;
  font-weight: 600;
}
/* ==========================================================
   HOME PAGE
========================================================== */

.home-page {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(
      135deg,
      #1f4d36 0%,
      #2f6749 50%,
      #3d7655 100%
    );
  color: #1f3d2b;
}


/* ==========================================================
   NAVBAR
========================================================== */

.home-navbar {
  min-height: 72px;
  padding: 0 6%;
  background: #1f3d2b;

  display: flex;
  align-items: center;
  justify-content: space-between;

  box-sizing: border-box;
}

.home-brand {
  color: #fff;
  text-decoration: none;

  display: flex;
  align-items: center;
  gap: 10px;

  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: bold;
}

.home-logo {
  font-size: 27px;
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-nav-links a {
  color: #fff;
  text-decoration: none;

  padding: 10px 18px;
  border-radius: 8px;

  font-weight: 600;
}

.home-nav-links a:hover {
  background: rgba(255,255,255,0.12);
}

.home-nav-register {
  background: #e0a527 !important;
  color: #1f3d2b !important;
}


/* ==========================================================
   HERO
========================================================== */

.home-hero {
  max-width: 1200px;
  margin: 0 auto;

  padding: 80px 30px;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;

  align-items: center;
}

.home-hero-content {
  color: #fff;
}

.home-badge {
  display: inline-block;

  padding: 8px 14px;
  margin-bottom: 18px;

  border-radius: 20px;

  background: rgba(224,165,39,0.18);
  color: #ffd36b;

  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1.5px;
}

.home-hero h1 {
  margin: 0;

  font-family: Georgia, serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;

  color: #fff;
}

.home-hero h1 span {
  display: block;
  color: #f1c65a;
}

.home-hero-content > p {
  max-width: 650px;

  margin: 24px 0;

  font-size: 18px;
  line-height: 1.7;

  color: #f2f2f2;
}


/* ==========================================================
   BUTTONS
========================================================== */

.home-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.home-btn {
  display: inline-block;

  padding: 13px 24px;

  border-radius: 8px;

  text-decoration: none;
  font-weight: bold;

  transition: 0.2s ease;
}

.home-btn-primary {
  background: #e0a527;
  color: #1f3d2b;
}

.home-btn-primary:hover {
  transform: translateY(-2px);
}

.home-btn-secondary {
  background: #fff;
  color: #1f3d2b;
}

.home-btn-secondary:hover {
  transform: translateY(-2px);
}


/* ==========================================================
   HERO CARD
========================================================== */

.home-hero-card {
  background: #f7f0df;

  padding: 35px;

  border-radius: 18px;

  box-shadow: 0 18px 45px rgba(0,0,0,0.18);

  text-align: center;
}

.home-card-icon {
  font-size: 55px;
  margin-bottom: 10px;
}

.home-hero-card h2 {
  margin: 5px 0 12px;

  font-family: Georgia, serif;
  font-size: 28px;
}

.home-hero-card p {
  line-height: 1.6;
  color: #3b2e1f;
}

.home-mini-stats {
  margin-top: 25px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid #ddcfb2;
  padding-top: 20px;
}

.home-mini-stats div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-mini-stats strong {
  font-size: 24px;
  color: #1f3d2b;
}

.home-mini-stats span {
  font-size: 12px;
  color: #665a49;
}


/* ==========================================================
   SECTIONS
========================================================== */

.home-features,
.home-how {
  background: #f7f0df;

  padding: 75px 30px;
}

.home-section-title {
  max-width: 700px;
  margin: 0 auto 45px;
  text-align: center;
}

.home-section-title > span {
  color: #d99d1c;

  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
}

.home-section-title h2 {
  margin: 10px 0;

  font-family: Georgia, serif;
  font-size: 38px;

  color: #1f3d2b;
}

.home-section-title p {
  color: #5d5345;
}


/* ==========================================================
   FEATURE CARDS
========================================================== */

.home-feature-grid {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-feature-card {
  background: #fff;

  padding: 28px;

  border-radius: 14px;

  box-shadow: 0 5px 20px rgba(0,0,0,0.08);

  border: 1px solid #eadfc8;
}

.home-feature-icon {
  font-size: 34px;
  margin-bottom: 12px;
}

.home-feature-card h3 {
  margin: 0 0 10px;

  color: #1f3d2b;

  font-family: Georgia, serif;
}

.home-feature-card p {
  margin: 0;

  color: #5d5345;
  line-height: 1.6;
}


/* ==========================================================
   HOW IT WORKS
========================================================== */

.home-how {
  background: #eee4cc;
}

.home-steps {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 35px;
}

.home-step {
  text-align: center;
}

.home-step-number {
  width: 50px;
  height: 50px;

  margin: 0 auto 15px;

  border-radius: 50%;

  background: #1f3d2b;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  font-weight: bold;
}

.home-step h3 {
  font-family: Georgia, serif;
  color: #1f3d2b;
}

.home-step p {
  color: #5d5345;
  line-height: 1.6;
}


/* ==========================================================
   CALL TO ACTION
========================================================== */

.home-cta {
  padding: 80px 30px;

  text-align: center;

  background: #1f3d2b;
  color: #fff;
}

.home-cta h2 {
  margin: 0 0 10px;

  font-family: Georgia, serif;
  font-size: 38px;
}

.home-cta p {
  margin-bottom: 25px;
  color: #e8e8e8;
}


/* ==========================================================
   FOOTER
========================================================== */

.home-footer {
  min-height: 75px;

  padding: 20px 30px;

  box-sizing: border-box;

  background: #172f23;
  color: #ddd;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;

  text-align: center;
}

.home-footer strong {
  color: #fff;
}

.home-footer span {
  color: #bbb;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 850px) {

  .home-navbar {
    padding: 0 20px;
  }

  .home-brand {
    font-size: 20px;
  }

  .home-nav-links a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding: 55px 20px;
    gap: 35px;
  }

  .home-hero h1 {
    font-size: 45px;
  }

  .home-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-steps {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 550px) {

  .home-navbar {
    min-height: 65px;
  }

  .home-brand {
    font-size: 17px;
  }

  .home-logo {
    font-size: 21px;
  }

  .home-nav-links a {
    padding: 7px 8px;
    font-size: 12px;
  }

  .home-hero {
    padding: 45px 18px;
  }

  .home-hero h1 {
    font-size: 38px;
  }

  .home-hero-content > p {
    font-size: 16px;
  }

  .home-hero-card {
    padding: 25px 18px;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-section-title h2 {
    font-size: 30px;
  }

  .home-cta h2 {
    font-size: 30px;
  }

}
/* ==========================================================
   PASSWORD SHOW / HIDE
   ========================================================== */

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);

  width: 34px;
  height: 34px;

  border: none;
  background: transparent;

  cursor: pointer;
  font-size: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
}

.password-toggle:hover {
  opacity: 0.7;
}