@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.driver-body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(241, 90, 36, 0.12), transparent 55%),
    radial-gradient(800px 380px at 100% 0%, rgba(11, 39, 77, 0.08), transparent 50%),
    #eef3f7;
  color: #101828;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.driver-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.driver-sidebar {
  background: linear-gradient(180deg, #0f2f4f 0%, #16456f 55%, #0f2f4f 100%);
  color: #fff;
  padding: 1.2rem 1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  position: relative;
  z-index: 5;
}

.driver-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding: 0.3rem 0.35rem;
}
.driver-brand:hover { text-decoration: none; }
.driver-brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: transparent;
  font-weight: 800;
  overflow: hidden;
  box-shadow: none;
}
.driver-brand-mark.is-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.driver-brand strong { display: block; font-size: 1.05rem; letter-spacing: -0.02em; }
.driver-brand em {
  display: block;
  font-style: normal;
  opacity: 0.65;
  font-size: 0.78rem;
  font-weight: 600;
}

.driver-side-nav {
  display: grid;
  gap: 0.35rem;
  flex: 1;
}
.driver-side-nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.78rem 0.85rem;
  border-radius: 12px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
}
.driver-side-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
}
.driver-side-nav a.active {
  background: rgba(241, 90, 36, 0.95);
  color: #fff;
  box-shadow: 0 10px 24px rgba(241, 90, 36, 0.28);
}

.driver-side-foot {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.driver-side-foot a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  display: inline-block;
}
.driver-side-foot a:hover { color: #fff; background: rgba(255,255,255,0.06); text-decoration: none; }

.driver-main {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.driver-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem 1rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e4e7ec;
  position: relative;
  z-index: 20;
  flex-shrink: 0;
}
.driver-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f15a24;
}
.driver-topbar h1 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.03em;
  color: #0b274d;
}
.driver-sub {
  margin: 0.35rem 0 0;
  color: #667085;
  font-size: 0.92rem;
}

.driver-account { position: relative; }
.driver-userchip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e4e7ec;
  box-shadow: 0 8px 20px rgba(11, 39, 77, 0.06);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.driver-avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f15a24;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}
