:root {
  --e8-bg:        #FDFCFA;
  --e8-text:      #625A53;
  --e8-dark:      #272626;
  --e8-teal:      #2E8B85;
  --e8-teal-2:    #1F8A82;
  --e8-mint:      #CFE6DD;
  --e8-deep:      #2F4749;
  --e8-peach:     #F7C99B;
  --e8-border:    #EAE6DF;
  --e8-input-brd: #D9D9D9;
  --font-body:    "DM Sans", "Dm Sans Local", sans-serif;
  --font-heading: "Butler", "Butler Local", Georgia, serif;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--e8-text);
  background-color: var(--e8-bg);
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--e8-dark); }
a { text-decoration: none; }
.e8-header {
  background: #fff;
  min-height: 94px;
  padding: 0 50px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(39, 38, 38, .08);
}
.e8-header .navbar-brand img { width: 214px; height: auto; }
.e8-nav { gap: 8px; }
.e8-nav .nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--e8-dark);
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.e8-nav .nav-link:hover { color: var(--e8-teal); }
.e8-btn-phone {
  border: 1px solid var(--e8-border);
  border-radius: 5px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--e8-dark);
  background: transparent;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.e8-btn-phone .bi { font-size: 17px; }
.e8-btn-phone:hover { border-color: var(--e8-dark); color: var(--e8-dark); }
.e8-btn-login {
  background: var(--e8-peach);
  border: 0;
  border-radius: 5px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--e8-dark);
  white-space: nowrap;
  display: inline-block;
}
.e8-btn-login:hover { background: var(--e8-deep); color: #fff; }
.e8-toggler {
  background: var(--e8-deep);
  border: 0;
  border-radius: 8px;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .2s;
}
.e8-toggler:focus { box-shadow: none; }
.e8-toggler .navbar-toggler-icon {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}
.e8-toggler:hover { background: var(--e8-peach); }
.e8-toggler:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23272626' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}

.e8-main { padding: 100px 10px; }
.e8-main > .row {
  max-width: 1320px;
  margin: 0 auto;
}
.e8-hero-col { padding: 0 10px; }

.e8-hero-img {
  width: 100%;
  display: block;
  border-radius: 20px 20px 0 0;
  object-fit: cover;
  aspect-ratio: 613 / 690;
}
.e8-hero-panel {
  background: var(--e8-deep);
  border-radius: 0 0 20px 20px;
  padding: 60px 50px;
  text-align: center;
}
.e8-hero-panel h2 {
  font-size: 45px;
  font-weight: 250;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.e8-hero-panel p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: #fff;
  margin-bottom: 0;
}

.e8-login-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .12);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.e8-col {
  padding: 48px 40px;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.e8-col h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 28px;
}
.e8-col-member h2 { color: var(--e8-teal); }
.e8-col-pro {
  background: linear-gradient(135deg, var(--e8-teal-2), var(--e8-mint));
}
.e8-col-pro h2 { color: #fff; }

.e8-col label {
  font-size: 14px;
  font-weight: 300;
  color: var(--e8-dark);
  margin-bottom: 8px;
  display: block;
}
.e8-col-pro label { color: #fff; }
.e8-col .form-control {
  background: #fff;
  border: 1px solid var(--e8-input-brd);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 300;
  color: var(--e8-text);
  margin-bottom: 18px;
  box-shadow: none;
}
.e8-col .form-control:focus { border-color: var(--e8-teal); }
.e8-pass-wrap { position: relative; }
.e8-pass-wrap .form-control { padding-right: 46px; }
.e8-eye {
  position: absolute;
  top: 14px;
  right: 16px;
  cursor: pointer;
  color: #9aa0a6;
  font-size: 16px;
  line-height: 1;
}

.e8-btn {
  display: inline-block;
  background: var(--e8-teal);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}
.e8-btn:hover { background: var(--e8-deep); color: #fff; }
.e8-col-pro .e8-btn { background: var(--e8-teal-2); }
.e8-col-pro .e8-btn:hover { background: var(--e8-deep); }

.e8-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 20px;
}
.e8-forgot {
  font-size: 15px;
  font-weight: 400;
  color: var(--e8-teal);
}
.e8-forgot:hover { text-decoration: underline; color: var(--e8-teal); }
.e8-register { font-size: 15px; color: var(--e8-text); text-align: center; }
.e8-register a { color: var(--e8-teal); font-weight: 400; }
.e8-register a:hover { text-decoration: underline; }
.e8-col-pro .e8-forgot,
.e8-col-pro .e8-register,
.e8-col-pro .e8-register a { color: #fff; }
.e8-footer {
  background: var(--e8-deep);
  color: rgba(255, 255, 255, .85);
  padding: 100px 80px 40px;
}
.e8-footer .e8-flogo { width: 295px; max-width: 100%; height: auto; }
.e8-address {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, .85);
  max-width: 320px;
  margin-bottom: 10px;
}
.e8-directions {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.e8-directions:hover { color: var(--e8-peach); }
.e8-phone {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  color: var(--e8-peach);
  display: inline-block;
  line-height: 1.2;
}
.e8-phone:hover { color: #fff; }
.e8-mail {
  font-size: 18px;
  font-weight: 300;
  color: var(--e8-peach);
}
.e8-mail:hover { color: #fff; }
.e8-footer h5 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 30px;
}
.e8-footer ul { list-style: none; padding: 0; margin: 0; }
.e8-footer ul li { margin-bottom: 16px; }
.e8-footer ul li a {
  font-size: 18px;
  font-weight: 300;
  color: #fff;
}
.e8-footer ul li a:hover { color: var(--e8-peach); }

.e8-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--e8-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 8px;
  transition: .2s;
}
.e8-social a:hover { background: var(--e8-peach); color: var(--e8-dark); }

.e8-footer-bottom {
  margin-top: 90px;
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, .6);
}
.e8-footer-bottom a {
  color: rgba(255, 255, 255, .6);
  margin: 0;
}
.e8-footer-bottom a:hover { color: #fff; }
@media (max-width: 1199.98px) {
  .e8-header { padding: 0 20px; }
}
@media (max-width: 991.98px) {
  .e8-header { min-height: auto; padding: 15px 20px; }
  .e8-main { padding: 60px 10px; }
  .e8-hero-col { margin-bottom: 30px; }
  .e8-hero-panel h2 { font-size: 36px; }
  .e8-footer { padding: 60px 25px 40px; }
}
@media (max-width: 575.98px) {
  .e8-col { padding: 36px 24px; }
  .e8-hero-panel { padding: 36px 24px; }
  .e8-hero-panel h2 { font-size: 30px; }
}    

.forgot { color: #01675d; text-decoration: none; }
.forgot:hover { color: #000000; text-decoration: none; }

.regDoc, .regDoc:hover { color: #6a6a6a; text-decoration: none; }
a.regDoc, a.regDoc:hover { color: #199a8e; text-decoration: none; }

.modal-header { border: 0; }
button[type='submit'] { border: 0; }

.form-control:focus {
  box-shadow: 0 0 0 .25rem rgb(82 91 91 / 25%) !important;
}

.otp-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.otp-input {
  text-align: center;
}
.verify-h3 {
  font-family: var(--font-heading);
}
.disabled-btn { pointer-events: none; opacity: 0.6; }
.disabled-link {
  pointer-events: none;
  opacity: 0.6;
  text-decoration: none;
  color: #6c757d;
}
.enabled-link {
  color: #198754;
  text-decoration: none;
  cursor: pointer;
}

#signin_error_show, #p_msg_welcome_login,
#forgot_error_show, #status_notice {
  font-size: 14px;
}

.e8-modal .modal-dialog { max-width: 460px; }
.e8-modal .modal-content {
  border: 0;
  border-radius: 24px;
  padding: 44px 40px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}
.e8-modal .modal-header {
  border: 0;
  padding: 0;
  margin-bottom: 4px;
}
.e8-modal .btn-close {
  opacity: .55;
  box-shadow: none !important;
}
.e8-modal .modal-body { padding: 0; }

.e8-modal h3.verify-h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 32px;
  color: var(--e8-teal);
  margin-bottom: 28px;
}
.e8-modal label {
  font-size: 14px;
  font-weight: 300;
  color: var(--e8-dark);
  margin-bottom: 8px;
  display: block;
}
.e8-modal .form-control {
  background: #fff;
  border: 1px solid var(--e8-input-brd);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 300;
  color: var(--e8-text);
  box-shadow: none;
}
.e8-modal .form-control:focus { border-color: var(--e8-teal); }
.e8-modal p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--e8-text);
}

.e8-modal .e8-actions { margin: 4px 0 6px; }
.e8-modal .e8-btn { display: inline-flex; align-items: center; gap: 8px; }
.e8-modal .e8-forgot { font-size: 15px; font-weight: 400; }
.e8-modal .otp-container { gap: 10px; margin: 8px 0 20px; }
.e8-modal .otp-input {
  width: 48px;
  height: 48px;
  border: 1px solid var(--e8-input-brd);
  border-radius: 10px;
  font-size: 20px;
  font-weight: 500;
  color: var(--e8-dark);
  margin: 0;
}
.e8-modal .otp-input:focus {
  border-color: var(--e8-teal);
  outline: none;
  box-shadow: none;
}
.e8-modal #resendOtp {
  font-size: 15px;
  color: var(--e8-text);
}
.e8-modal #countdown {
  font-weight: 600;
  color: var(--e8-dark);
  margin-left: 4px;
}
.e8-modal .disabled-link { color: #9aa0a6; }
.e8-modal .enabled-link { color: var(--e8-teal); }

.e8-modal #continueBtn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  background: var(--e8-teal);
  color: #fff !important;
  border: 0;
  border-radius: 10px;
  padding: 15px 20px;
}
.e8-modal #continueBtn:hover { background: var(--e8-deep); color: #fff !important; }
.e8-modal #continueBtn.disabled-btn { pointer-events: none; opacity: .6; }
.btn-get-started {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 8px;
  background: var(--e8-teal);
  color: #fff !important;
  border: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
}
.btn-get-started:hover { background: var(--e8-deep); color: #fff !important; }
.swal2-popup { border-radius: 20px; }
.swal2-title { font-family: var(--font-heading); font-weight: 500; color: var(--e8-dark); }
.swal2-html-container { font-family: var(--font-body); font-size: 16px; color: var(--e8-text); }
.thanks-section { padding: 80px 10px; }
.thanks-content {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
  padding: 56px;
}
.thank-you-img.img-cd { text-align: center; margin-bottom: 20px; }
.thank-you-img.img-cd img { max-width: 90px; }
.thanks-content h3 {
  font-family: var(--font-heading);
  color: var(--e8-dark);
  text-align: center;
  margin-bottom: 12px;
}
.thanks-content > div > p {
  text-align: center;
  color: var(--e8-text);
  margin-bottom: 8px;
}
.email-lookup-section p { padding-top: 0 !important; }
.thanks-content label {
  font-size: 14px;
  font-weight: 500;
  color: var(--e8-dark);
}
.thanks-content .form-control,
.thanks-content .form-select {
  border: 1px solid var(--e8-input-brd);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
}
.thanks-content .form-control:focus,
.thanks-content .form-select:focus {
  border-color: var(--e8-teal);
  box-shadow: none;
}
.mand-ico { color: #e35353; }
.mand-ico-indent { text-indent: -10000px; display: block; }
.cusTxt { color: #e35353; font-size: 14px; }

#lookupBtn, #lookupBtn_sub {
  background: var(--e8-teal) !important;
  border: 0 !important;
  border-radius: 8px;
  font-weight: 600;
}
#lookupBtn:hover, #lookupBtn_sub:hover { background: var(--e8-deep) !important; }

.dob-wrapper { position: relative; }
.dob-input { padding-right: 45px; border-radius: 8px; cursor: pointer; }
.dob-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--e8-teal);
  font-size: 18px;
  cursor: pointer;
}
.iti { width: 100% !important; }
.swal2-html-container { text-align: left; }
div:where(.swal2-icon) { border-color: #ffffff !important; }
div:where(.swal2-icon).swal2-warning { border-color: #f8bb86 !important; }

#lookupMessage, #submitMessage { color: var(--e8-teal); font-weight: 600; }
.teal-file-upload {
  position: relative;
  height: 46px;
  border: 1px solid var(--e8-input-brd);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}
.teal-file-upload input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.file-display {
  flex: 1;
  padding-left: 16px;
  color: #bfc2c4;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-placeholder { color: #aaa; }
.file-name { color: #333; font-weight: 500; }
.select-btn {
  background: var(--e8-teal);
  color: #fff;
  border: none;
  padding: 0 24px;
  height: 100%;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
  transition: background 0.3s;
}
.select-btn:hover { background: var(--e8-deep); }
.teal-file-upload.has-file .file-placeholder { display: none; }
.txt-red { color: #ff3232 !important; }

@media (max-width: 767.98px) {
  .thanks-content { padding: 32px 24px; }
}

.e8-compliance {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.e8-compliance-badge {
  height: 75px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}
@media (max-width: 575.98px) {
  .e8-compliance-badge { height: 60px; max-width: 100px; }
}