/* =========================================
   EXAMTIER AUTHENTICATION POPUP
========================================= */

body.tb-auth-open {
  overflow: hidden;
}

.tb-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(8, 21, 42, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.tb-auth-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tb-auth-modal {
  position: relative;
  width: min(940px, calc(100% - 80px));
  height: 610px;
  max-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 46% 54%;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(3, 18, 46, 0.22);
  transform: translateY(15px) scale(0.985);
  transition: transform 0.25s ease;
}

.tb-auth-overlay.open .tb-auth-modal {
  transform: translateY(0) scale(1);
}

.tb-auth-close {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 30;
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #0c1f43;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.tb-auth-close:hover {
  background: #f1f4f8;
  color: #1457d9;
}

/* =========================================
   LEFT BRAND PANEL
========================================= */

.tb-auth-brand-panel {
 height: 610px;
padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #e6ebf2;
  background:
    radial-gradient(
      circle at 22% 18%,
      rgba(20, 87, 217, 0.035),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f8fbff 100%
    );
}

.tb-auth-logo{
    width:230px;
    height:72px;
    object-fit:contain;
}

.tb-auth-brand-heading {
  margin-top: 10px;
  text-align: center;
}

.tb-auth-brand-heading h2 {
  color: #0b2b78;
   font-size:22px;
    line-height:1.32;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.tb-auth-brand-heading h2 span {
  display: block;
  color: #16a34a;
}

.tb-auth-illustration {
  width:100%;
  height:180px;
  margin-top:18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-auth-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tb-auth-benefits {
  width: 100%;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tb-auth-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tb-benefit-icon {
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 17px;
}

.tb-benefit-green {
  color: #07913c;
  background: #dff7e8;
}

.tb-benefit-blue {
  color: #1457d9;
  background: #e4efff;
}

.tb-benefit-purple {
  color: #7044df;
  background: #eee8ff;
}

.tb-auth-benefit strong {
  margin-top: 9px;
  color: #122452;
  font-size: 11px;
  line-height: 1.4;
}

.tb-auth-benefit small {
  max-width: 115px;
  margin-top: 5px;
  color: #65738a;
  font-size: 9px;
  line-height: 1.45;
}

.tb-auth-brand-dots {
  margin-top: auto;
  display: flex;
  gap: 7px;
}

.tb-auth-brand-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d4dbe6;
}

.tb-auth-brand-dots span.active {
  background: #0b2b78;
}

/* =========================================
   RIGHT FORM PANEL
========================================= */

.tb-auth-form-panel {
  height: 580px;
padding: 42px 38px 28px;
  display: flex;
  align-items: center;
  overflow-y: auto;
  background: #ffffff;
}

.tb-auth-step {
  display: none;
  width: 100%;
  animation: tbAuthFade 0.25s ease;
}

.tb-auth-step.active {
  display: block;
}

@keyframes tbAuthFade {
  from {
    opacity: 0;
    transform: translateX(8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.tb-auth-heading {
  text-align: center;
}

.tb-auth-heading h2 {
  color: #0b2b78;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.tb-auth-heading h2 span {
  color: #16a34a;
}

.tb-auth-heading p {
  margin-top: 10px;
  color: #68758a;
  font-size: 14px;
  font-weight: 500;
}

.tb-auth-form {
  margin-top: 28px;
}

.tb-auth-field {
  margin-bottom: 19px;
}

.tb-auth-field label {
  display: block;
  margin-bottom: 9px;
  color: #101e3b;
  font-size: 13px;
  font-weight: 700;
}

.tb-mobile-input-wrap {
  height: 58px;
  display: flex;
  border: 1px solid #c9d3e1;
  border-radius: 7px;
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.tb-mobile-input-wrap:focus-within {
  border-color: #1457d9;
  box-shadow: 0 0 0 3px rgba(20, 87, 217, 0.08);
}

.tb-country-code {
  min-width: 130px;
  height: 100%;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid #dbe2eb;
  color: #142140;
}

.tb-india-flag {
  font-size: 0;
  line-height: 1;
}

.tb-india-flag::before {
  content: "";
  display: block;
  width: 22px;
  height: 15px;
  border: 1px solid #d8dee9;
  border-radius: 2px;
  background:
    radial-gradient(circle at center, #1a3c8c 0 1.5px, transparent 1.8px),
    linear-gradient(to bottom, #ff9933 0 33.33%, #fff 33.33% 66.66%, #138808 66.66% 100%);
  box-shadow: 0 1px 2px rgba(15, 35, 85, 0.12);
}

.tb-country-code strong {
  font-size: 14px;
}

.tb-country-code i {
  margin-left: auto;
  font-size: 10px;
}

.tb-mobile-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: #15213b;
  background: transparent;
  font-size: 14px;
}

.tb-mobile-input-wrap input::placeholder {
  color: #8994a6;
}

.tb-auth-error {
  min-height: 18px;
  margin-top: 6px;
  color: #dc2626;
  font-size: 11px;
  font-weight: 500;
}

.tb-auth-primary-btn,
.tb-register-btn {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  border-radius: 7px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tb-auth-primary-btn {
  background: linear-gradient(
    90deg,
    #0b2b78,
    #0b3d9b
  );
  box-shadow: 0 8px 20px rgba(11, 43, 120, 0.17);
}

.tb-register-btn {
  background: linear-gradient(
    90deg,
    #0c9843,
    #09a449
  );
  box-shadow: 0 8px 20px rgba(12, 152, 67, 0.15);
}

.tb-auth-primary-btn:hover,
.tb-register-btn:hover {
  transform: translateY(-1px);
}

.tb-auth-primary-btn:disabled,
.tb-register-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.tb-auth-divider {
  margin: 28px 0 23px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 17px;
}

.tb-auth-divider span {
  height: 1px;
  background: #dde3eb;
}

.tb-auth-divider p {
  color: #5f6b7e;
  font-size: 12px;
  font-weight: 700;
}

.tb-google-btn {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid #ccd5e1;
  border-radius: 7px;
  background: #ffffff;
  color: #142140;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.tb-google-btn strong {
  font-size: 14px;
  font-weight: 700;
}

.tb-google-btn:hover {
  border-color: #9daabd;
  background: #fafcff;
  box-shadow: 0 4px 14px rgba(11, 43, 120, 0.06);
}

.tb-google-icon{
    width:21px;
    height:21px;
    object-fit:contain;
    flex-shrink:0;
}

.tb-data-safe {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #657288;
  font-size: 13px;
}

.tb-data-safe i {
  color: #52617a;
}

/* =========================================
   OTP STEP
========================================= */

.tb-otp-mobile-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tb-otp-mobile-row strong {
  color: #0b9a43;
  font-size: 13px;
}

.tb-otp-mobile-row button {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  color: #1457d9;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.tb-otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.tb-otp-inputs input {
  width: 100%;
  height: 56px;
  border: 1px solid #cbd5e2;
  border-radius: 7px;
  outline: none;
  color: #0b2b78;
  text-align: center;
  font-size: 21px;
  font-weight: 800;
}

.tb-otp-inputs input:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.08);
}

.tb-otp-error {
  text-align: center;
}

.tb-resend-row {
  min-height: 38px;
  margin: 16px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #778397;
  font-size: 11px;
}

.tb-resend-row button {
  background: transparent;
  color: #1457d9;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.tb-resend-row button:disabled {
  visibility: hidden;
}

.tb-google-otp {
  height: 54px;
}

/* =========================================
   REGISTRATION STEP
========================================= */

.tb-registration-heading h2 {
  font-size: 24px;
}

.tb-registration-form {
  margin-top: 26px;
}

.tb-registration-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tb-registration-form .tb-auth-field {
  margin-bottom: 14px;
}

.tb-registration-form input,
.tb-registration-form select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ccd5e1;
  border-radius: 6px;
  outline: none;
  background: #ffffff;
  color: #17223a;
  font-size: 12px;
}

.tb-registration-form input:focus,
.tb-registration-form select:focus {
  border-color: #1457d9;
  box-shadow: 0 0 0 3px rgba(20, 87, 217, 0.07);
}

.tb-registration-form input::placeholder {
  color: #929cad;
}

.tb-registration-form select:disabled {
  cursor: not-allowed;
  color: #9aa4b4;
  background: #f6f8fb;
}

.tb-registration-error {
  text-align: center;
}

.tb-register-btn {
  height: 51px;
  margin-top: 2px;
  font-size: 14px;
}

.tb-registration-safe {
  margin-top: 16px;
  font-size: 11px;
}

/* =========================================
   REGISTRATION SUCCESS TOAST
========================================= */

.tb-registration-toast {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 60;
  min-width: 300px;
  min-height: 58px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #b9ebcc;
  border-radius: 8px;
  background: #f2fff6;
  color: #106d35;
  box-shadow: 0 12px 32px rgba(11, 43, 70, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -14px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.tb-registration-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.tb-registration-toast span {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #15a34a;
  color: #ffffff;
}

.tb-registration-toast strong {
  font-size: 13px;
}

/* =========================================
   RESPONSIVE AUTHENTICATION POPUP
========================================= */

@media (max-width: 950px) {
  .tb-auth-modal {
    width: min(570px, 100%);
    min-height: auto;
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .tb-auth-brand-panel {
    display: none;
  }

  .tb-auth-form-panel {
    min-height: 620px;
    padding: 66px 42px 35px;
  }
}

@media (max-width: 600px) {
  .tb-auth-overlay {
    padding: 0;
    align-items: stretch;
  }

  .tb-auth-modal {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    border-radius: 0;
  }

  .tb-auth-close {
    top: 18px;
    right: 18px;
  }

  .tb-auth-form-panel {
    min-height: 100vh;
    padding: 65px 18px 30px;
    align-items: flex-start;
  }

  .tb-auth-heading h2 {
    font-size: 25px;
  }

  .tb-auth-form {
    margin-top: 34px;
  }

  .tb-country-code {
    min-width: 104px;
    padding: 0 12px;
  }

  .tb-mobile-input-wrap,
  .tb-auth-primary-btn,
  .tb-google-btn {
    height: 54px;
  }

  .tb-auth-primary-btn {
    font-size: 14px;
  }

  .tb-data-safe {
    margin-top: 38px;
  }

  .tb-otp-inputs {
    gap: 6px;
  }

  .tb-otp-inputs input {
    height: 50px;
    font-size: 18px;
  }

  .tb-registration-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tb-registration-form {
    margin-top: 23px;
  }

  .tb-registration-form input,
  .tb-registration-form select {
    height: 47px;
  }

  .tb-registration-toast {
    top: 14px;
    min-width: calc(100% - 70px);
  }
}

/* =========================================
   COMPACT GOOGLE + EMAIL LOGIN
========================================= */

.tb-social-login-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}

.tb-social-login-btn {
  width: 135px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  background: #ffffff;
  border: 1px solid #d9dee7;
  border-radius: 8px;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #263247;

  cursor: pointer;
  transition: 0.2s ease;
}

.tb-social-login-btn:hover {
  border-color: #aeb8c7;
  background: #f8fafc;
}

.tb-social-login-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.tb-social-login-btn i {
  font-size: 17px;
  color: #344054;
}

/* =========================================
   EMAIL LOGIN + FORGOT PASSWORD
========================================= */


/* EMAIL + PASSWORD INPUTS */

#tbEmailLoginStep .tb-auth-field > input,
#tbForgotPasswordStep .tb-auth-field > input,
.tb-email-password-wrap input {
  width: 100%;
  height: 50px;

  padding: 0 15px;

  box-sizing: border-box;

  border: 1px solid #d9e0eb;
  border-radius: 10px;

  background: #f8fafc;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #172033;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


/* PLACEHOLDER */

#tbEmailLoginStep .tb-auth-field > input::placeholder,
#tbForgotPasswordStep .tb-auth-field > input::placeholder,
.tb-email-password-wrap input::placeholder {
  color: #a0a9b8;
}


/* INPUT FOCUS */

#tbEmailLoginStep .tb-auth-field > input:focus,
#tbForgotPasswordStep .tb-auth-field > input:focus,
.tb-email-password-wrap input:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}


/* =========================================
   PASSWORD FIELD
========================================= */

.tb-email-password-wrap {
  position: relative;
  width: 100%;
}

.tb-email-password-wrap input {
  padding-right: 48px;
}

.tb-email-password-wrap button {
  position: absolute;

  right: 10px;
  top: 50%;

  transform: translateY(-50%);

  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: none;
  background: transparent;

  color: #7b8798;
  font-size: 15px;

  cursor: pointer;
}

.tb-email-password-wrap button:hover {
  color: #0b1f5e;
}


/* =========================================
   FORGOT PASSWORD BUTTON
========================================= */

.tb-email-forgot-row {
  display: flex;
  justify-content: flex-end;

  margin-top: -10px;
  margin-bottom: 20px;
}

.tb-email-forgot-row button {
  padding: 0;

  border: none;
  background: transparent;

  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;

  color: #2563eb;

  cursor: pointer;
}

.tb-email-forgot-row button:hover {
  text-decoration: underline;
}


/* =========================================
   BACK BUTTON
========================================= */

.tb-email-back-btn {
  width: 100%;

  margin-top: 17px;
  padding: 6px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  border: none;
  background: transparent;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;

  color: #596579;

  cursor: pointer;
}

.tb-email-back-btn:hover {
  color: #0b1f5e;
}

/* =========================================
   COMPACT MOBILE LOGIN
========================================= */

#tbMobileStep .tb-auth-form {
  max-width: 390px;
  margin-left: auto;
  margin-right: auto;
}

#tbMobileStep .tb-mobile-input-wrap {
  height: 48px;
}

#tbMobileStep .tb-country-code {
  min-width: 105px;
  padding: 0 13px;
  gap: 7px;
}

#tbMobileStep .tb-country-code strong {
  font-size: 13px;
}

#tbMobileStep .tb-mobile-input-wrap input {
  padding: 0 14px;
  font-size: 13px;
}

#tbMobileStep .tb-auth-primary-btn {
  height: 46px;
  font-size: 14px;
  gap: 14px;
}

/* MOBILE INPUT - SAME LOOK AS EMAIL / PASSWORD */

#tbMobileStep .tb-mobile-input-wrap {
  background: #f8fafc;
  border: 1px solid #d9e0eb;
  border-radius: 10px;
}

#tbMobileStep .tb-country-code {
  background: transparent;
  border-right: 1px solid #d9e0eb;
}