.driver-userchip strong { display: block; font-size: 0.88rem; color: #0b274d; }
.driver-userchip em { display: block; font-style: normal; font-size: 0.75rem; color: #667085; }
.driver-account-caret {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #98a2b3;
  border-bottom: 2px solid #98a2b3;
  transform: rotate(45deg);
  margin: 0 0.2rem 0.2rem 0.15rem;
  transition: transform .15s ease;
}
.driver-account.is-open .driver-account-caret {
  transform: rotate(-135deg);
  margin-bottom: 0;
  margin-top: 0.2rem;
}
.driver-account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  width: min(230px, 78vw);
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(11, 39, 77, 0.14);
  padding: 0.45rem;
  z-index: 40;
}
.driver-account-menu[hidden] { display: none !important; }
.driver-account-item {
  display: block;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  color: #344054;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.driver-account-item:hover { background: #f8fafc; text-decoration: none; }
.driver-account-item.danger { color: #b42318; }
.driver-account-item.danger:hover { background: #fdecec; }

.driver-content {
  padding: 1.2rem 1.5rem 1.5rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.driver-footer {
  flex: 0 0 auto;
  margin-top: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1.5rem;
  border-top: 1px solid #e4e7ec;
  background: #fff;
  color: #667085;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.driver-footer p {
  margin: 0;
  width: 100%;
  text-align: center;
}

.driver-flash {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: #e7f8f6;
  border: 1px solid #c6eee9;
  color: #0f766e;
  font-weight: 600;
}
.driver-flash.warn {
  background: #fff4e5;
  border-color: #f7d7a8;
  color: #9a6700;
}
.driver-flash.err {
  background: #fdecec;
  border-color: #f3c2c0;
  color: #b42318;
}

.driver-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.driver-stat {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  padding: 1rem 1.05rem;
  box-shadow: 0 10px 28px rgba(11, 39, 77, 0.05);
}
.driver-stat p { margin: 0; }
.driver-stat .label { color: #667085; font-size: 0.8rem; font-weight: 700; }
.driver-stat .value {
  margin-top: 0.3rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b274d;
}

.driver-card {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 39, 77, 0.05);
  overflow: hidden;
}
.driver-card + .driver-card { margin-top: 1rem; }
.driver-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #eef2f6;
}
.driver-card-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #0b274d;
}
.driver-card-body { padding: 1.1rem 1.15rem 1.25rem; }
.driver-card-body.tight { padding: 0; }

.job-list { display: grid; gap: 0; }
.job-item {
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid #eef2f6;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.7fr 0.9fr;
  gap: 0.9rem;
  align-items: start;
}
.job-item:last-child { border-bottom: 0; }
.job-item strong { color: #0b274d; }
.job-item small { color: #667085; line-height: 1.45; }
.job-empty {
  padding: 2rem 1.15rem;
  text-align: center;
  color: #667085;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #eef2f6;
  color: #475467;
}
.badge.ok { background: #e8f8ef; color: #027a48; }
.badge.warn { background: #fff4e5; color: #9a6700; }
.badge.blue { background: #e7f8f6; color: #0f766e; }
.badge.err { background: #fdecec; color: #b42318; }

.driver-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.driver-field { margin-bottom: 1rem; }
.driver-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #16456f;
  margin-bottom: 0.3rem;
}
.driver-field input,
.driver-field select {
  width: 100%;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-weight: 600;
  background: #fff;
  box-sizing: border-box;
}
.driver-field input:focus,
.driver-field select:focus {
  outline: none;
  border-color: rgba(241, 90, 36, 0.55);
  box-shadow: 0 0 0 4px rgba(241, 90, 36, 0.12);
}
.driver-field .hint {
  margin: 0.35rem 0 0;
  color: #667085;
  font-size: 0.84rem;
  line-height: 1.45;
}
.driver-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.driver-login-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #f4f7fb;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #101828;
}

.login-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.login-hero-media {
  position: absolute;
  inset: 0;
  background: var(--login-img) center/cover no-repeat;
  transform: scale(1.05);
  animation: joinZoom 16s ease-in-out infinite alternate;
}
.login-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11,39,77,0.92) 0%, rgba(11,39,77,0.72) 48%, rgba(11,39,77,0.45) 100%),
    radial-gradient(700px 380px at 85% 15%, rgba(241,90,36,0.3), transparent 60%);
}
.login-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 2.4rem 1.2rem 2.6rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}
.login-hero-inner-center {
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 520px;
}
.login-hero-inner-center .driver-login-card {
  justify-self: center;
  width: min(420px, 100%);
}
.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}
.field-label-row label { margin-bottom: 0; }
.field-forgot {
  font-size: 0.8rem;
  font-weight: 750;
  color: #0f766e;
  text-decoration: none;
  white-space: nowrap;
}
.field-forgot:hover { text-decoration: underline; }
.login-intro {
  max-width: 34rem;
  animation: riseIn .75s ease both;
}
.login-intro h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 16px 36px rgba(0,0,0,0.25);
}
.login-intro .lead {
  margin: 0 0 1.2rem;
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  line-height: 1.55;
}
.login-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.login-highlights span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.driver-login-card {
  width: min(420px, 100%);
  justify-self: end;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 26px;
  padding: 1.55rem 1.4rem 1.45rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  color: #101828;
  animation: riseIn .75s ease .1s both;
}
.driver-login-card .brand-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.auth-card-kicker {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 600;
}
.driver-login-card h2 {
  margin: 0 0 0.3rem;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #0b274d;
}
.driver-login-card .lead {
  margin: 0 0 1rem;
  color: #667085;
}
.driver-login-card .field { margin-bottom: 0.85rem; }
.driver-login-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #16456f;
  margin-bottom: 0.3rem;
}
.driver-login-card input {
  width: 100%;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  font-weight: 600;
  box-sizing: border-box;
  background: #fff;
}
.driver-login-card .btn.primary {
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
  min-height: 50px;
  box-shadow: 0 14px 28px rgba(241, 90, 36, 0.28);
}
.auth-card-foot {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: #667085;
}
.auth-card-foot a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}
.auth-card-foot a:hover { text-decoration: underline; }

