:root {
  --ib-blue: #2F6FEB;
  --ib-blue-dark: #1E4FD1;
  --ib-purple: #4C1D95;
  --ib-purple-light: #7C3AED;
  --ib-navy: #0F172A;
  --ib-gray: #64748B;
  --ib-light-bg: #F4F7FF;
  --ib-radius: 20px;
}

* {
  box-sizing: border-box;
}

.ib-auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  min-height: 100vh;
  padding: 1vh 16px; /* Squeezed to prevent scrolling */
}

.ib-auth-page .ib-auth-grid {
  min-height: auto;
}

.ib-auth-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  align-items: stretch;
  overflow: hidden;
}

/* LEFT BRAND PANEL */
.ib-brand-panel {
  background: linear-gradient(165deg, #172f69 0%, #2052b7 55%, #2862e5 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 32px; /* Squeezed */
  position: relative;
  overflow: hidden;
  margin: 12px 0 12px 12px; /* Squeezed */
  /* Flat on the right side */
  border-radius: 20px 0 0 20px;
}

.ib-brand-panel::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -160px;
  right: -160px;
}

.ib-brand-panel::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -120px;
  left: -80px;
}

.ib-brand-logo {
  width: 250px;
  margin-bottom: 40px;
  padding: 13px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.ib-brand-title {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.4;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.ib-brand-sub {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 420px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.ib-brand-features {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.ib-brand-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px; /* Spaced out */
}

.ib-brand-features .feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.ib-brand-features .feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ib-brand-features .feature-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.ib-brand-features .feature-text span {
  font-size: 0.75rem;
  opacity: 0.75;
  line-height: 1.4;
}

.ib-brand-stats {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ib-brand-stats span {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
}

.ib-brand-stats strong {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

/* RIGHT FORM PANEL */
.ib-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.ib-auth-card {
  width: 100%;
  max-width: 520px;
}

.ib-mobile-logo {
  display: none;
  width: 160px;
  margin: 0 auto 24px;
}

.ib-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ib-blue-dark);
  background: #EAF1FF;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 8px; }

.ib-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
}

.ib-auth-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ib-navy);
  margin-bottom: 10px;
  line-height: 1.2;
}

.ib-gradient-text {
  background: linear-gradient(90deg, var(--ib-blue) 0%, var(--ib-purple-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ib-auth-sub {
  color: var(--ib-gray);
  margin-bottom: 32px;
  font-size: 1.25rem;
}

/* ROLE SELECTOR CARDS */
.ib-role-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.ib-role-card {
  position: relative;
  border: 2px solid #D9E1EE;
  border-radius: 14px;
  padding: 20px 16px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  background: #fff;
}

.ib-role-card:hover {
  border-color: var(--ib-blue);
  transform: translateY(-2px);
}

.ib-role-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ib-role-card .ib-role-icon {
  font-size: 3.2rem;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}

.ib-role-card .ib-role-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ib-navy);
}

.ib-role-card .ib-role-desc {
  font-size: 0.8rem;
  color: var(--ib-gray);
  margin-top: 4px;
}

.ib-role-card.selected {
  border-color: var(--ib-blue);
  background: linear-gradient(160deg, #EAF1FF 0%, #F3ECFF 100%);
  box-shadow: 0 4px 16px rgba(47, 111, 235, 0.15);
}

.ib-role-card.selected .ib-role-label {
  color: var(--ib-blue-dark);
}

/* FORM FIELDS */
.ib-form-row {
  margin-bottom: 8px; }

.ib-form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ib-navy);
  margin-bottom: 8px;
}

.ib-input {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid #D9E1EE;
  padding: 14px 16px;
  font-size: 1rem;
  transition: all 0.15s ease;
}

.ib-input:focus {
  border-color: var(--ib-blue);
  box-shadow: 0 0 0 4px #EAF1FF;
  outline: none;
}

.ib-btn-primary {
  width: 100%;
  background: linear-gradient(90deg, var(--ib-blue) 0%, var(--ib-purple-light) 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 999px;
  padding: 15px;
  transition: opacity 0.15s ease;
}

.ib-btn-primary:hover,
.ib-btn-primary:focus {
  opacity: 0.92;
  color: #fff;
}

.ib-btn-primary:disabled {
  opacity: 0.6;
}

.ib-auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--ib-gray);
}

