
.new-join-form {
  margin: 20px auto;
}

h2 {
  font-size: 1.5rem;
  /*margin: 1.25rem 0rem 0rem 0rem;*/
}

h3 {
  font-size: 1.2rem;
  /*margin: 1.25rem 0rem 0rem 0rem;*/
}

.main-container {
  max-width: 1220px;
  /*min-width: 1220px;*/
  padding: 0px;
  background-color: white;
  display: flex;
  gap: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

/* Left and Right Containers */

.left {
  flex: 3; /* 30% of 10 total */
  max-width: 390px;
}

.right {
  flex: 7; /* 70% of 10 total */
  max-width: 810px;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
}

.left,
.right {
  padding: 5px;
  box-sizing: border-box;
}

.right h2 {
  font-weight: 600;
  margin-top: 0;
  color: #000000;
}

/*Banner - left side*/

.banner-box {
  display: flex;
  align-items: center;
  padding: 10px 5px 10px 5px;
margin: 0px auto  10px auto;
   gap: 10px;
}

.banner-image {
  width: 380px;
  height: 59px;
}

/*Breadcrumb Line*/

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 30px;
  margin-bottom: 30px;
padding: 0px 10px 10px 5px;
width: 95%;

}

.step {
  width: 25px;
  height: 25px;
  background-color: #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.step-first {
  margin-left: 5px;
}

.step.completed {
  background-color: #00539b;
  color: #fff;
}

.step.active {
  border: 2px solid #00539b;
  background-color: #fff;
  color: #00539b;
}

.line {
  flex-grow: 1;
  height: 2px;
  background-color: #ddd;
}

/*link your account*/

.link-membership-account {
  text-align: center;
  padding-bottom: 20px;
  display: block;
  color: #00539B;
  font-weight: bold;
  font-size: 16px;
}

a.link-membership-account {
  text-decoration: none;
}

.link-membership-account:hover {
  text-decoration: none;
}

/*Left Part - Join Us Form - Page 1*/
.join-container {
align-items: center;
  justify-content: center;
  background: #fff;
  padding: 10px;
  border-radius: 0px;
  max-width: 380px;
  width: 100%;

margin: 20px auto 20px auto;
}

.join-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.join-border {
  border: 1px solid #ccc;
  padding: 20px 15px 30px 15px;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 12px 12px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  background-color: white;
  color: #333;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.social-button:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}

.social-button:focus,
.social-button:active,
.social-button:visited {
  text-decoration: none;
  color: #333;
}

/* Utility to remove underline on specific anchor cases from Twig */
.no-underline { text-decoration: none !important; }

.social-button img {
  width: 20px;
  height: 20px;
}

.divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
  color: #999;
  font-size: 14px;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #ccc;
}

.divider::before {
  left: 0;
}
.divider::after {
  right: 0;
}

/*Email Form*/
.email-wrapper {
  position: relative;
}

.email-wrapper input[type="email"] {
  width: 100%; /* complete input box without grey area */
  height: 42px; /* unify height with password */
  padding: 10px 15px 10px 15px; /* normal padding for complete box */
  border: 1px solid #ccc;
  border-radius: 10px; /* complete rounded rectangle */
  font-size: 16px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18); /* subtle dark shadow like screenshot */
}

.email-wrapper input[type="email"]:focus {
  border: 2px solid #000;
  border-radius: 10px; /* complete rounded rectangle */
  outline: none;
  width: 100%; /* complete input box without grey area */
  padding: 10px 15px 10px 15px; /* normal padding for complete box */
}

/* Override the global .form-control width rule specifically for email input */
.new-join-form .email-wrapper input[type="email"].form-control {
  width: 100% !important; /* complete input box without grey area */
  max-width: none !important;
  border-radius: 10px !important; /* complete rounded rectangle */
}

.new-join-form .email-wrapper input[type="email"].form-control:focus {
  width: 100% !important; /* complete input box without grey area */
  max-width: none !important;
  border-radius: 10px !important; /* complete rounded rectangle */
}

.email-wrapper input::placeholder {
  color: #515050f0;
}


/* Email icon styles removed - now using complete input box */


/*Password Form*/

.password-inline-form {
  margin-top: 30px;
  position: relative;
}

/* Keep the input as a separate complete box before the submit button */
.password-inline-form input[type="password"] {
  display: block !important;
  width: calc(100% - 61px) !important; /* end 1px before submit button (for the border width) */
  max-width: calc(100% - 61px) !important; /* ensure no other styles override */
  height: 42px;
  padding: 10px 15px 10px 15px; /* normal padding since we're not overlapping */
  border: 1px solid #ccc;
  border-radius: 10px 0 0 10px; /* curved left, square right to match submit button */
  font-size: 16px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18); /* match email shadow effect */
}

.password-inline-form input[type="password"]:focus {
  border: 2px solid #000 !important;
  border-radius: 10px 0 0 10px !important; /* curved left, square right to match submit button */
  outline: none;
  width: calc(100% - 62px) !important; /* end 2px before submit button (for the border width) */
  max-width: calc(100% - 62px) !important; /* ensure no other styles override */
  padding-right: 15px;
}

