/********************************/
/*Center the logo and the connexion menu*/
/********************************/
.mod-header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mod-header-part__left {
  order: 1;
  text-align: center;
  margin-bottom: 1rem; /* Space below logo */
}

.mod-header-part__left a {
  display: inline-block;
}

.mod-header-part__right {
  order: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}
/********************************/
/*End*/
/********************************/

#site-wrapper > div.site-inner > div.poweredBy-wrapper {
  display: none;
}

/* Container styling with dark background */
.member-login-wrapper {
  max-width: 700px;
  margin: 60px auto;
  padding: 50px;
  background-color: #002B48;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Helvetica, sans-serif;
  color: #ffffff;
  text-align: center;
}

/* Title */
.member-login-wrapper h1 {
  color: #FFF9D9;
  font-size: 2.3em;
  margin-bottom: 35px;
}

/* Input wrapper (center alignment and uniform layout) */
.member-login-wrapper .form-group {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Input fields styling */
.member-login-wrapper input[type="email"],
.member-login-wrapper input[type="password"] {
  width: 100%;
  max-width: 500px;
  padding: 14px 16px;
  border: 1px solid #555;
  border-radius: 6px;
  font-size: 1em;
  background-color: #ffffff;
  color: #002B48;
  box-sizing: border-box;
}

/* Placeholder text color */
.member-login-wrapper input::placeholder {
  color: #555;
}

/* Submit button */
.member-login-wrapper input[type="submit"] {
  background-color: #FFF9D9;
  color: #002B48;
  padding: 16px 22px;
  border: none;
  width: 100%;
  max-width: 500px;
  font-size: 1.15em;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  margin: 30px auto 20px auto;
  transition: background-color 0.3s ease;
  display: block;
}

/* Hover effect for button */
.member-login-wrapper input[type="submit"]:hover {
  background-color: #EF3340;
  color: white;
}

/* Forgot password link */
.member-login-wrapper .reset-password {
  display: block;
  text-align: center;
  margin-top: 25px;
  color: #FFD100;
  font-weight: bold;
  text-decoration: none;
}

.member-login-wrapper .reset-password:hover {
  text-decoration: underline;
}

/* Flexbox parent container enhancement (optional, if needed) */
#external_payment {
  background-color: #FFD100; /* Bright yellow brand color */
  color: #002B48; /* Dark blue text for contrast */
  border: none;
  padding: 14px 28px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#external_payment:hover {
  background-color: #EF3340; /* Red on hover */
  color: #ffffff;
}


#singlebutton {
  background-color: #FFD100; /* Bright yellow background */
  color: #002B48; /* Dark text for contrast */
  padding: 14px 28px;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#singlebutton:hover {
  background-color: #EF3340; /* Red hover background */
  color: #ffffff; /* White text on hover */
}


/* Footer container */
.line-footer {
  background-color: #101820;
  color: #ffffff;
  padding: 40px 20px;
  font-family: 'Segoe UI', Helvetica, sans-serif;
  font-size: 1em;
}

/* Flex layout with consistent structure */
.footer-classic.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

/* Standard block size for all sections */
.footer-classic .col-sm-6 {
  flex: 1 1 20%;
  min-width: 200px;
}

/* Logo size */
.footer-logo img {
  max-width: 140px;
  margin-bottom: 15px;
}

/* Headings */
.footer-classic h3 {
  color: #FFD100;
  font-size: 1.1em;
  margin-bottom: 10px;
}

/* Text and links */
.footer-classic p,
.footer-classic a {
  color: #ffffff;
  text-decoration: none;
  line-height: 1.5;
  margin: 0 0 6px;
}

.footer-classic a:hover {
  color: #FFD100;
  text-decoration: underline;
}

/* Social icons horizontal */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  font-size: 1.4em;
  color: #ffffff;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #FFD100;
}

/* Responsive: stack columns on smaller screens */
@media (max-width: 768px) {
  .footer-classic.content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-classic .col-sm-6 {
    width: 100%;
    flex: none;
  }

  .footer-social {
    justify-content: center;
    margin-top: 10px;
  }
}