.ib-auth-footer a {
  color: var(--ib-blue);
  font-weight: 700;
  text-decoration: none;
}

.ib-alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.ib-alert.error {
  background: #FEECEC;
  color: #B42318;
}

.ib-alert.success {
  background: #E9F9EE;
  color: #087443;
}

@media (max-width: 767px) {
  .ib-auth-grid {
    grid-template-columns: 1fr;
  }

  .ib-brand-panel {
    display: none;
  }

  .ib-mobile-logo {
    display: block;
  }

  .ib-form-panel {
    padding: 40px 20px;
  }

  .ib-auth-title {
    font-size: 1.8rem;
  }
}

.ib-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ib-password-wrap .ib-input {
  width: 100%;
  padding-right: 48px !important;
}

.ib-toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #94a3b8;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.18s ease;
}

.ib-toggle-password:hover {
  color: var(--ib-blue);
}

.ib-toggle-password:focus-visible {
  outline: 2px solid var(--ib-blue);
  outline-offset: 2px;
}

.ib-toggle-password .eye-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.ib-toggle-password .eye-closed {
  display: none;
}

.ib-toggle-password.is-visible .eye-open {
  display: none;
}

.ib-toggle-password.is-visible .eye-closed {
  display: block;
}

/* Registration page */
.ib-auth-page:has(.ib-register-role) {
  min-height: 100vh;
  background: #edf2f8;
  padding: 32px;
  cursor: default;
  user-select: none;
  caret-color: transparent;
}

.ib-auth-page:has(.ib-register-role) input,
.ib-auth-page:has(.ib-register-role) select {
  cursor: text;
  user-select: text;
  caret-color: auto;
}

.ib-auth-page:has(.ib-register-role) select,
.ib-auth-page:has(.ib-register-role) button,
.ib-auth-page:has(.ib-register-role) a {
  cursor: pointer;
}