/* Override the global .form-control width rule specifically for password input */
.new-join-form .password-inline-form input[type="password"].form-control {
  width: calc(100% - 61px) !important; /* default state */
  max-width: calc(100% - 61px) !important;
  border-radius: 10px 0 0 10px !important; /* curved left, square right to match submit button */
}

.new-join-form .password-inline-form input[type="password"].form-control:focus {
  width: calc(100% - 62px) !important; /* focus state */
  max-width: calc(100% - 62px) !important;
  border-radius: 10px 0 0 10px !important; /* curved left, square right to match submit button */
}

/* Drupal renders submit as <input type="submit">; style and place it like the grey block */
.password-inline-form input[type="submit"].password-submit-button {
  position: absolute;
  right: 0;
  top: 0; /* lock to input's top so wrapper height changes don't affect it */
  height: 42px; /* match 42px input with 1px border overlap */
  width: 60px; /* same width as email grey block */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #d9d9d9;
  /* Text arrow only (no image) */
  background-image: none;
  background-repeat: no-repeat;
  background-position: center;
  color: #ffffff; /* show text arrow */
  border: none;
  border-radius: 0 6px 6px 0; /* match email grey block curve */
  cursor: pointer;
  font-size: 0; /* prevent text layout shifts */
  line-height: 1;
  transition: background-color 0.3s ease;
}

/* Default text arrow overlaid on wrapper; does not affect button position */
.password-inline-form::after {
  content: "\2192"; /* Unicode right arrow → */
  position: absolute;
  right: 20px; /* same as two-piece head position */
  top: 8px; /* moved up slightly for better vertical alignment */
  transform: none;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
  z-index: 3;
}

/* hide any duplicate submit that Drupal might render in .form-actions below */
.password-inline-form ~ .form-actions .form-submit { display: none; }

.password-inline-form input[type="submit"].password-submit-button:hover {
  background-color: #bebcbc;
}

/* push Drupal password strength UI below the input+arrow row */
.password-strength,
.password-confirm,
.password-suggestions,
.password-confirm-match,
.password-indicator {
  width: 100%;
  margin-top: 8px;
}

.buy-gift-button {
  margin-top: 20px;
 }

a.buy-gift-button {
  text-decoration: none;
}

/*Right Part - Page 1*/

/*Promotions section*/

.promotions-section {
  background-color:#fff;/*#630f00de;*/
  padding: 0px;
  border-radius: 10px;
  color: white;
  max-width: 800px;
  margin: 10px auto 10px auto;
}

.promotions-grid {
  display: grid;
  grid-template-columns: 450px 300px; /*main promo + side banners*/
  gap: 5px;
  max-width: 760px;
  margin: auto;
  padding: 5px;
}

.main-promo-banner {
  display: block;
padding:0px;
}


.main-promo-banner img {
width: 450px;
height: 295px;

}

.side-banners {
  display: grid;
 grid-template-columns: 1fr 1fr;
  gap: 3px;

}

.side-banners img {
   width: 140px;
  height: 140px;
}

.left-promo {
    width: 450px;
height: 295px;
}

.right-promo {
 width: 140px;
  height: 140px;
}

.hide-on-mobile-right {
  display: block;
}

/*Favorites - circles*/

.favorites-section {
  /*background-color: #00539b;*/
  padding: 5px 20px 20px 20px;
  border-radius: 10px;
  color: white;
  max-width: 800px;
  margin: auto;
}

.favorites-section h3 {
  font-size: 1.7em;
  margin-bottom: 15px;
  font-weight: 600;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: flex-start;
}

.logo-grid img {
  width: 69px;
  height: 69px;
  object-fit: contain;
  border-radius: 50%;
  background-color: white;
  padding: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
}

.logo-grid img:hover {
  transform: scale(1.05);
}

.more-link {
  display: inline-block;
  margin-top: 20px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
font-size: 1.4em;
}

.more-link:hover {
  text-decoration: none;
}

.more-link:visited {
  text-decoration: none;
}


/*Shopping Promos - Page 1*/

.promo-section {
  background-color:#fff;/*#f3d2e2;*/
  padding: 0.3rem 1.1rem 1.6rem 1.1rem;
  border-radius: 10px;
  color: white;
  max-width: 800px;
  margin: 10px auto 10px auto;
}

.category {
  margin-bottom: 30px;
}

.promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: space-between;
  align-items: center;
}

.promo-card {
  width: 140px;
  height: 140px;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.promo-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.promo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding-bottom: 2.1rem;
  /*padding-left: 1rem;*/

}

.promo-text {
  font-size: 1em;
font-weight:600;
  color: #000;
  padding-top: 10px; /* Space above text */
  margin-top: -60px; /* Raise it visually above bottom */
  text-decoration: none;
  margin-left: 5px;
}