.login-bottom {
  position: relative;
  z-index: 2;
  margin-top: -1.6rem;
  padding: 0 1rem 0.5rem;
}
.login-bottom-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.login-bottom-grid article {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  padding: 1.05rem 1.1rem;
  box-shadow: 0 16px 36px rgba(11,39,77,0.08);
}
.login-bottom-grid strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #0b274d;
  letter-spacing: -0.02em;
}
.login-bottom-grid p {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.45;
}
.login-bottom-grid a {
  color: #f15a24;
  font-weight: 750;
  text-decoration: none;
}
.login-bottom-grid a:hover { text-decoration: underline; }

.auth-footer {
  max-width: 1100px;
  width: 100%;
  margin: 1rem auto 0;
  padding: 0.85rem 1.25rem 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: #667085;
  font-size: 0.86rem;
}
.auth-footer p { margin: 0; }
.auth-footer a {
  color: #0b274d;
  font-weight: 700;
  text-decoration: none;
}
.auth-footer a:hover { text-decoration: underline; }

.driver-register-body {
  min-height: 100vh;
  margin: 0;
  padding: 0 0 2.5rem;
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(241,90,36,0.08), transparent 55%),
    radial-gradient(800px 380px at 100% 40%, rgba(11,39,77,0.1), transparent 50%),
    #f4f7fb;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #101828;
}

