
:root{
  --navy:#072b57; --navy-2:#0e3d73; --orange:#f5a000; --orange-2:#ffb326;
  --ink:#14213a; --muted:#718096; --bg:#f5f7fb; --line:#e6eaf0; --white:#fff;
  --green:#1f9d61; --red:#df4d5b; --blue:#2f6fea; --purple:#8f55c7;
  --shadow:0 14px 40px rgba(15,35,65,.08); --radius:18px; --radius-sm:12px;
}
*{box-sizing:border-box}
html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff}
body{margin:0;background:#fff}
button,input,select,textarea{font:inherit}
a{color:inherit;text-decoration:none}
button{cursor:pointer}
img{max-width:100%}
.hidden{display:none!important}
.muted{color:var(--muted)}
.small{font-size:12px}
.tiny{font-size:11px}
.app-brand{display:flex;align-items:center;gap:12px}
.app-brand img{width:190px;height:auto}
.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#eef3fa;color:#3f5878;font-size:12px;font-weight:700}
.badge.orange{background:#fff3dc;color:#aa6600}
.badge.green{background:#e8f8ef;color:#157b49}
.badge.red{background:#fff0f1;color:#b82f3d}
.badge.blue{background:#eaf2ff;color:#235fc9}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.btn{border:0;border-radius:11px;padding:12px 16px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn-primary{background:var(--navy);color:#fff}
.btn-primary:hover{background:var(--navy-2)}
.btn-orange{background:var(--orange);color:#fff}
.btn-light{background:#fff;border:1px solid var(--line);color:var(--ink)}
.btn-danger{background:#fff0f1;color:#b82f3d}
.btn-block{width:100%}
.field{display:flex;flex-direction:column;gap:7px}
.field label{font-size:12px;font-weight:800;color:#43516a}
.input, select, textarea{width:100%;border:1px solid #dce3ed;background:#fff;border-radius:11px;padding:12px 13px;outline:none;color:var(--ink)}
.input:focus, select:focus, textarea:focus{border-color:#9ab9e8;box-shadow:0 0 0 3px rgba(47,111,234,.10)}
.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(360px,500px) 1fr;background:var(--bg)}
.login-panel{background:#fff;padding:44px 50px;display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--line)}
.login-card{max-width:390px;margin:auto;width:100%}
.login-card h1{font-size:31px;margin:26px 0 8px;color:var(--navy)}
.login-card p{line-height:1.6}
.login-visual{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:40px}
.hero-orb{position:absolute;border-radius:50%;filter:blur(2px)}
.hero-orb.one{width:500px;height:500px;background:radial-gradient(circle,#fff1d3 0%,rgba(255,255,255,0) 68%);top:3%;right:2%}
.hero-orb.two{width:570px;height:570px;background:radial-gradient(circle,#e8f0ff 0%,rgba(255,255,255,0) 70%);bottom:-12%;left:-7%}
.preview-window{width:min(980px,92%);background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:0 30px 70px rgba(7,43,87,.14);padding:22px;position:relative}
.preview-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:4px 4px 17px}
.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.preview-box{border:1px solid var(--line);border-radius:15px;padding:18px;min-height:114px;background:linear-gradient(180deg,#fff,#fbfcff)}
.preview-map{height:260px;border-radius:16px;background:
 linear-gradient(25deg,transparent 48%,#d8e5f2 49%,#d8e5f2 51%,transparent 52%),
 linear-gradient(115deg,transparent 48%,#e2eadf 49%,#e2eadf 51%,transparent 52%),
 #eff5f0;position:relative;overflow:hidden}
.route{position:absolute;width:62%;height:53%;left:16%;top:20%;border-left:5px solid var(--navy);border-bottom:5px solid var(--navy);border-radius:0 0 0 44px;transform:rotate(-12deg)}
.pin{position:absolute;width:20px;height:20px;border-radius:50%;background:var(--orange);border:4px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.17)}
.pin.p1{left:21%;top:31%}.pin.p2{right:20%;bottom:23%}.pin.p3{right:32%;top:27%;background:var(--green)}
.site-footer{font-size:11px;color:#8793a5;display:flex;gap:18px;flex-wrap:wrap}
.dashboard{min-height:100vh;background:var(--bg);display:grid;grid-template-columns:245px 1fr}
.sidebar{background:#fff;border-right:1px solid var(--line);padding:18px 14px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}
.sidebar .logo-wrap{padding:10px 12px 22px}
.sidebar .logo-wrap img{width:175px}
.nav{display:flex;flex-direction:column;gap:6px}
.nav button{border:0;background:transparent;border-radius:11px;padding:11px 13px;text-align:left;color:#4c5a70;font-weight:650}
.nav button.active{background:#fff4e0;color:#b36e00;border-left:3px solid var(--orange)}
.nav button:hover{background:#f6f8fb}
.sidebar-bottom{margin-top:auto;padding:14px 8px}
.system-card{border:1px solid var(--line);border-radius:12px;padding:12px}
.main{padding:18px 22px 28px;min-width:0}
.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:0 17px}
.topbar h2{margin:0;font-size:22px;color:var(--navy)}
.top-actions{display:flex;align-items:center;gap:10px}
.search{min-width:270px}
.kpis{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;margin:14px 0}
.kpi{padding:16px;display:flex;gap:12px;align-items:center}
.kpi-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;font-weight:900;color:#fff}
.kpi strong{font-size:23px;color:var(--navy)}
.kpi p{margin:2px 0 0;font-size:12px;color:var(--muted)}
.content-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:14px}
.panel{padding:16px}
.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
.panel-title h3{margin:0;font-size:16px}
.map-card{min-height:390px}
.live-map{height:326px;border-radius:14px;background:
 radial-gradient(circle at 25% 35%,rgba(47,111,234,.08),transparent 16%),
 radial-gradient(circle at 72% 45%,rgba(31,157,97,.09),transparent 18%),
 linear-gradient(30deg,transparent 47%,#d8e1eb 48%,#d8e1eb 50%,transparent 51%),
 linear-gradient(110deg,transparent 48%,#dfe9da 49%,#dfe9da 51%,transparent 52%),
 #edf4ef;position:relative;overflow:hidden}
.map-label{position:absolute;font-weight:800;color:#506173;font-size:13px}
.vehicle{position:absolute;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:14px;box-shadow:0 5px 16px rgba(14,38,67,.22);border:3px solid white}
.driver-list{display:flex;flex-direction:column}
.driver-row{padding:12px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center}
.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#edf2f9;color:var(--navy);font-weight:900}
.driver-row strong{font-size:13px}.driver-row span{font-size:11px;color:var(--muted)}
.table-card{grid-column:1/-1;padding:0;overflow:hidden;margin-top:14px}
.table-head{padding:16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}
.table-wrap{overflow:auto}
table{border-collapse:collapse;width:100%;min-width:920px}
th,td{padding:13px 14px;border-bottom:1px solid var(--line);font-size:12px;text-align:left;white-space:nowrap}
th{color:#66748a;background:#fbfcfe;font-weight:800}
tr:hover td{background:#fcfdff}
.modal-backdrop{position:fixed;inset:0;background:rgba(7,25,47,.44);display:grid;place-items:center;padding:20px;z-index:30}
.modal{width:min(680px,100%);background:#fff;border-radius:20px;padding:22px;box-shadow:0 30px 80px rgba(0,0,0,.24)}
.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.toast{position:fixed;right:20px;bottom:20px;background:var(--navy);color:#fff;padding:13px 17px;border-radius:12px;box-shadow:var(--shadow);z-index:50}
.mobile-stage{min-height:100vh;background:linear-gradient(135deg,#f5f7fb,#fff7e8);display:flex;align-items:center;justify-content:center;padding:28px}
.phone{width:390px;min-height:790px;background:#fff;border:1px solid #d8dde6;border-radius:38px;box-shadow:0 28px 70px rgba(12,35,65,.18);overflow:hidden;position:relative}
.phone-bar{height:34px;padding:12px 21px 0;display:flex;justify-content:space-between;font-weight:800;font-size:12px}
.phone-content{padding:18px 22px 26px}
.phone-logo{text-align:center;margin:28px 0 16px}.phone-logo img{width:235px}
.phone h1{font-size:25px;color:var(--navy);margin:8px 0}
.phone h2{font-size:20px;color:var(--navy);margin:4px 0 7px}
.service-list{display:grid;gap:10px}
.service-option{border:1px solid var(--line);border-radius:13px;padding:13px;display:flex;align-items:center;gap:11px;background:#fff}
.service-option.active{border-color:#75a2ec;background:#f6f9ff;box-shadow:0 0 0 2px rgba(47,111,234,.07)}
.service-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#eef4ff;color:var(--navy);font-weight:900}
.ride-map{height:230px;border-radius:16px;background:
 linear-gradient(28deg,transparent 48%,#dce6ef 49%,#dce6ef 51%,transparent 52%),
 linear-gradient(105deg,transparent 48%,#e0eadc 49%,#e0eadc 51%,transparent 52%),
 #edf5ef;position:relative;overflow:hidden;margin:12px 0}
.ride-map .route{width:53%;height:46%;left:21%;top:27%}
.ride-map .car-marker{position:absolute;left:48%;top:42%;background:var(--navy);color:#fff;border-radius:8px;padding:6px 8px;box-shadow:0 5px 12px rgba(0,0,0,.2)}
.eta{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;text-align:center;box-shadow:var(--shadow);margin-bottom:12px}
.eta strong{font-size:30px;color:var(--orange)}
.trip-row{display:flex;gap:12px;align-items:flex-start;padding:11px 0;border-bottom:1px solid var(--line)}
.dot{width:10px;height:10px;border-radius:50%;margin-top:5px;flex:0 0 auto}
.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);position:absolute;bottom:0;left:0;right:0;background:#fff}
.bottom-nav button{border:0;background:#fff;padding:12px 4px;font-size:10px;color:#738197}
.bottom-nav button.active{color:var(--orange);font-weight:800}
.progress{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:16px 0}
.step{height:7px;border-radius:9px;background:#e7ebf1}.step.done{background:var(--blue)}.step.current{background:var(--orange)}
.info-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.info-mini{border:1px solid var(--line);border-radius:12px;padding:10px;text-align:center}
.info-mini strong{display:block;color:var(--navy);font-size:13px}
.portals{min-height:100vh;background:var(--bg);padding:38px}
.portal-header{max-width:1180px;margin:0 auto 28px;display:flex;justify-content:space-between;gap:20px;align-items:center}
.portal-header img{width:210px}
.portal-grid{max-width:1180px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.portal-card{padding:22px;min-height:270px;display:flex;flex-direction:column}
.portal-icon{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;color:#fff;font-size:23px;font-weight:900}
.portal-card h2{color:var(--navy);margin:19px 0 6px}
.portal-card p{line-height:1.6;color:var(--muted);font-size:14px}
.portal-card .btn{margin-top:auto}
.official{max-width:1180px;margin:22px auto 0;padding:18px;display:flex;justify-content:space-between;gap:18px;align-items:center}
.official div{font-size:13px;color:#5f6d82}
@media(max-width:1150px){
  .kpis{grid-template-columns:repeat(3,1fr)}
  .content-grid{grid-template-columns:1fr}
  .table-card{grid-column:1}
  .search{min-width:180px}
}
@media(max-width:860px){
  .dashboard{grid-template-columns:1fr}
  .sidebar{position:relative;height:auto;border-right:0;border-bottom:1px solid var(--line)}
  .nav{display:grid;grid-template-columns:repeat(2,1fr)}
  .sidebar-bottom{display:none}
  .topbar{height:auto;align-items:flex-start;flex-direction:column;padding:15px}
  .top-actions{width:100%;flex-wrap:wrap}.search{width:100%}
  .kpis{grid-template-columns:repeat(2,1fr)}
  .login-shell{grid-template-columns:1fr}.login-visual{display:none}
  .portal-grid{grid-template-columns:1fr}.portal-header,.official{flex-direction:column;align-items:flex-start}
}
@media(max-width:520px){
  .mobile-stage{padding:0;background:#fff}.phone{width:100%;min-height:100vh;border:0;border-radius:0;box-shadow:none}
  .kpis{grid-template-columns:1fr}.main{padding:10px}.modal-grid{grid-template-columns:1fr}
  .login-panel{padding:26px}.portals{padding:20px}
}


/* ===== RurMobil Zentrale V2 ===== */
.section-view{display:none}.section-view.active{display:block}
.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:18px 0 14px}
.page-head h1{margin:0;color:var(--navy);font-size:25px}.page-head p{margin:4px 0 0;color:var(--muted);font-size:13px}
.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:13px;margin-bottom:14px}
.toolbar .input,.toolbar select{width:auto;min-width:150px}.toolbar .grow{flex:1;min-width:220px}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}
.stat-card{padding:16px}.stat-card .number{font-size:28px;font-weight:850;color:var(--navy);margin-top:5px}
.subgrid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}.subgrid.three{grid-template-columns:1fr 1fr 1fr}
.driver-grid{display:grid;grid-template-columns:repeat(3,minmax(230px,1fr));gap:13px}
.driver-card{padding:16px;box-shadow:none}.driver-card-top{display:grid;grid-template-columns:52px 1fr auto;gap:11px;align-items:start}
.driver-avatar{width:52px;height:52px;border-radius:15px;background:#eef3fa;display:grid;place-items:center;font-weight:900;font-size:20px;color:var(--navy)}
.card-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}
.card-actions .btn{padding:8px 10px;font-size:11px}
.inline-select{padding:7px 9px;border-radius:9px;border:1px solid var(--line);background:#fff;font-size:12px;min-width:125px}
.empty{padding:36px;text-align:center;color:var(--muted)}
.detail-list{display:grid;gap:9px}.detail-row{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}
.chips{display:flex;gap:7px;flex-wrap:wrap}
.chart-bars{height:190px;display:flex;align-items:flex-end;gap:10px;padding:10px 0}
.chart-bar-wrap{flex:1;text-align:center}.chart-bar{border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,var(--orange),#ffc55f);min-height:6px}.chart-bar-wrap span{font-size:10px;color:var(--muted)}
.side-sheet{position:fixed;top:0;right:0;bottom:0;width:min(470px,100%);background:#fff;z-index:40;box-shadow:-20px 0 60px rgba(7,25,47,.18);padding:22px;overflow:auto}
.sheet-backdrop{position:fixed;inset:0;background:rgba(7,25,47,.36);z-index:39}
.sheet-head{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:15px}
.invoice-total{font-size:28px;font-weight:850;color:var(--navy)}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.settings-section{padding:18px}
.legend{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted)}
.legend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}
.nav .nav-group{padding:12px 13px 5px;color:#9aa5b5;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.notification-dot{position:absolute;top:-5px;right:-5px;background:var(--red);color:#fff;border-radius:999px;font-size:10px;min-width:17px;height:17px;display:grid;place-items:center}
.icon-btn{position:relative;border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 12px}
.overview-list{display:grid;gap:8px}.overview-item{display:grid;grid-template-columns:1fr auto;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
@media(max-width:1200px){.driver-grid{grid-template-columns:repeat(2,1fr)}.stat-grid{grid-template-columns:repeat(2,1fr)}.subgrid,.subgrid.three{grid-template-columns:1fr}}
@media(max-width:720px){.driver-grid,.stat-grid,.settings-grid{grid-template-columns:1fr}.page-head{flex-direction:column}.toolbar>*{width:100%!important}.detail-row{grid-template-columns:1fr}}


/* ===== RurMobil V4.0 – Premium Live App Redesign ===== */
.mobile-stage.customer-ui,
.mobile-stage.driver-ui{
  background:linear-gradient(180deg,#f7f9fc 0%,#fff9ef 100%);
  padding:22px;
}
.customer-ui .phone,
.driver-ui .phone{
  width:min(440px,100%);
  min-height:820px;
  border-radius:34px;
  border:1px solid #dbe4ef;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
  box-shadow:0 26px 80px rgba(12,35,65,.16);
}
.customer-ui .phone-bar,
.driver-ui .phone-bar{
  height:auto;
  padding:18px 22px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  color:#20324b;
}
.customer-ui .phone-bar span:first-child,
.driver-ui .phone-bar span:first-child{
  font-weight:900;
  font-size:15px;
  letter-spacing:.01em;
}
.customer-ui .phone-bar span:last-child,
.driver-ui .phone-bar span:last-child{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid #dde6f5;
  background:#f2f6ff;
  color:var(--navy);
  font-weight:800;
}
.customer-ui .phone-content,
.driver-ui .phone-content{
  padding:20px 22px 28px;
}
.customer-ui .phone-logo,
.driver-ui .phone-logo{
  margin:18px 0 18px;
}
.customer-ui .phone-logo img,
.driver-ui .phone-logo img{
  width:210px;
}
.customer-ui #auth,
.driver-ui #login{
  position:relative;
}
.customer-ui #auth::before,
.driver-ui #login::before{
  content:"";
  position:absolute;
  inset:12px 0 auto auto;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(245,160,0,.16),rgba(245,160,0,0) 68%);
  pointer-events:none;
}
.customer-ui .badge.orange,
.driver-ui .badge.orange{
  background:#fff4df;
  color:#9a6300;
  border:1px solid #f6d28f;
}
.customer-ui #auth h1,
.driver-ui #login h1{
  font-size:30px;
  line-height:1.1;
  margin-top:12px;
}
.customer-ui #auth p,
.driver-ui #login p{
  max-width:300px;
  margin:0 auto;
}
.app-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:16px;
}
.app-title{
  display:grid;
  gap:3px;
}
.app-title .eyebrow{
  color:#7c8ba2;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.app-title h2{
  margin:0;
  font-size:34px;
  line-height:1.02;
  color:var(--navy);
}
.segmented-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:14px 0 18px;
}
.segmented-actions .btn{
  min-height:54px;
  border-radius:16px;
  font-size:15px;
  font-weight:850;
}
.surface-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  box-shadow:0 16px 40px rgba(11,32,60,.08);
}
.surface-card-head{
  margin-bottom:14px;
}
.surface-card-head h3{
  margin:0 0 5px;
  color:var(--navy);
  font-size:20px;
}
.surface-card-head p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}
.modern-form{
  display:grid;
  gap:12px;
}
.modern-form .input,
.modern-form select,
.modern-form textarea{
  border-radius:14px;
  padding:13px 14px;
}
.customer-ui #trackingPanel.tracking-stack{
  display:grid;
  gap:14px;
}
.customer-ui #etaBox.eta{
  background:linear-gradient(135deg,#072b57 0%,#103f7a 100%);
  color:#fff;
  border:0;
  border-radius:22px;
  box-shadow:0 18px 38px rgba(7,43,87,.20);
  padding:18px 18px 16px;
  text-align:left;
}
.customer-ui #etaBox .small,
.customer-ui #etaBox .muted{
  color:rgba(255,255,255,.78);
}
.customer-ui .large-eta{
  font-size:42px;
  line-height:1.02;
  color:#ffbc39;
  letter-spacing:-.03em;
  margin:4px 0;
}
.map-panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:10px;
  box-shadow:0 16px 40px rgba(11,32,60,.08);
}
.map-caption{
  padding:6px 8px 10px;
  color:#718096;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.customer-ui .map-live{
  height:300px !important;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #e7edf5;
}
.customer-ui .trip-card,
.driver-ui .trip-card{
  border-radius:22px;
  border:1px solid var(--line);
  box-shadow:0 16px 34px rgba(11,32,60,.07);
  padding:18px;
}
.customer-ui .trip-row,
.driver-ui .trip-row{
  padding:13px 0;
}
.customer-ui #rideInfo .card,
.driver-ui #rideArea .card{
  border-radius:16px;
}
.customer-ui #rideInfo .btn,
.driver-ui #rideArea .btn{
  border-radius:15px;
}
.driver-ui .gps-box{
  margin-top:14px;
  border-radius:22px;
  padding:16px;
  background:linear-gradient(180deg,#fff,#fbfcff);
  box-shadow:0 16px 40px rgba(11,32,60,.08);
}
.driver-ui #rideArea .eta{
  border-radius:22px;
  padding:18px;
}
.driver-ui #driverMeta{
  margin-top:3px;
  font-size:13px;
}
.driver-ui .info-strip{
  gap:10px;
}
.driver-ui .info-mini{
  border-radius:16px;
  background:#fbfcff;
}
.driver-ui #rideArea .badge{
  font-size:11px;
}
.driver-ui #rideArea h2{
  margin-bottom:10px;
}
.customer-ui .btn-light,
.driver-ui .btn-light{
  background:#fff;
  border:1px solid #dbe4ef;
}
.customer-ui .btn-primary,
.driver-ui .btn-primary{
  background:linear-gradient(135deg,#072b57,#0f427d);
}
.customer-ui .btn-orange,
.driver-ui .btn-orange{
  background:linear-gradient(135deg,#f5a000,#ffb62e);
}
.customer-ui .login-ok,
.driver-ui .login-ok,
.customer-ui .login-error,
.driver-ui .login-error{
  border-radius:14px;
  font-size:13px;
}
@media(max-width:520px){
  .mobile-stage.customer-ui,
  .mobile-stage.driver-ui{
    padding:0;
    background:#fff;
  }
  .customer-ui .phone,
  .driver-ui .phone{
    width:100%;
    min-height:100vh;
    border-radius:0;
    border:0;
    box-shadow:none;
  }
  .app-title h2{font-size:30px}
}


/* ===== V4.1 Google Maps ===== */
.map-caption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.google-brand{
  color:#52657c;
  font-size:11px;
  font-weight:850;
  text-transform:none;
  letter-spacing:0;
}
.customer-ui #customerMap{
  background:#eef2f5;
}
.map-api-missing{
  min-height:300px;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:8px;
  text-align:center;
  padding:30px;
  background:linear-gradient(135deg,#f7f9fc,#fff7e8);
  color:var(--navy);
}
.map-api-missing strong{
  font-size:18px;
}
.map-api-missing span{
  max-width:310px;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}


/* ===== V4.3 Google Maps – Dashboard + Fahrer-App ===== */
#adminMap.map-live{
  min-height:420px;
  background:#eef2f5;
}
.driver-map-card{
  margin-top:14px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 40px rgba(11,32,60,.08);
}
.driver-map-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:6px 7px 11px;
}
.driver-map-head > div{
  display:grid;
  gap:2px;
}
.driver-map-head strong{
  color:var(--navy);
  font-size:15px;
}
.driver-map-head span:not(.badge){
  color:var(--muted);
  font-size:11px;
}
.driver-google-map{
  height:285px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #e7edf5;
  background:#eef2f5;
}
@media(max-width:520px){
  .driver-google-map{height:310px}
}


/* ===== V4.4 Google Places + Routes ===== */
.autocomplete-host{min-height:50px;width:100%}
gmp-place-autocomplete.rm-place-autocomplete{
  display:block;width:100%;min-height:50px;
  border:1px solid #dce3ed;border-radius:14px;background:#fff;color:var(--ink);
}
.driver-route-summary{
  display:flex;justify-content:space-between;gap:12px;align-items:center;
  margin-bottom:13px;padding:12px 13px;border-radius:15px;
  background:linear-gradient(135deg,#fff4df,#fffaf1);border:1px solid #f6d28f;
}
.driver-route-summary strong{color:#8f5b00;font-size:13px}
.driver-route-summary span{color:#9b7a45;font-size:11px;white-space:nowrap}


/* ===== V4.5 Automatischer Festpreis ===== */
.price-preview{
  display:grid;
  gap:3px;
  padding:15px 16px;
  border-radius:18px;
  border:1px solid #f2d69f;
  background:linear-gradient(135deg,#fff5e3,#fffaf1);
}
.price-preview span{
  color:#8f5b00;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.price-preview strong{
  color:#0b315e;
  font-size:26px;
  line-height:1.15;
}
.price-preview small{
  color:#7d6e58;
  line-height:1.4;
}
.customer-price-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:12px;
  padding:13px 14px;
  border:1px solid #e5eaf2;
  border-radius:15px;
  background:#fbfcff;
}
.customer-price-card span{
  color:var(--muted);
  font-size:12px;
}
.customer-price-card strong{
  color:var(--navy);
  font-size:18px;
}
.price-hint{
  margin-top:6px;
  color:var(--muted);
  font-size:11px;
  line-height:1.35;
}
.price-hint.ok{
  color:#167348;
  font-weight:700;
}