.one-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

  }

 .shopping-title {
    font-weight: bold;
    font-size: 1.4rem;
    color:#000;
  }

  .shopping-link {
    color: #00539B;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px;
  }

  .shopping-link:hover {
    text-decoration: none;
  }


.view-more {
  font-size: 1.3rem;
  margin-top: 15px;
  margin-bottom: 10px;
}

.view-more a {
  color: #00539b;
  text-decoration: none;
  font-weight: bold;
}

.view-more a:hover {
  text-decoration: none;
}



.promo-text:hover {
  text-decoration: none;
}

/*Right side - FAQ*/

.faq-section {
  background-color: #fff;/*#a1a2a7;*/
  padding: 0.3rem 1.6rem 1.6rem 1.6rem;
  border-radius: 10px;
  color: #000000;
  max-width: 800px;
  margin: 10px auto 10px auto;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-input {
  display: none;
}

.faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f9f9f9;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
}

.faq-label::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-input:checked + .faq-label::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 15px 20px;
  background-color: #fff;
  font-size: 0.95rem;
  color: #333;
}

.faq-input:checked ~ .faq-content {
  display: block;
}

/*Left Side -  Page 2*/


/*form-wrapper ?? - maybe deleted*/
.form-wrapper {
  width: 350px;
  background-color: #fff;
  padding: 5px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
}

/* Widen form fields inside Joinflow: override theme's 400px max-width cap */
.new-join-form .form-control,
.new-join-form .select-wrapper,
.new-join-form .select-wrapper .form-control {
  max-width: none !important;
  width: 100% !important;
}

/* Normalize Drupal form-item wrappers so spacing is controlled by our .form-group/.row.form-group */
.new-join-form .js-form-item,
.new-join-form .form-item {
  margin: 0 !important;
  padding: 0 !important;
}
/* Joinflow: ensure Drupal's container wrappers don't constrain width in this form */
.new-join-form .form-wrapper:not(.family-form) {
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}


.form-group {
  margin-bottom: 25px; /* unified spacing between boxes */
}

/* Remove any top margin that might be added by the next section wrapper */
.new-join-form .row.form-group,
.new-join-form .form-group + .row.form-group {
  margin-top: 0 !important;
}

/* Adjust spacing for the row group to match singles */
.row.form-group {
  margin-bottom: 25px;
}

/* Phone/Address rows: force horizontal flex layout */
.new-join-form .row.form-group {
  display: flex !important;        /* force flex layout */
  flex-direction: row !important;  /* force horizontal */
  flex-wrap: nowrap; /* prevent items from dropping to next line */
  gap: 14px;
  align-items: flex-start !important; /* top-align fields so errors do not shift inputs */
  width: 100%;
}

/* Phone field: full width since no dropdown */
.new-join-form .form-group .form-item-phone {
  width: 100% !important;
}

.new-join-form .form-group .form-item-phone input {
  width: 100% !important;
}


/* Phone input */
.new-join-form .row.form-group input[type="tel"] {
  width: 100%;
  height: 44px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
  color: #666;
  background-color: #fff;
  box-sizing: border-box;
}



/* Error state: make Phone border red only when Drupal flags error */
.new-join-form .form-group .form-item-phone input.error,
.new-join-form .form-item--error input.form-control,
.new-join-form .form-item--error select.form-control,
.new-join-form .form-item--error .select-wrapper select {
  border: 2px solid #ef4444 !important;
  box-shadow: none !important;
}

/* Row children (wrappers) evenly fill the row width (default) */
.new-join-form .row.form-group > .js-form-item,
.new-join-form .row.form-group > .form-item {
  flex: 1 1 0;
  min-width: 0;  /* allow shrinking within flex */
}

/* Inputs/selects fill their wrapper (no overflow) */
.new-join-form .row.form-group > .js-form-item input,
.new-join-form .row.form-group > .form-item input,
.new-join-form .row.form-group > .js-form-item select,
.new-join-form .row.form-group > .form-item select {
  width: 100% !important;
  box-sizing: border-box;
}

/* Keep row inputs in place when errors render below them */
.new-join-form .row.form-group > .js-form-item,
.new-join-form .row.form-group > .form-item {
  display: flex !important;
  flex-direction: column !important;   /* stack input then error */
}
.new-join-form .row.form-group > .js-form-item .form-item--error-message,
.new-join-form .row.form-group > .form-item .form-item--error-message {
  margin-top: 6px !important;
}

/* Exact 3-column fill: Unit / City / Postal */
.new-join-form .row.form-group .form-item-unit,
.new-join-form .row.form-group .form-item-city,
.new-join-form .row.form-group .form-item-postal {
  flex: 0 0 calc((100% - 20px) / 3) !important; /* 2 gaps of 10px */
}

/* Rebalance widths: Unit slightly wider, City and Postal split the rest */
.new-join-form .row.form-group .form-item-unit {
  flex: 0 0 calc((100% - 20px) / 5) !important; /* ~20% of row */
}
.new-join-form .row.form-group .form-item-city,
.new-join-form .row.form-group .form-item-postal {
  flex: 0 0 calc(((100% - 20px) * 2) / 5) !important; /* ~40% each */
}