.join-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228,231,236,0.8);
}
.join-topbar-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.join-hero {
  position: relative;
  min-height: min(72vh, 620px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.join-hero-media {
  position: absolute;
  inset: 0;
  background:
    var(--join-img) center/cover no-repeat;
  transform: scale(1.04);
  animation: joinZoom 14s ease-in-out infinite alternate;
}
.join-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,39,77,0.35) 0%, rgba(11,39,77,0.55) 42%, rgba(11,39,77,0.92) 100%),
    radial-gradient(700px 360px at 80% 20%, rgba(241,90,36,0.28), transparent 60%);
}
.join-hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3rem;
}
.join-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(34,197,94,0.16);
  border: 1px solid rgba(34,197,94,0.35);
  color: #bbf7d0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: riseIn .7s ease both;
}
.join-pill::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.2);
  animation: pulseDot 1.8s ease-in-out infinite;
}
.join-hero-content h1 {
  margin: 0 0 0.85rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 14ch;
  text-shadow: 0 18px 40px rgba(0,0,0,0.28);
  animation: riseIn .8s ease .06s both;
}
.join-hero-content .lead {
  margin: 0 0 1.4rem;
  max-width: 34rem;
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  animation: riseIn .8s ease .14s both;
}
.join-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  animation: riseIn .8s ease .22s both;
}
.join-hero-cta .btn.ghost {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.join-hero-cta .btn.ghost:hover {
  background: rgba(255,255,255,0.16);
  text-decoration: none;
}

.join-perks {
  max-width: 1100px;
  margin: -2.2rem auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.join-perk {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 20px;
  padding: 1.15rem 1.1rem 1.2rem;
  box-shadow: 0 18px 40px rgba(11,39,77,0.08);
}
.join-perk-ico {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(241,90,36,0.12), rgba(22,63,122,0.1));
  color: #f15a24;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.join-perk h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #0b274d;
}
.join-perk p {
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.45;
}

.join-strip {
  max-width: 1100px;
  margin: 1.35rem auto 0;
  padding: 0 1rem;
}
.join-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(11,39,77,0.96), rgba(22,63,122,0.92));
  color: #fff;
  box-shadow: 0 16px 36px rgba(11,39,77,0.18);
}
.join-strip-inner div {
  display: grid;
  gap: 0.2rem;
}
.join-strip-inner strong {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
.join-strip-inner span {
  color: rgba(255,255,255,0.72);
  font-size: 0.86rem;
  font-weight: 600;
}

.driver-register-wrap {
  width: min(880px, 100%);
  margin: 1.75rem auto 0;
  padding: 0 1rem;
}
.driver-register-card {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(11, 39, 77, 0.12);
  overflow: hidden;
}
.driver-register-top {
  padding: 1.45rem 1.45rem 1.2rem;
  border-bottom: 1px solid #eef2f6;
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(241,90,36,0.07), transparent 60%),
    linear-gradient(180deg, #f8fafc, #fff);
}
.driver-register-top .eyebrow {
  margin-bottom: 0.45rem;
}
.driver-register-top h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: -0.03em;
  color: #0b274d;
}
.driver-register-top .lead {
  margin: 0 0 1rem;
  color: #667085;
  font-size: 0.95rem;
  line-height: 1.5;
}
.join-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.join-steps span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #eef2f6;
  color: #667085;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.join-steps span.is-on {
  background: #f15a24;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(241,90,36,0.22);
}
.driver-register-body-inner {
  padding: 1.25rem 1.45rem 1.5rem;
}
.driver-register-section {
  margin: 0 0 1.15rem;
  padding: 1.1rem 1.1rem 0.45rem;
  border: 1px solid #e8eef6;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #fbfdff, #f7f9fc);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.driver-register-section:focus-within {
  border-color: rgba(22,63,122,0.28);
  box-shadow: 0 10px 28px rgba(11,39,77,0.06);
}
.section-head {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.95rem;
}
.section-num {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #0b274d;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.section-head h2 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #0b274d;
}
.section-head p {
  margin: 0;
  color: #667085;
  font-size: 0.86rem;
}
.join-success {
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
}
.join-success-badge {
  display: inline-flex;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #e8f8ef;
  color: #027a48;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.join-success h3 {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: #0b274d;
}
.join-success p {
  margin: 0 auto 1.2rem;
  max-width: 28rem;
  color: #667085;
}
@keyframes joinZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
.driver-register-section .driver-field,
.driver-register-section .driver-grid-2 {
  margin-bottom: 0.85rem;
}
.driver-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-weight: 650;
  color: #344054;
}
.driver-check input {
  margin-top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #f15a24;
}
.driver-register-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
}
.driver-register-actions .btn.primary {
  min-width: 200px;
  justify-content: center;
}
.driver-register-foot {
  margin-top: 1rem;
  text-align: center;
  color: #667085;
  font-size: 0.92rem;
}
.driver-register-foot a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}
.driver-register-foot a:hover { text-decoration: underline; }
.driver-status {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  margin-bottom: 1rem;
  font-weight: 650;
}
.driver-status.ok {
  background: #e8f8ef;
  border: 1px solid #b7e4c7;
  color: #027a48;
}
.driver-status.err {
  background: #fdecec;
  border: 1px solid #f3c2c0;
  color: #b42318;
}

