:root {
  --alemup-primary: #16C7B7;
  --alemup-primary-hover: #13B3A5;
  --alemup-primary-active: #10988D;
  --alemup-primary-rgb: 22, 199, 183;
  --alemup-navy: #0B1F33;
  --alemup-navy-rgb: 11, 31, 51;
  --alemup-bg: #F5F8FA;
  --alemup-surface: #FFFFFF;
  --alemup-text: #17212B;
  --alemup-text-rgb: 23, 33, 43;
  --alemup-text-secondary: #94A3B8;
  --alemup-text-secondary-rgb: 148, 163, 184;
  --alemup-success: #22B573;
  --alemup-success-rgb: 34, 181, 115;
  --alemup-warning: #FFB547;
  --alemup-warning-rgb: 255, 181, 71;
  --alemup-warning-text: #8A5B00;
  --alemup-danger: #E5484D;
  --alemup-danger-hover: #D63E43;
  --alemup-danger-rgb: 229, 72, 77;
  --alemup-border: #E4EAEE;
  --alemup-border-rgb: 228, 234, 238;
  --alemup-disabled: #C8D3D8;

  --theme-color: var(--alemup-primary-rgb);
  --title-color: var(--alemup-navy-rgb);
  --content-color: var(--alemup-text-secondary-rgb);
  --box-bg: 245, 248, 250;
  --line-color: var(--alemup-border-rgb);
  --secondary-color: var(--alemup-warning-rgb);
  --success-color: var(--alemup-success-rgb);
  --error-color: var(--alemup-danger-rgb);

  --navy: var(--alemup-navy);
  --turquoise: var(--alemup-primary);
  --white: var(--alemup-surface);
  --soft: var(--alemup-bg);
  --text: var(--alemup-text);
  --green: var(--alemup-success);
  --orange: var(--alemup-warning);
  --red: var(--alemup-danger);
  --gray: var(--alemup-text-secondary);
  --line: var(--alemup-border);
  --shadow: 3px 7px 20px rgba(var(--alemup-navy-rgb), .05);
  --radius: 14px;

  --alemup-font-family: "Inter", sans-serif;
  --type-display-size: 20px;
  --type-screen-title-size: 16px;
  --type-section-title-size: 14px;
  --type-card-title-size: 14px;
  --type-body-size: 12px;
  --type-small-size: 12px;
  --type-caption-size: 12px;
  --type-regular: 400;
  --type-medium: 500;
  --type-semibold: 600;
  --type-bold: 700;
  --line-display: 1.2;
  --line-title: 1.2;
  --line-body: 1.45;
  --line-caption: 1.4;
}

* {
  box-sizing: border-box;
  font-family: var(--alemup-font-family) !important;
  letter-spacing: 0 !important;
}

.fa,
.fa-solid,
.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.fa-regular,
.far {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--alemup-font-family);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
  color: var(--text);
  background: var(--alemup-bg);
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6, p {
  letter-spacing: 0;
}

h1,
.type-display {
  font-size: var(--type-display-size);
  font-weight: var(--type-bold);
  line-height: var(--line-display);
}

h2,
.type-screen-title {
  font-size: var(--type-screen-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

h3,
.type-section-title {
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

h4,
.type-card-title {
  font-size: var(--type-card-title-size);
  font-weight: var(--type-semibold);
  line-height: var(--line-title);
}

p,
.type-body {
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.small,
.type-small {
  font-size: var(--type-small-size);
  font-weight: var(--type-regular);
  line-height: var(--line-caption);
}

.type-caption,
.status-badge,
.upload-status {
  font-size: var(--type-caption-size);
  font-weight: var(--type-regular);
  line-height: var(--line-caption);
}

strong,
.fw-medium {
  font-weight: var(--type-semibold) !important;
}

.fw-bold,
.fw-bolder {
  font-weight: var(--type-bold) !important;
}

.app-shell {
  width: min(100vw, 430px);
  min-height: 100vh;
  height: 100vh;
  margin: 0 auto;
  background: var(--alemup-bg);
  position: relative;
  overflow: hidden;
  box-shadow: none;
}
@media (min-width: 720px) {
  body { padding: 0; background: var(--alemup-bg); }
  .app-shell { min-height: 100vh; height: 100vh; border-radius: 0; box-shadow: 0 8px 36px rgba(var(--alemup-navy-rgb), .08); }
}

.screen {
  min-height: inherit;
  height: 100%;
  overflow-y: auto;
  padding: 20px 20px 104px;
  scrollbar-width: none;
  background: var(--alemup-bg);
}
.screen::-webkit-scrollbar { display: none; }
.screen.clean { padding-bottom: 26px; }
.screen.map-screen { padding: 0 0 96px; background: var(--alemup-bg); }
.screen.ride-screen { padding: 0; background: var(--alemup-bg); }
.hero-screen {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(var(--alemup-primary-rgb), .96) 0%, rgba(var(--alemup-primary-rgb), .84) 42%, var(--alemup-surface) 42%),
    url("../images/background/intro-bg.png") top center / cover;
}
.splash-logo { margin: auto 0; text-align: center; animation: floatIn .7s ease both; }
.brand-mark {
  width: 82px; height: 82px; margin: 0 auto 18px;
  border-radius: 24px; display: grid; place-items: center;
  color: var(--turquoise); font-size: 32px; font-weight: var(--type-bold);
  background: var(--white);
  box-shadow: 0 12px 24px rgba(var(--alemup-navy-rgb), .08);
}
.brand-word { font-size: var(--type-display-size); line-height: var(--line-display); font-weight: var(--type-bold); letter-spacing: 0; }
.brand-sub { color: rgba(255, 255, 255, .78); margin-top: 10px; }
.hero-screen .btn { margin-top: auto; }
@keyframes floatIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

.topbar { display: flex; align-items: center; gap: 12px; margin: -20px -20px 20px; padding: 18px 20px; min-height: 74px; background: var(--alemup-surface); border-bottom: 1px solid rgba(var(--alemup-border-rgb), .7); }
.back {
  width: 36px; height: 36px; border-radius: 12px; background: var(--alemup-bg);
  color: var(--navy); box-shadow: none;
}
.title-wrap { flex: 1; min-width: 0; }
.eyebrow { margin: 0 0 5px; color: var(--gray); font-size: var(--type-caption-size); font-weight: var(--type-medium); line-height: var(--line-caption); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 5px; color: var(--navy); font-size: var(--type-screen-title-size); line-height: var(--line-title); letter-spacing: 0; font-weight: var(--type-bold); }
h2 { margin-bottom: 10px; color: var(--navy); font-size: var(--type-section-title-size); line-height: var(--line-title); letter-spacing: 0; font-weight: var(--type-bold); }
h3 { margin-bottom: 8px; color: var(--navy); font-size: var(--type-card-title-size); line-height: var(--line-title); letter-spacing: 0; font-weight: var(--type-semibold); }
p { color: var(--gray); line-height: 1.45; }

.card, .sheet, .floating-panel {
  background: var(--white);
  border: 1px solid rgba(var(--alemup-border-rgb), .88);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 16px; margin-bottom: 14px; }
.stack { display: grid; gap: 12px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.muted { color: var(--gray); }
.small { font-size: 13px; }
.amount { font-size: 28px; line-height: var(--line-title); color: var(--navy); font-weight: var(--type-bold); letter-spacing: 0; }
.green { color: var(--green); }
.red { color: var(--red); }
.orange { color: var(--orange); }

.btn {
  width: 100%;
  min-height: 52px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: var(--type-body-size);
  font-weight: var(--type-semibold);
  line-height: var(--line-title);
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.btn:active { transform: scale(.98); }
.btn.primary { color: var(--alemup-surface); background: var(--alemup-primary); box-shadow: 0 10px 20px rgba(var(--alemup-primary-rgb), .24); }
.btn.primary:hover { background: var(--alemup-primary-hover); }
.btn.primary:active { background: var(--alemup-primary-active); }
.btn.navy { color: var(--white); background: var(--navy); }
.btn.secondary { color: var(--alemup-primary); background: var(--alemup-surface); border: 1px solid var(--alemup-primary); }
.btn.ghost { color: var(--alemup-primary); background: transparent; border: 1px solid var(--alemup-primary); }
.btn.danger { color: var(--white); background: var(--red); }
.btn.danger:hover { background: var(--alemup-danger-hover); }
.btn.danger-outline { color: var(--alemup-danger); background: var(--alemup-surface); border: 1px solid var(--alemup-danger); box-shadow: none; }
.btn.inline { width: auto; min-height: 38px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: var(--type-semibold); }
.btn:disabled { color: var(--alemup-surface); background: var(--alemup-disabled); opacity: 1; cursor: not-allowed; box-shadow: none; }

.input, .textarea, .select {
  width: 100%;
  min-height: 56px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  padding: 0 16px;
  outline: 0;
}
.input::placeholder,
.textarea::placeholder,
.select::placeholder,
.auth-form .form-group .form-control::placeholder {
  color: var(--alemup-text-secondary);
}
.input:focus,
.textarea:focus,
.select:focus,
.auth-form .form-group .form-control:focus {
  border-color: var(--alemup-primary);
  box-shadow: 0 0 0 3px rgba(var(--alemup-primary-rgb), .14);
}
.textarea { min-height: 108px; padding-top: 14px; resize: vertical; }
.field { display: grid; gap: 7px; }
.field label { color: var(--navy); font-size: 13px; font-weight: var(--type-medium); }
.phone-field { display: grid; grid-template-columns: 78px 1fr; gap: 10px; }
.prefix { min-height: 56px; display: grid; place-items: center; border-radius: 10px; background: var(--alemup-surface); border: 1px solid var(--line); font-weight: var(--type-medium); color: var(--navy); }
.code-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.code-grid input { text-align: center; font-size: 24px; font-weight: var(--type-bold); }

.choice { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.choice.active { border-color: var(--alemup-primary); box-shadow: 0 8px 20px rgba(var(--alemup-primary-rgb), .14); }
.dot { width: 14px; height: 14px; border-radius: 999px; background: var(--line); }
.active .dot { background: var(--turquoise); box-shadow: 0 0 0 6px rgba(22, 199, 183, .16); }

.progress { height: 8px; border-radius: 999px; background: var(--alemup-border); overflow: hidden; margin: 12px 0 18px; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--alemup-primary); }
.step-list { display: grid; gap: 10px; }
.step-item { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.check {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  color: var(--alemup-surface); background: var(--alemup-primary); font-weight: var(--type-bold);
}
.upload-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.upload {
  min-height: 132px; border-radius: 12px; border: 1px dashed rgba(var(--alemup-text-secondary-rgb), .35);
  display: grid; place-items: center; text-align: center; padding: 14px;
  color: var(--alemup-text-secondary); background: var(--alemup-surface);
}
.upload:hover { border-color: var(--alemup-primary); }
.upload.done { border-style: solid; border-color: var(--alemup-success); background: rgba(var(--alemup-success-rgb), .08); color: var(--navy); }
.upload-preview { width: 100%; height: 72px; border-radius: 10px; margin-bottom: 10px; background: linear-gradient(135deg, rgba(var(--alemup-primary-rgb), .22), var(--alemup-bg)); position: relative; overflow: hidden; }
.upload-preview:before { content: ""; position: absolute; inset: 18px 28px; border-radius: 8px; background: rgba(var(--alemup-primary-rgb), .28); }

.status-badge {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px;
  padding: 0 12px; border-radius: 999px; font-size: var(--type-caption-size); font-weight: var(--type-medium);
  color: var(--navy); background: var(--alemup-bg);
}
.status-badge.active { background: rgba(var(--alemup-primary-rgb), .12); color: var(--alemup-primary); }
.status-badge.inactive { background: var(--alemup-bg); color: var(--alemup-text-secondary); }
.status-badge.success,
.status-badge.green { background: rgba(var(--alemup-success-rgb), .12); color: var(--alemup-success); }
.status-badge.warning,
.status-badge.orange { background: rgba(var(--alemup-warning-rgb), .18); color: var(--alemup-warning-text); }
.status-badge.red { background: rgba(var(--alemup-danger-rgb), .14); color: var(--alemup-danger); }
.pulse { width: 10px; height: 10px; border-radius: 999px; background: var(--alemup-primary); box-shadow: 0 0 0 rgba(var(--alemup-primary-rgb), .5); animation: pulse 1.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 13px rgba(var(--alemup-primary-rgb), 0); } }

.map {
  min-height: 430px;
  height: 58vh;
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,.76), rgba(255,255,255,.76)),
    url("../images/map.png") center / cover,
    var(--alemup-bg);
  overflow: hidden;
}
.map:before, .map:after { content: ""; position: absolute; background: rgba(255,255,255,.72); border-radius: 999px; transform: rotate(-24deg); }
.map:before { width: 620px; height: 28px; left: -120px; top: 140px; }
.map:after { width: 540px; height: 24px; right: -160px; top: 280px; transform: rotate(30deg); }
.map-route { position: absolute; inset: 120px 76px 130px 84px; border: 6px solid var(--turquoise); border-left-color: transparent; border-bottom-color: transparent; border-radius: 46% 54% 50% 45%; transform: rotate(12deg); opacity: .88; }
.pin {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--white);
  box-shadow: 0 7px 20px rgba(var(--alemup-navy-rgb), .12); color: var(--navy); font-weight: var(--type-bold);
}
.pin.driver { left: 48%; top: 48%; background: var(--navy); color: var(--white); }
.pin.pick { left: 24%; top: 34%; background: var(--alemup-primary); color: var(--alemup-surface); }
.pin.drop { right: 22%; bottom: 28%; background: var(--orange); }
.map-label {
  position: absolute; left: 18px; top: 18px; z-index: 3;
  padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.94);
  color: var(--navy); font-weight: var(--type-semibold); box-shadow: var(--shadow);
}
.floating-panel { margin: -70px 20px 0; padding: 16px; position: relative; z-index: 4; }
.sheet {
  position: relative;
  z-index: 5;
  margin: -86px 20px 14px;
  padding: 18px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.ride-screen .sheet { position: absolute; left: 20px; right: 20px; bottom: 20px; margin: 0; border-radius: 18px; }

.active-ride-page {
  overflow: hidden;
}

.active-ride-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  margin-top: 0;
}

.driver-home-header.active-ride-header {
  margin-top: 0;
}

.active-ride-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--alemup-bg);
}