input[type="text"],
input[type="tel"],
input[type="email"],
select {
  width: 100%;
  padding: 10px;
  font-size: 0.875em;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

input[type="date"] {
  padding: 10px;
  border: none;
  margin-bottom: 0px;
  font-size: 1em;
  color: black;
}

input[type="date"]:focus {
  outline: none;
} /*delete focus border on date*/

.dob {
  width: 100%;
  padding-left: 0px;
  padding: 2px 0px 2px 6px;
  margin: 0px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #ffffff;
  color: #666;
}

.dob label {
  display: inline-block;
  margin: 0 10px 0 0;
  white-space: nowrap;
}
/* Make the date input slimmer inside the dob box */
.dob input[type="date"] {
  padding: 2px 4px;
  height: 26px;
}


.dob:active {
  border: 2px solid black;
}

.row {
  display: flex;
  gap: 10px;
}





















/* Toggle checkbox hidden */
input[type="checkbox"].family-toggle {
  display: none;
}

/* Add Family member section */
.family-section {
  display: none;
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 15px;
  position: relative;
}

/* Show family section when checked */
input.family-toggle:checked ~ .family-section {
  display: block;
}

.description {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  padding: 12px 0px 0px 0px;
}

.submit-button {
  margin: 30px 0 0 0 !important;        /* flush with left/right of content column */
  padding: 10px 14px;                   /* height like previous */
  background-color: #d8242a !important; /* red */
  color: #fff !important;               /* white text */
  border: none !important;              /* no border */
  width: 100% !important;               /* stretch to both sides */
  display: block !important;
  box-sizing: border-box;
  border-radius: 6px !important;        /* match form field curve */
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}
.submit-button:hover,
.submit-button:focus {
  background-color: #c52127 !important; /* darker red on hover */
  text-decoration: none;
}

/*new toggle family*/
.toggle-link {
  color: #00539B;
  font-weight: bold;
  cursor: pointer;
  margin: 10px 0;
  display: inline-block;
  font-size: 14px;
}

/* High-specificity override to ensure curved border, spacing, and width */
/* Make inputs inside the family form span the wider interior */
.new-join-form #family-forms-container .family-form input:not([type="submit"]):not([type="button"]),
.new-join-form #family-forms-container .family-form select,
.new-join-form #family-forms-container .family-form .dob input[type="date"] {
  width: 100% !important;
}


/* Active vs Locked state styling for associate forms */
#family-forms-container .family-form.is-active {
  border: 2px solid #00539B !important;
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
#family-forms-container .family-form.is-locked {
  border: 1px solid #ddd !important;
  box-shadow: none !important;
}

.new-join-form #family-forms-container .family-form {
  border-radius: 14px !important;
  padding: 24px 14px !important;   /* reduce side padding so content area is wider */
  border: 2px solid #00539B !important;
  background: #ffffff !important;
  width: calc(100% + 10px) !important; /* keep slight full-box width increase */
  margin-left: -5px !important;        /* keep it centered within the column */
  margin-right: -5px !important;
  box-sizing: border-box !important;
}

/* Associate form: visually gray out DOB and Email when locked/disabled after Done */
#family-forms-container .family-form input[disabled],
#family-forms-container .family-form .dob input[disabled] {
  background-color: #f0f0f0 !important;
  color: #666 !important;
}
#family-forms-container .family-form .dob[disabled],
#family-forms-container .family-form .dob:has(input[disabled]) {
  background-color: #f7f7f7 !important;
  border-color: #ddd !important;
}
/* Match greying style used by first/last name when locked */
#family-forms-container .family-form .dob.is-locked,
#family-forms-container .family-form .dob.is-locked input {
  background-color: #ededed !important;
  color: #999 !important;
  border-color: #ddd !important;
}
/* Remove any inner wrapper padding/margins that constrain field width */
.new-join-form #family-forms-container .family-form .form-group,
.new-join-form #family-forms-container .family-form .js-form-item,
.new-join-form #family-forms-container .family-form .form-item {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Force inputs/selects to ignore theme max-width caps in this context */
.new-join-form #family-forms-container .family-form .form-group input,
.new-join-form #family-forms-container .family-form .form-group select,
.new-join-form #family-forms-container .family-form .form-item input,
.new-join-form #family-forms-container .family-form .form-item select,
.new-join-form #family-forms-container .family-form .js-form-item input,
.new-join-form #family-forms-container .family-form .js-form-item select {
  max-width: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Reduce inner padding of inputs to make text/content area wider */
.new-join-form #family-forms-container .family-form input[type="text"],
.new-join-form #family-forms-container .family-form input[type="email"],
.new-join-form #family-forms-container .family-form input[type="tel"],
.new-join-form #family-forms-container .family-form select,
.new-join-form #family-forms-container .family-form .form-control {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

