@font-face {
    font-family: 'Outfit';
    src: url('/static/fonts/Outfit-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('/static/fonts/Outfit-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('/static/fonts/Outfit-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('/static/fonts/Outfit-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('/static/fonts/Outfit-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('/static/fonts/Outfit-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('/static/fonts/Outfit-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('/static/fonts/Outfit-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('/static/fonts/Outfit-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}
:root {
  --navy-950: #0e0e0e;
  --navy-900: #141414;
  --navy-800: #1a1a1a;
  --navy-700: #242424;
  --yellow: #f5f24c;
  --yellow-dark: #dfdf58;
  --green: #1fbe6b;
  --green-dark: #129457;
  --red: #df4d5b;
  --blue: #3d82ef;
  --ink: #102039;
  --muted: #6f7d91;
  --line: #e6eaf0;
  --surface: #ffffff;
  --canvas: #f5f7fa;
  --shadow: 0 12px 34px rgba(20, 40, 72, 0.08);
  --shadow-lg: 0 24px 70px rgba(7, 20, 38, 0.18);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Outfit";
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(61, 130, 239, 0.25);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: math-auto;
}

.eyebrow.navy {
  color: var(--navy-700);
}

.eyebrow.yellow {
  color: var(--yellow);
}

.muted {
  color: var(--muted);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-900);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-light {
  color: #fff;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 12px 12px 12px 4px;
  font-size: 20px;
  font-weight: 900;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--navy-950);
  background: var(--yellow);
  box-shadow: 0 9px 20px rgba(221, 169, 20, 0.2);
}

.button.primary:hover {
  background: #ffd45e;
  box-shadow: 0 12px 25px rgba(221, 169, 20, 0.3);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.button.dark {
  color: #fff;
  background: var(--navy-900);
}

.button.light {
  color: var(--navy-950);
  background: #fff;
}

.button.wide {
  width: 100%;
}

.text-button,
.text-link {
  padding: 0;
  color: var(--navy-700);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.text-link:hover,
.text-button:hover {
  color: var(--blue);
}

.toast {
  position: fixed;
  z-index: 1000;
  top: 24px;
  left: 50%;
  display: flex;
  min-width: 280px;
  max-width: calc(100% - 32px);
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  color: #fff;
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -15px);
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast::before {
  content: "✓";
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

/* Authentication */
.auth-view {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(440px, 1.05fr) minmax(520px, 0.95fr);
  background: #fff;
}

.auth-visual {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(32px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(145deg, rgb(20 20 20 / 92%), rgb(18 18 18 / 74%)), radial-gradient(circle at 75% 20%, rgba(245, 200, 76, 0.28), transparent 30%), linear-gradient(135deg, #1f1f1f, black);
}

.auth-visual::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: 4%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(255, 255, 255, 0.025),
    0 0 0 130px rgba(255, 255, 255, 0.018);
}

.auth-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.auth-copy h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.auth-copy > p {
  max-width: 540px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.8;
}

.route-preview {
  display: grid;
  width: min(100%, 480px);
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.route-preview .route-point {
  width: 12px;
  height: 12px;
  background: transparent;
  border: 3px solid #fff;
  border-radius: 50%;
}

.route-preview .route-point.active {
  background: var(--yellow);
  border-color: var(--yellow);
}

.route-preview .route-line {
  width: 1px;
  height: 20px;
  grid-row: 2;
  grid-column: 1;
  margin: -13px 0 -13px 5px;
  border-left: 1px dashed rgba(255, 255, 255, 0.45);
}

.route-preview span {
  grid-row: 1;
  grid-column: 2;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.route-preview strong {
  grid-row: 3;
  grid-column: 2;
  font-size: 15px;
}

.route-preview .route-point:not(.active) {
  grid-row: 3;
  grid-column: 1;
}

.route-preview small {
  grid-row: 1 / 4;
  grid-column: 3;
  align-self: center;
  color: var(--yellow);
  font-weight: 700;
}

.auth-footnote {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.auth-panel {
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow-y: auto;
  padding: 42px clamp(30px, 7vw, 100px);
}

.auth-form-wrap,
.status-panel {
  width: min(100%, 520px);
}

.mobile-brand {
  display: none;
  margin-bottom: 36px;
}

.auth-form-wrap h2,
.status-panel h2 {
  margin: 0 0 10px;
  color: var(--navy-950);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.auth-form-wrap > p,
.status-panel > p {
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 1.7;
}

.form-stack {
  display: grid;
  gap: 17px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 10px;
  color: #344158;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dce2ea;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input,
select {
  height: 49px;
  padding: 0 14px;
}

textarea {
  min-height: 105px;
  padding: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 130, 239, 0.08);
  outline: 0;
}

input::placeholder,
textarea::placeholder {
  color: #a5afbd;
  font-weight: 500;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 70px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  color: var(--navy-700);
  background: transparent;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 800;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-row.between {
  justify-content: space-between;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.check-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--navy-900);
}

.full {
  grid-column: 1 / -1;
}

.auth-switch {
  margin: 24px 0 !important;
  text-align: center;
}

.otp-resend {
  display: block;
  margin: 16px auto 0;
}

.otp-resend:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.75;
}

.back-link {
  margin-bottom: 30px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.status-panel {
  text-align: center;
}

.status-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 0 0 10px rgba(245, 200, 76, 0.17);
}

.status-steps {
  display: grid;
  gap: 0;
  margin: 32px 0;
  text-align: left;
}

.status-steps > div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
}

.status-steps > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  bottom: -11px;
  left: 17px;
  width: 2px;
  background: var(--line);
}

.status-steps > div.done::after {
  background: var(--green);
}

.status-steps span {
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--muted);
  background: var(--canvas);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.status-steps .done span {
  color: #fff;
  background: var(--green);
}

.status-steps .current span {
  color: var(--navy-950);
  background: var(--yellow);
}

.status-steps p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.status-steps small {
  margin-top: 3px;
  color: var(--muted);
}

/* Application shell */
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
}

.sidebar {
  position: fixed;
  z-index: 30;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 246px;
  flex-direction: column;
  padding: 27px 18px 20px;
  color: #dce5f2;
  background: var(--navy-950);
}

.sidebar .brand {
  margin: 0 10px 34px;
  color: #fff;
}

.main-nav {
  display: grid;
  gap: 5px;
}

.nav-item {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 45px;
  align-items: center;
  gap: 11px;
  padding: 0 13px;
  color: #93a4bb;
  background: transparent;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  transition: 0.2s ease;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.active {
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 30px;
}

.nav-icon {
  display: grid;
  width: 22px;
  place-items: center;
  font-size: 18px;
}

.nav-badge {
  margin-left: auto;
  padding: 2px 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
}

.nav-item.active .nav-badge {
  color: #fff;
  background: var(--navy-900);
}

.notice-dot {
  width: 6px;
  height: 6px;
  margin-left: auto;
  background: var(--yellow);
  border-radius: 50%;
}

.nav-section-label {
  margin: 28px 13px 9px;
  color: #53667e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subscription-card {
  margin-top: auto;
  padding: 15px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}

.subscription-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
}

.subscription-head strong {
  color: #7de2aa;
}

.subscription-card .progress {
  height: 4px;
  margin: 10px 0 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
}

.subscription-card .progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--yellow);
  transition: width 0.35s ease;
}

.subscription-card p {
  margin: 0 0 9px;
  color: #72859b;
  font-size: 12px;
}

.subscription-card button {
  padding: 0;
  color: var(--yellow);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.subscription-card.inactive .subscription-head strong {
  color: #ff8290;
}

.subscription-card.inactive .progress span {
  width: 0;
}

.logout-button {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 13px;
  color: #72859b;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.app-main {
  min-width: 0;
  grid-column: 2;
  padding-bottom: 50px;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 79px;
  align-items: center;
  justify-content: space-between;
  padding: 13px clamp(22px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-title {
  display: flex;
  flex-direction: column;
}

.topbar-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.topbar-title h2 {
  margin: 3px 0 0;
  color: var(--navy-950);
  font-size: 18px;
  letter-spacing: -0.035em;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.role-switch {
  height: 34px;
  padding: 0 12px;
  color: var(--navy-700);
  background: #edf3fa;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.notification-button {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--navy-900);
  background: var(--canvas);
  border-radius: 50%;
  font-size: 18px;
}

.notification-button span {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border: 1px solid #fff;
  border-radius: 50%;
}

.live-notification {
  position: fixed;
  z-index: 80;
  top: 88px;
  right: 24px;
  display: flex;
  width: min(360px, calc(100vw - 32px));
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 14px;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.live-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.live-notification > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: #9c7200;
  background: #fff4cf;
  border-radius: 11px;
  font-size: 17px;
}

.live-notification strong {
  display: block;
  color: var(--navy-950);
  font-size: 12px;
}

.live-notification p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.avatar.large {
  width: 72px;
  height: 72px;
  font-size: 18px;
}

.user-chip div {
  display: flex;
  flex-direction: column;
}

.user-chip strong {
  font-size: 10px;
}

.user-chip small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.mobile-menu {
  display: none;
}

.page {
  display: none;
  max-width: 1360px;
  margin: 0 auto;
  padding: 34px clamp(22px, 4vw, 52px);
  animation: pageIn 0.3s ease;
}

.page.active-page {
  display: block;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Home */
.hero-dashboard {
  position: relative;
  display: grid;
  min-height: 250px;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  padding: clamp(30px, 5vw, 53px);
  color: #fff;
  background:
    linear-gradient(120deg, rgb(33, 33, 33), rgba(18, 18, 18, 0.96)),
    var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-dashboard::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -210px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.018), 0 0 0 120px rgba(255, 255, 255, 0.012);
}

.hero-dashboard > div:first-child {
  position: relative;
  z-index: 2;
}

.hero-dashboard h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero-dashboard p {
  margin: 18px 0 0;
  color: #9bacc0;
  font-size: 12px;
}

.hero-route {
  position: relative;
  min-height: 180px;
}

.plane {
  position: absolute;
  z-index: 2;
  top: 20%;
  right: 26%;
  color: var(--yellow);
  font-size: 36px;
  transform: rotate(26deg);
}

.route-arc {
  position: absolute;
  top: 35%;
  right: 10%;
  width: 70%;
  height: 45%;
  border-top: 2px dashed rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: rotate(-11deg);
}

.pin {
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--yellow);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(245, 200, 76, 0.18);
}

.pin-one {
  right: 75%;
  bottom: 28%;
}

.pin-two {
  right: 7%;
  bottom: 58%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 18px 0 38px;
}

.stat-card {
  display: flex;
  min-height: 113px;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(20, 40, 72, 0.035);
}

.stat-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  font-size: 20px;
}

.yellow-bg {
  color: #9c7200;
  background: #fff4cf;
}

.blue-bg {
  color: var(--blue);
  background: #edf4ff;
}

.green-bg {
  color: var(--green);
  background: #e8f8ef;
}

.stat-card div {
  display: grid;
}

.stat-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stat-card strong {
  margin: 2px 0;
  color: var(--navy-950);
  font-size: 27px;
  letter-spacing: -0.05em;
}

.stat-card .status-text {
  color: var(--green-dark);
  font-size: 21px;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.stat-card p b {
  color: var(--green-dark);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 15px;
}

.section-heading h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 21px;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.section-heading .eyebrow {
  margin-bottom: 5px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 28px;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  transition: 0.2s ease;
}

.quick-card:hover {
  border-color: #c9d2df;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.quick-card > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 12px;
  font-size: 20px;
}

.quick-card div {
  display: flex;
  flex-direction: column;
}

.quick-card strong {
  font-size: 12px;
}

.quick-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.quick-card b {
  margin-left: auto;
  color: var(--muted);
}

/* Shared page layouts */
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}

.page-heading h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.page-heading p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(140px, 0.7fr)) auto;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.filter-bar input,
.filter-bar select {
  height: 41px;
  background: var(--canvas);
  border: 0;
  font-size: 10px;
  font-weight: 700;
}

.search-field {
  position: relative;
  display: block;
}

.search-field span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  color: var(--muted);
  font-size: 18px;
  transform: translateY(-50%);
}

.search-field input {
  padding-left: 38px;
}

.filter-reset {
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 3px 12px;
  color: var(--muted);
  font-size: 12px;
}

.result-line strong {
  color: var(--ink);
  font-size: 10px;
}

.card-list {
  display: grid;
  gap: 12px;
}

.job-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.2s ease;
}

.job-card:hover {
  border-color: #cbd4df;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.job-main {
  min-width: 0;
}

.job-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
}

.live-badge,
.owner-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  color: var(--green-dark);
  background: #e8f8ef;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 5px;
  background: var(--green);
  border-radius: 50%;
}

.owner-badge {
  color: var(--navy-700);
  background: #edf3fa;
}

.job-time {
  color: var(--muted);
  font-size: 10px;
}

.job-route {
  display: flex;
  align-items: center;
  gap: 12px;
}

.job-route h3 {
  margin: 0;
  overflow: hidden;
  color: var(--navy-950);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-arrow {
  color: var(--yellow-dark);
  font-size: 18px;
  font-weight: 900;
}

.job-pickup {
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 11px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-item span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-700);
  background: var(--canvas);
  border-radius: 10px;
  font-size: 12px;
}

.meta-item div {
  display: flex;
  flex-direction: column;
}

.meta-item small {
  color: var(--muted);
  font-size: 7px;
}

.meta-item strong {
  margin-top: 2px;
  font-size: 12px;
}

.job-action {
  display: grid;
  min-width: 145px;
  gap: 10px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.job-price {
  color: var(--navy-950);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-align: right;
}

.job-price small {
  font-size: 10px;
}

.whatsapp-button {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  color: #fff;
  background: var(--green);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.whatsapp-button:hover {
  background: var(--green-dark);
}

.delete-button {
  padding: 5px;
  color: var(--red);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.empty-state {
  padding: 45px 24px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #cfd7e2;
  border-radius: var(--radius);
  text-align: center;
}

.empty-state span {
  display: block;
  margin-bottom: 9px;
  color: var(--navy-700);
  font-size: 30px;
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14px;
}

.empty-state p {
  margin: 0;
  font-size: 10px;
}

.compact-list .job-card:nth-child(n + 4) {
  display: none;
}

.subscription-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 20px;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius);
}

.subscription-gate > div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.subscription-gate > div > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 20px;
}

.subscription-gate strong {
  font-size: 13px;
}

.subscription-gate p {
  margin: 4px 0 0;
  color: #9bacc0;
  font-size: 12px;
}

/* Forms */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 20px;
}

.form-card {
  padding: clamp(22px, 4vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 20px;
}

.form-section-title:not(:first-child) {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.form-section-title > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 900;
}

.form-section-title div {
  display: flex;
  flex-direction: column;
}

.form-section-title strong {
  font-size: 12px;
}

.form-section-title small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.form-actions {
  display: flex;
  justify-content: end;
  gap: 10px;
  margin-top: 24px;
}

.tip-card {
  padding: 24px;
  color: #dce5f2;
  background: var(--navy-900);
  border-radius: var(--radius);
}

.tip-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
}

.tip-card h3 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: 15px;
}

.tip-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0 0 0 17px;
  color: #9bacc0;
  font-size: 12px;
  line-height: 1.6;
}

.tip-card li::marker {
  color: var(--yellow);
}

.tip-security {
  margin-top: 22px;
  padding-top: 17px;
  color: #7de2aa;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 10px;
  line-height: 1.6;
}

/* Empty routes */
.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.route-card {
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.2s ease;
}

.route-card:hover {
  border-color: #cbd4df;
  box-shadow: var(--shadow);
}

.route-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.driver-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.driver-info div {
  display: flex;
  flex-direction: column;
}

.driver-info strong {
  font-size: 13px;
}

.driver-info small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.plate {
  padding: 6px 9px;
  color: var(--navy-900);
  background: var(--canvas);
  border: 1px solid #dfe4eb;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.route-path {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0 9px;
  margin: 15px 0;
}

.route-path::before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 6px;
  border-left: 1px dashed #bec9d6;
}