.active-ride-map-image {
  position: absolute;
  inset: -200px 0 128px;
  z-index: 1;
  width: 100%;
  height: calc(100% + 256px);
  object-fit: cover;
  object-position: center 31%;
}

.active-ride-page .map-label {
  z-index: 3;
  top: 116px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 18px 10px 12px;
  border-radius: 20px;
  color: var(--alemup-navy);
}

.active-ride-page .map-control.locate { top: 120px; }
.active-ride-page .map-control.zoom-in { top: 270px; bottom: auto; }
.active-ride-page .map-control.zoom-out { top: 330px; bottom: auto; }

.active-ride-sheet {
  left: 4px !important;
  right: 4px !important;
  bottom: 0 !important;
  max-height: 50vh;
  overflow-y: auto;
  gap: 10px;
  padding: 12px 20px 18px;
  border-radius: 24px 24px 0 0 !important;
  scrollbar-width: none;
}

.active-ride-page.waiting-passenger .active-ride-sheet {
  max-height: 58vh;
}

.active-ride-sheet::-webkit-scrollbar {
  display: none;
}

.ride-passenger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ride-passenger-row h2,
.ride-passenger-row .eyebrow {
  margin: 0;
}

.route-label-icon,
.ride-info-icon,
.ride-status-strip > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--alemup-primary);
}

.route-label-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--alemup-surface);
  background: var(--alemup-primary);
}

.route-label-icon svg,
.ride-info-icon svg,
.ride-button-icon svg,
.ride-status-strip svg {
  width: 30px;
  height: 30px;
}

.route-label-icon > .fa-solid,
.ride-info-icon > .fa-solid,
.ride-button-icon > .fa-solid,
.ride-status-strip .fa-solid {
  font-size: 21px;
  line-height: 1;
}

.ride-sheet-handle {
  justify-self: center;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: rgba(var(--alemup-text-secondary-rgb), .34);
}

.ride-rating-badge {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--alemup-warning-text);
  background: rgba(var(--alemup-warning-rgb), .2);
  font-weight: var(--type-medium);
}

.ride-rating-badge span {
  color: var(--alemup-warning-text);
}

.ride-status-strip {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
}

.ride-status-strip.active {
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
}

.ride-status-strip > span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--alemup-surface);
  background: var(--alemup-primary);
}

.ride-status-strip.active > span {
  background: var(--alemup-primary);
}

.ride-status-strip-route {
  min-height: 54px;
}

.ride-status-strip > span svg {
  color: var(--alemup-surface);
}

.ride-passenger-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  color: var(--alemup-navy);
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .92);
}

.ride-passenger-card h2,
.ride-passenger-card p {
  margin: 0;
}

.ride-passenger-card p {
  color: var(--alemup-text-secondary);
}

.ride-passenger-card-static {
  grid-template-columns: minmax(0, 1fr);
}

.ride-passenger-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: var(--alemup-primary);
}

.ride-passenger-icon svg {
  width: 24px;
  height: 24px;
}

.ride-rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--alemup-navy);
  font-weight: var(--type-medium);
  white-space: nowrap;
}

.ride-rating-inline .fa-star {
  color: #FFB703;
}

.ride-call-btn {
  width: auto;
  min-width: 112px;
  min-height: 44px;
  border-width: 1px;
  border-radius: 14px;
}

.ride-info-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  color: var(--alemup-navy);
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .92);
}

.ride-info-card-simple {
  display: block;
  padding: 16px 20px;
}

.ride-waiting-card b {
  display: block;
  margin-top: 8px;
  color: var(--alemup-navy);
  font-size: var(--type-display-size);
  font-weight: var(--type-bold);
  line-height: var(--line-display);
}

.ride-waiting-card small {
  margin-top: 6px;
}

.ride-info-card p,
.ride-info-card small {
  display: block;
  margin: 5px 0 0;
  color: var(--alemup-text-secondary);
}

.ride-info-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ride-payment-divider {
  display: block;
  height: 1px;
  margin: 12px 0;
  background: var(--alemup-border);
}

.ride-payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--alemup-text-secondary);
}

.ride-payment-row b {
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
}

.ride-info-icon {
  width: 30px;
  height: 30px;
}

.ride-button-icon {
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.ride-main-actions {
  gap: 16px;
}

.ride-full-action {
  width: 100%;
}

.active-ride-address {
  margin-bottom: 0;
  box-shadow: none;
}

.active-ride-address p {
  margin: 5px 0 2px;
}

.ride-wait-card,
.ride-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  color: var(--alemup-navy);
  background: rgba(var(--alemup-primary-rgb), .08);
  border: 1px solid rgba(var(--alemup-primary-rgb), .18);
}

.ride-wait-card strong,
.ride-total strong {
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
}

.ride-text-action {
  justify-self: center;
  color: var(--alemup-danger);
  background: transparent;
  font-weight: var(--type-semibold);
}

.ride-confirm,
.ride-completed {
  display: grid;
  gap: 12px;
}

.ride-completed {
  gap: 18px;
  padding-top: 4px;
}

.ride-confirm h2,
.ride-confirm p,
.ride-completed h2,
.ride-completed p {
  margin: 0;
}

.ride-completed-hero {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 20px 0 8px;
  text-align: center;
}

.ride-completed-check {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--alemup-surface);
  background: var(--alemup-primary);
  margin-bottom: 20px;
  box-shadow: 0 0 0 26px rgba(var(--alemup-primary-rgb), .08);
}

.ride-completed-check svg {
  width: 38px;
  height: 38px;
}

.ride-completed-hero h2 {
  color: var(--alemup-navy);
}

.ride-completed-hero p {
  color: var(--alemup-text-secondary);
}

.ride-completed-card {
  min-height: 74px;
  padding: 12px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--alemup-navy);
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .92);
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .04);
}

.ride-completed-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--alemup-primary) !important;
  background: transparent;
}

.ride-completed-icon svg {
  width: 24px;
  height: 24px;
  color: inherit;
}

.ride-completed-icon > .fa-solid {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: inherit;
  font-size: 21px;
  line-height: 1;
}

.ride-completed-card > div > span {
  display: block;
  color: var(--alemup-navy);
  font-weight: var(--type-bold);
}

.ride-completed-card strong {
  display: block;
  margin-top: 4px;
  color: var(--alemup-text-secondary);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: var(--line-title);
}

.ride-cancel-reasons {
  display: grid;
  gap: 8px;
}

.ride-cancel-reasons button {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--alemup-navy);
  background: var(--alemup-bg);
  border: 1px solid var(--alemup-border);
  text-align: left;
  font-weight: var(--type-medium);
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 12px; border-radius: 12px; background: var(--alemup-surface); border: 1px solid var(--alemup-border); }
.stat strong { display: block; color: var(--navy); font-size: var(--type-card-title-size); font-weight: var(--type-bold); }
.stat span { color: var(--gray); font-size: var(--type-caption-size); font-weight: var(--type-regular); }
.timer-ring { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; color: var(--navy); font-weight: var(--type-bold); background: conic-gradient(var(--alemup-primary) 70%, var(--alemup-border) 0); }

.bottom-nav {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20;
  height: calc(78px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--alemup-surface);
  box-shadow: 0 -2px 14px rgba(var(--alemup-navy-rgb), .06);
  display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(var(--alemup-border-rgb), .9);
}
.nav-item { border-radius: 0; display: grid; place-items: center; align-content: center; gap: 4px; color: var(--gray); background: transparent; font-size: var(--type-caption-size); font-weight: var(--type-medium); }
.nav-item .asset-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: currentColor;
  font-size: 16px;
  line-height: 1;
  opacity: 1;
  filter: none;
}
.nav-item.active .asset-icon { filter: none; }
.nav-item.active { color: var(--alemup-primary); background: transparent; }
.nav-item span { position: relative; line-height: var(--line-caption); }
.nav-item.active span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--alemup-primary);
  transform: translateX(-50%);
}
.mini-icon {
  width: 26px; height: 26px; border-radius: 9px;
  display: inline-grid; place-items: center;
  border: 1.7px solid currentColor;
  font-size: var(--type-caption-size); line-height: 1; font-weight: var(--type-bold);
  color: inherit; font-style: normal;
}
.mini-icon:before { content: attr(data-glyph); }
.asset-icon { width: 24px; height: 24px; object-fit: contain; vertical-align: middle; }
.asset-icon-fa {
  object-fit: initial;
  text-align: center;
}

.list { display: grid; gap: 10px; }
.list-item { padding: 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.tab { min-height: 42px; border-radius: 10px; background: var(--alemup-surface); color: var(--gray); border: 1px solid var(--alemup-border); font-weight: 700; }
.tab.active { background: var(--alemup-primary); color: var(--alemup-surface); border-color: var(--alemup-primary); }
.distribution { display: grid; grid-template-columns: 84fr 5fr 4fr 7fr; height: 14px; border-radius: 999px; overflow: hidden; margin: 14px 0; }
.distribution span:nth-child(1) { background: var(--green); }
.distribution span:nth-child(2) { background: var(--orange); }
.distribution span:nth-child(3) { background: var(--turquoise); }
.distribution span:nth-child(4) { background: var(--navy); }
.qr {
  width: 148px; height: 148px; margin: 12px auto;
  border: 12px solid var(--white); border-radius: 12px;
  background:
    linear-gradient(90deg, var(--navy) 12px, transparent 12px) 0 0 / 28px 28px,
    linear-gradient(var(--navy) 12px, transparent 12px) 0 0 / 28px 28px,
    var(--alemup-bg);
  box-shadow: var(--shadow);
}
.stars { color: var(--alemup-warning); font-size: 24px; letter-spacing: 0; }
.toast {
  position: absolute; left: 18px; right: 18px; top: 18px; z-index: 70;
  padding: 14px 16px; border-radius: 12px; color: var(--white); background: var(--navy);
  box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .25s ease;
}
.toast.show { transform: translateY(0); }
.modal-backdrop { position: absolute; inset: 0; z-index: 30; background: rgba(11,31,51,.34); display: grid; align-items: end; }
.modal-sheet { margin: 20px; padding: 18px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.car-img { width: 100%; height: 148px; object-fit: contain; border-radius: 12px; background: var(--alemup-bg); }
.spacer { height: 28px; }
.spacer-sm { height: 18px; }
.top-gap { margin-top: 14px; }
.center { text-align: center; }
.highlight { margin: 0; background: rgba(var(--alemup-primary-rgb), .08); }
.avatar { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; }
.star-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--orange);
  background: rgba(var(--alemup-warning-rgb), .14);
  font-size: 22px;
}

