/* InRide24 auth + onboarding — matches ambulance / outstation */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

body.inride24-auth,
body.inride24-auth * { font-family: "DM Sans", sans-serif !important; }
body.inride24-auth { background: #fff !important; margin: 0; }
body.inride24-auth .customer-bnav,
body.inride24-auth .ir-global-header,
body.inride24-auth .main-theme-header,
body.inride24-auth .navbar-menu,
body.inride24-auth .sidebar-offcanvas { display: none !important; }

body.inride24-auth .ir-app-version {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  width: min(100%, 430px);
  z-index: 50;
  color: #888;
  pointer-events: none;
}
body.inride24-auth .ir-app-version--side { display: none !important; }

/* Splash */
.ir-landing-splash {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(120% 80% at 100% -10%, rgba(255,208,0,.38), transparent 50%),
    linear-gradient(180deg, #fff8d6 0%, #ffffff 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .4s ease, visibility .4s ease;
}
.ir-landing-splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.ir-landing-splash .ir-logo {
  height: 78px; width: auto; max-width: 260px; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 10px 16px;
  box-shadow: none;
}
.ir-landing-splash .mark { display: none; }
.ir-landing-splash .tag { margin-top: 16px; color: #111; font-size: 13px; font-weight: 800; letter-spacing: .2px; }
.ir-landing-splash .bar { margin-top: 28px; width: 56px; height: 3px; background: rgba(0,0,0,.08); border-radius: 4px; overflow: hidden; }
.ir-landing-splash .fill { height: 100%; background: #ffd000; animation: irSplash 1.4s ease infinite; }
@keyframes irSplash { 0% { width: 12%; } 100% { width: 92%; } }

/* Onboarding */
.ir-onboard {
  max-width: 430px; margin: 0 auto; min-height: 100vh; min-height: 100dvh;
  background: #f4f5f7; display: flex; flex-direction: column; position: relative;
}
.ir-onboard .swiper { flex: 1; width: 100%; overflow: hidden; }
.ir-onboard .swiper-slide { width: 100% !important; overflow-y: auto; }

.ir-slide {
  min-height: calc(100vh - 168px); min-height: calc(100dvh - 168px);
  display: flex; flex-direction: column;
  padding: 12px 14px 8px;
}
.ir-hero {
  border-radius: 12px; padding: 18px 16px 16px; color: #111; position: relative; overflow: hidden;
  min-height: 168px;
  box-shadow: none;
}
.ir-hero:after {
  content: ""; position: absolute; right: -28px; top: -32px; width: 130px; height: 130px;
  border-radius: 50%; background: rgba(255,255,255,.12);
}
.ir-hero-ride { background: radial-gradient(120% 80% at 100% -10%, rgba(255,208,0,.38), transparent 50%), linear-gradient(180deg, #fff8d6 0%, #ffffff 100%); }
.ir-hero-city { background: radial-gradient(120% 80% at 0% -10%, rgba(255,208,0,.38), transparent 50%), linear-gradient(180deg, #fff8d6 0%, #ffffff 100%); }
.ir-hero-travel { background: radial-gradient(120% 80% at 100% -10%, rgba(255,208,0,.38), transparent 50%), linear-gradient(180deg, #fff8d6 0%, #ffffff 100%); }
.ir-hero-inner { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.ir-pulse {
  width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.ir-pulse i { display: flex; align-items: center; justify-content: center; line-height: 1; }
.ir-hero-inner b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.ir-hero-inner span { display: block; font-size: 13px; opacity: .92; margin-top: 3px; font-weight: 500; }
.ir-hero-live {
  margin-left: auto; width: 28px; height: 28px; padding: 3px;
  background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.ir-hero-live img { width: 18px; height: 18px; object-fit: contain; display: block; }
.ir-hero-travel .ir-hero-live { color: #0b0b0d; }
.ir-trust {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  margin-top: 16px; position: relative; z-index: 1;
}
.ir-trust > div {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.ir-trust i {
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; margin-bottom: 4px; line-height: 1; width: 100%;
}
.ir-trust em { font-style: normal; font-size: 11px; font-weight: 700; line-height: 1.25; opacity: .95; }

.ir-copy { padding: 16px 4px 8px; text-align: left; flex: 1; }
.ir-copy h1, .ir-copy h2 {
  margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -.5px; color: #111; line-height: 1.2;
}
.ir-copy p { margin: 0; font-size: 15px; line-height: 1.55; color: #555; }
.ir-copy .ir-more { margin-top: 10px; font-size: 14px; line-height: 1.55; color: #666; }
.ir-points { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ir-points li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; font-weight: 600; color: #111; line-height: 1.4;
  background: transparent; border: 0; border-radius: 0; padding: 0;
  box-shadow: none;
}
.ir-points i {
  color: #ffd000; font-size: 16px; flex: 0 0 22px; width: 22px; margin-top: 0;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}

.ob-foot {
  padding: 8px 14px calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(244,245,247,0), #f4f5f7 24%);
}
.ir-dots { display: flex; justify-content: center; gap: 7px; margin-bottom: 14px; }
.ir-dot { width: 8px; height: 8px; border-radius: 8px; background: #e0e0e0; }
.ir-dot.active { width: 22px; background: #ffd000; }
.ob-next {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 50px; border: 0; border-radius: 10px;
  background: #ffd000; color: #0b0b0d;
  font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer;
  box-shadow: none;
}
.ob-skip { display: block; text-align: center; margin-top: 12px; color: #888; font-size: 13px; font-weight: 700; text-decoration: none; }
.ob-alt { display: none; margin-top: 10px; }
.ob-alt.show { display: block; }
.ob-alt a {
  display: flex; align-items: center; justify-content: center; height: 50px;
  border: 1.5px solid #ffe08a; border-radius: 16px; color: #ffd000; font-weight: 800; text-decoration: none; background: #fff;
}

/* Auth screens */
.ir-auth {
  max-width: 430px; margin: 0 auto; min-height: 100vh; min-height: 100dvh;
  background: #f4f5f7 !important;
  display: flex; flex-direction: column; gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.ir-auth-hero {
  background: linear-gradient(90deg, #ffffff 0%, #fff8d6 100%);
  margin: 0; padding: 16px 16px 18px;
  color: #111; border-radius: 14px;
  box-shadow: none;
  position: relative; overflow: hidden;
  border: 1px solid #ececec;
}
.ir-auth-hero:after { display: none; }
.ir-auth-hero .ir-logo {
  height: 40px; width: auto; max-width: 180px; object-fit: contain;
  background: #fff; border-radius: 10px; padding: 6px 10px;
  border: 1px solid #f0f0f0; position: relative; z-index: 1;
}
.ir-auth-hero .mark { display: none; }
.ir-auth-hero h1 { margin: 14px 0 4px; font-size: 24px; font-weight: 800; letter-spacing: -.4px; position: relative; z-index: 1; }
.ir-auth-hero p { margin: 0; font-size: 14px; color: #3d3d3d; position: relative; z-index: 1; }
.ir-auth-trust {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  margin-top: 14px; position: relative; z-index: 1;
}
.ir-auth-trust > div {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.ir-auth-trust i {
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; margin-bottom: 4px; line-height: 1; width: 100%;
}
.ir-auth-trust em { font-style: normal; font-size: 11px; font-weight: 700; line-height: 1.25; opacity: .95; }
.ir-auth-brand { text-align: center; margin: 6px 0 12px; }
.ir-auth-brand img.ir-logo { height: 52px; width: auto; max-width: 200px; object-fit: contain; margin: 0 auto; background: #fff; border-radius: 14px; padding: 8px 12px; }
.ir-auth-card {
  background: #fff; border: 1px solid #ececec; border-radius: 14px;
  box-shadow: none; padding: 18px 16px; margin: 0; color: #111;
}
.ir-auth-title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.3px; color: #111; }
.ir-auth-sub { margin: 6px 0 16px; font-size: 14px; color: #777; line-height: 1.45; }
.ir-auth-label {
  display: block; font-size: 11px; font-weight: 800; color: #888;
  letter-spacing: .4px; text-transform: uppercase; margin: 0 0 6px;
}
.ir-auth-field {
  display: flex; align-items: center; gap: 8px; min-height: 50px;
  border: 1px solid #e6e6e6; border-radius: 10px; background:#fafafa; padding: 0 14px; margin-bottom: 14px;
}
.ir-auth-field:focus-within { border-color: #ffd000; background:#fffce8; box-shadow: none; }
.ir-auth-field span { color: #888; font-size: 14px; font-weight: 800; white-space: nowrap; }
.ir-auth-field input, .ir-auth-field select, .ir-auth-field textarea {
  border: 0; outline: 0; background: transparent; width: 100%; font-size: 15px; font-weight: 700; color: #111;
}
.ir-auth-field textarea { min-height: 78px; padding: 12px 0; font-weight: 600; }
.ir-auth-primary,.ir-primary {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; border: 0; border-radius: 10px;
  background: #ffd000; color: #0b0b0d !important; font-size: 16px; font-weight: 800;
  text-decoration: none; cursor: pointer; box-shadow: none;
}
.ir-auth-secondary {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 48px;
  border: 1px solid #e6e6e6; border-radius: 10px; background: #fff; color: #111;
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; margin-top: 10px;
}
.ir-auth-link { color: #ffd000; font-size: 13px; font-weight: 800; text-decoration: none; }
.ir-auth-muted { font-size: 13px; color: #6f7378; text-align: center; margin: 4px 0 0; line-height: 1.55; }
.ir-auth-muted a { color: #ffd000; font-weight: 800; text-decoration: none; }
.ir-auth-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: #999; font-size: 12px; font-weight: 700; }
.ir-auth-divider:before, .ir-auth-divider:after { content: ""; flex: 1; height: 1px; background: #eee; }
.ir-auth-back {
  display: inline-flex; align-items: center; gap: 6px; width: 40px; height: 40px;
  border-radius: 50%; background: #fff; color: #111; font-size: 18px; font-weight: 700;
  text-decoration: none; margin-bottom: 10px; justify-content: center;
  box-shadow: none; border: 1px solid #ececec;
}
.ir-auth-back i { font-size: 18px; }
.ir-auth-note { margin: 0 0 14px; background: #fff8d6; border: 1px solid #ffe9a0; border-radius: 14px; padding: 12px 14px; font-size: 13px; color: #754321; line-height: 1.45; }
.ir-auth-tabs {
  display: flex; gap: 8px; background: #f6f6f6; padding: 4px; border-radius: 14px; margin-bottom: 14px;
}
.ir-auth-tabs a {
  flex: 1; min-height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #666; text-decoration: none;
}
.ir-auth-tabs a.on { background:#fff; color: #111; box-shadow: none; border: 1px solid #ececec; }
.ir-otp-boxes { display: flex; justify-content: center; gap: 10px; margin: 8px 0 18px; }
.ir-otp-box { width: 58px; height: 62px; border-radius: 14px; border: 1.5px solid #ececec; background: #f7f7f8; display: flex; align-items: center; justify-content: center; }
.ir-otp-box:focus-within { border-color: #ffd000; box-shadow: 0 0 0 4px rgba(255,208,0,.12); background: #fff; }
.ir-otp-box input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; text-align: center; font-size: 22px; font-weight: 800; }
.ir-auth-error { color: #b42318; background: #fff1f0; border: 1px solid #ffd6d3; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 10px; text-align: left; font-weight: 600; }
.ir-auth-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #666; margin: 4px 0 14px; font-weight: 600; line-height: 1.4; }
.ir-auth-check input { margin-top: 3px; }

/* Become driver */
.drv-ob { max-width: 430px; margin: 0 auto; min-height: 100vh; background: #f4f5f7; display: flex; flex-direction: column; }
.ob-hdr { background: radial-gradient(120% 80% at 100% -10%, rgba(255,208,0,.38), transparent 50%), linear-gradient(180deg, #fff8d6 0%, #ffffff 100%); padding: 22px 18px 18px; color: #111; }
.ob-hdr h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.ob-hdr p { margin: 6px 0 0; font-size: 13px; opacity: .9; }
.progress { height: 8px; border-radius: 8px; background: rgba(255,255,255,.22); overflow: hidden; margin-top: 14px; }
.progress i { display: block; height: 100%; width: 50%; background: #fff; }
.step-label { font-size: 12px; opacity: .8; margin-top: 6px; }
.ob-body { flex: 1; padding: 16px 16px 90px; display: flex; flex-direction: column; gap: 12px; }
.help { font-size: 13px; color: #6f7378; background: #fff; border-radius: 14px; padding: 12px 14px; border: 1px solid #eee; line-height: 1.5; }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.doc-btn { width: 100%; background: transparent; border: 0; padding: 0; cursor: pointer; }
.doc-card { background: #fff; border-radius: 16px; padding: 16px 10px; border: 1.5px solid #eee; text-align: center; }
.doc-card.done { border-color: #ffd000; background: #fffce8; }
.dc-icon { width: 36px; height: 36px; border-radius: 10px; background: #fff8d6; color: #ffd000; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.dc-name { font-size: 13px; font-weight: 800; }
.dc-status { font-size: 11px; color: #888; margin-top: 4px; font-weight: 700; }
.dc-status.done { color: #ffd000; }
.doc-upload { width: 100%; border-radius: 16px; border: 1.5px dashed #ffe08a; background: #fff; padding: 16px; text-align: center; }
.doc-upload.done { border-style: solid; border-color: #ffd000; background: #fffce8; }
.doc-label { font-size: 14px; font-weight: 800; }
.selfie-status { font-size: 12px; font-weight: 700; color: #888; }
.selfie-status.done { color: #ffd000; }
.btnx { width: 100%; height: 52px; border: 0; border-radius: 16px; background: #ffd000; color: #0b0b0d; font-weight: 800; font-size: 16px; }
.btnx:disabled { opacity: .55; }
.fixed { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 398px; margin: 0 auto; }
#Show_Errors_987 { display: none; font-size: 13px; color: #e43b3b; background: #fff5f3; border: 1px solid #f0d4ce; border-radius: 12px; padding: 10px 12px; }
#Show_Errors_987:not(:empty) { display: block; }
#uni_loader_prog_status { display: none; position: fixed; inset: 0; z-index: 10050; background: rgba(17,17,17,.5); }
.drv-upload-overlay-inner { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 20px; }
.drv-upload-card { width: 100%; max-width: 300px; background: #fff; border-radius: 16px; padding: 22px 18px; text-align: center; }
.drv-upload-track { height: 12px; border-radius: 999px; background: #ececec; overflow: hidden; }
#progress_value_sc { height: 100%; width: 0; background: linear-gradient(90deg,#ffd000,#ffe14a); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.ir-market{
  max-width:430px;margin:0 auto;min-height:100dvh;background:#fff;
  padding:0 0 max(0px,env(safe-area-inset-bottom));
  box-sizing:border-box
}
.ir-market-nav{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:max(10px,env(safe-area-inset-top)) 18px 12px;
  background:#fff
}
.ir-market-nav .ir-logo{height:34px;width:auto;max-width:150px;object-fit:contain}
.ir-market-login{
  font-size:13px;font-weight:700;color:#111;text-decoration:none;
  border:1px solid #e6e6e6;background:#fff;border-radius:8px;padding:8px 12px
}
.ir-market-hero{padding:8px 18px 28px;background:#fff}
.ir-market-hero h1{
  margin:8px 0 12px;font-size:30px;line-height:1.12;letter-spacing:-.7px;
  font-weight:800;color:#111
}
.ir-kicker{margin:0;font-size:11px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:#8a5a00}
.ir-lead{margin:0 0 20px;font-size:15px;line-height:1.55;color:#5c5c5c;font-weight:400}
.ir-market-cta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}
.ir-market-cta .ir-primary,.ir-market-cta .ir-auth-secondary{margin:0;min-height:48px;height:48px;text-align:center;border-radius:10px}
.ir-market-visual{display:block;border-radius:12px;overflow:hidden;background:#f4f4f4}
.ir-market-visual img{display:block;width:100%;height:auto;aspect-ratio:2.05/1;object-fit:cover}

.ir-market-services{padding:28px 18px;background:#f7f7f7}
.ir-market-services h2,.ir-market-why h2{
  margin:0 0 16px;font-size:20px;font-weight:800;letter-spacing:-.3px;color:#111
}
.ir-market-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ir-market-svc{
  display:block;background:#fff;border:1px solid #ececec;border-radius:12px;
  padding:0;text-decoration:none;color:#111;overflow:hidden
}
.ir-market-svc img{width:100%;height:88px;object-fit:cover;display:block;background:#eee;border-radius:0}
.ir-market-svc-copy{padding:10px 10px 12px}
.ir-market-svc b{display:block;font-size:14px;font-weight:800;letter-spacing:-.2px}
.ir-market-svc span{display:block;font-size:12px;color:#6f7378;margin-top:2px;font-weight:400}

.ir-market-why{padding:28px 18px;background:#fff}
.ir-why{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px}
.ir-why li{display:flex;gap:12px;align-items:flex-start}
.ir-why i{
  flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#fff8d6;color:#111;
  display:flex;align-items:center;justify-content:center;font-size:16px;margin-top:1px
}
.ir-why b{display:block;font-size:15px;font-weight:700;color:#111;letter-spacing:-.2px}
.ir-why span{display:block;margin-top:3px;font-size:13px;line-height:1.45;color:#5c5c5c;font-weight:400}

.ir-market-safe{padding:28px 18px;background:#fff8d6}
.ir-market-safe h2{margin:8px 0 10px;font-size:24px;font-weight:800;letter-spacing:-.4px;color:#111}
.ir-market-safe-lead{margin:0 0 16px;font-size:14px;line-height:1.55;color:#3d3d3d;font-weight:400}
.ir-safe-list{list-style:none;margin:0;padding:0}
.ir-safe-list li{
  position:relative;padding:7px 0 7px 22px;font-size:14px;font-weight:600;color:#111
}
.ir-safe-list li:before{content:"✓";position:absolute;left:0;top:7px;color:#111;font-weight:800}

.ir-market-drive{padding:32px 18px;background:#111;color:#fff}
.ir-market-drive h2{margin:0 0 8px;font-size:24px;font-weight:800;letter-spacing:-.4px;color:#fff}
.ir-market-drive p{margin:0 0 18px;font-size:14px;line-height:1.5;color:rgba(255,255,255,.78);font-weight:400}
.ir-market-drive .ir-primary{margin:0;max-width:220px}

.ir-market-foot{padding:24px 18px 28px;background:#fff;border-top:1px solid #eee;text-align:left}
.ir-market-foot .ir-logo{height:28px;margin-bottom:10px;display:block}
.ir-foot-tag{margin:0 0 14px;font-size:13px;line-height:1.45;color:#6f7378;font-weight:400}
.ir-market-links{display:flex;flex-wrap:wrap;gap:10px 16px}
.ir-market-links a{color:#111;font-weight:700;text-decoration:none;font-size:13px}
.ir-foot-copy{margin:16px 0 0;font-size:12px;color:#8a8f96;font-weight:400}

.ir-hero,.ir-landing-splash .ir-logo,.ob-next,.ir-market-svc{box-shadow:none!important}

@media (max-width:390px){
  .ir-market-hero h1{font-size:26px}
  .ir-market-cta{grid-template-columns:1fr}
}

@media (min-width: 700px) {
  body.inride24-auth { padding: 18px 0; }
  .ir-onboard, .ir-auth, .drv-ob, .ir-market { border-radius: 26px; overflow: hidden; box-shadow: none; min-height: calc(100vh - 36px); }
}