#tbMobileStep .tb-mobile-input-wrap input {
  background: transparent;
}

#tbMobileStep .tb-mobile-input-wrap:focus-within {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

/* =========================================
   COMPACT VERIFY OTP - SAME INPUT STYLE
========================================= */

#tbOtpStep .tb-auth-form {
  max-width: 390px;
  margin-left: auto;
  margin-right: auto;
}

#tbOtpStep .tb-otp-inputs {
  gap: 8px;
}

#tbOtpStep .tb-otp-inputs input {
  height: 48px;
  border: 1px solid #d9e0eb;
  border-radius: 9px;
  background: #f8fafc;
  font-size: 18px;
  font-weight: 700;
  box-shadow: none;
}

#tbOtpStep .tb-otp-inputs input:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

#tbOtpStep .tb-auth-primary-btn {
  height: 46px;
  font-size: 14px;
}


/* =========================================
   OTP EDIT + RESEND - HOME PAGE STYLE
========================================= */

/* Mobile number + Edit */
#tbOtpStep .tb-otp-mobile-row button {
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;

  display: inline-flex;
  align-items: center;
  gap: 4px;

  color: #1457d9;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;
  box-shadow: none;
}

#tbOtpStep .tb-otp-mobile-row button i {
  font-size: 10px;
}