.path-dot {
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 2px;
  background: #fff;
  border: 3px solid var(--navy-700);
  border-radius: 50%;
}

.path-dot.end {
  margin-top: 15px;
  background: var(--yellow);
  border-color: var(--yellow-dark);
}

.path-copy {
  display: flex;
  flex-direction: column;
}

.path-copy + .path-dot,
.path-copy + .path-dot + .path-copy {
  margin-top: 13px;
}

.path-copy small {
  color: var(--muted);
  font-size: 7px;
}

.path-copy strong {
  margin-top: 2px;
  font-size: 13px;
}

.route-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.route-card-meta span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 7px;
}

.route-card-meta strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 12px;
}

.route-actions {
  display: flex;
  gap: 10px;
}

.route-actions .whatsapp-button {
  flex: 1;
}

/* Notifications */
.notification-list {
  display: grid;
  gap: 10px;
}

.notification-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.notification-item.clickable {
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.notification-item.clickable:hover,
.notification-item.clickable:focus-visible {
  border-color: #cdd7e4;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.notification-item.unread {
  border-left: 4px solid var(--yellow);
}

.notification-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-700);
  background: #edf3fa;
  border-radius: 12px;
  font-size: 17px;
}

.notification-item.unread .notification-symbol {
  color: #9c7200;
  background: #fff4cf;
}