/* Date field inside DOB wrapper */
.new-join-form #family-forms-container .family-form .dob input[type="date"] {
  padding-left: 6px !important;
  padding-right: 6px !important;
}

/* Explicitly override theme .form-control max-width in this scope */
/* Remove any forced grey styling from associate email field */
.new-join-form #family-forms-container .family-form input[type="email"] {
  background-color: #fff !important;
  color: inherit !important;
}

.new-join-form #family-forms-container .family-form .form-control {
  max-width: none !important;
  width: 100% !important;
}


.family-form {
  margin-top: 12px;
  margin-left: 0;   /* ensure centered within column */
  margin-right: 0;  /* ensure centered within column */
  width: 100%;      /* fill column width */
  box-sizing: border-box; /* include border/padding in width for alignment */
  border: 2px solid #00539B;
  padding: 20px 14px;      /* reduce side padding to widen visible content */
  border-radius: 12px;     /* more curved corners on the blue outline */
  background: #fff;        /* ensure white canvas inside the outline */
  transition: all 0.3s ease;
}

.family-form.locked {
  border-color: #ccc;
  background-color: #f9f9f9;
  box-shadow: inset 0 0 5px #ccc;
}

.add-btn
{
    font-family: "Lato", sans-serif;
    font-size: 16px !important;
    border: none !important;
    color: #00539B!important;
    font-weight: bold!important;
    cursor: pointer;
    margin: 10px 0;
    display: inline-block;
    background: white!important;
    font-weight: bold;
    outline: none!important;
  }

.add-btn:hover,
.add-btn:focus {
  border: none !important;
  color: #2b4a83 !important;
  font-weight: bold!important; 
  background: white !important;
 outline: none!important;/*remove blue border around + Add family member*/
}


.remove-btn {
  background-color: #999;
  margin-left: 10px;
}

.add-link-container {
  margin-top: 15px;
}

.action-row {
  display: flex;
  justify-content: flex-start;
}


/*Left Side - Payment container - Page 3*/
/*Pay outer - section*/
.pay-container {
  background: #fff; /*#b4b0b0;*/
  padding: 0.3rem;
  border-radius: 10px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.pay-border {
  border: 1px solid #ccc;
  padding: 0.1rem;
}

.pay-txt {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  padding: 10px;
}

/*Pay inner - section*/
.payment-container {
  max-width:370px;
  font-family: Arial, sans-serif;
  margin: auto;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
}

/*Membership card - section*/
.membership-summary {
  max-width: 360px;
  margin: 20px auto;
  background: #fff;
  padding: 15px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
/*Prices - section*/
.summary-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.summary-card img {
  width: 120px;
  border-radius: 6px;
  border: 2px solid #3399ff;
}

.summary-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem; /* ensure a minimum space between label and amount even when zoomed */
  font-size: 14px;
  margin-bottom: 6px;
}

.summary-line-txt {
  padding-left: 6px;
}

.summary-line.total {
  font-weight: bold;
  font-size: 16px;
}

/*Promocode - section*/

.promocode-container {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  max-width: 370px;
}

.promocode-row {
  display: flex;
  gap: 10px;
  margin-bottom: 0px;
}

.promocode-input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.promocode-apply-btn {
  background-color: #fff;
  color: #00539b;
  border: 2px solid #00539b;
  padding: 10px 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.promocode-apply-btn:hover {
  background-color: #00539b;
  color: #fff;
}

.promocode-remove-btn {
  background-color: #fff;
  color: #d72f2f;
  border: 2px solid #d72f2f;
  padding: 10px 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.promocode-remove-btn:hover {
  background-color: #d72f2f;
  color: #fff;
}

.promocode-msg {
  margin: 5px 0 0;
  font-size: 14px;
}

.promocode-success {
  color: green;
}

.promocode-error {
  color: red;
}

.promocode-hidden {
  display: none;
}

.rv-checkbox {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  gap: 5px;
  font-weight: 700;
}


/*Left side - Choose payment Option -section - Page 3)*/

.payment-options {
  margin-top: 15px;
}

.payment-options label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}


.payment-options input[type="radio"] {
  margin-right: 8px;
}

.subtext {
  font-size: 10px;
  color: #555;
  display: block;
  margin-left: 2.06rem;
}

/* Layout styles for the Monthly plan section */
.plan-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  max-width: 350px;
  font-family: sans-serif;
}

.plan-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-text {
  display: flex;
  flex-direction: column;
}

.plan-title {
  font-size: 14px;
  margin-bottom: 2px;
  font-weight: bold;
  }

.plan-title-annual {
  margin-left: 10px;
}


.plan-subtext {
  font-size: 10px;
  color: #555;
}

.plan-breakdown {
  font-size: 10px;
  color: #d93025;
  margin-top: 3px;
}



.plan-right {
  display: block;
  margin-top: 4px;
  width: 100px;
  margin-left: 30px;
  font-size: 14px;
}

.plan-right a {
  color: #00539b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.plan-right a:hover {
  text-decoration: underline;
}

/* Popup styling */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 38rem;
  height: 39rem;
  background: white;
  transform: translate(-50%, -50%);
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  overflow-y: auto;
  z-index: 1000;
  display: none;

}