.balance-details {
  background: var(--alemup-surface);
  border: 1px solid var(--alemup-border);
  box-shadow: var(--shadow);
}

.balance-details h6 {
  color: var(--alemup-text-secondary);
}

.balance-details h4 {
  color: var(--alemup-success);
}

.balance-details .balance-btn {
  color: var(--alemup-surface);
  background: var(--alemup-primary);
}

.wallet-page {
  background: var(--alemup-bg);
}

.wallet-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 12px 96px;
  display: grid;
  align-content: start;
  gap: 14px;
  scrollbar-width: none;
}

.wallet-content::-webkit-scrollbar {
  display: none;
}

.wallet-referral-card,
.wallet-history-card {
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .92);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .04);
}

.wallet-total-ride-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  list-style: none;
}

.wallet-total-ride-list li {
  min-width: 0;
  padding-bottom: 3px;
  border-radius: 8px;
  background: var(--alemup-primary);
  outline: 1px solid rgba(var(--alemup-border-rgb), .92);
}

.wallet-ride-box {
  width: 100%;
  min-height: 92px;
  padding: 15px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border-radius: 8px;
  color: var(--alemup-navy);
  background: var(--alemup-surface);
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .04);
}

.wallet-ride-top,
.wallet-ride-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.wallet-ride-box h4,
.wallet-ride-box h6 {
  margin: 0;
  min-width: 0;
}

.wallet-ride-box h4 {
  color: var(--alemup-primary);
  font-size: var(--type-screen-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
  white-space: nowrap;
}

.wallet-ride-box h6 {
  color: var(--alemup-navy);
  font-size: var(--type-card-title-size);
  font-weight: var(--type-medium);
  line-height: var(--line-title);
}

.wallet-ride-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
}

.wallet-ride-icon > .fa-solid {
  font-size: 15px;
  line-height: 1;
}

.wallet-ride-bottom > .fa-solid {
  flex: 0 0 auto;
  color: var(--alemup-text-secondary);
  font-size: 14px;
  line-height: 1;
}

.wallet-card-icon {
  display: grid;
  place-items: center;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
}

.wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.wallet-actions .btn {
  min-height: 54px;
  border-radius: 12px;
}

.wallet-topup-btn {
  color: var(--alemup-primary);
  background: var(--alemup-surface);
  border: 1px solid var(--alemup-primary);
}

.wallet-withdraw-btn {
  background: var(--alemup-primary);
}

.wallet-referral-card {
  width: 100%;
  min-height: 88px;
  padding: 14px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  color: var(--alemup-navy);
  text-align: left;
}

.wallet-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-weight: var(--type-bold);
}

.wallet-card-icon svg,
.wallet-card-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.wallet-card-icon > .fa-solid {
  font-size: 14px;
  line-height: 1;
  color: currentColor;
}

.wallet-card-icon.referral {
  color: #6C43E5;
  background: rgba(108, 67, 229, .1);
}

.wallet-card-icon.danger {
  color: var(--alemup-danger);
  background: rgba(var(--alemup-danger-rgb), .1);
  font-size: var(--type-section-title-size);
}

.wallet-card-icon.blue {
  color: #1677F2;
  background: rgba(22, 119, 242, .1);
}

.wallet-referral-card strong,
.wallet-referral-card small {
  display: block;
}

.wallet-referral-card strong {
  color: var(--alemup-navy);
  font-weight: var(--type-bold);
}

.wallet-referral-card small {
  margin-top: 4px;
  color: var(--alemup-text-secondary);
  font-weight: var(--type-regular);
}

.wallet-referral-card b {
  color: #6C43E5;
  font-weight: var(--type-bold);
}

.wallet-referral-card i {
  color: var(--alemup-text-secondary);
  font-style: normal;
  font-size: 14px;
  line-height: 1;
}

.wallet-history-card {
  padding: 16px 14px 14px;
}

.wallet-history-head {
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.wallet-history-head h2 {
  margin: 0;
}

.wallet-history-head button {
  color: var(--alemup-primary);
  background: transparent;
  font-weight: var(--type-semibold);
  white-space: nowrap;
}

.wallet-operation-list {
  display: grid;
}

.wallet-operation-row {
  min-height: 62px;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--alemup-border);
}

.wallet-operation-row strong {
  color: var(--alemup-navy);
  font-weight: var(--type-semibold) !important;
}

.wallet-operation-meta {
  display: grid;
  justify-items: end;
  color: var(--alemup-navy);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
  white-space: nowrap;
}

.wallet-operation-meta.positive {
  color: var(--alemup-primary);
}

.wallet-operation-meta.negative {
  color: var(--alemup-danger);
}

.wallet-operation-meta small {
  margin-top: 4px;
  color: var(--alemup-text-secondary);
  font-weight: var(--type-regular);
}

.wallet-operation-row i {
  color: var(--alemup-text-secondary);
  font-style: normal;
  font-size: 14px;
  line-height: 1;
}

.referral-screen {
  padding: 0 0 22px;
}

.referral-app-header {
  flex: 0 0 auto;
  border-bottom: 1px solid rgba(var(--alemup-border-rgb), .82);
}

.referral-content {
  display: grid;
  gap: 12px;
  padding: 16px 20px 0;
}

.referral-page-title {
  display: grid;
  gap: 4px;
}

.referral-page-title h1,
.referral-page-title p {
  margin: 0;
}

.referral-income-card,
.referral-inviter-card,
.referral-share-card,
.referral-list-card,
.referral-how-card {
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .92);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .04);
}

.referral-income-card {
  min-height: 116px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.referral-income-card span,
.referral-income-card small,
.referral-income-card strong {
  display: block;
}

.referral-income-card span,
.referral-income-card small {
  color: var(--alemup-text-secondary);
  line-height: var(--line-caption);
}

.referral-income-card span {
  font-weight: var(--type-medium);
}

.referral-income-card strong {
  margin: 4px 0 6px;
  color: var(--alemup-primary);
  font-size: 32px;
  font-weight: var(--type-bold);
  line-height: var(--line-display);
}

.referral-invite-btn {
  min-width: 116px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 12px;
}

.referral-inviter-card {
  padding: 16px;
}

.referral-inviter-card h2 {
  margin: 0 0 12px;
}

.referral-inviter-state {
  padding: 18px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border-radius: 14px;
  background: rgba(var(--alemup-primary-rgb), .07);
}

.referral-inviter-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--alemup-primary);
  background: var(--alemup-surface);
}

.referral-inviter-icon > .fa-solid {
  font-size: 36px;
  line-height: 1;
}

.referral-inviter-state strong,
.referral-inviter-state small,
.referral-inviter-state p {
  display: block;
  margin: 0;
}

.referral-inviter-state strong {
  color: var(--alemup-navy);
  font-size: var(--type-card-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.referral-inviter-state small,
.referral-inviter-state p,
.referral-inviter-details span {
  color: var(--alemup-text-secondary);
  font-size: var(--type-small-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.referral-inviter-state p {
  margin-top: 10px;
}

.referral-enter-code-btn {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 46px;
  margin-top: 0;
  border-radius: 999px;
  color: var(--alemup-primary);
  border-color: var(--alemup-primary);
  background: transparent;
}

.referral-inviter-state.is-confirmed {
  background: var(--alemup-surface);
  border: 1px solid var(--alemup-border);
}

.referral-inviter-state.is-confirmed .referral-inviter-icon {
  color: var(--alemup-surface);
  background: var(--alemup-primary);
}

.referral-inviter-details {
  display: grid;
  gap: 3px;
}

.referral-inviter-details b {
  color: var(--alemup-primary);
  font-size: var(--type-body-size);
  font-weight: var(--type-semibold);
  line-height: var(--line-title);
}

.referral-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.referral-stats-row article {
  min-width: 0;
  min-height: 76px;
  padding: 12px 10px;
  display: grid;
  align-content: center;
  gap: 6px;
  border-radius: 14px;
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .92);
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .035);
}

.referral-how-icon {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(var(--alemup-primary-rgb), .09);
}

.referral-stats-row strong {
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
  white-space: nowrap;
}

.referral-stats-row small {
  color: var(--alemup-text-secondary);
  font-size: var(--type-caption-size);
  font-weight: var(--type-regular);
  line-height: var(--line-caption);
}

.referral-share-card,
.referral-list-card {
  padding: 16px;
}

.referral-share-card h2,
.referral-list-card h2 {
  margin: 0 0 12px;
}

.referral-link-row {
  min-height: 48px;
  padding: 8px 8px 8px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--alemup-border);
  border-radius: 12px;
}

.referral-link-row span {
  min-width: 0;
  overflow: hidden;
  color: var(--alemup-primary);
  font-weight: var(--type-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.referral-link-row button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--alemup-primary);
  background: var(--alemup-surface);
  border: 1px solid var(--alemup-primary);
}

.referral-share-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border-radius: 12px;
}

.referral-level-row,
.referral-accrual-row {
  min-height: 62px;
  display: grid;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--alemup-border);
}

.referral-level-row {
  width: 100%;
  grid-template-columns: 38px minmax(0, 1fr) auto 14px;
  color: var(--alemup-navy);
  text-align: left;
  background: transparent;
}

.referral-level-row:last-child,
.referral-accrual-row:last-child {
  border-bottom: 0;
}

.referral-level-badge {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
  font-weight: var(--type-bold);
}

.referral-level-badge.level-2 {
  color: #1677F2;
  background: rgba(22, 119, 242, .1);
}

.referral-level-badge.level-3 {
  color: #6C43E5;
  background: rgba(108, 67, 229, .1);
}

.referral-level-badge.level-4 {
  color: var(--alemup-warning-text);
  background: rgba(var(--alemup-warning-rgb), .16);
}

.referral-level-row strong,
.referral-level-row small,
.referral-accrual-row strong,
.referral-accrual-row small,
.referral-accrual-row time {
  display: block;
}

.referral-level-row strong,
.referral-accrual-row strong {
  color: var(--alemup-navy);
  font-weight: var(--type-semibold);
}

.referral-level-row small,
.referral-accrual-row small,
.referral-accrual-row time {
  margin-top: 3px;
  color: var(--alemup-text-secondary);
  font-size: var(--type-caption-size);
  font-weight: var(--type-regular);
  line-height: var(--line-caption);
}

.referral-level-row b {
  color: var(--alemup-primary);
  font-weight: var(--type-bold);
  white-space: nowrap;
}

.referral-level-row i {
  color: var(--alemup-text-secondary);
  font-size: 22px;
  font-style: normal;
  line-height: 1;
}

.referral-accrual-row {
  grid-template-columns: 66px minmax(0, 1fr) auto;
}

.referral-accrual-row b {
  min-height: 34px;
  padding: 0 10px;
  display: inline-grid;
  place-items: center;
  justify-self: start;
  border-radius: 999px;
  color: var(--alemup-success);
  background: rgba(var(--alemup-success-rgb), .1);
  font-weight: var(--type-bold);
  white-space: nowrap;
}

.referral-accrual-row time {
  justify-self: end;
  text-align: right;
}

.referral-how-card {
  overflow: hidden;
}

.referral-how-card > button {
  width: 100%;
  min-height: 76px;
  padding: 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  color: var(--alemup-navy);
  text-align: left;
  background: transparent;
}

.referral-how-icon {
  width: 42px;
  height: 42px;
  background: rgba(22, 119, 242, .08);
}

.referral-how-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.referral-how-icon > .fa-solid {
  color: #1677F2;
  font-size: 20px;
  line-height: 1;
}

.referral-how-card strong,
.referral-how-card small {
  display: block;
}

.referral-how-card strong {
  color: var(--alemup-navy);
  font-weight: var(--type-bold);
}

.referral-how-card small {
  margin-top: 4px;
  color: var(--alemup-text-secondary);
  font-weight: var(--type-regular);
}

.referral-how-card i {
  color: var(--alemup-text-secondary);
  font-style: normal;
  font-size: 22px;
}

.referral-how-card.is-open > button > i.fa-chevron-down {
  transform: rotate(180deg);
}

.referral-how-body {
  padding: 0 14px 14px 14px;
}