.notification-copy {
  min-width: 0;
  flex: 1;
}

.notification-copy strong {
  display: block;
  font-size: 13px;
}

.notification-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.notification-target {
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.notification-item time {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.job-card.target-highlight,
.route-card.target-highlight {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(247, 197, 60, 0.22), var(--shadow);
}

/* Profile */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 18px;
}

.profile-card,
.membership-card {
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.profile-head h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 19px;
}

.profile-head p {
  margin: 3px 0 7px;
  color: var(--muted);
  font-size: 12px;
}

.verified {
  display: inline-flex;
  padding: 4px 10px;
  color: var(--green-dark);
  background: #e8f8ef;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
}

.profile-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.profile-card dl div {
  display: flex;
  flex-direction: column;
}

.profile-card dt {
  color: var(--muted);
  font-size: 10px;
}

.profile-card dd {
  margin: 4px 0 0;
  font-size: 10px;
  font-weight: 800;
}

.profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.membership-card {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(245, 200, 76, 0.22), transparent 35%),
    var(--navy-900);
  border: 0;
}

.membership-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.membership-plans-summary {
  display: grid;
  gap: 8px;
  margin: 22px 0 14px;
}

.membership-plans-summary > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 12px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.membership-plans-summary span {
  color: #c8d3e0;
  font-size: 12px;
}