#tbOtpStep .tb-otp-mobile-row button:hover {
  color: #0b2b78;
}


/* Resend OTP */
#tbOtpStep .tb-resend-row button {
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;

  color: #1457d9;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;

  cursor: pointer;
  box-shadow: none;
}

#tbOtpStep .tb-resend-row button:hover {
  color: #0b2b78;
}

#tbOtpStep .tb-resend-row button:disabled {
  visibility: hidden;
}
.tb-invisible-recaptcha .grecaptcha-badge{visibility:hidden!important}.tb-recaptcha-notice{display:block;margin:8px auto 0;max-width:360px;text-align:center;color:#71809e;font-size:10px;line-height:1.4}.tb-recaptcha-notice a{color:#2563eb;text-decoration:none}
/* Slightly raise the mobile sign-in heading without moving the form. */
#tbMobileStep > .tb-auth-heading{position:relative;top:-24px}
/* Lower the alternate sign-in group slightly. */
#tbMobileStep > .tb-auth-divider,
#tbMobileStep > .tb-social-login-row,
#tbMobileStep > .tb-data-safe{position:relative;top:8px}
#tbMobileStep > .tb-data-safe{top:20px}
/* Lower only the two-line brand tagline. */
.tb-auth-brand-panel > .login-tagline{position:relative;top:12px}
/* Raise only the secure sign-in badge. */
#tbMobileStep .tb-auth-mode-pill{position:relative;top:-6px}