.referral-how-body ul {
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 4px;
  color: var(--alemup-navy);
  list-style: none;
}

.referral-how-body li,
.referral-how-body p {
  font-size: var(--type-small-size);
  line-height: var(--line-body);
}

.referral-how-body p {
  margin: 0;
}

.referral-invite-panel {
  position: relative;
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  display: grid;
  gap: 14px;
  scrollbar-width: none;
}

.referral-invite-panel::-webkit-scrollbar {
  display: none;
}

.referral-invite-panel .ride-sheet-handle {
  margin: -4px auto 2px;
}

.referral-invite-close {
  position: absolute;
  left: 16px;
  top: 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--alemup-navy);
  background: transparent;
}

.referral-invite-close svg {
  width: 24px;
  height: 24px;
}

.referral-invite-head {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 36px 0;
  text-align: center;
}

.referral-invite-head h3,
.referral-invite-head p {
  margin: 0;
}

.referral-invite-head h3 {
  color: var(--alemup-navy);
  font-size: var(--type-screen-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.referral-invite-head p {
  color: var(--alemup-text-secondary);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.referral-qr-card,
.referral-code-card {
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .92);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .04);
}

.referral-qr-card {
  padding: 16px 12px;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.referral-qr-code {
  position: relative;
  width: min(58vw, 214px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--alemup-surface);
  border: 1px solid var(--alemup-border);
  overflow: hidden;
}

.referral-qr-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.referral-qr-card p {
  max-width: 260px;
  margin: 0;
  color: var(--alemup-text-secondary);
  text-align: center;
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.referral-code-card {
  min-height: 82px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.referral-code-card span,
.referral-code-card strong {
  display: block;
}

.referral-code-card span {
  color: var(--alemup-text-secondary);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.referral-code-card strong {
  margin-top: 4px;
  color: var(--alemup-primary);
  font-size: var(--type-screen-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
  letter-spacing: 0;
}

.referral-code-card button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--alemup-primary);
  background: var(--alemup-surface);
  border: 1px solid var(--alemup-primary);
  font-weight: var(--type-semibold);
  white-space: nowrap;
}

.referral-share-primary {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
}

.referral-protect-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 6px 2px;
}

.referral-protect-note span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--alemup-text-secondary);
}

.referral-protect-note svg {
  width: 26px;
  height: 26px;
}

.referral-protect-note p {
  margin: 0;
  color: var(--alemup-text-secondary);
  font-size: var(--type-small-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.referral-code-panel {
  display: grid;
  gap: 14px;
}

.referral-code-head h3,
.referral-code-head p,
.referral-code-error {
  margin: 0;
}

.referral-code-head {
  display: grid;
  gap: 8px;
}

.referral-code-head h3 {
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.referral-code-head p {
  color: var(--alemup-text-secondary);
  font-size: var(--type-small-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.referral-code-field {
  display: grid;
  gap: 8px;
}

.referral-code-field span {
  color: var(--alemup-navy);
  font-size: var(--type-caption-size);
  font-weight: var(--type-medium);
  line-height: var(--line-caption);
}

.referral-code-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--alemup-navy);
  background: var(--alemup-bg);
  border: 1px solid var(--alemup-border);
  font-size: var(--type-body-size);
  font-weight: var(--type-medium);
  outline: none;
}

.referral-code-field input::placeholder {
  color: var(--alemup-text-secondary);
  font-weight: var(--type-regular);
}

.referral-code-error {
  min-height: 18px;
  color: var(--alemup-danger);
  font-size: var(--type-caption-size);
  font-weight: var(--type-regular);
  line-height: var(--line-caption);
}

.referral-code-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.referral-code-actions .btn {
  min-height: 52px;
  border-radius: 14px;
}

.referral-code-actions .btn:disabled {
  opacity: .45;
  pointer-events: none;
}

.profile-page {
  background: var(--alemup-bg);
}

.profile-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 12px 96px;
  display: grid;
  align-content: start;
  gap: 14px;
  scrollbar-width: none;
}

.profile-content::-webkit-scrollbar {
  display: none;
}

.profile-content > h1 {
  margin: 0;
  padding: 0 4px;
}

.profile-driver-card,
.profile-stats-card,
.profile-menu-card,
.profile-logout-card {
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .92);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .04);
}

.profile-driver-card {
  min-height: 132px;
  padding: 16px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
}

.profile-avatar-wrap {
  position: relative;
  width: 86px;
  height: 86px;
}

.profile-avatar {
  width: 86px;
  height: 86px;
  display: block;
  object-fit: cover;
  border-radius: 999px;
  background: var(--alemup-bg);
}

.profile-avatar-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--alemup-primary);
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .92);
  box-shadow: 0 8px 18px rgba(var(--alemup-navy-rgb), .08);
}

.profile-avatar-edit svg {
  width: 18px;
  height: 18px;
}

.profile-driver-info {
  min-width: 0;
}

.profile-driver-info h2,
.profile-driver-info p {
  margin: 0;
}

.profile-driver-info h2 {
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.profile-rating-line {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--alemup-text-secondary);
  white-space: nowrap;
}

.profile-rating-line strong {
  color: var(--alemup-navy);
  font-weight: var(--type-semibold);
}

.profile-rating-line > i:not(.fa-solid) {
  width: 1px;
  height: 18px;
  background: var(--alemup-border);
}

.profile-star {
  color: var(--alemup-warning);
  font-size: 18px;
  line-height: 1;
}

.profile-star > .fa-star {
  display: block;
  width: auto;
  height: auto;
  background: transparent;
}

.profile-driver-info p {
  margin-top: 6px;
  color: var(--alemup-text-secondary);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.profile-verified {
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  margin-top: 8px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
  font-size: var(--type-caption-size);
  font-weight: var(--type-medium);
  line-height: var(--line-caption);
}

.profile-verified svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.profile-card-arrow {
  color: var(--alemup-text-secondary);
  background: transparent;
  font-size: 30px;
  line-height: 1;
}

.profile-stats-card {
  min-height: 112px;
  padding: 14px 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-stats-card article {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  border-right: 1px solid var(--alemup-border);
}

.profile-stats-card article:last-child {
  border-right: 0;
}

.profile-stats-card span,
.profile-menu-icon {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
}

.profile-stats-card span {
  width: 38px;
  height: 38px;
}

.profile-stats-card img,
.profile-menu-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.profile-stats-card span > .fa-solid,
.profile-menu-icon > .fa-solid {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1em;
  height: 1em;
  display: block;
  color: var(--alemup-primary);
  font-size: 16px;
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%);
}

.profile-stats-card span > .fa-solid::before,
.profile-menu-icon > .fa-solid::before {
  display: block;
  width: 1em;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.profile-stats-card .profile-stat-star > .fa-solid {
  color: #FFB703;
}

.profile-stats-card span:not(.profile-stat-star) img,
.profile-menu-icon:not(.danger) img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(88%) saturate(507%) hue-rotate(126deg) brightness(91%) contrast(92%);
}

.profile-stats-card .profile-stat-star img {
  filter: none;
}

.profile-stats-card strong {
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
  white-space: nowrap;
}

.profile-stats-card small {
  max-width: 72px;
  color: var(--alemup-text-secondary);
  font-size: var(--type-caption-size);
  font-weight: var(--type-regular);
  line-height: var(--line-caption);
}

.profile-menu-card {
  padding: 0 14px 10px;
}

.profile-menu-row,
.profile-logout-card {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  color: var(--alemup-navy);
  background: transparent;
  text-align: left;
}

.profile-menu-row {
  border-bottom: 1px solid var(--alemup-border);
}

.profile-menu-row:last-child {
  border-bottom: 0;
}

.profile-menu-icon {
  width: 34px;
  height: 34px;
}

.profile-menu-icon.danger {
  color: var(--alemup-danger);
  background: rgba(var(--alemup-danger-rgb), .1);
}

.profile-menu-icon.danger img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(39%) sepia(77%) saturate(1748%) hue-rotate(327deg) brightness(95%) contrast(91%);
}

.profile-menu-icon.danger > .fa-solid {
  color: var(--alemup-danger);
  font-size: 18px;
}

.profile-menu-row strong,
.profile-logout-card strong {
  color: inherit;
  font-size: var(--type-body-size);
  font-weight: var(--type-medium);
  line-height: var(--line-body);
}

.profile-menu-row b {
  grid-column: 3;
  min-width: 34px;
  min-height: 28px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
  font-weight: var(--type-semibold);
}

.profile-menu-row i,
.profile-logout-card i {
  grid-column: 4;
  color: var(--alemup-text-secondary);
  font-style: normal;
  font-size: 14px;
  line-height: 1;
}

.profile-logout-card i {
  grid-column: 3;
}

.profile-logout-card {
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  min-height: 68px;
  padding: 0 14px;
  color: var(--alemup-danger);
}

.profile-logout-card strong {
  color: var(--alemup-danger);
}

.profile-logout-panel h3,
.profile-logout-panel p {
  margin: 0;
}

.profile-logout-panel {
  display: grid;
  gap: 12px;
}

.profile-logout-panel h3 {
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.profile-logout-panel p {
  color: var(--alemup-text-secondary);
  font-size: var(--type-body-size);
  line-height: var(--line-body);
}

.profile-logout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.profile-logout-actions .btn {
  min-height: 48px;
  border-radius: 12px;
}

.wallet-topup-page {
  background: var(--alemup-bg);
  padding-bottom: 0;
}

.wallet-inner-header {
  border-bottom-color: rgba(var(--alemup-border-rgb), .8);
}

.wallet-topup-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 14px 98px;
  scrollbar-width: none;
}

.wallet-topup-content::-webkit-scrollbar {
  display: none;
}

.wallet-topup-title h1,
.wallet-topup-success h1 {
  margin: 0;
  color: var(--alemup-navy);
  font-size: var(--type-display-size);
  font-weight: var(--type-bold);
  line-height: var(--line-display);
}

.wallet-topup-state {
  display: grid;
  gap: 18px;
}

.topup-balance {
  display: grid;
  gap: 6px;
}

.topup-balance span,
.topup-balance small,
.topup-note,
.topup-error {
  color: var(--alemup-text-secondary);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.topup-balance strong {
  color: var(--alemup-primary);
  font-size: 28px;
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.topup-section {
  display: grid;
  gap: 10px;
}

.topup-label {
  margin: 0;
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.topup-amount-field {
  height: 58px;
  border: 1px solid var(--alemup-border);
  border-radius: 14px;
  background: var(--alemup-surface);
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .035);
}

.topup-amount-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.topup-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.topup-presets button {
  min-height: 44px;
  border: 1px solid var(--alemup-primary);
  border-radius: 12px;
  color: var(--alemup-primary);
  background: var(--alemup-surface);
  font-weight: var(--type-semibold);
}

.topup-presets button.active {
  color: var(--alemup-surface);
  background: linear-gradient(135deg, var(--alemup-primary), var(--alemup-primary-active));
  box-shadow: 0 10px 22px rgba(var(--alemup-primary-rgb), .2);
}

.topup-error {
  margin: -2px 0 0;
  color: var(--alemup-danger);
}

.topup-card-list {
  overflow: hidden;
  border: 1px solid var(--alemup-border);
  border-radius: 16px;
  background: var(--alemup-surface);
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .035);
}

.topup-bank-card {
  width: 100%;
  min-height: 68px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--alemup-navy);
  background: var(--alemup-surface);
  border-bottom: 1px solid var(--alemup-border);
}

.topup-bank-card:last-child {
  border-bottom: 0;
}

.topup-bank-card.selected {
  box-shadow: inset 0 0 0 1px var(--alemup-primary);
}

.bank-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--alemup-surface);
  font-weight: var(--type-bold);
}

.bank-logo.kaspi {
  background: #F15A24;
}

.bank-logo.halyk {
  background: #0E9F64;
}

.bank-logo.freedom {
  background: #0B8A45;
}

.topup-bank-card strong,
.topup-bank-card small {
  display: block;
}

.topup-bank-card strong {
  color: var(--alemup-navy);
  font-weight: var(--type-semibold);
}

.topup-bank-card small {
  margin-top: 3px;
  color: var(--alemup-text-secondary);
  font-weight: var(--type-regular);
}

.topup-bank-card i {
  width: 24px;
  height: 24px;
  border: 2px solid var(--alemup-border);
  border-radius: 999px;
  justify-self: end;
}

