/* =====================================================
   DESIGN TOKENS
===================================================== */
:root {
  --forest:      #1a3a24;
  --forest-mid:  #2d5a3d;
  --forest-lt:   #3d7a52;
  --sage:        #e8f0e9;
  --sage-mid:    #d0e0d3;
  --sage-dk:     #b8ccbc;
  --mint:        #4caf78;
  --mint-lt:     #7ecf9a;
  --gold:        #c9952a;
  --purple:      #9b59b6;
  --purple-light: #e8d5ff;
  --text:        #1e2d22;
  --text-md:     #4a6350;
  --text-lt:     #7a9882;
  --shadow-sm:   0 1px 4px rgba(26,58,36,.08);
  --shadow:      0 4px 18px rgba(26,58,36,.12);
  --shadow-lg:   0 20px 56px rgba(26,58,36,.18);
  --radius:      12px;
  --radius-lg:   18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--sage);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* subtle dot-grid texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(26,58,36,.055) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none; z-index: 0;
}

/* soft decorative blobs */
.gb-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.blob-tl {
  width: 460px;
  height: 460px;
  background: rgba(76,175,120,.12);
  top: -130px;
  left: -130px;
}
.blob-br {
  width: 380px;
  height: 380px;
  background: rgba(26,58,36,.09);
  bottom: -90px;
  right: -90px;
}

/* =====================================================
   NAVBAR
===================================================== */
.gb-navbar {
  background: var(--forest);
  height: 60px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 12px rgba(0,0,0,.22);
  display: flex;
  align-items: center;
  gap: 20px;
}

.gb-brand {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.gb-brand-icon {
  width: 34px;
  height: 34px;
  background: var(--mint);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  overflow: hidden;
  flex-shrink: 0;
}

.gb-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.gb-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.gb-nav-link {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  border-radius: 8px;
  transition: all .2s;
}

.gb-nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.btn-nav-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.btn-nav-outline:hover {
  border-color: var(--mint-lt);
  color: var(--mint-lt);
}

.btn-nav-solid {
  background: var(--mint);
  border: none;
  color: var(--forest);
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.btn-nav-solid:hover {
  background: var(--mint-lt);
}

.btn-nav-admin {
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.btn-nav-admin:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

/* =====================================================
   PAGE WRAPPER
===================================================== */
.page-wrap {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 16px;
}

/* =====================================================
   SPLIT CARD
===================================================== */
.auth-split {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: splitIn .5s cubic-bezier(.22,1,.36,1) both;
}

@keyframes splitIn {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* LEFT branding */
.auth-left {
  background: var(--forest);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.auth-left::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(76,175,120,.09);
  border-radius: 50%;
  bottom: -70px;
  left: -70px;
}

.auth-left::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  top: -50px;
  right: -30px;
}

.al-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}

.al-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--mint);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.al-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.al-logo-text {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 700;
}

.al-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.al-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.al-body p {
  font-size: 13px;
  color: rgba(255,255,255,.62);
  line-height: 1.75;
  margin-bottom: 28px;
}

.al-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.al-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.82);
}

.al-feature-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(76,175,120,.2);
  border: 1px solid rgba(76,175,120,.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.al-footer {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: rgba(255,255,255,.3);
  margin-top: 28px;
}

/* RIGHT form */
.auth-right {
  background: #fff;
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: thin;
  scrollbar-color: var(--forest-lt) var(--sage);
}

/* Custom scrollbar styling */
.auth-right::-webkit-scrollbar {
  width: 6px;
}

.auth-right::-webkit-scrollbar-track {
  background: var(--sage);
  border-radius: 10px;
}

.auth-right::-webkit-scrollbar-thumb {
  background: var(--forest-lt);
  border-radius: 10px;
}

.auth-right::-webkit-scrollbar-thumb:hover {
  background: var(--forest);
}

/* =====================================================
   STUDENT / COMPANY TOGGLE
===================================================== */
.type-toggle {
  display: flex;
  gap: 4px;
  background: var(--sage);
  border: 1px solid var(--sage-dk);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 26px;
  flex-shrink: 0;
}

.type-btn {
  flex: 1;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-lt);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 10px;
  cursor: pointer;
  transition: all .25s;
}

.type-btn:hover:not(.active) {
  background: rgba(26,58,36,.07);
  color: var(--text-md);
}