.membership-plans-summary strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-size: 20px;
}

.membership-plans-summary small {
  color: #9bacc0;
  font-size: 10px;
}

.membership-plans-summary b {
  display: inline-flex;
  margin-left: 4px;
  padding: 3px 5px;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 5px;
  font-size: 12px;
}

.membership-card > p {
  color: #9bacc0;
  font-size: 12px;
}

.membership-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 18px 0;
  color: #c8d3e0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  font-size: 12px;
}

.membership-card li::first-letter {
  color: #7de2aa;
}

.my-listings {
  margin-top: 34px;
}

.subscription-plan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.subscription-plan-options legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #344158;
  font-size: 13px;
  font-weight: 800;
}

.subscription-plan-options label {
  position: relative;
  display: block;
  cursor: pointer;
}

.subscription-plan-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.subscription-plan-options label > span {
  display: grid;
  gap: 4px;
  min-height: 72px;
  align-content: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.subscription-plan-options input:checked + span {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(24, 68, 111, 0.1);
}

.subscription-plan-options strong {
  color: var(--navy-950);
  font-size: 13px;
}

.subscription-plan-options small {
  color: var(--muted);
  font-size: 12px;
}

.subscription-plan-options b {
  display: inline-flex;
  margin-left: 4px;
  padding: 3px 5px;
  color: #725300;
  background: #fff1bd;
  border-radius: 5px;
  font-size: 12px;
}

.bank-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.bank-details > div {
  padding: 14px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.bank-details .full {
  grid-column: 1 / -1;
}

.bank-details dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
}

.bank-details dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: var(--navy-950);
  font-size: 10px;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.payment-warning,
.payment-status {
  margin: 16px 0;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.payment-warning {
  color: #8a5b00;
  background: #fff4cf;
  border: 1px solid #f3d36d;
}

.payment-status.pending {
  color: #8a5b00;
  background: #fff4cf;
}

.payment-status.approved {
  color: var(--green-dark);
  background: #e8f8ef;
}

.payment-status.rejected {
  color: var(--red);
  background: #fff0f2;
}

.payment-table-card {
  margin-top: 20px;
}

.admin-management-panel {
  margin-top: 20px;
}

/* Admin */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-bottom: 19px;
}

.admin-stats article {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-stats small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.admin-stats strong {
  margin: 4px 0;
  color: var(--navy-950);
  font-size: 24px;
  letter-spacing: -0.05em;
}

.admin-stats span {
  color: var(--muted);
  font-size: 10px;
}

.admin-stats .warning-text {
  color: #d78812;
}

.admin-stats .success-text {
  color: var(--green-dark);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: start;
  gap: 16px;
}

.admin-table-card,
.admin-menu {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.table-user {
  display: flex;
  align-items: center;
  gap: 9px;
}

.table-user .avatar {
  width: 30px;
  height: 30px;
  font-size: 10px;
}

.table-user div {
  display: flex;
  flex-direction: column;
}

.table-user small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 7px;
}

.role-badge {
  display: inline-flex;
  padding: 4px 7px;
  color: var(--navy-700);
  background: #edf3fa;
  border-radius: 99px;
  font-size: 7px;
  font-weight: 800;
}

.table-actions {
  display: flex;
  gap: 5px;
}

.stacked-actions {
  flex-wrap: wrap;
}

.approve-button,
.reject-button {
  padding: 7px 9px;
  border-radius: 7px;
  font-size: 7px;
  font-weight: 800;
}

.approve-button {
  color: var(--green-dark);
  background: #e8f8ef;
}

.reject-button {
  color: var(--red);
  background: #fff0f2;
}

.admin-menu h3 {
  margin: 0 0 12px;
  font-size: 14px;
}

.admin-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 7px;
  padding: 13px 0;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.admin-menu button:last-child {
  border: 0;
}

.admin-menu button span,
.admin-menu button b {
  margin-left: auto;
}

.admin-menu button b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 7px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 20, 38, 0.72);
  backdrop-filter: blur(6px);
}