.topup-bank-card.selected i {
  border-color: var(--alemup-primary);
  background: var(--alemup-primary);
  position: relative;
}

.topup-bank-card.selected i::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 7px;
  height: 11px;
  border-right: 2px solid var(--alemup-surface);
  border-bottom: 2px solid var(--alemup-surface);
  transform: rotate(45deg);
}

.topup-add-card {
  min-height: 54px;
  padding: 0 14px;
  border: 1px dashed rgba(var(--alemup-primary-rgb), .55);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  color: var(--alemup-primary);
  background: var(--alemup-surface);
  text-align: left;
  font-weight: var(--type-semibold);
}

.topup-add-card span {
  width: 30px;
  height: 30px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.topup-add-card i {
  color: var(--alemup-primary);
  font-style: normal;
  font-size: 14px;
  line-height: 1;
}

.topup-note {
  margin: 0;
  padding: 0 2px;
}

.wallet-topup-fixed {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  padding: 12px 14px 18px;
  background: linear-gradient(180deg, rgba(245, 248, 250, 0), var(--alemup-bg) 28%);
}

.wallet-topup-fixed .btn {
  min-height: 56px;
  border-radius: 14px;
}

.wallet-topup-fixed .btn:disabled {
  opacity: .55;
}

.wallet-topup-success {
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.topup-success-icon {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--alemup-surface);
  background: linear-gradient(135deg, var(--alemup-primary), var(--alemup-primary-active));
  box-shadow: 0 14px 30px rgba(var(--alemup-primary-rgb), .22);
}

.topup-success-icon svg {
  width: 42px;
  height: 42px;
}

.topup-success-icon > .fa-solid {
  font-size: 38px;
  line-height: 1;
}

.ride-history-page {
  background: var(--alemup-bg);
  padding-bottom: 0;
}

.ride-history-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 14px 24px;
  display: grid;
  align-content: start;
  gap: 14px;
  scrollbar-width: none;
}

.ride-history-content::-webkit-scrollbar {
  display: none;
}

.ride-history-card {
  padding: 14px;
  border: 1px solid var(--alemup-border);
  border-radius: 14px;
  background: var(--alemup-surface);
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .035);
}

.ride-history-card-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--alemup-border);
}

.ride-history-user-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
}

.ride-history-user-icon .fa-solid {
  font-size: 16px;
  line-height: 1;
}

.ride-history-card-head > strong {
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.ride-history-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--alemup-navy);
  white-space: nowrap;
}

.ride-history-summary > i {
  width: 1px;
  height: 18px;
  background: var(--alemup-border);
}

.ride-history-summary b {
  color: var(--alemup-primary);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.ride-history-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--alemup-navy);
  font-size: var(--type-body-size);
  font-weight: var(--type-medium);
  line-height: var(--line-title);
}

.ride-history-rating .fa-solid {
  color: #FFB800;
  font-size: 13px;
  line-height: 1;
}

.ride-history-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0 12px;
  color: var(--alemup-navy);
  font-size: var(--type-body-size);
  font-weight: var(--type-medium);
  line-height: var(--line-body);
}

.ride-history-meta span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ride-history-meta .fa-solid {
  color: var(--alemup-primary);
  font-size: 14px;
  line-height: 1;
}

.ride-history-route {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(var(--alemup-navy-rgb), .035);
}

.ride-history-point {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--alemup-navy);
  font-size: var(--type-body-size);
  font-weight: var(--type-medium);
  line-height: var(--line-body);
}

.ride-history-point + .ride-history-point {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--alemup-border);
}

.ride-history-point.pickup::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: -14px;
  border-left: 1px dashed var(--alemup-primary);
}

.ride-history-point .fa-solid {
  position: relative;
  z-index: 1;
  color: var(--alemup-primary);
  font-size: 18px;
  line-height: 1;
  margin-top: 1px;
}

.driver-statistics-page {
  background: var(--alemup-bg);
  padding-bottom: 0;
}

.driver-statistics-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 14px 24px;
  display: grid;
  align-content: start;
  gap: 14px;
  scrollbar-width: none;
}

.driver-statistics-content::-webkit-scrollbar {
  display: none;
}

.statistics-period-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.statistics-period-selector button {
  min-height: 42px;
  border: 1px solid var(--alemup-border);
  border-radius: 14px;
  color: var(--alemup-navy);
  background: var(--alemup-surface);
  box-shadow: 0 8px 20px rgba(var(--alemup-navy-rgb), .035);
  font-size: var(--type-body-size);
  font-weight: var(--type-medium);
}

.statistics-period-selector button.active {
  border-color: var(--alemup-primary);
  color: var(--alemup-surface);
  background: var(--alemup-primary);
  box-shadow: 0 10px 24px rgba(var(--alemup-primary-rgb), .18);
}

.statistics-row-card,
.statistics-progress-card {
  border: 1px solid var(--alemup-border);
  border-radius: 16px;
  background: var(--alemup-surface);
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .035);
}

.statistics-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.statistics-metric-card {
  min-width: 0;
  min-height: 78px;
  padding: 12px 10px;
  border: 1px solid rgba(var(--alemup-border-rgb), .92);
  border-bottom: 3px solid var(--alemup-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--alemup-surface);
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .04);
}

.statistics-metric-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
}

.statistics-metric-card span,
.statistics-row-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
}

.statistics-metric-card span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin-top: -16px;
}

.statistics-metric-card .fa-solid,
.statistics-row-icon .fa-solid {
  font-size: 18px;
  line-height: 1;
}

.statistics-metric-card .fa-solid {
  font-size: 14px;
}

.statistics-metric-card strong {
  color: var(--alemup-primary);
  font-size: 18px;
  font-weight: var(--type-bold);
  line-height: var(--line-title);
  white-space: nowrap;
}

.statistics-metric-card.is-accent strong {
  color: var(--alemup-primary);
}

.statistics-metric-card small {
  color: var(--alemup-navy);
  font-size: 13px;
  font-weight: var(--type-semibold);
  line-height: var(--line-title);
}

.statistics-row-list {
  display: grid;
  gap: 12px;
}

.statistics-row-card {
  width: 100%;
  min-height: 82px;
  padding: 14px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.statistics-row-card > span:nth-child(2) {
  display: grid;
  gap: 5px;
}

.statistics-row-card strong,
.statistics-progress-card strong {
  color: var(--alemup-navy);
  font-size: var(--type-body-size);
  font-weight: var(--type-semibold);
  line-height: var(--line-title);
}

.statistics-row-card b {
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.statistics-row-card > .fa-chevron-right {
  color: var(--alemup-text-secondary);
  font-size: 18px;
  line-height: 1;
}

.statistics-row-card.is-danger .statistics-row-icon,
.statistics-row-card.is-danger b {
  color: var(--alemup-danger);
}

.statistics-row-card.is-danger .statistics-row-icon {
  background: rgba(255, 77, 79, .1);
}

.statistics-progress-card {
  min-height: 112px;
  padding: 14px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 12px;
  background: rgba(var(--alemup-primary-rgb), .06);
}

.statistics-progress-card > span:nth-child(2) {
  display: grid;
  gap: 6px;
}

.statistics-progress-card small {
  color: var(--alemup-navy);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.statistics-progress-ring {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle closest-side, var(--alemup-surface) 76%, transparent 77%),
    conic-gradient(var(--alemup-primary) calc(var(--progress) * 1%), rgba(var(--alemup-primary-rgb), .16) 0);
}

.statistics-progress-ring b {
  color: var(--alemup-primary);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: 1;
}

.statistics-note {
  margin: 0;
  color: var(--alemup-text-secondary);
  font-size: var(--type-small-size);
  font-weight: var(--type-regular);
  line-height: var(--line-caption);
  text-align: center;
}

.help-page {
  background: var(--alemup-bg);
  padding-bottom: 0;
}

.help-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px 24px;
  display: grid;
  align-content: start;
  gap: 14px;
  scrollbar-width: none;
}

.help-content::-webkit-scrollbar {
  display: none;
}

.settings-page {
  background: var(--alemup-bg);
  padding-bottom: 0;
}

.settings-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: none;
}

.settings-content::-webkit-scrollbar {
  display: none;
}

.settings-card-list {
  display: grid;
  gap: 14px;
}

.settings-row,
.settings-logout-btn {
  width: 100%;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid var(--alemup-border);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: var(--alemup-surface);
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .035);
  text-align: left;
}

.settings-row-copy {
  display: grid;
  gap: 4px;
}

.settings-row-copy strong,
.settings-logout-btn strong {
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.settings-row-copy small {
  color: var(--alemup-text-secondary);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.settings-row .fa-chevron-right {
  color: var(--alemup-text-secondary);
  font-size: 18px;
  line-height: 1;
}

.settings-switch {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  position: relative;
  background: var(--alemup-border);
  box-shadow: inset 0 0 0 1px rgba(var(--alemup-navy-rgb), .05);
}

.settings-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--alemup-surface);
  box-shadow: 0 3px 10px rgba(var(--alemup-navy-rgb), .16);
  transition: transform .2s ease;
}

.settings-switch.is-on {
  background: linear-gradient(135deg, var(--alemup-primary), var(--alemup-primary-active));
}

.settings-switch.is-on::after {
  transform: translateX(20px);
}

.settings-logout-btn {
  margin-top: auto;
  border-color: rgba(255, 77, 79, .18);
}

.settings-logout-btn strong {
  color: var(--alemup-danger);
}

.notifications-page {
  background: var(--alemup-bg);
  padding-bottom: 0;
}

.notifications-header-title {
  justify-self: start;
  display: grid;
  gap: 2px;
}

.notifications-header-title p,
.notifications-header-title h1 {
  margin: 0;
}

.notifications-header-title p {
  color: var(--alemup-text-secondary);
  font-size: var(--type-small-size);
  font-weight: var(--type-regular);
  line-height: var(--line-caption);
}

.notifications-header-title h1 {
  color: var(--alemup-navy);
  font-size: var(--type-screen-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.notifications-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 14px 24px;
  display: grid;
  align-content: start;
  gap: 16px;
  scrollbar-width: none;
}

.notifications-content::-webkit-scrollbar {
  display: none;
}

.notification-day-group {
  display: grid;
  gap: 12px;
}

.notification-day-group h2 {
  margin: 0;
  padding: 0 2px;
  color: var(--alemup-navy);
  font-size: var(--type-section-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.notification-list {
  display: grid;
  gap: 12px;
}

.notification-card {
  width: 100%;
  min-height: 112px;
  padding: 14px 12px;
  border: 1px solid var(--alemup-border);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  background: var(--alemup-surface);
  box-shadow: 0 8px 22px rgba(var(--alemup-navy-rgb), .035);
  text-align: left;
}

.notification-card.no-arrow {
  grid-template-columns: 48px minmax(0, 1fr);
}

.notification-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
}

.notification-icon .fa-solid {
  font-size: 19px;
  line-height: 1;
}

.notification-card.danger .notification-icon {
  color: var(--alemup-danger);
  background: rgba(255, 77, 79, .1);
}

.notification-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.notification-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.notification-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--alemup-primary);
  font-size: var(--type-body-size);
  font-weight: var(--type-semibold);
  line-height: var(--line-title);
}

.notification-card.danger .notification-type {
  color: var(--alemup-danger);
}

.notification-type i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.notification-topline time {
  color: var(--alemup-text-secondary);
  font-size: var(--type-body-size);
  font-weight: var(--type-medium);
  line-height: var(--line-title);
  white-space: nowrap;
}

.notification-copy strong {
  color: var(--alemup-navy);
  font-size: var(--type-body-size);
  font-weight: var(--type-semibold);
  line-height: var(--line-body);
}

.notification-card.is-read .notification-copy strong {
  font-weight: var(--type-medium);
}

.notification-copy small {
  color: var(--alemup-text-secondary);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: var(--line-body);
}

.notification-arrow {
  color: var(--alemup-text-secondary);
  font-size: 14px;
  line-height: 1;
  justify-self: end;
}

.notification-push-card {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(var(--alemup-primary-rgb), .2);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--alemup-navy);
  background: rgba(var(--alemup-primary-rgb), .06);
  text-align: left;
}

.notification-push-card span:last-child {
  display: grid;
  gap: 6px;
}

.notification-push-card strong {
  color: var(--alemup-navy);
  font-size: var(--type-body-size);
  font-weight: var(--type-semibold);
}

