/* -------------------------
   NutraLabel Global Styles
   =========================
   Organized CSS with proper section separation
   -------------------------------------------------------------- */

/* ===== 1. DESIGN TOKENS ===== */
:root {
  /* Brand colors */
  --nl-green-dark: #14410b; /* primary */
  --nl-green-light: #73af7e; /* accent  */
  --nl-white: #ffffff;
  /* Greyscale (for subtle tints/lines) */
  --grey-100: #f6f6f6;
  --grey-200: #e0e0e0;
  --grey-700: #4d4d4d;
  /* Typography */
  --font-base: "Segoe UI", system-ui, Arial, sans-serif;
  --fs-100: 0.875rem; /* 14px */
  --fs-200: 1rem; /* 16px */
  --fs-300: 1.25rem; /* 20px */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --shadow-md: 0 0 0.75rem rgba(0, 0, 0, 0.1);
  --navbar-height: 110px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --nl-green-dark: #14410b;
    --nl-green-light: #73af7e;
    --nl-white: #121212;
    --grey-100: #1a1a1a;
    --grey-200: #222;
    --grey-700: #c2c2c2;
  }
}

/* ===== 2. CSS RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-100);
  background: linear-gradient(135deg, #14410b 0%, #73af7e 100%);
  color: white;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensure body covers full viewport height */
  width: 100vw; /* Take full viewport width */
  overflow-x: hidden; /* Prevent horizontal scroll from accidental overflow */
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("/assets/images/logos/NutraLabel-logo.svg");
  background-size: 100px;
  background-repeat: repeat;
  background-attachment: fixed;
  opacity: 0.15;
  z-index: -1;
}

/* ===== 3. LAYOUT CONTAINERS ===== */
.container {
  max-width: 1400px; /* Consistent across all pages */
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: var(--navbar-height);
  padding-bottom: 20px;
  flex: 1 0 auto; /* Allow main content to grow and push footer down */
}

main.container {
  padding-top: 110px !important;
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  max-width: 1400px;
}
main {
  border: blue 1px solid;
}
main.container {
  border: red 1px solid;
}
.container {
  border: purple 1px solid;
}

.about-section,
.billing-section,
   .blog-section,
   .case-studies,
   .contact-section,
   .faq-section,
.features-section,
   .form-box, /*contact */
      .get-started-section,
   .get-started-section .get-started-steps,
   .hero
   .label-builder-intro,
   .label-builder-features,
    .label-builder-cta,
   .my-labels,
   .past-orders,
   .pricing-section,
   .register-form,
   .resources-section,
   .saved-recipes,
   .search-results,
   .subscription-management,
   .testimonials-section,
   .login-form {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  background-color: #f8fff9;
  padding: 2rem 1rem;
  align-items: center;
  text-align: center;
}

.terms,
.privacy {
  font-size: 0.9em;
  background-color: #f8fff9;
  color: #f8fff9;
  text-align: left;
  margin: 2rem;
  color: var(--nl-green-dark);
}

/* ===== 4. IMAGES & MEDIA ===== */
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Center the demo image */
.img-responsive {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Blog images: make all blog images responsive and max 100% width */
.entry-featured-image-url img,
.post-content img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1em auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  background: #f6f6f6;
}

/* ===== 5. ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  padding: 0.5em 1em;
  background: var(--nl-green-dark);
  color: var(--nl-white);
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

a:focus,
button:focus,
input:focus,
.btn:focus {
  outline: none;
  outline-offset: 2px;
}

/* ===== 6. TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 2rem 0 0.75em 0;
  text-align: center !important;
  background: transparent;
  color: var(--nl-green-dark);
  text-decoration: none;
  transition: 100ms;
  text-decoration: underline;
}

h1 {
  font-size: clamp(2rem, 5vw+1rem, 3rem);
  color: #fff;
  font-family: 'ITCErasStd-Bold', var(--font-base), Arial, sans-serif;
}

.terms h2,
.privacy h2 {
  color: var(--nl-green-dark);
  text-align: left;
}

.pricing h2 {
  font-size: 1.5rem;
  margin-bottom: 1em;
  color: #014d0b;
  text-decoration: underline;
}

/* ===== 7. BUTTONS ===== */
.btn,
.login-trigger,
.register-trigger,
a.btn,
a.login-trigger,
a.register-trigger,
button.btn,
button.login-trigger,
button.register-trigger {
  display: inline-block;
  padding: 0.75em 1.5em;
  box-sizing: border-box;
  border: 2px solid var(--nl-green-dark);
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, #14410b 0%, #73af7e 100%);
  color: #fff;
  cursor: pointer;
  background-size: 200% 200%;
  font-weight: 600;
  text-decoration: none;
  font-size: 17px;
  font-family: Raleway, var(--font-base), sans-serif;
  position: relative;
  transition: background-position 0.25s ease-out, box-shadow 0.25s ease-out;
  min-width: 120px;
  text-align: center;
  overflow: hidden;
}

