/* Дополнения к controller-app.css для приложения водителя */
body.drv-app {
  --ctrl-accent: #fbbf24;
  --ctrl-ok: #4ade80;
}

.drv-main-tabs {
  margin: -4px 0 14px;
}

.drv-profile-card {
  padding: 14px 16px;
}

.drv-prof-row {
  display: grid;
  grid-template-columns: minmax(0, 42%) 1fr;
  gap: 10px 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  align-items: start;
}

.drv-prof-row:last-of-type {
  border-bottom: none;
}

.drv-prof-k {
  color: var(--ctrl-muted);
  line-height: 1.35;
}

.drv-prof-v {
  line-height: 1.35;
  word-break: break-word;
}

.drv-prof-note {
  margin: -4px 0 8px;
  font-size: 0.8rem;
  color: #fbbf24;
  line-height: 1.35;
}

.drv-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.drv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.drv-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  margin: 0;
}

.drv-modal-box select.ctrl-input {
  width: 100%;
}

.drv-map-card {
  padding: 12px;
}

.drv-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.drv-map-count {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.16);
  color: #fcd34d;
}

.drv-map-msg {
  display: none;
  margin: 0 0 8px;
  font-size: 12px;
  color: #fbbf24;
}

.drv-map-msg.is-ok {
  color: #4ade80;
}

.drv-map-canvas {
  width: 100%;
  min-height: 360px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.drv-map-fallback-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.drv-map-fallback-note {
  margin: 0;
  font-size: 12px;
  color: var(--ctrl-muted);
}

.drv-map-fallback-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.drv-map-fallback-addr,
.drv-map-fallback-schedule {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ctrl-muted);
  line-height: 1.35;
}

.drv-map-fallback-actions {
  margin-top: 8px;
}

.drv-map-open-btn {
  width: auto;
  margin: 0;
  padding: 8px 10px;
  font-size: 0.8rem;
  text-decoration: none;
}
