@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;800&display=swap');

h1{
    font-size: 2.125rem !important;
    color: #444; 
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body.h1{
    font-size: 2.125rem !important;
    color: #444; 
}

/* NAVIGATION */

/* ── Navbar Base ───────────────────────────────────────────────── */
nav.navbar {
  background-color: #ffffff;     /* White background */
  padding: 0.5rem 0;              /* Less vertical padding */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
  z-index: 10;
}

/* Container stays centred */
.navbar-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo tweaks */
.logo {
  color: #222;                   /* Darker, almost-black */
  font-size: 1.25rem;
  font-weight: 700;
}

/* Nav menu links */
.nav-menu li a {
  color: #444;                   /* dark grey text */
  text-decoration: none;
  padding: 0.25rem 0.5rem;       /* snug padding */
  position: relative;
  transition: color 0.2s;
  font-weight: 500;
}

/* On hover: underline animation + colour shift */
.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: black;     
  transition: width 0.2s;
}
.nav-menu li a:hover {
  color: #222;
}
.nav-menu li a:hover::after {
  width: 100%;
}

/* Sign-in button: subtle light border */
.navbar .sign-in-btn {
  border: 1px solid #222;
  color: #222;
  background: transparent;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}
.navbar .sign-in-btn:hover {
  background-color: #222;
  color: white;
}

/* Mobile menu trigger (optional) */
.nav-trigger {
  color: #444;
}

/* Remove that weird left:5% */
nav.navbar { left: auto; }

.navbar .navbar-brand,
.navbar .nav-link {
  color: #222 !important;
}
.navbar .nav-link::after { background-color: #43B4E3; }

/* FOOTER */
.footer {
    background-color: #727779;
        padding: 5px 0;
    text-align: center;
   /* position: fixed; */
    bottom: 0;
    width: 100%;
    color:white;
}

/* GENERAL CONTAINERS */
.content-container {
    width: 90%;
   /* max-width: 1300px;*/
    margin: 40px auto;
}

/* ACCOUNT + BUDGET */
.account-section, .budget-controls {
    margin-bottom: 2rem;
}

h2, h3 {
    color: #333;
}

/* BUTTONS */
.primary-button {
    background-color: #F05123; /* Red */
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    margin-right: 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.primary-button:hover {
    background-color: #C83293; /* Pink */
}

/* CARD GRIDS */

.account-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 2rem;
}

.account-card {
    background-color: #fff;
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 20px 30px;
    text-align: center;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    min-width: 220px;
    cursor: pointer;
}

.account-card:hover {
    border-color: #222;
    box-shadow: 0 6px 14px rgba(67, 180, 227, 0.2);
    transform: translateY(-3px);
}

.account-card h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.account-card p {
    margin: 0.5rem 0 0;
    font-weight: bold;
    color: #666;
}

.account-card p span {
    color: #222;
}


.account-cards,
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    font-size:small;
}

.account-card,
.action-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    transition: all 0.2s ease;
}

.action-card:hover {
    background-color: #FFC530; /* Yellow hover */
    color: #000;
    transform: translateY(-2px);
}

.hero-section {
    background-color: #222; /* Blue */
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    background-color: #F05123; /* Red */
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #C83293; /* Pink */
}


.full-width-bg {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: 4rem 1rem;
  box-sizing: border-box;
}

.full-width-bg .container {
  max-width: 1200px;        /* adjust per section */
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}
.features-section {
  padding: 4rem 1rem;
  background: #f9fafb;
}

.features-section.full-width-bg {
  background: linear-gradient(135deg, #fff 0%, #f7f3ee 100%);
}

.features-section .container,
.about-auth-section .container {
  max-width: 1200px; /* or 960px for auth */
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Tweak headings in features */
.features-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}


.features-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #fff;
  border: 1px solid #ececee;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  margin: 0.5rem 0;
  font-size: 1.125rem;
  color: #333;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* About / Google-Auth Explanation Card */
.about-auth-section {
  padding: 4rem 1rem;
  background: #f2f6f8;
}

.about-auth-section .container {
  max-width: 960px;
  margin: 0 auto;
}

.auth-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  color: #333;
  line-height: 1.6;
}