.ib-auth-page:has(.ib-register-role) .ib-auth-grid {
  grid-template-columns: 0.82fr 1.18fr;
  max-width: 900px; /* Reduced width */
  min-height: unset;
  height: auto;
  margin: auto;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.ib-auth-page:has(.ib-register-role) .ib-brand-panel {
  min-height: unset;
  padding: 44px 30px;
  justify-content: flex-start;
  background: linear-gradient(165deg, #172f69 0%, #2052b7 55%, #2862e5 100%);
}

.ib-auth-page:has(.ib-register-role) .ib-brand-logo {
  width: 170px;
  padding: 8px 12px;
  border-radius: 9px;
  margin-bottom: 12px; /* Aggressive Squeeze */
  box-shadow: none;
}



.ib-auth-page:has(.ib-register-role) .ib-brand-sub {
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 12px; /* Aggressive Squeeze */
  max-width: 260px;
}



.ib-auth-page:has(.ib-register-role) .ib-form-panel {
  padding: 16px 44px 12px; /* Aggressive Squeeze */
  align-items: flex-start;
}

.ib-auth-page:has(.ib-register-role) .ib-auth-card {
  max-width: 620px;
}

.ib-auth-page:has(.ib-register-role) .ib-auth-title {
  font-size: 2rem;
  margin-bottom: 5px;
}

.ib-auth-page:has(.ib-register-role) .ib-auth-sub {
  font-size: 1rem;
  margin-bottom: 8px; /* Aggressive Squeeze */
}

.ib-auth-page:has(.ib-register-role) .ib-register-role {
  display: none;
}

.ib-auth-page:has(.ib-register-role) #registerForm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
}

.ib-auth-page:has(.ib-register-role) .ib-form-row {
  grid-column: 1 / -1;
  margin-bottom: 10px; /* Aggressive Squeeze */
}

.ib-auth-page:has(.ib-register-role) .ib-form-row label {
  font-size: 0.84rem;
  margin-bottom: 4px; /* Aggressive Squeeze */
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #51627c;
}

.ib-auth-page:has(.ib-register-role) .ib-input {
  height: 38px; /* Aggressive Squeeze */
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.ib-phone-input {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
}

.ib-country-code {
  width: 100%;
  height: 38px; /* Aggressive Squeeze */
  padding: 0 9px;
  border: 1.5px solid #D9E1EE;
  border-radius: 6px;
  background: #fff;
  color: var(--ib-navy);
  font-size: 0.95rem;
}

.ib-country-code:focus {
  border-color: var(--ib-blue);
  box-shadow: 0 0 0 4px #EAF1FF;
  outline: none;
}

.ib-auth-page:has(.ib-register-role) .ib-password-wrap .ib-input {
  padding-right: 44px !important;
}

.ib-auth-page:has(.ib-register-role) #formAlert,
.ib-auth-page:has(.ib-register-role) #registerBtn {
  grid-column: span 2;
}

.ib-auth-page:has(.ib-register-role) .ib-btn-primary,
.ib-btn-outline {
  height: 42px; /* Aggressive Squeeze */
  padding: 8px 20px;
  border: 1px solid var(--ib-blue);
  border-radius: 6px;
  background: #fff;
  color: var(--ib-blue);
  font-size: 0.9rem;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(47, 111, 235, 0.12);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
  text-decoration: none;
}

.ib-auth-page:has(.ib-register-role) .ib-btn-primary::before,
.ib-btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--ib-blue);
  z-index: -1;
  transition: width 0.4s ease;
}

.ib-auth-page:has(.ib-register-role) .ib-btn-primary:hover::before,
.ib-auth-page:has(.ib-register-role) .ib-btn-primary:focus::before,
.ib-btn-outline:hover::before,
.ib-btn-outline:focus::before {
  width: 100%;
}

.ib-auth-page:has(.ib-register-role) .ib-btn-primary:hover,
.ib-auth-page:has(.ib-register-role) .ib-btn-primary:focus,
.ib-btn-outline:hover,
.ib-btn-outline:focus {
  color: #fff;
  background: transparent;
}

.ib-auth-page:has(.ib-register-role) .ib-auth-footer {
  margin-top: 22px;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .ib-auth-page:has(.ib-register-role) {
    padding: 16px;
  }

  .ib-auth-page:has(.ib-register-role) .ib-form-panel {
    padding: 28px 22px 22px;
  }

  .ib-auth-page:has(.ib-register-role) #registerForm {
    grid-template-columns: 1fr;
  }
}

/* Login page uses the same split layout without role cards. */
.ib-login-page {
  min-height: 100vh;
  background: #edf2f8;
  padding: 32px;
  cursor: default;
  user-select: none;
  caret-color: transparent;
}

.ib-login-page input,
.ib-login-page select {
  cursor: text;
  user-select: text;
  caret-color: auto;
}

.ib-login-page select,
.ib-login-page button,
.ib-login-page a {
  cursor: pointer;
}




.ib-login-page .ib-form-panel {
  padding: 34px 44px 26px;
  align-items: flex-start;
}



.ib-login-page .ib-auth-title {
  font-size: 2rem;
  margin-bottom: 5px;
}

.ib-login-page .ib-auth-sub {
  font-size: 1rem;
  margin-bottom: 28px;
}

.ib-login-page #loginForm .ib-form-row {
  margin-bottom: 8px; }

.ib-login-page #loginForm .ib-form-row label {
  font-size: 0.84rem;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #51627c;
}

.ib-login-page #loginForm .ib-input {
  height: 48px;
  padding: 10px 13px;
  border-radius: 7px;
  font-size: 1rem;
}