/* === STEP NAVIGATION BAR (LIVELY + MODERN) === */
.nav-progress.nav-progress-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin-bottom: 35px;
  gap: 10px;
}

.nav-progress.nav-progress-steps li {
  flex: 1 1 auto;
  text-align: center;
}

.nav-progress.nav-progress-steps li a {
  display: inline-block;
  background-color: #EAF4FB;
  border: 2px solid #0085CA;
  color: #002B48;
  font-weight: 600;
  padding: 10px 16px;
  font-size: 0.95em;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.nav-progress.nav-progress-steps li a:hover {
  background-color: #FFD100;
  color: #002B48;
}

.nav-progress.nav-progress-steps li.active a {
  background-color: #FFFC00;
  color: solid #000000;
  border-color: #0085CA;
}

.nav-progress.nav-progress-steps li.disabled a {
  opacity: 0.6;
}

/* === MEMBERSHIP CARD CONSISTENT STYLE === */
.list-group-item {
  background-color: #ffffff;
  border: 1px solid #e2e6ea;
  border-left: 6px solid #0085CA;
  border-radius: 10px;
  padding: 25px 25px;
  margin-bottom: 30px;
  box-shadow: 0 0 12px rgba(0,0,0,0.04);
}

/* Make this apply universally to other step cards */
.membership-card,
.memberships_options .list-group-item,
.registration-membership-documents .list-group-item,
#step3 .list-group-item {
  background-color: #ffffff !important;
  border: 1px solid #e2e6ea !important;
  border-left: 6px solid #0085CA !important;
  border-radius: 10px !important;
  padding: 25px !important;
  box-shadow: 0 0 12px rgba(0,0,0,0.04) !important;
}

/* === SUBTITLES ADJUSTED FOR CLARITY === */
.list-group-item .radio label {
  font-size: 1.05em;
  color: #002B48;
  font-weight: 600;
}

/* === DATE AND DESCRIPTION === */
.adh-date {
  font-size: 0.95em;
  color: #666666;
  margin-top: 6px;
}

.adh-description p {
  font-size: 0.97em;
  color: #333333;
  line-height: 1.6;
  margin-top: 10px;
}

/* === BADGE AND PRICE BOX === */
.price-membership-badge {
  background-color: #FFD100;
  color: #002B48;
  padding: 10px 20px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 10px;
}

.input-group input.form-control {
  font-size: 1.05em;
  font-weight: 600;
  color: #002B48;
  text-align: right;
}

/* === FORM BUTTON === */
#submit.btn-primary {
  background-color: #0085CA;
  color: white;
  padding: 12px 28px;
  border: none;
  font-size: 1.1em;
  font-weight: 700;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

#submit.btn-primary:hover {
  background-color: #EF3340;
  color: #ffffff;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .nav-progress.nav-progress-steps {
    flex-direction: column;
    align-items: center;
  }

  .list-group-item {
    padding: 20px;
  }
}



/* === TEXT COLOR FIX FOR MEMBER AREA === */
#registration-member, 
#registration-member h4, 
#registration-member h3,
#registration-member p,
#registration-member label,
#registration-member .form-group,
#registration-member .adh-date,
#registration-member .adh-description,
#registration-member .list-group-item,
#registration-member .wrapper_membership_list {
  color: #002B48 !important;
}

/* Optional: make subtext a bit lighter if needed */
#registration-member small,
#registration-member .form-group .help-block {
  color: #5A5A5A !important;
}

/* Fix any heading contrast issues */
#registration-member h4 {
  font-size: 1.1em;
  font-weight: 600;
  color: #002B48;
  margin-top: 15px;
  margin-bottom: 10px;
}


body:lang(fr) .form-withProgress__tip::before {
  content: "Cette contribution est facultative; cliquez sur 'Modifier' pour la définir à 0 $ si vous le souhaitez.";
  display: block;
  font-size: 1em;
  font-weight: bold;
  font-style: italic;
  color: #005B99 !important;
  text-align: left;
  margin-bottom: 5px;
  padding-left: 10px;
}

