/* styles.css */

:root {
  --brand-black: #111827;
  --brand-grey: #f3f4f6;
  --brand-border: #e5e7eb;
  --brand-accent: #16a34a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f5f5;
  color: #111827;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-main {
  flex: 1;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.navbar-brand-title {
  font-weight: 600;
  font-size: 1rem;
  color: #111827;
  line-height: 1.1;
}

.brand-badge {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: #6b7280;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.pill-tag {
  display: inline-flex;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: #e5f2ff;
  font-size: .8rem;
  color: #111827;
}

.hero-pill span {
  display: inline-block;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: #16a34a;
}

.lead-soft {
  color: #4b5563;
}

.text-muted-soft {
  color: #6b7280;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
}

.btn-primary {
  background: #111827;
  border-color: #111827;
  border-radius: 999px;
  padding-inline: 1.6rem;
}

.btn-primary:hover {
  background: #000000;
  border-color: #000000;
}

.btn-ghost {
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
}

.btn-ghost-soft {
  background: #f3f4f6;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
}

.form-control,
.form-select {
  border-radius: 0.7rem;
  border: 1px solid #d1d5db;
}

.form-control:focus,
.form-select:focus {
  border-color: #111827;
  box-shadow: 0 0 0 0.15rem rgba(17, 24, 39, 0.12);
}

.table {
  font-size: 0.85rem;
}

.table thead {
  background: #f9fafb;
}

.table thead th {
  color: #6b7280;
  font-weight: 500;
  border-bottom-width: 1px;
}

.badge-online {
  background-color: #dcfce7;
  color: #166534;
  border-radius: 999px;
  font-weight: 500;
  padding: 0.2rem 0.75rem;
}

.badge-offline {
  background-color: #e5e7eb;
  color: #374151;
  border-radius: 999px;
  font-weight: 500;
  padding: 0.2rem 0.75rem;
}

.badge-status-success {
  background-color: #22c55e;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.7rem;
  padding-inline: 0.6rem;
}

.bottom-helper-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: .45rem 0;
  z-index: 1030;
}

.bottom-helper-nav .btn-sm {
  font-size: 0.75rem;
  border-radius: 999px;
}

/* Hide mobile bottom nav on large screens */
@media (min-width: 992px) {
  .bottom-helper-nav {
    display: none;
  }
}

/* Centered auth layout */
.auth-wrapper {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Tabs (signup rider/driver) */
.nav-tabs-clean .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #6b7280;
  font-weight: 500;
}

.nav-tabs-clean .nav-link.active {
  color: #111827;
  border-bottom-color: #111827;
}