.ib-login-page #loginForm .ib-password-wrap .ib-input {
  padding-right: 44px !important;
}

.ib-login-page #loginForm .ib-btn-primary {
  height: 48px;
  padding: 10px;
  border: 1px solid var(--ib-blue);
  border-radius: 6px;
  background: #fff;
  color: var(--ib-blue);
  font-size: 0.9rem;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(47, 111, 235, 0.12);
}

.ib-login-page #loginForm .ib-btn-primary:hover,
.ib-login-page #loginForm .ib-btn-primary:focus {
  background: var(--ib-blue);
  color: #fff;
}

.ib-login-page .ib-auth-footer {
  margin-top: 22px;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .ib-login-page {
    padding: 16px;
  }

  .ib-login-page .ib-form-panel {
    padding: 28px 22px 22px;
  }
}


.ib-login-page .ib-form-panel { padding: 24px 34px 20px; /* Squeezed */
}



.ib-login-eyebrow {
  margin: 0 0 12px;
  color: var(--ib-blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.ib-login-page .ib-auth-title {
  margin: 0;
  color: var(--ib-navy);
  font-size: 2rem;
  line-height: 1.15;
}

.ib-login-title-line {
  display: block;
  width: 46px;
  height: 4px;
  margin: 12px 0 10px;
  border-radius: 99px;
  background: var(--ib-blue);
}

.ib-login-page .ib-auth-sub {
  margin-bottom: 12px; /* Squeezed */
  color: #91a1ba;
  font-size: 0.84rem;
}

.ib-login-page #loginForm .ib-form-row {
  margin-bottom: 14px; /* Squeezed */
}

.ib-login-page #loginForm .ib-form-row label {
  color: #70809a;
  font-size: 0.72rem;
}

.ib-login-page #loginForm .ib-input {
  height: 42px; /* Squeezed */
  border: 2px solid #d9e4f3;
  border-radius: 12px;
  font-size: 0.95rem;
}

.ib-login-page #loginForm .ib-input:focus {
  border-color: #3d7cff;
  box-shadow: 0 0 0 3px rgba(61, 124, 255, 0.12);
}

.ib-login-page #loginForm .ib-btn-primary {
  height: 42px; /* Squeezed */
  border-radius: 12px;
  font-size: 0.9rem;
  
  /* Sweep effect setup */
  background: transparent;
  color: var(--ib-blue);
  border: 1px solid var(--ib-blue);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

.ib-login-page #loginForm .ib-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--ib-blue);
  z-index: -1;
  transition: width 0.4s ease;
}

.ib-login-page #loginForm .ib-btn-primary:hover::before,
.ib-login-page #loginForm .ib-btn-primary:focus::before {
  width: 100%;
}

.ib-login-page #loginForm .ib-btn-primary:hover,
.ib-login-page #loginForm .ib-btn-primary:focus {
  color: #fff;
  background: transparent;
}

.ib-login-page .ib-login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 12px; /* Squeezed */
  color: #9aabc3;
  font-size: 0.72rem;
  font-weight: 700;
}

.ib-login-page .ib-login-divider::before,
.ib-login-page .ib-login-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e5ebf4;
}

.ib-login-page .ib-login-new {
  margin: 0 0 10px; /* Squeezed */
  color: #9aabc3;
  font-size: 0.82rem;
  text-align: center;
}

.ib-login-page .ib-login-register {
  display: block;
  width: 154px;
  margin: 0 auto;
  padding: 8px 16px; /* Squeezed */
  border: 1px solid var(--ib-blue);
  border-radius: 11px;
  color: var(--ib-blue);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  
  /* Sweep effect setup */
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

.ib-login-page .ib-login-register::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--ib-blue);
  z-index: -1;
  transition: width 0.4s ease;
}

.ib-login-page .ib-login-register:hover::before,
.ib-login-page .ib-login-register:focus::before {
  width: 100%;
}