.type-btn.active {
  background: var(--forest);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* =====================================================
   AUTH PANELS
===================================================== */
.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
  animation: panelIn .3s ease both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Make signup panels scrollable, login panels normal */
#page-student-signup,
#page-company-signup {
  max-height: calc(90vh - 120px);
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
}

#page-student-signup::-webkit-scrollbar,
#page-company-signup::-webkit-scrollbar {
  width: 5px;
}

#page-student-signup::-webkit-scrollbar-track,
#page-company-signup::-webkit-scrollbar-track {
  background: var(--sage);
  border-radius: 10px;
}

#page-student-signup::-webkit-scrollbar-thumb,
#page-company-signup::-webkit-scrollbar-thumb {
  background: var(--forest-lt);
  border-radius: 10px;
}

/* Login panels - NO scrollbar */
#page-student-login,
#page-company-login,
#page-admin-login {
  overflow-y: visible;
  max-height: none;
}

/* =====================================================
   PORTAL BADGE
===================================================== */
.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.portal-badge:not(.company) {
  background: rgba(76,175,120,.12);
  color: var(--forest-lt);
  border: 1px solid rgba(76,175,120,.3);
}

.portal-badge.company {
  background: rgba(201,149,42,.10);
  color: var(--gold);
  border: 1px solid rgba(201,149,42,.3);
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
.auth-heading {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -.3px;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-lt);
  margin-bottom: 22px;
}

.auth-subtitle a {
  color: var(--forest-lt);
  text-decoration: none;
  font-weight: 600;
}

.auth-subtitle a:hover {
  text-decoration: underline;
}

/* =====================================================
   FORM CONTROLS
===================================================== */
.form-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-lt) !important;
  margin-bottom: 6px !important;
}

.form-control,
.form-select {
  background: var(--sage) !important;
  border: 1.5px solid var(--sage-dk) !important;
  border-radius: var(--radius) !important;
  color: var(--text) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  padding: 10px 13px !important;
  transition: all .2s !important;
}

.form-control::placeholder {
  color: var(--text-lt) !important;
}

.form-control:focus,
.form-select:focus {
  background: #fff !important;
  border-color: var(--forest-lt) !important;
  box-shadow: 0 0 0 3px rgba(61,122,82,.13) !important;
  outline: none !important;
}

/* input icon wrapper */
.input-icon-wrap {
  position: relative;
}

.input-icon-wrap > .bi {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-lt);
  font-size: 14px;
  pointer-events: none;
}

.input-icon-wrap .form-control,
.input-icon-wrap .form-select {
  padding-left: 36px !important;
}

/* custom select arrow */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-lt);
  pointer-events: none;
}

.select-wrapper .form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px !important;
}

/* password toggle */
.pass-wrap {
  position: relative;
}

.pass-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-lt);
  cursor: pointer;
  padding: 0;
  font-size: 15px;
  transition: color .2s;
}

.pass-toggle:hover {
  color: var(--forest);
}

/* checkboxes */
.form-check-input {
  background-color: var(--sage) !important;
  border: 1.5px solid var(--sage-dk) !important;
  width: 16px !important;
  height: 16px !important;
  margin-top: 3px !important;
  flex-shrink: 0;
}

.form-check-input:checked {
  background-color: var(--forest) !important;
  border-color: var(--forest) !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(61,122,82,.15) !important;
}

.form-check-label {
  font-size: 12px;
  color: var(--text-lt);
  line-height: 1.5;
}

.form-check-label a {
  color: var(--forest-lt);
  text-decoration: none;
  font-weight: 600;
}

/* forgot link */
.forgot-link {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--forest-lt);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 16px;
}

/* =====================================================
   SUBMIT BUTTON
===================================================== */
.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.btn-submit:hover {
  background: var(--forest-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,58,36,.25);
}

.btn-submit:active {
  transform: translateY(0);
}

/* =====================================================
   OR DIVIDER
===================================================== */
.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-lt);
  margin: 18px 0;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sage-dk);
}

/* =====================================================
   SOCIAL BUTTONS
===================================================== */
.btn-social {
  flex: 1;
  padding: 10px 8px;
  background: var(--sage);
  border: 1.5px solid var(--sage-dk);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all .2s;
}

.btn-social:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* =====================================================
   ALERT MESSAGES