.modal {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(24px, 5vw, 38px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s ease;
}

.compact-modal {
  width: min(100%, 520px);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(15px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--muted);
  background: var(--canvas);
  border-radius: 50%;
  font-size: 20px;
}

.modal h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: 28px;
  letter-spacing: -0.045em;
}

.modal > p {
  margin: 8px 0 25px;
  font-size: 10px;
}

.bottom-nav {
  display: none;
}

@media (max-width: 1100px) {
  .auth-view {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .auth-copy h1 {
    font-size: 48px;
  }

  .job-card {
    grid-template-columns: 1fr auto;
  }

  .job-meta {
    grid-row: 2;
    grid-column: 1 / -1;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .job-action {
    grid-row: 1;
    grid-column: 2;
  }

  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-field {
    grid-column: 1 / -1;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body {
    background: #fff;
  }

  .auth-view {
    display: block;
  }

  .auth-visual {
    display: none;
  }

  .auth-panel {
    min-height: 100vh;
    align-items: start;
    padding: 35px 22px;
  }

  .mobile-brand {
    display: flex;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .app-main {
    padding-bottom: 86px;
  }

  .topbar {
    min-height: 64px;
    padding: 10px 16px;
  }

  .topbar-title span,
  .user-chip div,
  .role-switch {
    display: none;
  }

  .topbar-title h2 {
    font-size: 15px;
  }

  .mobile-menu {
    display: none;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--navy-900);
    background: var(--canvas);
    border-radius: 9px;
  }

  .topbar {
    justify-content: flex-start;
    gap: 12px;
  }

  .top-actions {
    margin-left: auto;
  }

  .user-chip {
    padding: 0;
    border: 0;
  }

  .page {
    padding: 23px 16px;
  }

  .hero-dashboard {
    min-height: 260px;
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .hero-dashboard h1 {
    font-size: 37px;
  }

  .hero-route {
    position: absolute;
    right: -20px;
    bottom: -60px;
    width: 55%;
    min-height: 180px;
    opacity: 0.65;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 30px;
  }

  .stats-grid .stat-card:last-child {
    grid-column: 1 / -1;
  }

  .stat-card {
    min-height: 98px;
    padding: 15px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
  }

  .stat-card strong {
    font-size: 22px;
  }

  .quick-grid,
  .route-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-heading .button {
    width: 100%;
  }

  .job-card {
    display: block;
    padding: 18px;
  }

  .job-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .job-route h3:last-child {
    text-align: right;
  }

  .job-meta {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .job-action {
    grid-template-columns: auto 1fr;
    align-items: center;
    margin-top: 16px;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .job-price {
    text-align: left;
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .tip-card {
    grid-row: 1;
  }

  .form-grid,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .subscription-gate {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .bottom-nav {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: 70px;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 6px 8px max(6px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 30px rgba(20, 40, 72, 0.08);
    backdrop-filter: blur(12px);
  }

  .bottom-nav button {
    display: flex;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    color: #8b97a7;
    background: transparent;
    font-size: 7px;
    font-weight: 800;
  }

  .bottom-nav button span {
    font-size: 18px;
  }

  .bottom-nav button.active {
    color: var(--navy-900);
  }

  .bottom-nav .bottom-add {
    width: 48px;
    height: 48px;
    margin: -26px auto 0;
    color: var(--navy-950);
    background: var(--yellow);
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(221, 169, 20, 0.35);
  }

  .bottom-nav .bottom-add span {
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .profile-actions {
    grid-template-columns: 1fr;
  }

  .subscription-plan-options {
    grid-template-columns: 1fr;
  }

  .bank-details {
    grid-template-columns: 1fr;
  }

  .bank-details .full {
    grid-column: auto;
  }

  .auth-form-wrap h2,
  .status-panel h2 {
    font-size: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    gap: 10px;
  }

  .stat-card p {
    display: none;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .search-field {
    grid-column: auto;
  }

  .filter-reset {
    min-height: 35px;
  }

  .job-meta {
    grid-template-columns: 1fr 1fr;
  }

  .job-action {
    grid-template-columns: 1fr;
  }

  .job-price {
    text-align: center;
  }

  .profile-card dl {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .notification-item {
    align-items: flex-start;
  }

  .notification-item time {
    display: none;
  }
}
strong
{
  font-weight: 500;
}