.ib-login-page .ib-login-register:hover,
.ib-login-page .ib-login-register:focus {
  color: #fff;
  background: transparent;
}


.ib-login-page .ib-login-security {
  margin: 22px 0 0;
  color: #a3b1c5;
  font-size: 0.68rem;
  text-align: center;
}

.ib-login-page .ib-login-security strong {
  color: var(--ib-blue);
}

@media (max-width: 700px) {
  .ib-login-page .ib-form-panel {
    padding: 38px 22px 28px;
  }
}


/* FULL-WIDTH FORM LAYOUT (no left brand panel) */
.ib-auth-page-full {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #EAF1FF 0%, #F3ECFF 50%, #EAF1FF 100%);
  position: relative;
  overflow: hidden;
}

.ib-auth-page-full::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(47, 111, 235, 0.12), rgba(124, 58, 237, 0.12));
  top: -180px;
  left: -180px;
}

.ib-auth-page-full::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(47, 111, 235, 0.1));
  bottom: -160px;
  right: -160px;
}

.ib-auth-card-full {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border: 1px solid #E7ECF5;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(76, 29, 149, 0.12);
  padding: 48px 56px;
  position: relative;
  z-index: 2;
}

.ib-auth-card-full::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--ib-blue), var(--ib-purple-light));
  border-radius: 24px 24px 0 0;
}

.ib-form-logo {
  width: 180px;
  display: block;
  margin: 0 auto 24px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #EAF1FF;
  border-radius: 14px;
}

/* Bigger role card description text */
.ib-role-card .ib-role-desc {
  font-size: 0.95rem;
  color: var(--ib-gray);
  margin-top: 6px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .ib-auth-card-full {
    padding: 36px 24px;
  }
}

.ib-brand-panel {
  align-self: start;
}

/* RICH GRADIENT BACKGROUND — single template, no split panel */
.ib-auth-page-rich {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #4C1D95 0%, #2F6FEB 45%, #7C3AED 100%);
  position: relative;
  overflow: hidden;
}

.ib-auth-page-rich::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -220px;
  left: -220px;
}

.ib-auth-page-rich::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  bottom: -200px;
  right: -180px;
}

.ib-auth-page-rich .ib-auth-card-full {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  padding: 48px 56px;
  position: relative;
  z-index: 2;
}

.ib-auth-page-rich .ib-auth-card-full::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--ib-blue), var(--ib-purple-light));
  border-radius: 24px 24px 0 0;
}

@media (max-width: 600px) {
  .ib-auth-page-rich .ib-auth-card-full {
    padding: 36px 24px;
  }
}



/* LOGIN PAGE BRAND PANEL REPLICA */
.ib-login-brand {
  min-height: unset;
  padding: 26px 32px;
  justify-content: flex-start;
  background: linear-gradient(165deg, #172f69 0%, #2052b7 55%, #2862e5 100%);
  position: relative; margin: 0; border-radius: 0;
  overflow: hidden;
}

.ib-brand-logo-alt {
  width: 170px;
  margin-bottom: 6px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

.ib-brand-kicker {
  margin: 0 0 12px; color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
}

.ib-login-welcome {
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.ib-login-welcome h2 {
  margin: 0 0 4px; color: #fff; font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.ib-login-welcome p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  line-height: 1.6;
}

.ib-login-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.ib-login-features li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px; }

.ib-login-features .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.08);
}