@media (max-width: 980px) {
  .driver-body {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: auto;
  }
  .driver-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }
  .driver-sidebar {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 1rem 0.85rem 1.05rem;
  }
  .driver-main {
    height: auto;
    overflow: visible;
  }
  .driver-content {
    overflow: visible;
  }
  .driver-side-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .driver-stats { grid-template-columns: 1fr; }
  .job-item { grid-template-columns: 1fr; }
  .driver-grid-2 { grid-template-columns: 1fr; }
  .driver-topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0.95rem 0.9rem;
  }
  .login-hero { min-height: auto; }
  .login-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 2rem;
    padding-bottom: 3.2rem;
  }
  .driver-login-card {
    justify-self: stretch;
    width: 100%;
    padding: 1.25rem 1.05rem 1.2rem;
    border-radius: 20px;
  }
  .login-bottom { margin-top: -1.1rem; }
  .login-bottom-grid { grid-template-columns: 1fr; }
  .join-perks { grid-template-columns: 1fr 1fr; margin-top: -1.4rem; }
  .join-strip-inner { grid-template-columns: 1fr; }
  .join-hero { min-height: 560px; }
  .join-hero-content h1 { max-width: none; }
  .driver-register-actions { flex-direction: column; align-items: stretch; }
  .driver-register-actions .btn.primary { width: 100%; }
  .driver-register-card { border-radius: 18px; }
}
@media (max-width: 640px) {
  .driver-side-nav { grid-template-columns: 1fr; }
  .driver-content { padding: 0.9rem; }
  .driver-footer { padding: 0.85rem 1rem; }
  .join-topbar { padding: 0.7rem 0.9rem; }
  .join-topbar-actions .btn:not(.primary) { display: none; }
  .auth-footer { flex-direction: column; padding-bottom: 1.6rem; }
  .login-intro h1 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .login-highlights { gap: 0.4rem; }
  .join-perks { grid-template-columns: 1fr; }
  .join-hero-content { padding: 3.6rem 1rem 2.4rem; }
  .join-hero-cta { flex-direction: column; align-items: stretch; }
  .join-hero-cta .btn { width: 100%; justify-content: center; }
  .driver-register-top,
  .driver-register-body-inner { padding-left: 0.95rem; padding-right: 0.95rem; }
  .job-item .driver-actions,
  .driver-actions { width: 100%; }
  .driver-actions .btn {
    flex: 1 1 auto;
    min-height: 44px;
    justify-content: center;
  }
  .driver-login-card .btn.primary,
  .driver-register-actions .btn { min-height: 48px; }
  input, select, textarea { font-size: 16px !important; }
}

/* Waiting / pending approval screens */
.driver-register-body.is-waiting {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wait-screen {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem 2rem;
}
.wait-card {
  width: min(640px, 100%);
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 28px;
  padding: 1.6rem 1.5rem 1.55rem;
  box-shadow: 0 28px 70px rgba(11, 39, 77, 0.14);
  animation: riseIn .55s ease both;
}
.wait-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #fff4e5;
  border: 1px solid #f7d7a8;
  color: #9a6700;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}
.wait-banner.is-blocked {
  background: #fdecec;
  border-color: #f3c2c0;
  color: #b42318;
}
.wait-pulse {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #f79009;
  box-shadow: 0 0 0 0 rgba(247, 144, 9, 0.55);
  animation: waitPulse 1.6s ease-out infinite;
}
.wait-kicker {
  margin: 0 0 0.4rem;
  color: #f15a24;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wait-card h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #0b274d;
}
.wait-card .lead {
  margin: 0 0 1.2rem;
  color: #475467;
  font-size: 1.02rem;
  line-height: 1.55;
}
.wait-steps {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.wait-steps li {
  display: grid;
  gap: 0.1rem;
  padding: 0.85rem 0.95rem 0.85rem 2.7rem;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  background: #f8fafc;
  position: relative;
}
.wait-steps li::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #d0d5dd;
}
.wait-steps li.done {
  background: #e8f8ef;
  border-color: #b7e4c7;
}
.wait-steps li.done::before { background: #12b76a; }
.wait-steps li.current {
  background: #fff8eb;
  border-color: #f7d7a8;
  box-shadow: 0 10px 24px rgba(247, 144, 9, 0.1);
}
.wait-steps li.current::before {
  background: #f79009;
  box-shadow: 0 0 0 4px rgba(247, 144, 9, 0.18);
}
.wait-steps strong {
  color: #0b274d;
  font-size: 0.98rem;
}
.wait-steps span {
  color: #667085;
  font-size: 0.86rem;
  font-weight: 600;
}
.wait-note {
  margin: 0 0 1.2rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #eef4ff;
  border: 1px solid #d0e4ff;
  color: #163f7a;
  font-weight: 650;
  line-height: 1.45;
}
.wait-note a { color: #0b274d; font-weight: 800; }
@keyframes waitPulse {
  0% { box-shadow: 0 0 0 0 rgba(247, 144, 9, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(247, 144, 9, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 144, 9, 0); }
}
@media (max-width: 640px) {
  .wait-card { padding: 1.25rem 1.05rem 1.2rem; border-radius: 22px; }
  .wait-banner { width: 100%; justify-content: center; }
}