===================================================== */
.alert-message {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-error {
  background: #fee9e9;
  border: 1px solid #fcc;
  color: #c0392b;
}

.alert-success {
  background: #e8f9ee;
  border: 1px solid #b8e0c0;
  color: #1a6b3a;
}

/* =====================================================
   FORGOT PASSWORD MODAL
===================================================== */
.fp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,58,36,.52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.fp-overlay.open {
  display: flex;
}

.fp-box {
  width: 100%;
  max-width: 450px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(26,58,36,.28);
  animation: fpBoxIn .35s cubic-bezier(.22,1,.36,1) both;
}

@keyframes fpBoxIn {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.fp-head {
  background: var(--forest);
  padding: 1.4rem 1.5rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.fp-head::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(76,175,120,.07);
  top: -80px;
  right: -50px;
  pointer-events: none;
}

.fp-head::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(76,175,120,.05);
  bottom: -50px;
  left: -30px;
  pointer-events: none;
}

.fp-head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.fp-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(76,175,120,.15);
  border: 1.5px solid rgba(76,175,120,.25);
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: .8rem;
  position: relative;
  z-index: 1;
}

.fp-icon-wrap i {
  font-size: 1.2rem;
  color: var(--mint);
}

.fp-close {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.5);
  width: 29px;
  height: 29px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: .85rem;
  transition: all .15s;
  flex-shrink: 0;
}

.fp-close:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.fp-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .28rem;
  position: relative;
  z-index: 1;
}

.fp-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.fp-steps {
  display: flex;
  align-items: center;
  padding: .9rem 1.5rem .15rem;
  gap: 0;
}

.fp-step {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex: 1;
}

.fp-step:last-child {
  flex: none;
}

.fp-sc {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .66rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 2px solid var(--sage-dk);
  background: #fff;
  color: var(--text-lt);
  transition: all .3s;
}

.fp-step.done .fp-sc {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--forest);
}

.fp-step.active .fp-sc {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(26,58,36,.1);
}

.fp-sl {
  font-size: .67rem;
  font-weight: 600;
  color: var(--text-lt);
  white-space: nowrap;
}

.fp-step.active .fp-sl {
  color: var(--forest);
  font-weight: 700;
}

.fp-step.done .fp-sl {
  color: var(--forest-lt);
}

.fp-line {
  flex: 1;
  height: 2px;
  background: var(--sage-dk);
  margin: 0 .3rem;
  border-radius: 2px;
  transition: background .3s;
}

.fp-line.done {
  background: var(--mint);
}

.fp-body {
  padding: 1.3rem 1.5rem;
}

.fp-panel {
  display: none;
  animation: fpPanIn .28s ease;
}

.fp-panel.active {
  display: block;
}

@keyframes fpPanIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.fp-info {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: rgba(76,175,120,.08);
  border: 1px solid rgba(76,175,120,.22);
  border-radius: 10px;
  padding: .65rem .85rem;
  margin-bottom: 1rem;
}

.fp-info i {
  color: var(--forest-lt);
  flex-shrink: 0;
  font-size: .88rem;
  margin-top: .03rem;
}

.fp-info p {
  font-size: .76rem;
  color: var(--text-md);
  line-height: 1.55;
  margin: 0;
}

.fp-warn {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: .65rem .85rem;
  margin-bottom: 1rem;
}

.fp-warn i {
  color: #d97706;
  flex-shrink: 0;
  font-size: .88rem;
  margin-top: .03rem;
}

.fp-warn p {
  font-size: .76rem;
  color: #78350f;
  line-height: 1.55;
  margin: 0;
}

.fp-err {
  display: none;
  align-items: center;
  gap: .45rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 9px;
  padding: .5rem .82rem;
  margin-bottom: .85rem;
  font-size: .76rem;
  color: #b91c1c;
  font-weight: 600;
}

.fp-err.show {
  display: flex;
}

.fp-field {
  margin-bottom: 1rem;
}

.fp-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-lt);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: .36rem;
}

.fp-input-row {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--sage-dk);
  border-radius: 50px;
  background: var(--sage);
  padding: 0 1rem;
  height: 46px;
  transition: all .18s;
}

.fp-input-row:focus-within {
  border-color: var(--forest-lt);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(61,122,82,.12);
}

.fp-input-row i {
  color: #aac4b5;
  font-size: .88rem;
  flex-shrink: 0;
  margin-right: .6rem;
  transition: color .18s;
}