.ib-login-features .text { font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

/* Illustration styling matching screenshot */
.ib-login-illustration { position: relative; height: 130px;
  margin-top: 16px;
}

.login-now-badge {
  position: absolute;
  right: 0;
  top: -10px;
  background: #fff;
  color: var(--ib-blue);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 10;
}

.ib-illustration-card {
  position: absolute;
  left: 20px;
  top: 30px;
  width: 180px;
  height: 110px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.ib-illustration-card .chk-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ib-illustration-card .chk-line i {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.ib-illustration-card .chk-line .line {
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  flex: 1;
}

.ib-illustration-card .chk-line:nth-child(2) .line { width: 80%; flex: none; }
.ib-illustration-card .chk-line:nth-child(3) .line { width: 60%; flex: none; }

.ib-illustration-check {
  position: absolute;
  right: 60px;
  bottom: 10px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 15;
}







/* LOGIN PAGE SPECIFIC FORM STYLING REPLICA */
.ib-login-page #loginForm .ib-btn-primary {
  background: #fff;
  border: 1.5px solid var(--ib-blue);
  color: var(--ib-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: none;
  transition: all 0.3s ease;
}

.ib-login-page #loginForm .ib-btn-primary:hover {
  background: #f4f7ff;
  border-color: #1a42b1;
}

.ib-login-page .ib-login-register {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 170px;
  margin: 0 auto;
  padding: 10px 16px;
  border: 1.5px solid #d4dfee;
  border-radius: 8px;
  color: var(--ib-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ib-login-page .ib-login-register:hover {
  border-color: var(--ib-blue);
  background: #f4f7ff;
}

.ib-login-page .ib-auth-sub {
  margin-bottom: 24px;
}

.ib-login-page #loginForm .ib-form-row label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: #7b88a0;
  font-weight: 600;
}







.ib-login-page .ib-auth-grid {
    grid-template-columns: 0.85fr 1.15fr;
    max-width: 900px;
    min-height: unset;
    height: auto;
    margin: auto;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}




  50% { transform: translateY(-10px); }
}


  50% { transform: translateY(-7px); }
}


  50% { transform: translateY(-14px); }
}


  50% { transform: translateY(-8px) rotate(2deg); }
}








/* ILLUSTRATION FLOATING ANIMATION - whole block floats together */

  50%       { transform: translateY(-10px); }
}

.ib-login-illustration {
  
}

/* FIT ONE PAGE - prevent overflow */
.ib-login-page .ib-auth-page {
  overflow: hidden;
}
.ib-login-brand {
  overflow: hidden;
}
.ib-login-page .ib-auth-grid {
  min-height: unset !important;
  height: auto !important;
}



/* EXACT REFERENCE ANIMATION - whole group bobs together, gentle */
@keyframes ib-float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.ib-login-illustration {
  animation: ib-float 4s ease-in-out infinite;
  will-change: transform;
}

/* REFERENCE ILLUSTRATION - exact match */
.ib-login-illustration {
  position: relative;
  width: 240px;
  height: 160px;
  margin-top: 8px;
  animation: ib-float 4s ease-in-out infinite;
  will-change: transform;
}

/* Dark main card */
.illu-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 190px;
  background: rgba(10, 20, 60, 0.7);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.illu-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Circle dot */
.illu-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illu-dot--check {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #10b981;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Horizontal line */
.illu-line {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
}
.illu-line--short  { flex: none; width: 80%; }
.illu-line--shorter{ flex: none; width: 60%; }

/* Speech bubble badge */
.illu-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(30, 40, 90, 0.92);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 10;
}

/* Green check circle overlapping */
.illu-check {
  position: absolute;
  right: 10px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(16,185,129,0.4);
  z-index: 15;
}

/* ======================================================
   EXACT REFERENCE ILLUSTRATION CSS (from student_login.html)
   ====================================================== */

.teacher-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  margin-top: 8px;
}

.register-visual {
  position: relative;
  width: 270px;
  height: 160px;
  z-index: 2;
  animation: visualFloat 3.5s ease-in-out infinite;
}

.register-visual::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 190px;
  height: 18px;
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  filter: blur(8px);
  transform: translateX(-50%);
  z-index: 0;
}

@keyframes visualFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.application-card {
  position: absolute;
  left: 24px;
  top: 22px;
  width: 190px;
  height: 120px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  z-index: 2;
}

.application-card::before {
  content: '';
  position: absolute;
  right: 16px; top: 16px;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #93c5fd, #ffffff);
  border-radius: 50%;
  opacity: 0.95;
}