#terms:target ~ .popup-overlay,
#terms:target ~ .popup {
  display: block;
}

.popup .close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  text-decoration: none;
  font-size: 20px;
  color: #000;
  font-weight: bold;
}

.popup h3 {
  margin-top: 0;
  font-size: 1.6rem;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}

.table-settings {
 width: 100%;
 font-size: 1rem;
 border-collapse: collapse;
 border: 1px solid #ccc;
}

.table-header {
  background-color: #f2f2f2;
  font-weight: bold;
}

.text-header {
  font-weight: bold;
  text-align: center;
}

.pop-text {
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Agree Button */
.agree-btn {
  margin-top: 20px;
  background-color: white;
  color: #00539b;
  border: 2px solid #00539b;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  display: inline-block;
  text-decoration: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 10rem;
}

.agree-btn:hover {
  background-color: #00539b;
  color: white;
  text-decoration: none;
}

.breakdown {
  color: red;
}

.terms {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  gap: 5px;
  font-weight: 700;
}

.terms a {
  color: #00539b;
  text-decoration: underline;
  display: block;
  margin-top: 4px;
}


/*PayPal / Apple pay buttons section*/
.pay-methods {
  margin-top: 20px;
}

.method-btn {
  width: 70%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  margin-bottom: 8px;
  background: #f8f8f8;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  background-color: white;
  transition: background-color 0.2s ease;
}

.method-btn img {
  width: 20px;
  height: 20px;
}

.method-btn:hover {
  background-color: #f0f0f0;
}

/*or divider section*/
.or-pay {
  text-align: center;
  margin: 10px 0;
  font-size: 14px;
  color: #888;
}

/*Payment Card form section*/
.card-form {
  max-width: 370px;
  margin: 0 auto;
}

.card-form input {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.card-details {
  display: flex;
  gap: 10px;
}

.card-details input {
  flex: 1;
}

.pay-btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 30%;
  padding: 10px;
  background-color: #d32f2f;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.error-msg {
  color: red;
  font-size: 14px;
  margin-top: 8px;
}



/*Right side - Roadside Assistance section (Pay(new) page) - 1*/

.roadside-section {
  background-color: #fff;/* #630f00de;*/
  padding: 0.3rem 1.6rem 1.6rem 1.6rem;
  border-radius: 10px;
  color: #000000;
  max-width: none;
  margin: 0.63rem auto 0.63rem auto;
}

/*.side-container {
    width: 820px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
  }*/

.section {
  margin-bottom: 40px;
}

/* SERVICE ICONS */
.services-grid h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

.road-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.service-box {
  text-align: center;
  background: #f9f9f9;
  padding: 5px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: default;
}

.service-box img {
  display: block;
  margin: 0 auto 5px;
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease, filter 0.3s ease;
  animation: bounceIn 0.6s ease-out;
}

/* Ensure all roadside icons render without any CSS background */
.roadside-section .service-box img {
  background: transparent !important;
  background-color: transparent !important;
  mix-blend-mode: multiply; /* neutralize white canvas across all icon PNGs */
}


.service-box:hover img {
  transform: scale(1.15) rotate(5deg);
  filter: brightness(1.2);
}

.service-box p {
  font-size: 14px;
  margin: 0;
}

.roadside-section .service-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.roadside-section .service-primary {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
}

.roadside-section .service-secondary {
  font-size: 13px;
  color: #5b6b7a;
  line-height: 1.25;
}

.value-plan {
  row-gap: 12px;
}

.service-hide-on-mobile {
    display: none;
  }


/*Membersip Plan section (Pay(new) page) - 2*/

.membersip-plan-section {
  background-color: #fff;/* #00539b;*/
  padding: 0.3rem 1rem 1.6rem 1rem;
  border-radius: 10px;
  color: #000000;
  max-width: 800px;
  margin: 0.63rem auto 0.63rem auto;
}

/* MEMBERSHIP PLANS */
.membership h2 {
  margin-bottom: 20px;
}

.plan-grid {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}


.plan-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}

/*Pay(new) - Discounts & Savings section - 3*/
.discounts-section {
  background-color: #f3d2e2;
  padding: 0.3rem 1.6rem 1.6rem 1.6rem;
  border-radius: 10px;
  color: #000000;
  max-width: 800px;
  margin: 0.63rem auto 0.63rem auto;
}


/* DISCOUNTS */
.discounts-flex h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

