@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Sora:wght@300;400;500;600;700&display=swap');

:root {
  --bnb-navy:        #004973;
  --bnb-navy-deep:   #00324f;
  --bnb-sky:         #7EC8E3;
  --bnb-border:      #cddae4;
  --bnb-text-main:   #0f2333;
  --bnb-text-sub:    #4d6f82;
  --bnb-text-hint:   #8faab8;
}

/* ── BASE ── */
body.register-page {
  font-family: 'Sora', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #edf4f8;
  min-height: 100vh;
}

/* ── PAGE WRAPPER — kill bg image from login/style.css ── */
body.register-page .bg-contain.auth-page {
  display: flex !important;
  min-height: 100vh;
  align-items: stretch;
  background-image: none !important;
  background-color: transparent !important;
  padding: 0 !important;
}

/* ── FORM — split layout container ── */
body.register-page .auth-form.RegisterFrm {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow-y: visible !important;
}

/* ── LEFT PANEL ── */
.auth-form-left {
  flex: 1 1 0;
  width: 50%;
  max-width: 50%;
  min-height: 100vh;
  background: var(--bnb-navy);
  display: flex;
  flex-direction: column;
  padding: 52px 56px;
  position: relative;
  overflow: hidden;
  overflow-y: auto;
}

/* Gradient overlay */
.auth-form-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 42, 68, 0.45) 0%, rgba(11, 79, 121, 0.35) 100%);
  pointer-events: none;
}

/* Diagonal grid */
.auth-form-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 12px);
  pointer-events: none;
}

.left-logo-wrap {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.left-logo-wrap img {
  height: 44px;
  width: auto;
  display: block;
}

.left-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  padding-bottom: 360px;
}

.left-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.left-eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--bnb-sky);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.left-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--bnb-sky);
  border-radius: 2px;
  flex-shrink: 0;
}

.left-headline {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.left-headline span {
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  font-style: italic;
}

.left-desc {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 44px;
}

.left-props {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.left-prop {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.left-prop-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(126,200,227,0.15);
  border: 1px solid rgba(126,200,227,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-prop-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--bnb-sky);
}

.left-prop-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.left-prop-text strong {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: #ffffff;
  letter-spacing: -0.1px;
}

.left-prop-text span {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.left-footer {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.2px;
}

/* ── RIGHT PANEL — beat my_style.css body.register-page rules ── */
body.register-page .f-col.rounded-borders.wyt-login-box {
  flex: 1 1 0 !important;
  width: 50% !important;
  max-width: 50% !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f4f8fb !important;
  background-color: #f4f8fb !important;
  padding: 24px 48px 220px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow-y: auto !important;
}

body.register-page .wyt-login-box__inner {
  width: 100% !important;
  max-width: 580px !important;
  min-height: 520px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  background: #ffffff !important;
  padding: 40px 48px 36px !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 24px rgba(0,73,115,0.1), 0 1px 4px rgba(0,73,115,0.06) !important;
  border: 1px solid #d6e5ef !important;
  flex: none !important;
  overflow-y: visible !important;
}

/* Hide icon — logo shown on left panel */
body.register-page .auth-form__icon-wrapper {
  display: none !important;
}

/* ── HEADING ── */
body.register-page .heading-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 7px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: unset !important;
  margin-bottom: 20px !important;
}

body.register-page .auth-form__heading {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  text-align: left !important;
  color: var(--bnb-text-main) !important;
  margin: 0 !important;
  letter-spacing: -0.3px !important;
}

body.register-page .auth-form__desc {
  font-family: 'Sora', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  text-align: left !important;
  color: var(--bnb-text-sub) !important;
  margin: 0 !important;
}

/* ── STEP INDICATOR ── */
.register-steps {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 24px 0 !important;
  gap: 0 !important;
  flex-shrink: 0 !important;
  min-height: unset !important;
}

.register-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.register-step__circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
}

.register-step__circle.active {
  background: var(--bnb-navy);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(0,73,115,0.15);
}

.register-step__circle.completed {
  background: #1a7a4a;
  color: #fff;
}

.register-step__circle.inactive {
  background: #e8f0f5;
  color: var(--bnb-text-hint);
  border: 1.5px solid var(--bnb-border);
}

.register-step__label {
  font-family: 'Sora', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--bnb-text-sub);
  white-space: nowrap;
  line-height: 1.2;
}