.application-card::after {
  content: '';
  position: absolute;
  right: 24px; top: 25px;
  width: 18px; height: 10px;
  border-left: 3px solid #1d4ed8;
  border-bottom: 3px solid #1d4ed8;
  transform: rotate(-45deg);
}

.app-title-line {
  width: 96px; height: 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  margin-bottom: 16px;
}

.app-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.app-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.35);
  position: relative;
  flex-shrink: 0;
}

.app-dot::after {
  content: '';
  position: absolute;
  left: 5px; top: 4px;
  width: 7px; height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.app-line {
  height: 7px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.app-row:nth-child(4) .app-line { max-width: 86px; }

.app-progress {
  width: 100%; height: 8px;
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  overflow: hidden;
}

.app-progress span {
  display: block;
  width: 72%; height: 100%;
  background: linear-gradient(90deg, #ffffff, #bfdbfe);
  border-radius: inherit;
}

.success-badge {
  position: absolute;
  right: 18px; bottom: 16px;
  width: 74px; height: 74px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
  z-index: 3;
}

.success-badge::before {
  content: '';
  position: absolute;
  left: 20px; top: 18px;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #22c55e, #60a5fa);
  border-radius: 50%;
}

.success-badge::after {
  content: '';
  position: absolute;
  left: 31px; top: 29px;
  width: 14px; height: 8px;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(-45deg);
}

.visual-arrow {
  position: absolute;
  right: 8px; top: 54px;
  width: 72px; height: 2px;
  background: rgba(255, 255, 255, 0.88);
  transform: rotate(-18deg);
  transform-origin: right center;
  z-index: 1;
}

.visual-arrow::after {
  content: '';
  position: absolute;
  right: -1px; top: -5px;
  width: 11px; height: 11px;
  border-top: 2px solid rgba(255, 255, 255, 0.88);
  border-right: 2px solid rgba(255, 255, 255, 0.88);
  transform: rotate(45deg);
}

/* Speech bubble - has its OWN separate animation */
.speech-bubble {
  position: absolute;
  right: 0; top: 0;
  background: #ffffff;
  color: #1e40af;
  padding: 10px 18px;
  border-radius: 16px 16px 16px 4px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: bubbleFloat 3s ease-in-out infinite;
  white-space: nowrap;
  z-index: 5;
}

.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -8px; left: 14px;
  width: 0; height: 0;
  border-left: 8px solid #ffffff;
  border-right: 8px solid transparent;
  border-top: 8px solid #ffffff;
  border-bottom: 8px solid transparent;
}

@keyframes bubbleFloat {
  0%, 100% { transform: scale(1) translateY(0); }
  50%       { transform: scale(1.04) translateY(-4px); }
}

/* Arrow inside speech bubble */
.speech-arrow {
  display: inline-block;
  animation: arrowMove 1s ease-in-out infinite;
}

@keyframes arrowMove {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(5px); }
}

/* Mini board on the left */
.mini-board {
  position: absolute;
  left: 10px; top: 20px;
  width: 80px; height: 60px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1;
}

.board-line {
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
.board-line.short { width: 55%; }
.board-line.med   { width: 75%; }

/* ======================================================
   EXACT REFERENCE RIGHT PANEL CSS (from student_login.html)
   ====================================================== */

.ib-login-page .ib-form-panel { flex: 1; background: #ffffff; padding: 32px 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 24px 24px 0;
  position: relative;
  overflow: hidden;
}

.lp-right-deco {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.04), transparent 70%);
  bottom: -100px; right: -100px;
  z-index: 0;
}

.lp-right-deco-2 {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.03), transparent 70%);
  top: -80px; left: -60px;
  z-index: 0;
}