/* glossy “shine” that sweeps across on hover */
.btn::before,
a.btn::before,
.login-trigger::before,
a.login-trigger::before,
.register-trigger::before,
.register-trigger:hover::before,
a.login-trigger:hover::before,
.btn:focus-visible::before,
a.btn:focus-visible::before,
a.register-trigger::before,
.register-trigger:focus-visible::before,
a.login-trigger:focus-visible::before,
a.register-trigger:focus-visible::before,
.form-box .btn::before,
body.dark-mode .btn::before,
body.dark-mode .login-trigger::before,
body.dark-mode .register-trigger::before,
body.dark-mode a.btn::before,
body.dark-mode a.login-trigger::before,
body.dark-mode a.register-trigger::before {
  content: "";
  position: absolute;
  top: -150%;
  left: -40%;
  width: 30%;
  height: 220%;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(25deg);
  transition: left 0.6s ease-out, top 0.6s ease-out;
  pointer-events: none;
}

.btn:hover,
.login-trigger:hover,
.register-trigger:hover,
a.btn:hover,
a.login-trigger:hover,
a.register-trigger:hover,
button.btn:hover,
button.login-trigger:hover,
button.register-trigger:hover {
  background: var(--nl-green-dark);
  background-position: 100% 0; /* slides the gradient */
  transform: translateY(-2px) scale(1.03); /* tiny lift */
  color: var(--nl-white);
  box-shadow: 0 0 4px #97e4a5, /* soft glow core */ 0 0 10px #238a45;
  outline: none;
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 150%;
  top: 80%;
}

/* Search Box - Centered with proper label and icon positioning */
.search-box {
  position: relative;
  display: block;
  text-align: center;
  margin: 2em auto;
  max-width: 500px;
}

.search-box input {
  padding-left: 3em; /* space for the icon */
  padding-right: 3em; /* space for clear X */
  height: 2.8em;
  margin: 0 auto;
}

.search-box input[type="text"] {
  width: 100%;
  max-width: 400px;
  border: 2px solid #014d0b;
  border-radius: 8px;
  box-sizing: border-box;
  background: white !important;
  font-size: var(--fs-100);
  color: #222;
  display: block;
  margin: 0 auto;
}

.search-box input[type="text"]:focus {
  outline: none;
  border-color: #014d0b;
  box-shadow: 0 0 5px rgba(1, 77, 11, 0.5);
}

/* Search box label (if present) */
.search-box label {
  display: block;
  margin-bottom: 0.5em;
  color: #fff;
  font-weight: 500;
  text-align: center;
}

/* Clear X button - centered vertically with auto margins - Generic for all search types */
.search-box .clear-search,
.search-box #clearSearch,
.search-box #clearCaseStudySearch {
  position: absolute;
  right: 0.8em;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2em;
  color: #888;
  background: none;
  border: none;
  padding: 0;
  z-index: 2;
  transition: color 0.2s;
  pointer-events: auto;
  line-height: 1;
  margin: auto;
}

.search-box .clear-search:hover,
.search-box #clearSearch:hover,
.search-box #clearCaseStudySearch:hover {
  color: #014d0b;
}

/* Magnifying glass icon - centered vertically with auto margins - Generic for all search types */
.search-box .search-icon,
.search-icon {
  position: absolute;
  left: 0.8em;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto; /* Make clickable */
  color: #666;
  font-size: 1.2em;
  line-height: 1;
  z-index: 1;
  margin: auto;
  cursor: pointer;
  transition: color 0.2s;
}

.search-box .search-icon:hover,
.search-icon:hover {
  color: #014d0b;
}

/* Input placeholder styling */
input::placeholder,
textarea::placeholder {
  color: #999 !important;
  opacity: 1;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999 !important;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #999 !important;
  opacity: 1;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #999 !important;
}

/* Ensure about section h2 elements are centered */
.about-section h2,
.about-section h3 {
  text-align: center !important;
  color: #ffffff;
  margin: 2rem auto 0.75em auto;
  width: 100%;
}