.auth-card h2 {
  color: #222;        /* brand blue */
}

/* Sub-heading accent */
.auth-card h3 {
  color: #FF7900;        /* your orange CTA color */
}

/* Link color in card */
.auth-card a {
  color: #222;
}

/* Optional: orange bullet for lists */
.auth-card ul li::marker {
  color: #FF7900;
}
.auth-card p {
  margin: 1rem 0;
}

.auth-card ul {
  margin: 0.5rem 0 1rem 1.5rem;
}

.auth-card ul li {
  margin-bottom: 0.5rem;
}


.auth-card .mb-0 {
  margin-bottom: 0;
}



.accordion {
    background-color: #f2f2f2;
    color: #333;
    cursor: pointer;
    padding: 12px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1rem;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}
.accordion:hover {
    background-color: #e0e0e0;
}
.panel {
    display: none;
    overflow-x: auto;
    background: #fff;
    padding: 10px 0;
}
.shopping_report section {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 6px solid #222;
}

.shopping_report section h2 {
    color: #222;
    margin-bottom: 15px;
}

.shopping_report .metric p {
    margin: 5px 0;
}

.shopping_report table.manual-labels-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.shopping_report table.manual-labels-table th,
.shopping_report table.manual-labels-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.shopping_report table.manual-labels-table th {
    background-color: #f8f8f8;
}

.shopping_report table.manual-labels-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

@media (min-width: 768px) {
  .with-sidebar {
    display: flex;
  }

  .account-sidebar {
    width: 250px;
    background-color: #f9f9f9;
    padding: 1rem;
    border-right: 1px solid #ddd;
    height: 100vh;
    position: fixed;
  }

  .account-sidebar ul {
    list-style: none;
    padding: 0;
  }

  .account-sidebar li {
    margin: 10px 0;
  }

  .account-sidebar a {
    color: #333;
    text-decoration: none;
  }

  .account-sidebar a:hover {
    text-decoration: underline;
  }

  .content-with-sidebar {
    margin-left: 270px; 
    padding: 1rem;
    flex: 1;
  }
}

.gear-icon i {
  transition: transform 0.3s ease;
}

.gear-icon:hover i {
  transform: rotate(90deg);
}


  .help-btn {
    border: none;
    background: #eee;
    color: #333;
    font-weight: bold;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    margin-left: 5px;
  }

  .slide-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 12px rgba(0,0,0,0.15);
    z-index: 10000;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #ddd;
  }

  .slide-panel.open {
    right: 0;
  }

  .slide-header {
    padding: 1rem;
    background: #f8f8f8;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .slide-body {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
  }

  .slide-close {
    font-size: 20px;
    cursor: pointer;
    color: #888;
  }

  .slide-close:hover {
    color: #000;
  }

.slide-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.slide-body li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Full-width, centered hero */
.hero-centered {
    width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  min-height: 70vh;
  padding: 6rem 1rem;
  background: linear-gradient(135deg, #FFD1DC 0%, #FFE0B2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Constrain inner text block */
.hero-inner {
  max-width: 600px;
  width: 100%;
}

/* Headline */
.hero-inner h1 {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #222;
}

/* Gradient on second line */
.gradient-line {
  display: inline-block;
  background: linear-gradient(90deg, #FF7900 0%, #D32795 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subheadline */
.hero-inner p {
  font-size: 1.125rem;
  color: #444;
  margin-bottom: 2.5rem;
}

/* CTA button */
.btn-hero {
  display: inline-block;
  background-color: #FF7900;
  color: #fff;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.3s;
}
.btn-hero:hover {
  background-color: #E76700;
}

/* Responsive downscaling */
@media (max-width: 768px) {
  .hero-inner h1 { font-size: 2.25rem; }
  .hero-inner p { font-size: 1rem; }
  .btn-hero { width: 100%; padding: 0.75rem 1rem; }
}
.about-auth-section.full-width-bg {
  background: #f7f8fa;
}