/* Form Header */
.lp-form-header { margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.lp-greeting {
  font-size: 15px;
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-wave {
  display: inline-block;
  animation: waveHand 2s ease-in-out infinite;
  font-size: 18px;
}

@keyframes waveHand {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(20deg); }
  50%       { transform: rotate(-10deg); }
  75%       { transform: rotate(15deg); }
}

.lp-title { font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  margin-bottom: 0;
}

.lp-title::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 50px; height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.lp-form-header:hover .lp-title::after { width: 100%; }

.lp-sub { font-size: 13px; color: #94a3b8; margin-top: 8px;
  margin-bottom: 0;
}

/* Form */
.lp-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.lp-form-group { margin-bottom: 4px;
}

.lp-form-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  cursor: default;
}

.lp-form-group label:hover { color: #1e40af; transform: translateX(4px); }

.lp-label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  color: #3b82f6;
  flex-shrink: 0;
}

.lp-label-icon svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-input { display: block; width: 100%; padding: 13px 16px; font-size: 14px;
  font-weight: 400;
  color: #1e293b;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  outline: none;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lp-input::placeholder { color: #cbd5e1; font-weight: 300; }

.lp-input:hover {
  border-color: #93c5fd;
  background: #f8faff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59,130,246,0.1), 0 0 0 3px rgba(59,130,246,0.05);
}

.lp-input:focus {
  border-color: #3b82f6;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12), 0 8px 28px rgba(59,130,246,0.1);
}

/* Forgot row */
.lp-forgot-row { display: flex; justify-content: flex-end; margin-top: 2px; margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.lp-forgot-link {
  font-size: 12.5px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.lp-forgot-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: #2563eb;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.lp-forgot-link:hover { color: #1e40af; }
.lp-forgot-link:hover::after { width: 100%; }

/* Submit button - white with blue border, fills on hover */
.lp-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2563eb;
  background: #ffffff;
  border: 2px solid #2563eb;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 16px rgba(37,99,235,0.1);
  z-index: 1;
}

.lp-btn-submit .lp-btn-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.4s ease;
}

.lp-btn-icon svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-btn-submit::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 100%;
  background: linear-gradient(135deg, #1e40af, #2563eb, #3b82f6);
  z-index: -2;
  transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 12px;
}

.lp-btn-submit::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  z-index: -1;
  transition: left 0.6s ease;
}

.lp-btn-submit:hover {
  color: #ffffff;
  border-color: #1e40af;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.3), 0 4px 14px rgba(37,99,235,0.15);
}

.lp-btn-submit:hover::before { width: 100%; }
.lp-btn-submit:hover::after  { left: 120%; }
.lp-btn-submit:hover .lp-btn-icon { transform: translateX(-3px) rotate(-8deg) scale(1.15); color: #ffffff; }
.lp-btn-submit:active { transform: translateY(-1px) scale(0.98); }

/* OR divider */
.lp-or-divider { display: flex; align-items: center; gap: 14px; margin: 14px 0;
  position: relative;
  z-index: 1;
}

.lp-or-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.lp-or-text {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Register section */
.lp-register-section {
  text-align: center;
  position: relative;
  z-index: 1;
}

.lp-register-section p { font-size: 13px; color: #94a3b8; margin-bottom: 10px;
}

.lp-btn-register {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2563eb;
  background: #ffffff;
  border: 2px solid #dbeafe;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.lp-btn-register::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  border-radius: 10px;
}

.lp-btn-register span, .lp-btn-register .lp-btn-icon { position: relative; z-index: 1; }

.lp-btn-register:hover {
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37,99,235,0.25);
}

.lp-btn-register:hover::before { opacity: 1; }
.lp-btn-register:hover .lp-btn-icon { transform: translateX(3px); }

/* Secure note */
.lp-secure-note { text-align: center; margin-top: 14px;
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.lp-secure-note strong { color: #2563eb; font-weight: 700; }

@media (max-width:1023.98px) {
  .ib-toggle-password {
    right: 8px;
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .ib-password-wrap .ib-input {
    padding-right: 64px !important;
  }

  .ib-auth-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 10px;
  }
}