.notification-push-card small {
  color: var(--alemup-text-secondary);
  font-size: var(--type-small-size);
  font-weight: var(--type-regular);
  line-height: var(--line-caption);
}

.notification-push-card b {
  color: var(--alemup-primary);
  font-size: var(--type-body-size);
  font-weight: var(--type-semibold);
}

.wallet-topup-success strong {
  color: var(--alemup-primary);
  font-size: 28px;
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.wallet-topup-success p {
  margin: 0;
  color: var(--alemup-text-secondary);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
}

.wallet-topup-success b {
  color: var(--alemup-navy);
  font-weight: var(--type-bold);
}

.stats .stat:first-child strong,
.money,
.fare {
  color: var(--alemup-success);
}
.compact-map {
  min-height: 220px;
  height: 220px;
  border-radius: 12px;
}

.driver-home-page {
  position: relative;
  height: 100%;
  min-height: 100%;
  padding-top: 0;
  padding-bottom: 78px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--alemup-surface);
}

.driver-home-page.wallet-topup-page {
  padding-bottom: 0;
  background: var(--alemup-bg);
}

.driver-home-header {
  flex: 0 0 auto;
  margin-top: 10px;
  min-height: 70px;
  padding: 0 20px 12px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
  background: var(--alemup-surface);
  border-bottom: 1px solid rgba(var(--alemup-border-rgb), .72);
}

.driver-home-header.wallet-inner-header {
  border-bottom-color: rgba(var(--alemup-border-rgb), .8);
}

.driver-header-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--alemup-navy);
  background: transparent;
}

.driver-home-header .driver-header-btn:not(.back) {
  border-radius: 12px;
  color: var(--alemup-surface);
  background: var(--alemup-primary);
}

.driver-header-spacer {
  width: 40px;
  height: 40px;
}

.driver-header-btn span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.driver-header-btn svg {
  width: 24px;
  height: 24px;
}

.driver-header-btn > .fa-solid {
  font-size: 22px;
  line-height: 1;
}

.driver-home-logo {
  width: 138px;
  height: auto;
  justify-self: center;
}

.driver-status-card {
  position: relative;
  z-index: 5;
  min-height: 76px;
  margin: 14px 20px 0;
  padding: 10px 18px 10px 12px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--alemup-navy);
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .86);
  box-shadow: 0 8px 24px rgba(var(--alemup-navy-rgb), .07);
  transition: background .24s ease, color .24s ease, transform .2s ease;
}

.driver-status-card:active {
  transform: scale(.99);
}

.driver-swipe-handle {
  width: 58px;
  height: 58px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--alemup-navy);
  background: var(--alemup-surface);
  box-shadow: 0 8px 20px rgba(var(--alemup-navy-rgb), .12);
}

.driver-swipe-handle svg {
  width: 24px;
  height: 24px;
}

.driver-status-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.driver-status-copy strong {
  color: inherit;
}

.driver-status-copy small {
  color: var(--alemup-text-secondary);
}

.driver-home-page.is-online .driver-status-card {
  color: var(--alemup-surface);
  background: var(--alemup-primary);
  border-color: var(--alemup-primary);
}

.driver-home-page.is-online .driver-status-copy small {
  color: rgba(255, 255, 255, .82);
}

.driver-home-page.is-online .driver-swipe-handle {
  color: var(--alemup-navy);
  background: var(--alemup-surface);
}

.driver-map-area {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: -38px;
  overflow: hidden;
}

.driver-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--alemup-bg);
}

.driver-map-embed,
.driver-map-canvas,
.driver-map-fallback {
  position: absolute;
  inset: 0;
}

.driver-map-embed {
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.86) contrast(.96) brightness(1.04);
}

.driver-map-canvas {
  z-index: 1;
  background: var(--alemup-bg);
}

.driver-map-fallback {
  z-index: 2;
  background:
    linear-gradient(rgba(255,255,255,.54), rgba(255,255,255,.54)),
    url("../images/map.png") center / cover,
    var(--alemup-bg);
  transform: scale(var(--driver-map-scale, 1));
  transition: opacity .2s ease, transform .18s ease;
}

.driver-map.has-real-map .driver-map-fallback {
  opacity: 0;
  pointer-events: none;
}

.driver-map.is-fallback .driver-map-canvas {
  display: none;
}

.driver-map-fallback::before,
.driver-map-fallback::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
}

.driver-map-fallback::before {
  width: 560px;
  height: 24px;
  left: -96px;
  top: 202px;
  transform: rotate(-17deg);
}

.driver-map-fallback::after {
  width: 500px;
  height: 22px;
  right: -134px;
  top: 390px;
  transform: rotate(28deg);
}

.driver-map-label {
  position: absolute;
  z-index: 2;
  color: rgba(var(--alemup-navy-rgb), .58);
  font-weight: var(--type-medium);
  text-shadow: 0 1px 0 rgba(255,255,255,.84);
  pointer-events: none;
}

.label-turan { top: 96px; left: 160px; transform: rotate(-15deg); }
.label-kunaeva { top: 230px; left: 42px; transform: rotate(83deg); }
.label-syganak { top: 294px; right: 70px; transform: rotate(7deg); }
.label-mega { left: 26px; bottom: 190px; }

.driver-position {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 3;
  width: 24px;
  height: 24px;
  border: 4px solid var(--alemup-surface);
  border-radius: 999px;
  background: #2176FF;
  box-shadow: 0 0 0 14px rgba(33, 118, 255, .12), 0 8px 18px rgba(var(--alemup-navy-rgb), .16);
}

.driver-map-marker {
  width: 22px;
  height: 22px;
  border: 4px solid var(--alemup-surface);
  border-radius: 999px;
  background: #2176FF;
  box-shadow: 0 0 0 14px rgba(33, 118, 255, .12), 0 8px 18px rgba(var(--alemup-navy-rgb), .16);
}

.driver-position::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 15px;
  width: 14px;
  height: 18px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background: #2176FF;
}

.map-control {
  position: absolute;
  z-index: 7;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--alemup-navy);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(var(--alemup-border-rgb), .78);
  box-shadow: 0 8px 18px rgba(var(--alemup-navy-rgb), .1);
}

.map-control svg {
  width: 24px;
  height: 24px;
}

.map-control > .fa-solid {
  font-size: 21px;
  line-height: 1;
}

.map-control.locate { top: 76px; }
.map-control.zoom-in { bottom: 214px; }
.map-control.zoom-out { bottom: 154px; }

.driver-bottom-sheet {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 94px;
  z-index: 8;
  min-height: 74px;
  padding: 14px 16px;
  border-radius: 20px;
  color: var(--alemup-navy);
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(var(--alemup-border-rgb), .86);
  box-shadow: 0 10px 28px rgba(var(--alemup-navy-rgb), .09);
  transform: translateY(0);
  transition: min-height .24s ease, transform .24s ease, opacity .2s ease;
}

.driver-bottom-sheet.has-order {
  min-height: 286px;
  padding: 16px;
  border-radius: 20px 20px 0 0;
  animation: sheetIn .22s ease both;
}

@keyframes sheetIn {
  from { transform: translateY(18px); opacity: .4; }
  to { transform: translateY(0); opacity: 1; }
}

.driver-sheet-compact {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sheet-broadcast-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--alemup-navy);
}

.sheet-broadcast-icon svg {
  width: 26px;
  height: 26px;
}

.sheet-broadcast-icon > .fa-solid {
  font-size: 22px;
  line-height: 1;
}

.ride-offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ride-offer-head strong {
  color: var(--alemup-navy);
}

.ride-offer-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 14px;
  margin-bottom: 14px;
}

.ride-route {
  position: relative;
  display: grid;
  gap: 18px;
}

.ride-route::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 27px;
  left: 7px;
  width: 2px;
  border-radius: 999px;
  background: var(--alemup-border);
}

.ride-point {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
}

.ride-point > span {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 999px;
  border: 4px solid var(--alemup-surface);
  background: var(--alemup-primary);
  box-shadow: 0 0 0 2px var(--alemup-primary);
}

.ride-point.dropoff > span {
  background: var(--alemup-danger);
  box-shadow: 0 0 0 2px var(--alemup-danger);
}

.ride-point strong,
.ride-point small {
  display: block;
}

.ride-point small,
.ride-summary span,
.ride-summary small {
  color: var(--alemup-text-secondary);
}

.ride-summary {
  padding-left: 14px;
  border-left: 1px solid var(--alemup-border);
  display: grid;
  align-content: start;
  gap: 4px;
}

.ride-summary strong,
.ride-summary b {
  color: var(--alemup-navy);
}

.ride-summary b {
  margin-top: 10px;
}

.ride-reject-btn {
  color: var(--alemup-danger) !important;
  border-color: rgba(var(--alemup-danger-rgb), .62) !important;
  background: var(--alemup-surface) !important;
}

.driver-geo-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  align-items: end;
  padding: 20px 20px 92px;
  background: rgba(var(--alemup-navy-rgb), .34);
}

.driver-geo-overlay[hidden] {
  display: none;
}

.driver-geo-modal {
  padding: 18px;
  border-radius: 20px;
  display: grid;
  gap: 14px;
  color: var(--alemup-navy);
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .86);
  box-shadow: 0 12px 30px rgba(var(--alemup-navy-rgb), .12);
}

.driver-geo-modal h2,
.driver-geo-modal p {
  margin: 0;
}

.driver-geo-modal p {
  color: var(--alemup-text-secondary);
}
.hero-driver {
  display: block;
  width: min(82%, 310px);
  margin: 28px auto 0;
}

.alemup-logo {
  display: block;
  width: min(230px, 64vw);
  height: auto;
  object-fit: contain;
}

.splash-alemup-logo {
  position: absolute;
  top: 26px;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
}

.map-screen:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  z-index: 6;
  background:
    url("../images/logo.png") 20px center / 148px auto no-repeat,
    var(--turquoise);
}
.map-screen .map { padding-top: 82px; }
.map-screen .map-label { top: 98px; }

.screen:not(.map-screen):not(.ride-screen):not(.hero-screen) {
  background: var(--alemup-bg);
}

.app-shell .onboarding-section,
.app-shell .template-auth-page {
  min-height: inherit;
  height: 100%;
  overflow-y: auto;
  background: var(--alemup-surface);
}

.app-shell .template-auth-page {
  position: relative;
  overflow: hidden;
  background: rgba(var(--box-bg), 1);
}

.app-shell .template-auth-page .auth-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 118px;
  padding-top: 0;
  padding-bottom: 0;
  z-index: 2;
  background: transparent;
}

.app-shell .template-auth-page .auth-bg-image-box {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100% !important;
  background: rgba(var(--box-bg), 1);
}

.app-shell .template-auth-page .auth-bg-image {
  position: absolute;
  left: 0;
  right: 0;
  top: 45px;
  bottom: auto;
  height: 250px !important;
  background-size: 430px;
  background-position: center bottom;
  z-index: 0;
}

.app-shell .template-auth-page .auth-content-bg.auth-content-bg-bottom {
  position: absolute;
  left: 0;
  right: 0;
  top: 300px;
  bottom: 0;
  height: auto !important;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  border-radius: 20px 20px 0 0;
  z-index: 2;
  background: var(--alemup-surface) !important;
}

.app-shell .onboarding-section {
  position: relative;
  overflow: hidden;
}

.app-shell .onboarding-section .bottom-box.driver-bottom-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  transform: none;
}

.app-shell .onboarding-section .driver-main-slider .poster-image .image,
.app-shell .onboarding-section .driver-main-slider .poster-image .image-dark {
  height: min(500px, calc(100vh - 250px));
}

@media (min-width: 720px) {
  .app-shell .onboarding-section .driver-main-slider .poster-image .image,
  .app-shell .onboarding-section .driver-main-slider .poster-image .image-dark {
    height: 560px;
  }
}

.app-shell .onboarding-section .driver-onboarding-button {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 52px;
  margin-top: 24px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.app-shell .onboarding-section .driver-onboarding-button::after {
  display: none;
}

.template-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
}

.template-auth-page .btn.theme-btn {
  min-height: initial;
  border-radius: 6px;
  color: var(--alemup-surface);
  background-color: var(--alemup-primary);
}

.template-auth-page .dropdown .btn {
  width: auto;
  min-height: initial;
  color: rgba(var(--title-color), 1);
  background: var(--alemup-surface);
  box-shadow: none;
}