.fp-input-row:focus-within i {
  color: var(--forest);
}

.fp-input-row input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: .86rem;
  color: var(--text);
  caret-color: var(--mint);
}

.fp-input-row input::placeholder {
  color: #b0c8ba;
}

.fp-pw-toggle {
  background: none;
  border: none;
  color: #aac4b5;
  cursor: pointer;
  font-size: .88rem;
  padding: .08rem;
  transition: color .15s;
  line-height: 1;
}

.fp-pw-toggle:hover {
  color: var(--forest);
}

.fp-otp-row {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin: .45rem 0 .9rem;
}

.fp-otp {
  width: 50px;
  height: 56px;
  border: 1.5px solid var(--sage-dk);
  border-radius: 11px;
  background: var(--sage);
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  outline: none;
  font-family: inherit;
  transition: all .18s;
  caret-color: var(--mint);
}

.fp-otp:focus {
  border-color: var(--forest-lt);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(61,122,82,.12);
  transform: translateY(-2px);
}

.fp-otp.filled {
  border-color: var(--forest-lt);
  background: rgba(76,175,120,.07);
}

.fp-str-bars {
  display: flex;
  gap: 4px;
  margin-top: .48rem;
  margin-bottom: .22rem;
}

.fp-sb {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--sage-dk);
  transition: background .3s;
}

.fp-sb.weak {
  background: #e74c3c;
}

.fp-sb.fair {
  background: var(--gold);
}

.fp-sb.good {
  background: #27ae60;
}

.fp-sb.strong {
  background: var(--mint);
}

.fp-str-lbl {
  font-size: .69rem;
  font-weight: 700;
  color: var(--text-lt);
  margin-bottom: .55rem;
}

.fp-resend {
  text-align: center;
  margin-top: .7rem;
}

.fp-resend p {
  font-size: .75rem;
  color: var(--text-lt);
  margin-bottom: .18rem;
}

.fp-resend-btn {
  background: none;
  border: none;
  color: var(--forest-lt);
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: color .15s;
}

.fp-resend-btn:hover {
  color: var(--forest);
  text-decoration: underline;
}

.fp-resend-timer {
  font-size: .75rem;
  color: var(--text-lt);
  font-weight: 600;
}

.fp-success {
  text-align: center;
  padding: .4rem 0 .7rem;
}

.fp-success-ico {
  width: 65px;
  height: 65px;
  background: rgba(76,175,120,.1);
  border: 2px solid rgba(76,175,120,.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto .9rem;
  animation: fpPopIn .4s cubic-bezier(.22,1,.36,1);
}

@keyframes fpPopIn {
  from { transform: scale(.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.fp-success-ico i {
  font-size: 1.75rem;
  color: var(--forest-lt);
}

.fp-success-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .38rem;
}

.fp-success-sub {
  font-size: .8rem;
  color: var(--text-lt);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

.fp-foot {
  padding: .8rem 1.5rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .42rem;
}

.fp-btn-primary {
  width: 100%;
  height: 46px;
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(26,58,36,.2);
}

.fp-btn-primary:hover {
  background: var(--forest-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,58,36,.28);
}

.fp-btn-primary:active {
  transform: translateY(0);
}

.fp-btn-primary.loading {
  opacity: .72;
  pointer-events: none;
}

.fp-spin {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: fpRot .7s linear infinite;
}

@keyframes fpRot {
  to { transform: rotate(360deg); }
}

.fp-btn-ghost {
  width: 100%;
  height: 38px;
  background: none;
  border: none;
  color: var(--text-lt);
  font-family: inherit;
  font-size: .81rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  transition: color .15s;
}

.fp-btn-ghost:hover {
  color: var(--forest);
}

@keyframes fpShakeAnim {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.fp-shake {
  animation: fpShakeAnim .32s ease;
}

@media (max-width: 480px) {
  .fp-otp {
    width: 42px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .auth-split {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .auth-left {
    display: none;
  }
  .auth-right {
    max-height: none;
    padding: 32px 22px;
  }
  
  #page-student-signup,
  #page-company-signup {
    max-height: calc(80vh - 100px);
  }
}

@media (max-width: 480px) {
  .gb-nav-links {
    display: none !important;
  }
  
  .auth-right {
    padding: 20px 15px;
  }
  
  #page-student-signup,
  #page-company-signup {
    max-height: calc(75vh - 80px);
  }
}