/* Fix list alignment in about section */
.about-section ul {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.about-section ul li {
  margin-bottom: 0.5em;
  color: #ffffff;
}

/* Target customers grid layout */
.target-customers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.customer-type {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.customer-type h3 {
  color: var(--nl-green-light, #73af7e);
  margin-bottom: 1rem;
  text-align: center;
}

.customer-type p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* -------------------------
  3.  Forms
  -------------------------*/
form label {
  color: #fff !important;
  text-align: left;
  margin-left: 0;
}

form input,
form textarea,
form select {
  margin-left: 0 !important;
}

.form-inner {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  max-width: 500px;
  margin: auto;
  text-align: left;
  transform: translateX(2rem); /* Pos value shifts right */
}

#regForm {
  margin: 100px auto;
  padding: 40px;
  width: 70%;
  min-width: 300px;
  align-items: center;
}

/* input[type="submit"],*/
input,
textarea,
select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
form input[type="text"],
form input[type="password"] {
  border: 2px solid #014d0b !important;
  padding: 8px;
  width: 100%;
  max-width: 550px;
  border-radius: 8px; /* This sets the rounded corners*/
  box-sizing: border-box;
  background: white !important;
  font-size: var(--fs-100);
  margin-left: 0.5em;
  flex: 1 1 auto;
  color: #222;
  margin-bottom: 1em;
  padding-right: 2.5rem;
}

form label,
form .password-field {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
  tab-size: 4;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  min-width: 90px;
}

.form-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

/*Simple form‑error state */
.invalid {
  background: #ffecec;
  border-color: #e44d4d;
}

/* Simple form‑success state */
.valid {
  background: #e6ffec;
  border-color: #4caf50;
}

.login-row button[type="submit"],
.modal-content .btn[type="submit"],
.form-box .btn[type="submit"] {
  width: auto;
  display: block;
  margin: 1.5em auto 0 auto; /*center the button */
  /*transform: translateX(2rem);  Pos value shifts right */
  border-radius: 10px;
  padding: 0.75em 2em;
  border: 2px solid #014d0b;
  background: linear-gradient(135deg, #73af7e, #14410b);
  color: #fff;
  font-weight: bold;
}

/* Step Indicator Container */
.step-indicator {
  text-align: center;
  margin-top: 2rem; /* Add proper spacing from wizard navigation */
  margin-bottom: 1rem;
}

.btn-toggle {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0.5em 1em;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-eye {
  position: absolute; /* <-- fix this line */
  right: 0.5em;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.3em;
  color: #000;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  line-height: 1;
  filter: grayscale(100%);
}

.toggle-eye:focus {
  outline: 2px solid #014d0b;
  outline-offset: 0;
}

.password-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* -------------------------
    Tabels
   -------------------------*/

@media (max-width: 48rem) {
  table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em auto;
    font-size: var(--fs-100);
    font-family: var(--font-base);
    background-color: var(--grey-100);
    color: black;
  }
  th,
  td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
  }
  th {
    background-color: #f4f4f4;
  }
  tr:nth-child(even) {
    background-color: #fafafa;
  }
}

#complianceResults ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1em;
}

#complianceResults li {
  margin-bottom: 0.5em;
  color: #014d0b;
}

#complianceResults a {
  color: #014d0b;
  text-decoration: underline;
  font-size: 1em;
}

.fda-results-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  color: #000;
  background: #fff;
}

.fda-results-table th,
.fda-results-table td {
  border: 1px solid #000;
  padding: 0.5em 1em;
  text-align: left;
  vertical-align: top;
}

.fda-results-table th {
  background: #f4f4f4;
}

.fda-results-table tr:nth-child(even) {
  background: #fafafa;
}

.fda-results-table a {
  color: #014d0b;
  text-decoration: underline;
}

/*FAQ*/
#faqList {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 2em auto;
  max-width: 800px;
  font-family: var(--font-base);
  font-size: var(--fs-100);
  line-height: 1.2;
  text-align: left;
  color: #222;
  background-color: var(--nl-green-light);
}

.faq-item {
  width: 100%;
  max-width: 600px;
  margin-bottom: 1em;
  border-bottom: 1px solid rgba(115, 175, 126, 0.3);
  padding-bottom: 0.5em;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  font-size: 1.1em;
  font-weight: bold;
  color: #222;
  cursor: pointer;
  padding: 0.75em 0;
  transition: background 0.2s;
}

.faq-question:hover {
  background-color: rgba(115, 175, 126, 0.1);
  border-radius: 4px;
}