.register-step__bar {
  flex: 1;
  height: 2px;
  background: var(--bnb-navy);
  margin: 0 8px;
  margin-bottom: 18px;
  border-radius: 2px;
  min-width: 0;
  max-width: none;
}

.register-step__bar.inactive {
  background: var(--bnb-border);
}

/* ── FORM FIELDS ── */
.register-form-fields {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: unset !important;
  flex: 1 !important;
}

.register-fields-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
}

.register-field-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.register-field-col.register-field-full {
  flex: 1 1 100%;
}

body.register-page .auth-form__label,
body.register-page .register-field-col label {
  font-family: 'Sora', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: var(--bnb-text-main) !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

body.register-page .auth-form__input,
body.register-page .register-field-col input[type="text"],
body.register-page .register-field-col input[type="email"],
body.register-page .register-field-col input[type="password"] {
  font-family: 'Sora', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--bnb-text-main) !important;
  background: #edf4f8 !important;
  border: 1.5px solid var(--bnb-border) !important;
  border-radius: 8px !important;
  padding: 11px 14px !important;
  height: 46px !important;
  width: 100% !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s !important;
  -webkit-appearance: none !important;
}

body.register-page .auth-form__input:focus,
body.register-page .register-field-col input:focus {
  border-color: var(--bnb-navy) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0,73,115,0.1) !important;
}

body.register-page .auth-form__input::placeholder {
  color: var(--bnb-text-hint) !important;
  font-size: 13px !important;
}

/* error state */
body.register-page .auth-form__input.error-field {
  border: 1.5px solid #b83232 !important;
  box-shadow: 0 0 0 3px rgba(184,50,50,0.09) !important;
}

/* ── PASSWORD WRAPPER ── */
.password-wrapper {
  width: 100%;
  position: relative;
}

.password-wrapper input {
  padding-right: 44px !important;
}

.password-toggle-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--bnb-text-hint);
  cursor: pointer;
  user-select: none;
  transition: fill 0.2s ease;
  pointer-events: auto;
}

.password-toggle-icon:hover { fill: var(--bnb-text-sub); }

/* ── CHECKBOX ── */
body.register-page input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  cursor: pointer !important;
  accent-color: var(--bnb-navy) !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

/* ── LOGIN LINK ROW ── */
body.register-page .f-row.h-center.v-center.register-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 100% !important;
  margin-top: 4px !important;
}

body.register-page .register-now {
  font-family: 'Sora', sans-serif !important;
  font-size: 14px !important;
  color: var(--bnb-text-sub) !important;
  margin: 0 !important;
}

body.register-page .register-link .link-input {
  font-family: 'Sora', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--bnb-navy) !important;
  text-decoration: none !important;
}

body.register-page .register-link .link-input:hover {
  text-decoration: underline !important;
}

/* ── BUTTONS ── */
.register-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-top: 24px;
  gap: 12px;
  flex-shrink: 0;
}