.country-code-static {
  width: 72px;
  flex: 0 0 72px;
  padding: 15px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--content-color), 1);
  background: rgba(var(--box-bg), 1);
  border: 1px solid transparent;
  box-shadow: 3px 7px 20px 0px rgba(var(--title-color), 0.03);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.template-auth-page .auth-form .form-group .form-control {
  min-height: initial;
  background-color: rgba(var(--box-bg), 1);
  border: 1px solid transparent;
  color: var(--alemup-text);
}

.template-auth-page .auth-form .form-group .form-control:focus {
  border-color: var(--alemup-primary);
  box-shadow: 0 0 0 3px rgba(var(--alemup-primary-rgb), .14);
}

@media (max-width: 600px) {
  .country-code-static {
    padding: calc(10px + 5 * (100vw - 320px) / 280);
    font-size: calc(14px + 2 * (100vw - 320px) / 280);
  }
}

.template-auth-page .auth-form .form-group .icon {
  left: 18px;
  right: auto;
  color: rgba(var(--content-color), 1);
  --Iconsax-Color: rgba(var(--content-color), 1);
  --Iconsax-Size: 22px;
}

.template-field-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 24px;
  height: 24px;
  color: rgba(var(--content-color), 1);
  transform: translateY(-50%);
  pointer-events: none;
}

.template-field-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.template-field-icon > .fa-solid {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 14px;
  line-height: 1;
}

.template-auth-page .auth-form .form-group .form-control {
  padding-left: 58px;
}

.template-back {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--title-color), 1);
  background: var(--alemup-surface);
  box-shadow: 3px 7px 20px 0px rgba(var(--title-color), 0.08);
}

.template-back::before {
  content: "";
  width: 11px;
  height: 11px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(2px, -2px);
}

.sms-page .template-back {
  transform: translateY(-12px);
}

.template-input-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: rgba(var(--content-color), 1);
}

.link-button {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
}

.registration-page {
  min-height: 100%;
  height: 100%;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(var(--box-bg), 1);
  scrollbar-width: none;
}

.registration-page::-webkit-scrollbar {
  display: none;
}

.registration-page .auth-header {
  position: relative;
  flex: 0 0 auto;
  top: 0;
  z-index: 10;
  padding-top: 18px;
  padding-bottom: 18px !important;
  background: var(--alemup-surface) !important;
}

.registration-page .auth-header .custom-container {
  width: 100%;
}

.registration-page .auth-header .header-panel {
  width: 100%;
  min-height: 46px;
  height: 46px;
  position: relative;
}

.registration-page .auth-header .logo.alemup-logo {
  width: 168px;
  height: auto !important;
  top: 50%;
  transform: translate(-50%, -50%);
}

.registration-page .auth-content-bg {
  min-height: auto;
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-top: 20px !important;
  padding-bottom: 18px;
  background: rgba(var(--box-bg), 1);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.registration-page .auth-content-bg::-webkit-scrollbar {
  display: none;
}

.registration-page .auth-content-bg .auth-title {
  margin-top: 24px;
  padding-top: 0;
}

.registration-page .auth-content-bg .auth-title h2 {
  color: var(--alemup-navy);
}

.registration-page .auth-form .form-group .form-control {
  padding-left: 58px;
  background-color: var(--alemup-surface);
  border: 1px solid transparent;
  color: var(--alemup-text);
  box-shadow: 3px 7px 20px 0px rgba(var(--title-color), 0.03);
}

.registration-page .auth-form .form-group .form-control:focus {
  border-color: var(--alemup-primary);
  box-shadow: 0 0 0 3px rgba(var(--alemup-primary-rgb), .14);
}

.registration-lines {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.registration-lines li {
  height: 4px;
  border-radius: 999px;
  background: rgba(var(--alemup-primary-rgb), .14);
}

.registration-lines li.active {
  background: var(--alemup-primary);
}

.registration-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.registration-upload {
  min-height: 132px;
  padding: 14px;
  border-radius: 8px;
  display: grid;
  align-content: center;
  gap: 8px;
  background: var(--alemup-surface);
  box-shadow: 3px 7px 20px 0px rgba(var(--title-color), 0.03);
  position: relative;
}

.registration-upload::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(var(--content-color), .3);
  border-radius: 6px;
  pointer-events: none;
}

.registration-upload strong,
.registration-upload span,
.registration-upload .upload-actions {
  position: relative;
  z-index: 1;
}

.upload-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.upload-action {
  min-height: 34px;
  padding: 0 8px;
  border-radius: 7px;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
  font-size: 12px;
  font-weight: 700;
}

.registration-fixed-btn {
  position: relative;
  flex: 0 0 auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -8px 24px rgba(var(--alemup-navy-rgb), .06);
  transform: none;
  z-index: 8;
}

.registration-fixed-btn .auth-btn {
  min-height: 54px;
  border-radius: 14px;
}

.registration-fixed-btn .auth-btn:disabled,
.registration-fixed-btn .auth-btn.disabled {
  opacity: 1;
  color: var(--alemup-surface);
  background: var(--alemup-disabled) !important;
  border-color: var(--alemup-disabled) !important;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 380px) {
  .registration-upload-grid,
  .upload-actions {
    grid-template-columns: 1fr;
  }
}

.compact-personal-page .auth-header {
  position: relative;
}

.compact-registration-content {
  padding-bottom: 18px !important;
}

.compact-page-title {
  margin-top: 16px !important;
  margin-bottom: 14px;
}

.compact-page-title h2 {
  margin-bottom: 6px;
  font-size: 26px;
}

.compact-page-title h6 {
  margin: 0;
  color: var(--alemup-text-secondary);
  font-size: 15px;
  line-height: 1.25;
}

.compact-personal-form {
  display: grid;
  gap: 11px;
}

.compact-card {
  padding: 12px;
  border-radius: 14px;
  background: var(--alemup-surface);
  border: 1px solid rgba(var(--alemup-border-rgb), .86);
  box-shadow: 0 6px 20px rgba(var(--alemup-navy-rgb), .05);
}

.compact-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.compact-card-header h3 {
  flex: 1;
  margin: 0;
  color: var(--alemup-navy);
  font-size: var(--type-card-title-size);
  font-weight: var(--type-semibold);
}

.card-icon,
.privacy-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--alemup-surface);
  background: var(--alemup-primary);
  box-shadow: 0 8px 18px rgba(var(--alemup-primary-rgb), .22);
}

.card-icon svg,
.privacy-icon svg {
  width: 21px;
  height: 21px;
}

.card-icon > .fa-solid,
.privacy-icon > .fa-solid {
  font-size: 17px;
  line-height: 1;
}

.compact-field-row {
  min-height: 56px;
  margin: 0 0 7px;
  padding: 7px 11px;
  border: 1px solid var(--alemup-border);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  background: var(--alemup-surface);
}

.compact-field-row:last-child {
  margin-bottom: 0;
}

.compact-field-row:focus-within {
  border-color: var(--alemup-primary);
  box-shadow: 0 0 0 3px rgba(var(--alemup-primary-rgb), .12);
}

.row-icon {
  color: var(--alemup-text-secondary);
}

.row-icon svg {
  width: 24px;
  height: 24px;
}

.row-icon > .fa-solid {
  width: 24px;
  color: currentColor;
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.field-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.field-copy span {
  color: var(--alemup-navy);
  font-size: 13px;
  font-weight: var(--type-medium);
  line-height: 1.1;
}

.field-copy input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--alemup-text);
  background: transparent;
  font-size: var(--type-body-size);
  font-weight: var(--type-medium);
  line-height: 1.2;
}

.field-copy input::placeholder {
  color: var(--alemup-text-secondary);
}

.vehicle-field-row {
  width: 100%;
  text-align: left;
}

.vehicle-field-row .field-copy strong {
  color: var(--alemup-text-secondary);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular);
  line-height: 1.2;
}

.vehicle-field-row.is-filled .field-copy strong {
  color: var(--alemup-text);
  font-weight: var(--type-medium);
}

.compact-edit-action {
  min-height: 30px;
  padding: 0;
  border: 0;
  color: var(--alemup-primary);
  background: transparent;
  font-size: var(--type-small-size);
  font-weight: var(--type-semibold);
  white-space: nowrap;
}

.compact-edit-action::after {
  content: " ✎";
}

.row-chevron {
  color: var(--alemup-text-secondary);
  font-size: 14px;
  line-height: 1;
}

.upload-status {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--alemup-success);
  background: rgba(var(--alemup-success-rgb), .12);
  font-size: var(--type-caption-size);
  font-weight: var(--type-medium);
}

.document-tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.document-tile,
.document-row-upload {
  position: relative;
  border: 1px solid var(--alemup-border);
  border-radius: 12px;
  background: var(--alemup-surface);
  color: var(--alemup-text);
  text-align: left;
}

.document-tile {
  min-height: 118px;
  padding: 10px;
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.document-tile-title,
.document-row-upload strong {
  color: var(--alemup-navy);
  font-size: var(--type-small-size);
  font-weight: var(--type-semibold);
  line-height: 1.15;
}

.document-tile-caption,
.document-row-upload small {
  color: var(--alemup-text-secondary);
  font-size: var(--type-small-size);
  font-weight: var(--type-regular);
  line-height: 1.2;
}

.document-illustration {
  width: 54px;
  height: 38px;
  border-radius: 8px;
  display: block;
  background:
    linear-gradient(90deg, rgba(var(--alemup-primary-rgb), .18) 0 34%, transparent 34%),
    linear-gradient(var(--alemup-border), var(--alemup-border)) 66% 35% / 20px 2px no-repeat,
    linear-gradient(var(--alemup-border), var(--alemup-border)) 66% 55% / 26px 2px no-repeat,
    linear-gradient(var(--alemup-border), var(--alemup-border)) 66% 75% / 18px 2px no-repeat,
    rgba(var(--alemup-primary-rgb), .08);
}

.document-illustration.small {
  width: 58px;
  height: 42px;
  flex: 0 0 58px;
}

.document-plus {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .12);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.document-row-upload {
  width: 100%;
  min-height: 76px;
  padding: 12px 56px 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.document-row-upload span:not(.document-plus) {
  display: grid;
  gap: 4px;
}

.vehicle-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.vehicle-photo-tile {
  min-width: 0;
  padding: 6px 4px 5px;
  border: 1px solid var(--alemup-border);
  border-radius: 12px;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--alemup-text);
  background: var(--alemup-surface);
  text-align: center;
}

.vehicle-photo-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1.06;
  min-height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.vehicle-photo-preview svg {
  width: 58px;
  max-width: 94%;
  height: auto;
  color: var(--alemup-primary);
  display: block;
}

.vehicle-photo-image {
  width: 100%;
  max-width: 92%;
  height: 58px;
  object-fit: contain;
  display: block;
}

.vehicle-photo-label {
  color: var(--alemup-navy);
  font-size: var(--type-caption-size);
  font-weight: var(--type-semibold);
  line-height: 1.15;
}

.vehicle-photo-tile small {
  color: var(--alemup-text-secondary);
  font-size: 11px;
  font-weight: var(--type-regular);
  line-height: 1.1;
}

.vehicle-photo-tile.uploaded {
  border-color: rgba(var(--alemup-success-rgb), .35);
}

.vehicle-photo-tile.uploaded .vehicle-photo-preview {
  background:
    linear-gradient(135deg, rgba(var(--alemup-navy-rgb), .72), rgba(var(--alemup-primary-rgb), .24)),
    linear-gradient(var(--alemup-surface), var(--alemup-surface)) center 42% / 34px 3px no-repeat,
    linear-gradient(var(--alemup-surface), var(--alemup-surface)) center 57% / 42px 3px no-repeat,
    rgba(var(--alemup-primary-rgb), .18);
}

.vehicle-photo-tile.uploaded .vehicle-photo-preview::before,
.vehicle-photo-tile.uploaded .vehicle-photo-preview::after {
  display: none;
}

.vehicle-photo-tile.uploaded small {
  color: var(--alemup-primary);
  font-weight: var(--type-semibold);
}

.vehicle-selector-sheet .upload-source-btn {
  justify-content: space-between;
}

.vehicle-selector-sheet .upload-source-btn span {
  width: auto;
  height: auto;
  border-radius: 0;
  color: var(--alemup-text);
  background: transparent;
}

.vehicle-selector-sheet .upload-source-btn.is-active {
  color: var(--alemup-primary);
}

.vehicle-selector-sheet .upload-source-btn.is-active::after {
  content: "✓";
  color: var(--alemup-primary);
  font-weight: var(--type-semibold);
}

.document-tile.uploaded,
.document-row-upload.uploaded {
  border-color: rgba(var(--alemup-success-rgb), .35);
}

.document-tile.uploaded .document-illustration,
.document-row-upload.uploaded .document-illustration {
  width: 100%;
  height: 62px;
  border-radius: 9px;
  background:
    linear-gradient(90deg, rgba(var(--alemup-navy-rgb), .72), rgba(var(--alemup-primary-rgb), .22)),
    linear-gradient(var(--alemup-surface), var(--alemup-surface)) 60% 35% / 40px 3px no-repeat,
    linear-gradient(var(--alemup-surface), var(--alemup-surface)) 60% 52% / 52px 3px no-repeat,
    rgba(var(--alemup-primary-rgb), .18);
}

.document-row-upload.uploaded .document-illustration {
  width: 90px;
  height: 56px;
  flex: 0 0 90px;
}

.document-tile.uploaded .document-tile-caption,
.document-row-upload.uploaded small {
  color: var(--alemup-primary);
  font-weight: var(--type-semibold);
}

.document-tile.uploaded .document-plus,
.document-row-upload.uploaded .document-plus {
  display: none;
}

.privacy-notice {
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--alemup-primary-rgb), .18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--alemup-navy);
  background: rgba(var(--alemup-primary-rgb), .07);
}

