/* src/frontend/driver/styles/bootstrap-lite.css */
:root {
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-danger: #dc3545;
  --bs-warning: #ffc107;
  --bs-info: #0dcaf0;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-body-color: #212529;
  --bs-body-bg: #f5f5f5;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}
body {
  margin: 0;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}
a {
  color: var(--bs-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
  box-sizing: border-box;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.card-title {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
}
.card-subtitle {
  margin: 0;
  color: #6c757d;
  font-size: 0.95rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--bs-primary);
  color: #fff;
}
.btn-secondary {
  background: var(--bs-secondary);
  color: #fff;
}
.btn-success {
  background: var(--bs-success);
  color: #fff;
}
.btn-danger {
  background: var(--bs-danger);
  color: #fff;
}
.btn-outline-secondary {
  background: transparent;
  color: var(--bs-secondary);
  border: 1px solid var(--bs-secondary);
}
.btn-lg {
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem;
  border-radius: 10px;
  border: 1px solid #ced4da;
  font-size: 1rem;
  box-sizing: border-box;
}
.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.form-text {
  color: #6c757d;
  font-size: 0.9rem;
}
.nav-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.nav-link {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  background: #e9ecef;
  color: #495057;
  font-weight: 600;
}
.nav-link.active {
  background: #fff;
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.bg-success {
  background: var(--bs-success);
}
.bg-warning {
  background: var(--bs-warning);
  color: #212529;
}
.bg-primary {
  background: var(--bs-primary);
}
.bg-secondary {
  background: var(--bs-secondary);
}
.bg-danger {
  background: var(--bs-danger);
}
.alert {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.alert-warning {
  background: #fff3cd;
  color: #664d03;
}
.alert-danger {
  background: #f8d7da;
  color: #842029;
}
.alert-info {
  background: #cff4fc;
  color: #055160;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal {
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  width: 92%;
  max-width: 480px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title {
  margin: 0;
  font-size: 1.2rem;
}
.modal-body {
  margin: 1rem 0;
}
.modal-footer {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}
.col {
  flex: 1;
}
small {
  color: #6c757d;
}

/* src/frontend/driver/styles/driver.css */
header.driver-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1rem 0.5rem 1rem;
  position: sticky;
  top: 0;
  background:
    linear-gradient(
      180deg,
      #0d6efd 0%,
      #0a58ca 100%);
  color: #fff;
  z-index: 10;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
header .status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
header .status-pill {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.driver-main {
  padding: 1rem 1rem 2.5rem 1rem;
}
.tab-content {
  min-height: 200px;
}
.card.assigned-highlight {
  border: 2px solid #dc3545;
  box-shadow: 0 8px 18px rgba(220, 53, 69, 0.2);
}
.section-title {
  font-size: 1.05rem;
  margin: 0.5rem 0;
  font-weight: 700;
}
.inline-badge {
  padding: 0.25rem 0.5rem;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  font-size: 0.85rem;
}
.footer-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: #fff;
  box-shadow: 0 -6px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 0.5rem;
}
.footer-actions .btn {
  flex: 1;
}
.offline-banner {
  background: #dc3545;
  color: #fff;
  padding: 0.5rem 0.75rem;
  text-align: center;
}
.location-warning {
  background: #fff3cd;
  color: #664d03;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  border: 1px solid #ffe69c;
}
.privacy-banner {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 999;
}
.privacy-banner > div,
.privacy-banner {
  color: #0d1b2a;
}
.privacy-banner .btn {
  width: 100%;
  margin-top: 1rem;
}
/*# sourceMappingURL=main.css.map */