.register-btn-next {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: #fff;
  background: var(--bnb-navy);
  border: none;
  border-radius: 8px;
  height: 48px;
  padding: 0 28px;
  cursor: pointer;
  transition: background 0.2s;
  flex: 1;
  letter-spacing: 0.1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-btn-next:hover { background: var(--bnb-navy-deep); box-shadow: 0 4px 20px rgba(0,73,115,0.28); }

.register-btn-back {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--bnb-text-sub);
  background: transparent;
  border: 1.5px solid var(--bnb-border);
  border-radius: 8px;
  height: 48px;
  padding: 0 20px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-btn-back:hover {
  border-color: var(--bnb-text-sub);
  color: var(--bnb-text-main);
}

/* ── FIELD ERROR ── */
.field-error-message {
  color: #b83232;
  font-size: 12px;
  margin-top: 2px;
  display: block;
  font-family: 'Sora', sans-serif;
}

/* ── SHORT VIEWPORT / HIGH ZOOM SAFETY ── */
@media (max-height: 750px) {
  body.register-page .f-col.rounded-borders.wyt-login-box { align-items: center !important; justify-content: center !important; padding: 40px 48px 80px !important; }
  .left-content { padding-bottom: 20px; }
}

@media (max-height: 600px) {
  .auth-form-left { padding: 28px 36px; }
  .left-eyebrow   { display: none; }
  .left-desc      { display: none; }
  .left-props     { gap: 8px; }
  .left-prop-text span { display: none; }
  .left-headline  { font-size: 20px; margin-bottom: 10px; }
  .left-footer    { display: none; }
  .left-content   { padding-bottom: 0; }
  body.register-page .f-col.rounded-borders.wyt-login-box { align-items: center !important; justify-content: center !important; padding: 28px 48px 48px !important; }
}

/* ── LARGE DESKTOP ── */
@media (min-width: 1400px) {
  .auth-form-left { padding: 60px 68px; }
  .left-logo-wrap img { height: 52px; }
  .left-headline { font-size: 36px; }
  .left-desc { font-size: 15px; margin-bottom: 52px; }
  .left-prop-icon { width: 36px; height: 36px; border-radius: 9px; }
  .left-prop-text strong { font-size: 14.5px; }
  .left-prop-text span { font-size: 13px; }

  body.register-page .f-col.rounded-borders.wyt-login-box { align-items: center !important; justify-content: center !important; padding: 60px 60px 200px !important; }
  body.register-page .wyt-login-box__inner { max-width: 640px !important; padding: 48px 56px 40px !important; border-radius: 16px !important; }
  body.register-page .auth-form__heading { font-size: 27px !important; }
  body.register-page .auth-form__input { height: 52px !important; font-size: 15px !important; }
  .register-btn-next { height: 54px; font-size: 16px; border-radius: 10px; }
  .register-btn-back { height: 54px; font-size: 15px; border-radius: 10px; }
}

/* ── LARGE LAPTOP ── */
@media (max-width: 1100px) {
  .auth-form-left { padding: 44px 40px; }
  body.register-page .f-col.rounded-borders.wyt-login-box { align-items: center !important; justify-content: center !important; padding: 60px 40px 160px !important; }
  body.register-page .wyt-login-box__inner { max-width: 500px !important; }
  .left-headline { font-size: 26px; }
}

/* ── TABLET LANDSCAPE ── */
@media (max-width: 900px) {
  .auth-form-left { flex: 0 0 42%; max-width: 42%; padding: 36px 28px; }
  body.register-page .f-col.rounded-borders.wyt-login-box { align-items: center !important; justify-content: center !important; padding: 40px 24px 100px !important; }
  body.register-page .wyt-login-box__inner { max-width: 440px !important; padding: 32px 32px 28px !important; }
  .left-headline { font-size: 22px; }
  .left-desc { font-size: 13px; }
}

/* ── TABLET PORTRAIT — stack vertically ── */
@media (max-width: 800px) {
  body.register-page .auth-form.RegisterFrm { flex-direction: column !important; }
  .auth-form-left { flex: none; width: 100% !important; max-width: 100% !important; min-height: unset !important; overflow-y: visible !important; padding: 28px 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .left-content { padding-bottom: 0; justify-content: flex-start; padding-top: 16px; }
  .left-props { gap: 8px; }
  .left-headline { font-size: 20px; }
  .left-desc { display: none; }
  .left-footer { display: none; }
  body.register-page .f-col.rounded-borders.wyt-login-box { width: 100% !important; max-width: 100% !important; min-height: unset !important; padding: 32px 20px 44px !important; overflow-y: visible !important; justify-content: flex-start !important; }
  body.register-page .wyt-login-box__inner { max-width: 100% !important; padding: 32px 24px 28px !important; }
  .register-fields-row { flex-direction: column; gap: 14px; }
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .auth-form-left { padding: 20px 18px 16px; }
  .left-logo-wrap img { height: 36px; }
  .left-props { display: none; }
  .left-eyebrow { display: none; }
  .left-headline { font-size: 18px; margin-bottom: 0; }
  .left-footer { display: none; }
  body.register-page .f-col.rounded-borders.wyt-login-box { padding: 24px 14px 36px !important; }
  body.register-page .wyt-login-box__inner { padding: 24px 18px 20px !important; }
}