.faq-question:focus {
  background-color: rgba(115, 175, 126, 0.15);
  outline: 2px solid #73af7e;
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-question:active {
  background-color: rgba(115, 175, 126, 0.2);
}

.faq-arrow {
  margin-left: 0.5em;
  transition: transform 0.25s ease;
  display: inline-block;
  font-weight: normal;
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
  color: #73af7e;
}

.faq-answer {
  padding: 0 1em 0.5em 1em;
  border-left: 2px solid #73af7e;
  color: #222;
  background: transparent;
  display: none; /* Hidden by default */
  margin-top: 0.5em;
}

.faq-answer[hidden] {
  display: none !important;
}

.faq-answer:not([hidden]) {
  display: block;
}

.faq-answer.open {
  display: block !important;
  animation: fadeInSlide 0.3s ease;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0; /* Remove left/right padding to align left */
  background: transparent;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5em;
  margin-left: 0;
  gap: 0.7em;
  justify-content: flex-start; /* Align to far left */
}

nav[aria-label="breadcrumb"] {
  margin-left: 0;
  padding-left: 0;
}

.breadcrumb-item + .breadcrumb-item:before {
  content: ">";
  margin: 0 0.5em;
  color: var(--grey-200, #e0e0e0);
}

.breadcrumb-item,
.breadcrumb-item a {
  color: var(--grey-200, #e0e0e0);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 10px;
}

.breadcrumb-item.active {
  color: var(--grey-700, #4d4d4d);
  font-weight: bold;
  pointer-events: none;
  text-decoration: underline;
}

.breadcrumb-item a:hover {
  color: #8ef3b3;
}

/* ----------------
     Navbar & Footer
   ----------------*/

.footer {
  margin: 0;
  padding: 0;
  flex-shrink: 0; /* Prevent footer from shrinking */
  width: 100vw;
}

  .custom-footer-grid,
  .footer {
    flex: 0 0 auto;
    margin-top: auto;
  }

.custom-footer-grid {
  min-height: var(--navbar-height);
  padding: 20px 30px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  width: 100vw;
  background: linear-gradient(135deg, #73af7e, #14410b) !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 10 !important;
}

.footer-text {
  flex: 1 1 auto;
  text-align: center;
  color: #f9f9f9;
  min-width: 200px; /* Prevent collapse */
  margin: 0 1rem; /* Add spacing from edges */
}

.navbar-actions,
.footer-actions {
  flex: 1 1 0;
  display: flex;
  justify-content: right;
  gap: 1rem;
}

/* Set a fixed size for all logos, and override global img rules */
.footer-logo img,
.navbar-logo img,
#NutraLabelLogo {
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  height: auto !important;
  display: block;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}

/* Prevent flexbox from shrinking the logo container */
.navbar-logo,
.footer-logo {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  min-width: 120px !important; /* Ensure minimum space */
}

/* Responsive footer for small screens */
@media (max-width: 768px) {
  .custom-footer-grid {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
    padding: 20px 15px !important;
  }

  .footer-text {
    margin: 0 !important;
    min-width: auto !important;
  }

  .navbar-logo,
  .footer-logo {
    order: -1; /* Logo appears first on mobile */
  }
}

/* -------------------------
   Pricing
   -------------------------*/
.pricing {
  display: flex;
  gap: 2em 2rem;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 2em auto;
  padding: 0 1em;
}

.pricing .card {
  background: #fff;
  color: #000;
  border: 1px solid #014d0b;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 2em 1.5em;
  align-items: center;
  display: flex;
  flex-direction: column; /* Ensure content stacks vertically */
  min-width: 220px;
  max-width: 320px;
  text-align: center;
  margin: 0 auto;
  transition: box-shadow 0.2s;
  flex: 1 1 220px;
  word-break: break-word;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.pricing-card {
  background: white;
  border: 2px solid var(--nl-green-light, #73af7e);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: var(--nl-green-dark, #14410b);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--nl-green-dark, #14410b);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}

.plan-name {
  color: var(--nl-green-dark, #14410b);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--nl-green-dark, #14410b);
  margin-bottom: 0.5rem;
}

.plan-price span {
  font-size: 1rem;
  color: #666;
}

.plan-description {
  color: #666;
  margin-bottom: 2rem;
  font-style: italic;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.plan-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  color: #333;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-cta {
  background: var(--nl-green-dark, #14410b);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  transition: background 0.3s ease;
}

.plan-cta:hover {
  background: var(--nl-green-light, #73af7e);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 columns */
  gap: 2em 2em; /* 2em gap between columns and rows */
  max-width: 1200px;
  margin: 2em auto;
  padding: 2em 1em;
  border-radius: 16px;
}

.blog-card {
  background: #fff !important;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 1.5em 1em 1.5em 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 340px;
  margin: 0 auto;
  transition: box-shadow 0.2s;
  min-height: 340px; /* or whatever height you want */
}

.blog-card img {
  display: block;
  margin: 0 auto 1em auto;
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  background: #f6f6f6;
  padding: 12px;
}

.blog-card p,
.blog-card .post-content {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

.blog-card .entry-title {
  font-size: 1.1em;
  margin: 0.5em 0 0.3em 0;
  text-align: center;
  color: #14410b;
}

.blog-card .post-meta {
  color: #888;
  font-size: 0.95em;
  margin-bottom: 0.7em;
  text-align: center;
}

.blog-card .post-content {
  font-size: 1em;
  color: #222;
  text-align: center;
  margin-top: 0.5em;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

/* Responsive: 2 columns on tablets, 1 on mobile */
@media (max-width: 900px) {
  .blog-grid,
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .blog-grid,
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* Website Input Validation */
.website-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.website-input {
  min-width: 1000px;
  padding: 0.75em 2.5em 0.75em 0.75em;
  border: 2px solid #ccc;
  border-radius: var(--radius-sm);
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.website-input:focus {
  outline: none;
  border-color: var(--nl-green-dark);
  box-shadow: 0 0 5px rgba(115, 175, 126, 0.3);
}

.website-input.valid {
  border-color: #28a745;
  background-color: #f8fff9;
}

.website-input.invalid {
  border-color: #dc3545;
  background-color: #fff8f8;
}

.validation-icon {
  position: absolute;
  right: 0.75em;
  font-size: 1.2em;
  font-weight: bold;
}

.validation-icon.valid {
  color: #28a745;
}

.validation-icon.invalid {
  color: #dc3545;
}

/* Wizard Navigation */
.wizard-navigation {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin: 2em 0;
}

.wizard-btn,
.form-navigation .btn {
  min-width: 120px;
  padding: 0.75em 1.5em !important;
  display: flex !important;
  align-items: center;
  gap: 0.5em;
  background: linear-gradient(150deg, #14410b 0%, #73af7e 100%) !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-position 0.25s ease-out, box-shadow 0.25s ease-out !important;
  font-family: Raleway, var(--font-base), sans-serif !important;
  font-size: 17px !important;
  text-align: center !important;
}

.wizard-btn:hover,
.form-navigation .btn:hover {
  background: var(--nl-green-dark) !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 0 4px #97e4a5, 0 0 10px #238a45 !important;
}

.wizard-btn.prev-btn::before,
.form-navigation .btn-secondary::before,
#prevBtn::before {
  content: "←";
  font-size: 1.1em;
  font-weight: bold;
}

.wizard-btn.next-btn::after,
.form-navigation .btn-primary::after,
#nextBtn::after {
  content: "→";
  font-size: 1.1em;
  font-weight: bold;
}

/* Submit button styling */
.form-navigation .btn-success,
#submitBtn {
  background: var(--nl-green-light) !important;
  border-color: var(--nl-green-light) !important;
}

.form-navigation .btn-success:hover,
#submitBtn:hover {
  background: #5a9663 !important;
  border-color: #5a9663 !important;
}

/* Allergen Detection Styles */
.allergen-detected {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 0.25rem;
  padding: 1em;
  margin: 1em 0;
}

.allergen-detected.warning {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.allergen-detected.success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.allergen-list {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

.allergen-list li {
  margin: 0.25em 0;
}

/* Allergen Detection Input Section */

/* Step 2 Styling */
.step-2-container {
  background-color: white;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 1em 0;
}

.ingredients-input-options {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.input-option {
  padding: 1.5em;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.input-option:hover {
  border-color: var(--nl-green);
}

.input-option h4 {
  margin: 0 0 0.5em 0;
  color: var(--nl-green-dark);
  font-size: 1.1em;
}

.input-option p {
  margin: 0 0 1em 0;
  color: #666;
  font-size: 0.9em;
}

.input-option-divider {
  text-align: center;
  position: relative;
  margin: 1em 0;
}

.input-option-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #ddd;
  z-index: 1;
}

.input-option-divider span {
  background-color: white;
  padding: 0 1em;
  color: #666;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.input-option textarea {
  width: 100%;
  min-height: 120px;
  padding: 0.75em;
  border: 2px solid #ddd;
  border-radius: 0.25rem;
  font-family: inherit;
  font-size: 0.9em;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.input-option textarea:focus {
  border-color: var(--nl-green);
  outline: none;
  box-shadow: 0 0 0 2px rgba(115, 175, 126, 0.2);
}

.input-option input[type="file"] {
  width: 100%;
  padding: 0.75em;
  border: 2px dashed #ddd;
  border-radius: 0.25rem;
  background-color: #f8f9fa;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.input-option input[type="file"]:hover {
  border-color: var(--nl-green);
  background-color: #f0f8f1;
}

.validation-error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 1em;
  border-radius: 0.25rem;
  margin: 1em 0;
}

.allergen-flags-display {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 1em;
  margin: 1em 0;
}

.allergen-flags-display h4 {
  margin: 0 0 0.5em 0;
  color: var(--nl-green-dark);
}

.allergen-flags-list {
  margin: 0.5em 0;
  padding-left: 0;
  list-style: none;
}

.allergen-flags-list li {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 0.25rem;
  padding: 0.5em;
  margin: 0.25em 0;
  font-weight: 500;
}

/* -------------------------
   Hero Section
   -------------------------*/

.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero .btn {
  display: inline-block;
  margin: 0 auto;
}

/* -------------------------
   Intro Section
   -------------------------*/
.intro {
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.intro iframe {
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  display: block;
}

/* Video Container Styles */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.demo-caption {
  text-align: center;
  margin-top: 16px;
  color: #666;
}

@media (max-width: 768px) {
  .video-container iframe {
    height: 250px;
  }
}

/* Dark mode overrides */
body.dark-mode .btn,
body.dark-mode .login-trigger,
body.dark-mode .register-trigger,
body.dark-mode a.btn,
body.dark-mode a.login-trigger,
body.dark-mode a.register-trigger,
body.dark-mode button.btn,
body.dark-mode button.login-trigger,
body.dark-mode button.register-trigger,
body.dark-mode .form-box .btn,
body.dark-mode a.form-box .btn {
  color: #121212;
  background: linear-gradient(135deg, #73af7e 0%, #14410b 100%);
  border-color: #121212;
}

body.dark-mode .btn:hover,
body.dark-mode .login-trigger:hover,
body.dark-mode .register-trigger:hover,
body.dark-mode a.btn:hover,
body.dark-mode a.login-trigger:hover,
body.dark-mode a.register-trigger:hover,
body.dark-mode button.btn:hover,
body.dark-mode button.login-trigger:hover,
body.dark-mode button.register-trigger:hover,
.navbar .dropdown-content a:hover {
  color: #121212;
  background: var(--nl-green-dark);
  background-position: 100% 0; /* slides the gradient */
  transform: translateY(-2px) scale(1.03); /* tiny lift */
  box-shadow: 0 0 20px #3b664b, /* soft glow core */ 0 0 10px #14410b;
  outline: none;
}

body.dark-mode .navbar,
body.dark-mode .custom-footer-grid {
  background: linear-gradient(135deg, #3b664b, #1a1a1a) !important;
  color: #121212;
  opacity: 1 !important;
}

body.dark-mode .dropdown-content,
body.dark-mode {
  background: linear-gradient(135deg, #1a1a1a, #3b664b);
  color: #b4f8c0;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode title {
  color: var(--nl-green-light);
}

body.dark-mode .breadcrumb {
  color: var(--nl-green-light);
}

body.dark-mode .breadcrumb-item {
  color: var(--nl-green-light);
}

body.dark-mode .breadcrumb-item a {
  color: var(--nl-green-light);
  text-decoration: none;
}

body.dark-mode .breadcrumb-item a:hover {
  color: var(--nl-white, #ffffff); /* Fixed: was '--nl-white-ffffff' */
}

body.dark-mode .breadcrumb-item.active a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

/* Add to assets/css/style.css */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--nl-green-dark, #14410b);
  color: white;
  padding: 1rem 2rem;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cookie-link {
  color: var(--nl-green-light, #73af7e);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== REGISTRATION FORM STYLES ===== */

/* Remove white background from tab navigation */
.tab {
  display: flex;
  border-bottom: 2px solid var(--nl-green-light);
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  background: transparent; /* Remove white background */
}

.tab button {
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 20px;
  transition: 0.3s;
  color: white !important; /* Force white text */
  font-weight: 500;
  border-bottom: 3px solid transparent;
  margin: 0 0.5rem;
}

.tab button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white !important;
}

.tab button.active {
  border-bottom-color: var(--nl-green-light);
  background-color: rgba(115, 175, 126, 0.2);
  color: white !important;
}

/* Tab Content Styles */
.tabcontent {
  display: none;
  background: rgba(115, 175, 126, 0.05);
  border: 2px solid rgba(115, 175, 126, 0.3);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 2rem;
  margin-top: -1px;
  position: relative;
  z-index: 5;
  animation: fadeIn 0.4s ease-out;
}

.tabcontent.active {
  display: block;
}

/* ===== FILE FOLDER TAB STYLES ===== */
.tab-folder {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}

.tab-folder .tablinks {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(115, 175, 126, 0.3);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  padding: 16px 24px;
  margin: 0 2px;
  color: white !important;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  transform: perspective(100px) rotateX(0deg);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.tab-folder .tablinks:before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(115, 175, 126, 0.2)
  );
  border-radius: 12px 12px 0 0;
  z-index: -1;
}

.tab-folder .tablinks:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: perspective(100px) rotateX(-2deg) translateY(-2px);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.tab-folder .tablinks.active {
  background: rgba(115, 175, 126, 0.25);
  border-color: var(--nl-green-light);
  color: white !important;
  transform: perspective(100px) rotateX(-3deg) translateY(-4px);
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.2);
  z-index: 15;
}

.tab-folder .tablinks.active:before {
  background: linear-gradient(
    135deg,
    rgba(115, 175, 126, 0.3),
    rgba(255, 255, 255, 0.1)
  );
}

.tab-text {
  display: block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== TAB CONTENT STYLES - CONSOLIDATED ===== */
.tabcontent {
  display: none;
  border: 2px solid rgba(115, 175, 126, 0.3);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 2rem;
  margin-top: -1px;
  position: relative;
  z-index: 5;
  animation: fadeIn 0.4s ease-out;
}

.tabcontent.active {
  display: block;
}

/* ===== FORM SECTION STYLES ===== */
.form-section {
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* ===== FORM ROW LAYOUTS ===== */
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

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

/* Fixed: Equal spacing for city/state/zip with proper proportions */
.form-row-triple-equal {
  display: grid;
  grid-template-columns: 2fr 80px 1fr; /* City gets more space, state gets fixed width, zip gets remaining */
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: end; /* Align inputs to bottom for consistent baseline */
}

.form-field {
  display: flex;
  flex-direction: column;
  min-width: 0; /* Prevent overflow */
}

.form-field label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--nl-green-dark);
  white-space: nowrap; /* Prevent label wrapping */
}

/* ===== PHONE NUMBER COMPACT STYLING ===== */
.phone-wrapper {
  display: flex;
  white-space: nowrap; /* Prevent label wrapping */
}

/* ===== PHONE NUMBER COMPACT STYLING ===== */
.phone-wrapper {
  display: flex;
  gap: 0.5rem;
}

.country-code-compact {
  min-width: 90px !important;
  max-width: 90px !important;
  width: 90px !important;
}

.phone-number {
  flex: 1;
  min-width: 140px !important;
  max-width: 140px !important;
  width: 140px !important;
}

/* ===== COMPACT INPUT SIZING - ENHANCED ===== */
.state-compact {
  max-width: 70px !important;
  width: 70px !important;
  padding: 8px 4px !important;
  text-align: center !important;
  font-size: 0.9rem !important;
  min-width: 70px !important;
  margin-bottom: 0 !important; /* Override global input margin */
}

.date-input-compact {
  max-width: 90px !important;
  width: 90px !important;
  padding: 8px !important;
  text-align: center !important;
  margin-bottom: 0 !important; /* Override global input margin */
}

.cvv-input-compact {
  max-width: 70px !important;
  width: 70px !important;
  padding: 8px !important;
  text-align: center !important;
  margin-bottom: 0 !important; /* Override global input margin */
}

/* ===== DEBUG STYLES (remove after fixing) ===== */
.card-input-wrapper {
  /* Temporarily add border to see the grid */
  border: 1px solid red;
}

.form-row-dual {
  /* Temporarily add border to see each field */
  border: 2px solid blue;
}

.cvv-input-compact {
  /* Temporarily add border to see each input */
  border: 2px solid green !important;
}

/* ===== CREDIT CARD STYLING ===== */
.card-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 0 !important;
}

.card-logos-row {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(115, 175, 126, 0.2);
}

.card-logos {
  display: flex;
  justify-content: left;
  gap: 15px;
  flex-wrap: wrap;
}

.card-logo {
  width: 40px;
  height: 28px;
  object-fit: contain;
  opacity: 0.3;
  transition: all 0.3s ease;
  border-radius: 4px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.card-logo.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

/* Fix for inputs within triple equal rows */
.form-row-triple-equal input,
.form-row-triple-equal select {
  margin-bottom: 0 !important; /* Remove bottom margin for proper alignment */
}

/* ===== FORM NAVIGATION - KEEP ONLY USED STYLES ===== */
.form-navigation {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(115, 175, 126, 0.2);
  transition: justify-content 0.3s ease;
}

.form-navigation button {
  min-width: 140px;
  display: none;
}

.form-navigation button.active,
.form-navigation #nextBtn,
.form-navigation #prevBtn,
.form-navigation #submitBtn {
  display: inline-block;
}

/* Ensure buttons match site-wide styling */
.form-navigation .btn {
  padding: 12px 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: Raleway, var(--font-base), sans-serif;
  font-size: 17px;
}

.form-navigation .btn-primary {
  background: var(--nl-green-dark);
  color: white;
  border-color: var(--nl-green-dark);
}

.form-navigation .btn-primary:hover {
  background: var(--nl-green-light);
  border-color: var(--nl-green-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.form-navigation .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.form-navigation .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.form-navigation .btn-success {
  background: var(--nl-green-light);
  color: white;
  border-color: var(--nl-green-light);
}

.form-navigation .btn-success:hover {
  background: #5a9663;
  border-color: #5a9663;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== FORM SUCCESS STATES - NEW ===== */
.form-success,
input.form-success,
select.form-success {
  border-color: #28a745 !important;
  box-shadow: 0 0 4px rgba(40, 167, 69, 0.3) !important;
  background-color: #f8fff9 !important;
}

.form-error,
input.form-error,
select.form-error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 4px rgba(220, 53, 69, 0.3) !important;
  background-color: #fff5f5 !important;
}

/* ===== CONSISTENT PASSWORD WRAPPER STYLES ===== */
.password-wrapper,
.card-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

/* ===== UNIVERSAL PASSWORD TOGGLE STYLING ===== */
.toggle-eye {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 1.2em !important;
  color: #999 !important;
  z-index: 1000 !important;
  padding: 8px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  transition: all 0.3s ease !important;
  pointer-events: auto !important;
  -webkit-user-select: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  outline: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 4px !important;
}

.toggle-eye:hover {
  color: var(--nl-green-light) !important;
  background: rgba(115, 175, 126, 0.1) !important;
}

.toggle-eye:active {
  transform: translateY(-50%) scale(0.95) !important;
  background: rgba(115, 175, 126, 0.2) !important;
}

.toggle-eye .eyeIcon,
.eyeIcon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  -webkit-user-select: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  font-size: 1.1em !important;
  width: 100% !important;
  height: 100% !important;
}

/* ===== CONSISTENT INPUT PADDING FOR EYE ICONS ===== */
.password-wrapper input,
.card-input-wrapper input,
input[id="password"],
input[id="registerPassword"],
input[id="confirmPassword"],
input[id="cardNumber"] {
  padding-right: 3rem !important;
  width: 100% !important;
  position: relative !important;
  z-index: 1 !important;
}

/* ===== PASSWORD ROW STYLING - CONSISTENT ===== */
.password-row,
.login-row.password-row,
.form-row.password-row {
  position: relative;
  margin-bottom: 1.5rem;
}

.login-row {
  margin-bottom: 1.5rem;
}

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

/* ===== ENSURE BUTTONS ARE CLICKABLE ===== */
button[id^="toggle"],
#togglePassword,
#toggleRegisterPassword,
#toggleConfirmPassword,
#toggleCardNumber {
  all: unset !important;
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  cursor: pointer !important;
  z-index: 1000 !important;
  padding: 8px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2em !important;
  color: #999 !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
  pointer-events: auto !important;
  -webkit-user-select: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

button[id^="toggle"]:hover,
#togglePassword:hover,
#toggleRegisterPassword:hover,
#toggleConfirmPassword:hover,
#toggleCardNumber:hover {
  color: var(--nl-green-light) !important;
  background: rgba(115, 175, 126, 0.1) !important;
}

/* ===== GLOBAL FORM INPUT CONSISTENCY WITH SUCCESS STATES ===== */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  border: 2px solid #014d0b !important;
  padding: 8px 12px;
  width: 100%;
  border-radius: 8px;
  box-sizing: border-box;
  background: white !important;
  font-size: var(--fs-100);
  color: #222;
  margin-bottom: 1em;
  font-family: var(--font-base);
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--nl-green-light) !important;
  box-shadow: 0 0 5px rgba(115, 175, 126, 0.3);
}

/* Success state takes precedence */
input.form-success:focus,
select.form-success:focus {
  border-color: #28a745 !important;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.3) !important;
}

/* Error state takes precedence */
input.form-error:focus,
select.form-error:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 5px rgba(220, 53, 69, 0.3) !important;
}