.privacy-notice strong,
.privacy-notice small {
  display: block;
}

.privacy-notice strong {
  font-size: var(--type-small-size);
  font-weight: var(--type-semibold);
}

.privacy-notice small {
  color: var(--alemup-text-secondary);
  font-size: var(--type-caption-size);
  font-weight: var(--type-regular);
}

.review-card-list {
  display: grid;
  gap: 11px;
}

.review-summary-card {
  min-height: 65px;
  padding: 7px 11px;
  border-radius: 12px;
  border-color: var(--alemup-border);
  box-shadow: none;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
}

.review-summary-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--alemup-text-secondary);
  background: transparent;
}

.review-summary-icon svg {
  width: 24px;
  height: 24px;
}

.review-summary-icon > .fa-solid {
  font-size: 14px;
  line-height: 1;
}

.review-summary-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.review-summary-copy h3 {
  margin: 0;
}

.review-status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--alemup-text-secondary);
}

.review-status .checkmark {
  color: var(--alemup-success);
  font-weight: var(--type-bold);
}

.review-edit-icon {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  color: var(--alemup-primary);
  background: transparent;
}

.review-edit-icon svg {
  width: 22px;
  height: 22px;
}

.review-edit-icon > .fa-solid {
  font-size: 14px;
  line-height: 1;
}

.review-privacy-notice {
  margin-top: 2px;
}

.moderation-lines {
  grid-template-columns: repeat(5, 1fr);
}

.moderation-title p {
  margin: 12px 0 0;
  color: var(--alemup-text-secondary);
}

.moderation-content {
  display: grid;
  gap: 11px;
}

.moderation-status-card {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.moderation-status-illustration {
  min-width: 0;
  color: var(--alemup-primary);
}

.moderation-status-illustration img,
.moderation-status-illustration svg {
  width: 100%;
  height: auto;
  display: block;
}

.moderation-status-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: var(--alemup-text-secondary);
}

.moderation-status-copy h3,
.moderation-status-copy p {
  margin: 0;
}

.moderation-status-copy .status-badge {
  width: max-content;
}

.moderation-timeline-card {
  display: grid;
  gap: 0;
}

.moderation-step {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  padding-bottom: 16px;
}

.moderation-step:last-child {
  padding-bottom: 0;
}

.moderation-step-icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--alemup-text-secondary);
  background: var(--alemup-border);
}

.moderation-step-icon svg {
  width: 20px;
  height: 20px;
}

.moderation-step-icon > .fa-solid {
  font-size: 18px;
  line-height: 1;
}

.moderation-step.completed .moderation-step-icon,
.moderation-step.current .moderation-step-icon {
  color: var(--alemup-surface);
  background: var(--alemup-primary);
  box-shadow: 0 8px 18px rgba(var(--alemup-primary-rgb), .22);
}

.moderation-step-line {
  position: absolute;
  top: 38px;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: var(--alemup-border);
}

.moderation-step.completed .moderation-step-line {
  background: var(--alemup-primary);
}

.moderation-step:last-child .moderation-step-line {
  display: none;
}

.moderation-step-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: var(--alemup-text-secondary);
}

.moderation-step-copy h3,
.moderation-step-copy p {
  margin: 0;
}

.moderation-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.moderation-step-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--alemup-text-secondary);
  white-space: nowrap;
}

.moderation-step-meta .checkmark {
  color: var(--alemup-success);
  font-weight: var(--type-bold);
}

.moderation-step .status-badge {
  width: max-content;
}

.moderation-info-notice {
  align-items: flex-start;
}

.pending-actions-list {
  display: grid;
  gap: 8px;
}

.pending-action-row {
  width: 100%;
  text-align: left;
  background: var(--alemup-surface);
}

.pending-action-row .review-summary-copy span {
  color: var(--alemup-text-secondary);
}

.pending-action-state {
  color: var(--alemup-text-secondary);
  justify-self: center;
}

@media (max-width: 380px) {
  .moderation-status-card {
    grid-template-columns: 1fr;
  }

  .moderation-status-illustration {
    max-width: 210px;
    margin: 0 auto;
  }
}

.upload-sheet {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: end;
  background: rgba(var(--alemup-navy-rgb), .34);
}

.upload-sheet-panel {
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  background: var(--alemup-surface);
  box-shadow: 0 -12px 30px rgba(var(--alemup-navy-rgb), .14);
}

.upload-sheet-panel h3 {
  margin-bottom: 12px;
  color: var(--alemup-navy);
  font-size: var(--type-card-title-size);
  font-weight: var(--type-semibold);
}

.language-panel {
  display: grid;
  gap: 12px;
}

.language-option-list {
  display: grid;
  gap: 10px;
}

.language-option {
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--alemup-border);
  border-radius: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  color: var(--alemup-navy);
  background: var(--alemup-surface);
  text-align: left;
  font-size: var(--type-body-size);
  font-weight: var(--type-semibold);
}

.language-option i {
  display: none;
  color: var(--alemup-primary);
  font-size: 16px;
  line-height: 1;
}

.language-option.active {
  border-color: rgba(var(--alemup-primary-rgb), .45);
  background: rgba(var(--alemup-primary-rgb), .08);
}

.language-option.active i {
  display: block;
}

.upload-source-btn {
  width: 100%;
  min-height: 52px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--alemup-text);
  background: transparent;
  font-size: var(--type-body-size);
  font-weight: var(--type-medium);
  text-align: left;
}

.upload-source-btn span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .1);
}

.upload-source-btn span svg {
  width: 20px;
  height: 20px;
  display: block;
}

.upload-source-btn span > .fa-solid {
  font-size: 18px;
  line-height: 1;
}

.upload-source-cancel {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border-radius: 12px;
  color: var(--alemup-primary);
  background: rgba(var(--alemup-primary-rgb), .08);
  font-size: 15px;
  font-weight: var(--type-semibold);
}

.auth-content-bg .auth-title h2,
.compact-page-title h2 {
  font-size: var(--type-screen-title-size);
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

.auth-content-bg .auth-title h6,
.content-color,
.muted {
  font-size: var(--type-small-size);
  font-weight: var(--type-regular);
  line-height: var(--line-caption);
}

.auth-form .form-group .form-label,
.compact-field-row .field-copy > span {
  font-size: 13px;
  font-weight: var(--type-medium);
  line-height: var(--line-caption);
}

.auth-form .form-group .form-control,
.country-code-static,
.compact-field-row input {
  font-size: var(--type-body-size);
  font-weight: var(--type-medium);
  line-height: var(--line-body);
}

.auth-form .form-group .form-control::placeholder,
.compact-field-row input::placeholder {
  font-weight: var(--type-regular);
}

.btn,
.theme-btn,
.auth-btn {
  font-size: 14px;
  font-weight: var(--type-semibold);
  line-height: var(--line-title);
  letter-spacing: 0;
}

.btn.secondary,
.btn.ghost,
.link-button {
  font-size: 14px;
  font-weight: var(--type-semibold);
}

.bottom-nav .nav-item {
  font-size: var(--type-caption-size);
  font-weight: var(--type-medium);
}

.money,
.fare,
.balance-details h4 {
  font-size: 28px;
  font-weight: var(--type-bold);
  line-height: var(--line-title);
}

@media (max-width: 359px) {
  .document-tile-grid {
    grid-template-columns: 1fr;
  }
}

/* Final typography contract: keep the template from overriding AlemUP tokens. */
html,
body {
  font-family: var(--alemup-font-family) !important;
  font-size: var(--type-body-size) !important;
  font-weight: var(--type-regular) !important;
  line-height: var(--line-body) !important;
  letter-spacing: 0 !important;
}

h1,
.type-display {
  font-size: var(--type-display-size) !important;
  font-weight: var(--type-bold) !important;
  line-height: var(--line-title) !important;
}

h2,
.type-screen-title,
.auth-content-bg .auth-title h2,
.compact-page-title h2 {
  font-size: var(--type-screen-title-size) !important;
  font-weight: var(--type-bold) !important;
  line-height: var(--line-title) !important;
}

h3,
.type-section-title {
  font-size: var(--type-section-title-size) !important;
  font-weight: var(--type-bold) !important;
  line-height: var(--line-title) !important;
}

h4,
.type-card-title,
.compact-card-header h3 {
  font-size: var(--type-card-title-size) !important;
  font-weight: var(--type-semibold) !important;
  line-height: var(--line-title) !important;
}

p,
.type-body {
  font-size: var(--type-body-size) !important;
  font-weight: var(--type-regular) !important;
  line-height: var(--line-body) !important;
}

.type-body-medium {
  font-size: var(--type-body-size) !important;
  font-weight: var(--type-medium) !important;
  line-height: var(--line-body) !important;
}

.type-small,
.auth-content-bg .auth-title h6,
.content-color,
.muted,
.document-tile-caption,
.document-row-upload small {
  font-size: var(--type-small-size) !important;
  font-weight: var(--type-regular) !important;
  line-height: var(--line-caption) !important;
}

.type-caption,
.status-badge,
.upload-status,
.privacy-notice small {
  font-size: var(--type-caption-size) !important;
  font-weight: var(--type-regular) !important;
  line-height: var(--line-caption) !important;
}

button,
.btn,
.theme-btn,
.auth-btn,
.registration-fixed-btn {
  font-weight: var(--type-semibold) !important;
  line-height: var(--line-title) !important;
  letter-spacing: 0 !important;
}

.alemup-button-text {
  font-size: 14px !important;
  font-weight: var(--type-semibold) !important;
  line-height: var(--line-title) !important;
  letter-spacing: 0 !important;
}

.btn.secondary,
.btn.ghost,
.link-button,
.upload-source-cancel {
  font-size: 14px !important;
  font-weight: var(--type-semibold) !important;
}

label,
.auth-form .form-group .form-label,
.compact-field-row .field-copy > span {
  font-size: 13px !important;
  font-weight: var(--type-medium) !important;
  line-height: var(--line-caption) !important;
}

input,
textarea,
select,
.form-control,
.auth-form .form-group .form-control,
.country-code-static,
.compact-field-row input {
  font-size: var(--type-body-size) !important;
  font-weight: var(--type-medium) !important;
  line-height: var(--line-body) !important;
  letter-spacing: 0 !important;
}

input::placeholder,
textarea::placeholder,
.form-control::placeholder,
.auth-form .form-group .form-control::placeholder,
.compact-field-row input::placeholder {
  font-size: var(--type-body-size) !important;
  font-weight: var(--type-regular) !important;
}

.bottom-nav .nav-item {
  font-size: var(--type-caption-size) !important;
  font-weight: var(--type-medium) !important;
}

.money,
.fare,
.balance-details h4 {
  font-size: 28px !important;
  font-weight: var(--type-bold) !important;
  line-height: var(--line-title) !important;
}