.discounts-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.discount-box {
  width: calc(50% - 10px);
  display: flex;
  align-items: center;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.discount-box img {
  width: 48px;
  height: 48px;
  margin-right: 15px;
  transition: transform 0.3s ease, filter 0.3s ease;
  animation: bounceIn 0.6s ease-out;
}

.discount-box:hover img {
  transform: scale(1.15) rotate(-5deg);
  filter: brightness(1.2);
}

.discount-box p {
  margin: 0;
  font-size: 14px;
}

/*Pay(new) - Travel & Trip Protection section - 4*/
.travel-trip-section {
  background-color: #a1a2a7;
  padding: 0.3rem 1.6rem 1.6rem 1.6rem;
  border-radius: 10px;
  color: #000000;
  max-width: 800px;
  margin: 0.63rem auto 0.63rem auto;
}

/* TRAVEL PROTECTION */
.protection-fixed h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

.protection-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.trip-box {
  width: calc(33.333% - 13.33px); /* 3 boxes per row with spacing */
  background: #f9f9f9;
  padding: 15px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.trip-box img {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
  animation: bounceIn 0.6s ease-out;
}

.trip-box:hover img {
  transform: scale(1.15) rotate(5deg);
  filter: brightness(1.2);
}

.trip-box p {
  font-size: 14px;
  margin: 0;
}

/* ICON ENTRY ANIMATION */
@keyframes bounceIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* Reset styles */
.plan-grid input[type="radio"] {
  display: none;
}



/* Default card style */
.plan-card {
  width: 180px;
  border: 1px solid #ccc;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  background: #fafafa;
  transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.plan-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Active style when input is checked */
input[type="radio"]:checked + .plan-card {
  border: 2px solid red;
  background: #fff;
  transform: scale(1.07);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
}

/*Blue banner*/
.img-1280,
.img-360,
.img-320 {
  display: none;
  }

.img-main {
    display: block;
  }

/*Responsive Design*/



@media (min-width: 900px) and (max-width: 1220px) {

.main-container {
    flex-direction: row;
  }
/* Left and Right Containers */
  .left {
    width: 360px;
    padding: 0px;
  }

    .right {
    width: 650px;
    margin-top: 20px;
  }

.right h2 {
  text-align: center;
}


/* Left Side Banner */
.banner-box {
   display: flex;
  align-items: center;
  padding: 5px; 
  gap: 5px;
  }
  
.banner-image {
  width: 350px;
  height: 54px;
}

/* Left Side Form Join Us - Page 1*/
.join-container {
  padding: 10px;
 
  max-width: 340px;
  width: 100%;  
margin: 0px auto 0px auto;
}

/*Right Part - Page 1*/

/*Promotions section*/

.promotions-section {
  background-color: #fff; /*#46f534;*/
  padding: 3px;
  max-width: 620px;  
}

.main-promo-banner img {
  width: 610px;
height: 400px;    
}
 
.side-banners img {
  width: 148px;
  height: 148px;
}


.promotions-grid {
    grid-template-columns: 1fr;
  }

  .side-banners {
    grid-template-columns: repeat(4, 1fr);
gap:2px;

  }

  .blue-banner-1024-hide-on-mobile{
    display: none;
  }


/* Favorites section - circles*/

  .logo-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    justify-items: center;
  }

.favorites-section h3 {
  text-align: center;
}

.fav-1024-hide-on-mobile {
    display: none;
  }

/* Shopping section - circles*/
.promo-section {
  background-color: #fff;/* #fff345;*/
  }

.promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.promo-card {
  width: 130px;
  height: 130px;
}

.promo-text {
   margin-top: -68px; /* Raise it visually above bottom */

}

.promo-360-hide-on-mobile {
    display: none;
 }

 .promo-text {
   margin-top: -68px; /* Raise it visually above bottom */

}

/* Roadside section - right */
.roadside-section {
  background-color: #fff;/* #fff345;*/
  padding: 0.3rem 1rem 1.6rem 1rem;
  max-width: 620px;  
}

.road-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.service-box img {
  width: 40px;
  height: 40px;
}



/*Membersip Plan section (Pay(new) page) - 2*/

.membersip-plan-section {
  background-color: #fff;/* #fff345;*/
  padding: 0.3rem 1rem 1.6rem 1rem;
  max-width: 620px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.plan-card {
  width: 250px;
  text-align: center;
  padding: 10px;
  }

/*Pay(new) - Discounts & Savings section - 3*/
.discounts-section {
  background-color: #fff;/* #fff345;*/
  padding: 0.3rem 1rem 1.6rem 1rem;
  max-width: 620px;  
}

/*Pay(new) - Travel & Trip Protection section - 4*/
.travel-trip-section {
  background-color: #fff;/* #fff345;*/
  padding: 0.3rem 1rem 1.6rem 1rem;
  max-width: 620px;
}

}


@media (min-width: 320px) and (max-width: 440px){

  /*Blue banner - row 1452*/
     .img-360 {
    display: block;
  }

  .img-main {
    display: none;
  }

.main-container {
    flex-direction: column;
  }

.right h2 {
  text-align: center;
}

/* Left and Right Containers */
.left {
    width: 320px;
    padding: 0px;
  }

  .right {
    width: 320px;
    margin-top: 20px;
  }

/* Left Side Banner */
.banner-box {
   display: flex;
  align-items: center;
  padding: 5px; 
  gap: 5px;
  }
  
.banner-image {
  width: 320px;
  height: 49px;
}

/* Left Side Form Join Us - Page 1*/
.join-container {
  padding: 10px; 
  max-width: 320px;
  width: 100%;  
margin: 0px auto 0px auto;
}

/*Right Part - Page 1*/

/*Promotions section*/

.promotions-section {
  background-color: #fff;/* #fff345;*/
  padding: 3px;
  max-width: 320px;  
}

.promotions-grid {
    grid-template-columns: 1fr;
  }

.main-promo-banner img {
  width: 320px;
height: 220px;    
}

  .side-banners {
    grid-template-columns: repeat(2, 1fr);
gap:2px;

  }
 
.side-banners img {
  width: 150px;
  height: 150px;
}

.blue-banner-360-hide-on-mobile{
    display: block;
  }


/* Favorites section - circles*/

  .logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    justify-items: center;
  }


.favorites-section h3 {
  text-align: center;
}

.fav-360-hide-on-mobile {
    display: none;
  }


/* Shopping section - circles*/
.promo-section {
  background-color: #fff;/* #fff345;*/
  }

.promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

/*.promo-text {
     margin-top: -50px; Raise it visually above bottom 
}*/

.promo-card {
  width: 125px;
  height: 125px;
}

.promo-360-hide-on-mobile {
    display: none;
  }


/* Roadside section - right */
.roadside-section {
  background-color: #fff;/* #fff345;*/
    padding: 3px;
  max-width: 320px;  
}

.road-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}


.service-box img {
  width: 40px;
  height: 40px;
}

/*Membersip Plan section (Pay(new) page) - 2*/

.membersip-plan-section {
  background-color: #fff;/* #fff345;*/
    padding: 3px;
  max-width: 320px; 
  justify-content: center;
  align-items: center;   
}

.plan-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.plan-card {
  width: 200px;
  text-align: center;
  padding: 10px;
  }

  .popup {
  width: 90%;
  margin-top: 50px;
  overflow: scroll;
  max-height: 80vh;
  }
}

@media (min-width: 230px) and (max-width: 320px){
/*Blue banner - row 1452*/
    .img-320 {
    display: block;
  }

     .img-360 {
    display: none;
  }

  .img-main {
    display: none;
  }

/* Responsive Design - left, right*/

.main-container {
    flex-direction: column;
  }

 .left {
    width: 280px;
    padding-left: 0px;
  }

  .right {
    width: 280px;
    margin-top: 20px;
  }
  

/* Left Side Banner */

  .banner-box {
    display: flex;
  align-items: center;
  padding: 5px;
    gap: 5px;
  }
  
.banner-image {
  width: 280px;
  height: 43px;
}

/* Left Side Form Join Us - Page 1*/
.join-container {
  padding: 10px;
   max-width: 280px;
  width: 100%;  
}

.password-inline-form input[type="password"] {
    padding: 10px 5px;
    width: 0.625rem;
  
}


/*Right Part - Page 1*/

/*Promotions section*/

.promotions-section {
  background-color: #fff;/* #fff345;*/
  padding: 3px;
  max-width: 290px;  
}


.main-promo-banner img {
  width: 290px;
height: 190px;    
}

.side-banners img {
  width: 140px;
  height: 140px;
}

.blue-banner-320-hide-on-mobile{
    display: none;
  }

/*Favorites section - circles*/
.logo-grid img {
  width: 54px;
  height: 54px;
}

/*Shopping section - circles*/

.promo-section {
  background-color: #fff;/* #fff345;*/
  }

.promo-card {
  width: 180px;
  height: 180px;
}

.promo-text {
   margin-top: -68px; /* Raise it visually above bottom */

}

.road-service-grid {
  display: grid;
  grid-template-columns: repeat(1, 7fr);
  gap: 5px;
  }

.service-box img {
  width: 30px;
  height: 30px;
 }

   .popup {   
  width: 90%;
  margin-top: 80px;
  overflow: scroll;
  max-height: 80vh;  
  }

    #icons-wrapper .road-service-grid { display: grid; width: 100%; 
      row-gap: 10px; column-gap: 12px; 
      grid-template-columns: repeat(1, minmax(0,1fr)); }
}


a.disabled {
  pointer-events: none;
  color: gray;
  text-decoration: none;
  cursor: default;
}


 .js-disable-on-submit.is-disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
  }

/* Payment processing overlay */
.ajax-progress-fullscreen {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
}

/* Keeps throbber perfectly centered */
.throbber-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Message with inline spinner */
.ajax-status-message {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Inline spinner before text */
.payment-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(31, 41, 55, 0.2);
  border-top-color: #1f2937;
  border-radius: 50%;
  animation: payment-spin 0.8s linear infinite;
}

@keyframes payment-spin {
  to { transform: rotate(360deg); }
}