body:lang(fr) .form-withProgress__tip h4 {
  margin: 0;
  padding-top: 5px;
  font-size: 1.2em;
  text-align: left;
  color: #002B48;
  padding-left: 10px;
}


body:lang(en) .form-withProgress__tip::before {
  content: "This contribution is optional; click 'Modify' to set it to $0 if desired.";
  display: block;
  font-size: 1em;
  font-weight: bold;
  font-style: italic;
  color: #005B99 !important;
  text-align: left;
  margin-bottom: 5px;
  padding-left: 10px;
}

body:lang(en) .form-withProgress__tip h4 {
  margin: 0;
  padding-top: 5px;
  font-size: 1.2em;
  text-align: left;
  color: #002B48;
  padding-left: 10px;
}



/* ===== Payment Form Container ===== */
#payment-form-stripe {
  background-color: #F4F8FB;  /* light background for contrast */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 40px auto;
  font-family: 'Segoe UI', Helvetica, sans-serif;
}

/* ===== Stripe Payment Section ===== */
.stripe-payment {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== Payment Method Sections (iframes, dividers) ===== */
.stripe-payment > div {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ===== Divider Styling for "Paiement rapide" and "Autres méthodes" ===== */
.y-flex.y-gap-4.y-items-center {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
}

.y-flex.y-gap-4.y-items-center p {
  margin: 0;
  font-size: 1em;
  font-weight: bold;
  color: #002B48;
}

/* ===== Payment IFrame Styling (maintains responsiveness) ===== */
.StripeElement iframe {
  width: 100% !important;
  border: none !important;
}

/* ===== Bottom Navigation (Précédent & Payer Button) ===== */
.y-flex.y-justify-end.y-gap-2 {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

/* Style for the "Précédent" link */
.y-inline-flex.y-items-center.y-gap-1.v-btn.btn.btn-link {
  color: #0085CA;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: color 0.3s ease;
}

.y-inline-flex.y-items-center.y-gap-1.v-btn.btn.btn-link:hover {
  color: #EF3340;
  text-decoration: underline;
}

/* Style for the "Payer" button */
.v-btn.btn.btn-primary {
  background-color: #0085CA;
  color: #ffffff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.v-btn.btn.btn-primary:hover {
  background-color: #EF3340;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  #payment-form-stripe {
     padding: 20px;
     margin: 20px;
  }
  
  .y-flex.y-justify-end.y-gap-2 {
    flex-direction: column;
    align-items: center;
  }
}



/* ===== Overall Container for the Final Confirmation Page ===== */
#registration-member {
  font-family: 'Segoe UI', Helvetica, sans-serif;
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px 30px;
  background-color: #F4F8FB;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* ===== Main Title ===== */
#registration-member h1 {
  text-align: center;
  color: #002B48;
  font-size: 2em;
  margin-bottom: 20px;
}

/* ===== Navigation Steps (Progress Bar) ===== */
.nav-progress.nav-progress-steps {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 0 8px rgba(0,0,0,0.06);
}

.nav-progress.nav-progress-steps li {
  flex: 1;
  text-align: center;
}

.nav-progress.nav-progress-steps li a {
  display: inline-block;
  padding: 8px 12px;
  font-weight: bold;
  font-size: 0.95em;
  color: #002B48;
  text-decoration: none;
  border-radius: 20px;
  background-color: #EAF4FB;
  transition: background-color 0.3s ease;
}

.nav-progress.nav-progress-steps li.active a {
  background-color: #FFD100;
  color: #002B48;
  border: none;
}

.nav-progress.nav-progress-steps li.disabled a {
  opacity: 0.6;
}

/* ===== Confirmation and Receipt Sections Wrapper ===== */
.form-withProgress__wrapper.member-step-confirm {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ===== Confirmation Section (Top Message) ===== */
.site-content.confirmation {
  text-align: center;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.site-content.confirmation .event-header {
  color: #0085CA;
  font-size: 1.8em;
  margin-bottom: 10px;
}

/* ===== Receipt Section ===== */
.site-content.event-receipt {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Style each group of receipt information */
.site-content.event-receipt .form-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 15px;
}

.site-content.event-receipt .form-group label {
  flex: 0 0 40%;
  max-width: 40%;
  font-weight: bold;
  color: #002B48;
  margin-bottom: 5px;
}

.site-content.event-receipt .form-group .col-md-12 {
  flex: 1;
  max-width: 60%;
}

.site-content.event-receipt .form-control-static {
  padding: 8px 12px;
  background-color: #F4F8FB;
  border-radius: 4px;
  color: #002B48;
}

/* ===== Profile Access Button ===== */
.member-profile-container {
  text-align: center;
  margin-top: 30px;
}

.member-profile-container a.btn.btn-primary {
  background-color: #0085CA;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.member-profile-container a.btn.btn-primary:hover {
  background-color: #EF3340;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .site-content.event-receipt .form-group label {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 5px;
  }
  
  .site-content.event-receipt .form-group .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }
} 



/* Sidebar Main Container */
.sidebar.sidebar__member-zone {
  background-color: #ffffff; /* White background for contrast */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px 0;
}

/* Inner Container - Flexbox for proper layout */
.member-sidebar__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header: "Mon espace" */
.member-sidebar__member-header {
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #0085CA; /* Brand color accent */
  margin-bottom: 15px;
}

.member-sidebar__member-header__title {
  font-size: 1.8em;
  color: #002B48; /* Dark blue for readability */
}

/* Sidebar Menu - Using Flexbox and column layout */
.member-sidebar__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Menu Items */
.member-sidebar__menu li {
  /* Ensure each menu item takes full width of the sidebar */
  width: 100%;
}

.member-sidebar__menu li a.menu-item {
  display: block;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  color: #002B48; /* Dark text */
  background-color: #F4F8FB; /* Light background for contrast */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover state: Make items pop */
.member-sidebar__menu li a.menu-item:hover {
  background-color: #0085CA; /* Brand blue */
  color: #ffffff;
}

/* Active menu item styling */
.member-sidebar__menu li.active a.menu-item {
  background-color: #FFD100; /* Vibrant yellow */
  color: #002B48;
  border: none;
}

/* Footer (Logout) */
.member-sidebar__member-footer {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #E2E6EA;
}

.member-sidebar__member-footer a.menu-item {
  font-weight: bold;
  color: #EF3340; /* Slight red for logout */
  text-decoration: none;
  transition: color 0.3s ease;
}

.member-sidebar__member-footer a.menu-item:hover {
  color: #0085CA;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sidebar.sidebar__member-zone {
    padding: 15px;
  }
  .member-sidebar__member-header__title {
    font-size: 1.6em;
  }
}





<!-- Embedded CSS for styling -->
<style>
  .membership-profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #F4F8FB;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
  }
  
  /* Beneficiary Section */
  .beneficiary-section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  .beneficiary-section h2 {
    color: #002B48;
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: left;
  }
  .beneficiary-field {
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 4px;
    background-color: #ffffff;
  }
  .beneficiary-field p {
    margin: 0;
    font-size: 1.1em;
    color: #002B48;
  }
  
  /* Insured Members Section */
  .insured-members-section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .insured-members-section h2 {
    color: #002B48;
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: left;
  }
  .insured-members-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .insured-members-list li {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #ffffff;
  }
  .insured-members-list li p {
    margin: 0;
    font-size: 1.1em;
    color: #002B48;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .membership-profile-container {
      padding: 15px;
    }
  }
</style>


/* Sub-total block: better visibility + flex layout */
.form-withProgress__sub-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  background-color: #F4F8FB;   /* light background */
  color: #002B48;              /* dark, readable text */
  padding: 10px 14px;
  border-radius: 6px;
  margin-top: 10px;
}

/* Title */
.form-withProgress__sub-total h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #002B48;              /* ensure text is visible */
}

/* Amount on the right */
.form-withProgress__sub-total strong {
  font-size: 16px;
  font-weight: 700;
  color: #0085CA;              /* highlight amount */
}

/* Keep the amount on one line */
.form-withProgress__sub-total .white-space-nowrap {
  white-space: nowrap;
}
