:root {
  --orange: #f57c00;
  --orange-dark: #d96800;
  --orange-soft: #fff2e5;
  --ink: #252a30;
  --ink-soft: #3d4044;
  --muted: #717780;
  --line: #e5e7eb;
  --surface: #ffffff;
  --canvas: #f4f5f7;
  --success: #1b8f5a;
  --danger: #c0392b;
  --shadow: 0 24px 70px rgba(21, 28, 36, .14);
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.top-accent {
  height: 7px;
  background: var(--orange);
}

.brand-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 6vw, 88px);
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid rgba(37, 42, 48, .08);
}

.brand-header::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -8%;
  width: 48%;
  height: 100%;
  content: "";
  background: linear-gradient(135deg, #ff9a12, var(--orange));
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.brand,
.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  color: var(--ink);
  border-radius: 13px;
  background: var(--orange-soft);
}

.brand-mark svg {
  width: 39px;
  height: 39px;
}

.brand-copy,
.dashboard-brand > span:last-child {
  display: flex;
  flex-direction: column;
}

.brand-copy strong,
.dashboard-brand strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-copy small,
.dashboard-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.secure-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.secure-label svg {
  width: 18px;
  fill: currentColor;
}

.site-link {
  padding: 10px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}

.site-link:hover {
  color: var(--orange);
  background: #fff;
}

.auth-page {
  min-height: calc(100vh - 85px);
  padding: clamp(28px, 5vw, 68px) clamp(18px, 5vw, 78px);
  background:
    radial-gradient(circle at 18% 8%, rgba(245, 124, 0, .11), transparent 29%),
    linear-gradient(135deg, #f8f8f9 0%, #eef0f3 100%);
}

.auth-layout {
  display: grid;
  width: min(1190px, 100%);
  min-height: 660px;
  margin: 0 auto;
  overflow: hidden;
  grid-template-columns: .96fr 1.04fr;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.welcome-panel {
  position: relative;
  display: flex;
  min-height: 660px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(38px, 5vw, 68px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #252a30 0%, #30363d 62%, #1f2429 100%);
}

.welcome-panel::before {
  position: absolute;
  top: -110px;
  right: -155px;
  width: 400px;
  height: 400px;
  content: "";
  border: 85px solid rgba(245, 124, 0, .9);
  border-radius: 50%;
}

.welcome-panel::after {
  position: absolute;
  right: -80px;
  bottom: -135px;
  width: 320px;
  height: 320px;
  content: "";
  transform: rotate(28deg);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 55px;
}

.welcome-grid {
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom right, #000, transparent 75%);
}

.welcome-content,
.welcome-foot {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 11px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.welcome-content h1 {
  max-width: 520px;
  margin: 16px 0 22px;
  font-size: clamp(35px, 4.4vw, 60px);
  line-height: 1.07;
  letter-spacing: -.045em;
}

.welcome-content h1 span {
  color: var(--orange);
}

.welcome-content > p {
  max-width: 490px;
  margin: 0;
  color: #c9ced3;
  font-size: 14px;
  line-height: 1.8;
}

.benefit-list {
  display: grid;
  gap: 21px;
  margin: 44px 0 20px;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.benefit-list li > span {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(245, 124, 0, .65);
  border-radius: 9px;
  background: rgba(245, 124, 0, .14);
  font-size: 12px;
  font-weight: 800;
}

.benefit-list div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.benefit-list strong {
  font-size: 13px;
}

.benefit-list small {
  color: #aeb4bb;
  font-size: 11px;
  line-height: 1.55;
}

.welcome-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aeb4bb;
  font-size: 10px;
  font-weight: 600;
}

.welcome-foot svg {
  width: 20px;
  fill: var(--orange);
}

.auth-card {
  align-self: center;
  padding: clamp(34px, 5vw, 68px);
}

.auth-card-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.mini-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  color: #fff;
  border-radius: 14px 5px 14px 5px;
  background: linear-gradient(135deg, var(--orange), #ff9c1b);
  box-shadow: 0 9px 22px rgba(245, 124, 0, .25);
  font-size: 16px;
  font-weight: 800;
}

.auth-card-head .section-kicker {
  margin-bottom: 4px;
}

.auth-card-head h2 {
  margin: 0;
  font-size: 29px;
  letter-spacing: -.035em;
}

.auth-card-head > div > p:last-child {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.auth-tabs {
  display: grid;
  margin-bottom: 25px;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  position: relative;
  padding: 14px 10px;
  color: #8a9097;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.auth-tab::after {
  position: absolute;
  right: 18%;
  bottom: -1px;
  left: 18%;
  height: 3px;
  content: "";
  transform: scaleX(0);
  border-radius: 3px 3px 0 0;
  background: var(--orange);
  transition: transform .2s ease;
}

.auth-tab.is-active {
  color: var(--ink);
}

.auth-tab.is-active::after {
  transform: scaleX(1);
}

.auth-form {
  display: grid;
  gap: 9px;
}

.auth-form label,
.app-dialog label {
  margin-top: 7px;
  color: #41464d;
  font-size: 11px;
  font-weight: 700;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
}

.label-row label {
  margin: 0;
}

.text-button {
  padding: 0;
  color: var(--orange-dark);
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
}

.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-wrap > svg {
  position: absolute;
  left: 14px;
  width: 17px;
  fill: #9ba0a6;
  pointer-events: none;
}

.field-wrap input,
.app-dialog input {
  width: 100%;
  height: 49px;
  padding: 0 14px 0 43px;
  color: var(--ink);
  border: 1px solid #dfe2e6;
  border-radius: 10px;
  outline: 0;
  background: #fbfbfc;
  font-size: 12px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.field-wrap input:focus,
.app-dialog input:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245, 124, 0, .12);
}

.field-wrap input::placeholder,
.app-dialog input::placeholder {
  color: #a5aab0;
}

.password-toggle {
  position: absolute;
  right: 12px;
  padding: 4px;
  color: var(--muted);
  border: 0;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
}

.field-wrap:has(.password-toggle) input {
  padding-right: 70px;
}

.primary-button,
.hero-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 13px;
  padding: 0 22px;
  color: #fff;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), #ee6e00);
  box-shadow: 0 12px 25px rgba(245, 124, 0, .22);
  font-size: 12px;
  font-weight: 800;
  transition: transform .18s, box-shadow .18s, opacity .18s;
}

.primary-button:hover,
.hero-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 29px rgba(245, 124, 0, .28);
}

.primary-button:disabled,
.hero-action:disabled {
  cursor: wait;
  opacity: .62;
}

.primary-button svg,
.hero-action svg {
  width: 18px;
  fill: currentColor;
}

.preview-button {
  min-height: 39px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
}

.two-columns {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.two-columns > div {
  display: grid;
  gap: 9px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted) !important;
  font-size: 9px !important;
  line-height: 1.55;
}

.consent-row input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 1px 0 0;
  accent-color: var(--orange);
}

.privacy-note {
  margin: 3px 0 0;
  color: #8a9097;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.partner-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 24px;
  padding: 13px 15px;
  border: 1px solid #f0e4d8;
  border-radius: 10px;
  background: #fffaf5;
}

.partner-note > span {
  font-size: 22px;
}

.partner-note p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

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

.form-message {
  margin: -5px 0 14px;
  padding: 11px 13px;
  color: #8d2b22;
  border: 1px solid #f0c9c4;
  border-radius: 9px;
  background: #fff2f0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.form-message.is-success {
  color: #167048;
  border-color: #bde4d0;
  background: #eefaf4;
}

/* Dashboard */
.dashboard {
  min-height: 100vh;
  background: var(--canvas);
}

.dashboard-sidebar {
  position: fixed;
  z-index: 40;
  inset: 0 auto 0 0;
  display: flex;
  width: 264px;
  flex-direction: column;
  padding: 25px 19px 22px;
  color: #fff;
  background: linear-gradient(180deg, #252a30, #1f2429);
}

.dashboard-brand {
  padding: 0 8px 26px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.dashboard-brand .mini-mark {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 12px 4px 12px 4px;
  font-size: 14px;
}

.dashboard-brand strong {
  font-size: 14px;
}

.dashboard-brand small {
  color: #aeb4bb;
}

.dashboard-sidebar nav {
  display: grid;
  gap: 7px;
  margin-top: 27px;
}

.nav-item,
.logout-button {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  color: #abb1b8;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
}

.nav-item svg,
.logout-button svg {
  width: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.nav-item > span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  margin-left: auto;
  border-radius: 7px;
  background: rgba(255,255,255,.07);
  font-size: 9px;
}

.nav-item:hover,
.nav-item.is-active {
  color: #fff;
  background: rgba(245, 124, 0, .14);
}

.nav-item.is-active {
  box-shadow: inset 3px 0 var(--orange);
}

.sidebar-help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: auto 2px 18px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  background: rgba(255,255,255,.04);
}

.sidebar-help > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  margin-bottom: 10px;
  color: #fff;
  border-radius: 9px;
  background: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.sidebar-help strong {
  font-size: 11px;
}

.sidebar-help small {
  margin: 5px 0 10px;
  color: #9299a1;
  font-size: 9px;
  line-height: 1.5;
}

.sidebar-help a {
  color: var(--orange);
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

.logout-button {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.07);
  border-radius: 0;
}

.logout-button:hover {
  color: #fff;
}

.dashboard-content {
  min-height: 100vh;
  margin-left: 264px;
}

.dashboard-topbar {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 13px clamp(24px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.dashboard-topbar .section-kicker {
  margin-bottom: 4px;
}

.dashboard-topbar h1 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.03em;
}

.dashboard-topbar h1 span {
  color: var(--orange);
}

.profile-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 7px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.profile-button > span:first-child {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  border-radius: 10px;
  background: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.profile-button-copy {
  display: flex;
  max-width: 180px;
  flex-direction: column;
  align-items: flex-start;
}

.profile-button-copy strong,
.profile-button-copy small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-button-copy strong {
  font-size: 10px;
}

.profile-button-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.profile-button > svg {
  width: 17px;
  fill: #93989e;
}

.mobile-menu-button {
  display: none;
}

.dashboard-main {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px);
}

.demo-banner,
.verification-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 15px;
  border: 1px solid #ffcf9c;
  border-radius: 11px;
  background: #fff7ed;
  font-size: 10px;
}

.demo-banner strong {
  color: var(--orange-dark);
}

.demo-banner span {
  color: var(--muted);
}

.demo-banner button,
.verification-banner button {
  margin-left: auto;
  padding: 7px 10px;
  color: var(--orange-dark);
  border: 1px solid #f1b36e;
  border-radius: 7px;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
}

.verification-banner svg {
  width: 24px;
  flex: 0 0 24px;
  fill: var(--orange);
}

.verification-banner div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.verification-banner span {
  color: var(--muted);
  font-size: 9px;
}

.hero-card {
  position: relative;
  display: grid;
  min-height: 285px;
  padding: clamp(28px, 4vw, 50px);
  overflow: hidden;
  grid-template-columns: 1.16fr .84fr;
  color: #fff;
  border-radius: 19px;
  background: linear-gradient(128deg, #292f35 0%, #22272d 58%, #363d44 100%);
  box-shadow: 0 18px 50px rgba(34, 39, 45, .16);
}

.hero-card::after {
  position: absolute;
  top: -160px;
  right: -95px;
  width: 430px;
  height: 430px;
  content: "";
  border: 80px solid rgba(245, 124, 0, .86);
  border-radius: 50%;
}

.hero-card > div:first-child {
  position: relative;
  z-index: 3;
}

.hero-card h2 {
  max-width: 650px;
  margin: 4px 0 12px;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: -.04em;
}

.hero-card p {
  max-width: 640px;
  margin: 0;
  color: #b9c0c7;
  font-size: 11px;
  line-height: 1.7;
}

.hero-action {
  min-height: 44px;
  margin-top: 22px;
  font-size: 10px;
}

.route-illustration {
  position: relative;
  z-index: 2;
  min-width: 300px;
}

.route-map {
  position: absolute;
  inset: 13% 0 0 7%;
}

.route-dot {
  position: absolute;
  z-index: 3;
  display: block;
  width: 17px;
  height: 17px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255,255,255,.12);
}

.route-dot.start {
  left: 8%;
  bottom: 22%;
}

.route-dot.end {
  top: 11%;
  right: 12%;
}

.route-line {
  position: absolute;
  top: 30%;
  right: 16%;
  bottom: 27%;
  left: 12%;
  transform: skewY(-18deg);
  border-top: 2px dashed rgba(255,255,255,.8);
  border-radius: 50%;
}

.route-truck {
  position: absolute;
  z-index: 3;
  top: 31%;
  left: 44%;
  width: 62px;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.22));
}

.city {
  position: absolute;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.city.paris {
  left: 2%;
  bottom: 3%;
}

.city.france {
  top: -4%;
  right: -2%;
}

.stats-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.stat-card {
  display: flex;
  min-height: 124px;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.stat-icon {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border-radius: 13px;
}

.stat-icon svg {
  width: 21px;
  fill: currentColor;
}

.stat-icon.orange {
  color: var(--orange);
  background: var(--orange-soft);
}

.stat-icon.dark {
  color: var(--ink);
  background: #eceeef;
}

.stat-icon.green {
  color: var(--success);
  background: #e9f7f0;
}

.stat-card > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  flex: 1;
}

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

.stat-card strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-size: 29px;
}

.stat-card div span {
  margin-top: 7px;
  color: #9ba0a6;
  font-size: 8px;
}

.dashboard-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, .7fr);
}

.content-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -.025em;
}

.card-title-row button {
  color: var(--orange-dark);
  border: 0;
  background: transparent;
  font-size: 9px;
  font-weight: 800;
}

.empty-state {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

.empty-state > span {
  display: grid;
  width: 53px;
  height: 53px;
  place-items: center;
  color: var(--orange);
  border-radius: 17px;
  background: var(--orange-soft);
}

.empty-state svg {
  width: 25px;
  fill: currentColor;
}

.empty-state h4 {
  margin: 15px 0 6px;
  font-size: 13px;
}

.empty-state p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.empty-state button,
.progress-card > button {
  margin-top: 16px;
  padding: 9px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
}

.progress-track {
  height: 6px;
  margin: 20px 0 10px;
  overflow: hidden;
  border-radius: 9px;
  background: #eceef0;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  margin: 0 0 18px;
  font-size: 8px;
}

.progress-copy span {
  color: var(--muted);
}

.progress-card ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 17px 0 4px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.progress-card li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.progress-card li > span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  color: #878d94;
  border: 1px solid #d8dbdf;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
}

.progress-card li.is-done > span {
  color: #fff;
  border-color: var(--success);
  background: var(--success);
}

.progress-card li div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.progress-card li strong {
  font-size: 9px;
}

.progress-card li small {
  color: var(--muted);
  font-size: 8px;
}

/* Dialogs and feedback */
.app-dialog {
  width: min(500px, calc(100% - 28px));
  padding: 0;
  color: var(--ink);
  border: 0;
  border-radius: 17px;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

.app-dialog::backdrop {
  background: rgba(21, 25, 29, .66);
  backdrop-filter: blur(3px);
}

.app-dialog form {
  display: grid;
  gap: 9px;
  padding: 28px;
}

.app-dialog input {
  padding-left: 14px;
}

.app-dialog input:disabled {
  color: #8a9097;
  background: #eff1f3;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.dialog-head .section-kicker {
  margin-bottom: 5px;
}

.dialog-head h2 {
  margin: 0;
  font-size: 22px;
}

.dialog-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #777d84;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 22px;
  line-height: 1;
}

.dialog-intro {
  margin: 8px 0 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

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

.secondary-button {
  min-height: 43px;
  padding: 0 17px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
}

.primary-button.compact {
  min-height: 43px;
  margin: 0;
  font-size: 10px;
}

.small-dialog {
  max-width: 450px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: min(390px, calc(100% - 40px));
  padding: 13px 16px;
  color: #fff;
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  background: var(--ink);
  box-shadow: 0 13px 32px rgba(0,0,0,.24);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .auth-layout {
    grid-template-columns: .8fr 1.2fr;
  }

  .welcome-panel {
    padding: 38px;
  }

  .welcome-content h1 {
    font-size: 38px;
  }

  .benefit-list small {
    display: none;
  }

  .dashboard-sidebar {
    transform: translateX(-100%);
    transition: transform .24s ease;
  }

  .dashboard.menu-open .dashboard-sidebar {
    transform: translateX(0);
  }

  .dashboard-content {
    margin-left: 0;
  }

  .mobile-menu-button {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-right: 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }

  .mobile-menu-button span {
    width: 17px;
    height: 2px;
    background: var(--ink);
  }

  .dashboard-topbar > div {
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .brand-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .brand-header::after {
    width: 35%;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-mark svg {
    width: 34px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small,
  .secure-label {
    display: none;
  }

  .site-link {
    padding: 8px 10px;
    font-size: 9px;
  }

  .auth-page {
    min-height: calc(100vh - 75px);
    padding: 18px 12px 35px;
  }

  .auth-layout {
    display: block;
    border-radius: 15px;
  }

  .welcome-panel {
    min-height: auto;
    padding: 28px 25px;
  }

  .welcome-panel::before {
    top: -150px;
    right: -180px;
  }

  .welcome-content h1 {
    margin: 9px 0 12px;
    font-size: 31px;
  }

  .welcome-content > p {
    font-size: 11px;
    line-height: 1.65;
  }

  .benefit-list,
  .welcome-foot {
    display: none;
  }

  .auth-card {
    padding: 27px 21px 30px;
  }

  .auth-card-head {
    margin-bottom: 22px;
  }

  .auth-card-head h2 {
    font-size: 24px;
  }

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

  .dashboard-topbar {
    min-height: 72px;
    padding: 11px 14px;
  }

  .dashboard-topbar h1 {
    font-size: 17px;
  }

  .profile-button-copy,
  .profile-button > svg {
    display: none;
  }

  .profile-button {
    padding: 5px;
    border: 0;
  }

  .dashboard-main {
    padding: 16px 13px 32px;
  }

  .demo-banner,
  .verification-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .demo-banner button,
  .verification-banner button {
    margin-left: 0;
  }

  .hero-card {
    display: block;
    min-height: 335px;
    padding: 27px 22px;
  }

  .hero-card::after {
    top: auto;
    right: -100px;
    bottom: -230px;
  }

  .hero-card h2 {
    font-size: 27px;
  }

  .route-illustration {
    min-width: 0;
    min-height: 90px;
  }

  .route-map {
    inset: 10px 5px -8px 34%;
  }

  .route-truck {
    width: 52px;
  }

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

  .stat-card {
    min-height: 105px;
  }

  .content-card {
    padding: 20px;
  }

  .dashboard-sidebar {
    width: min(286px, 86vw);
    box-shadow: 20px 0 60px rgba(0,0,0,.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Alignement visuel avec le thème Blogger de Transporteur Paris */
:root {
  --theme-orange: #f57c00;
  --theme-orange-light: #ff9900;
  --theme-dark: #2d2b20;
  --theme-hero: url("https://blogger.googleusercontent.com/img/a/AVvXsEgg7O9TQOFBiiP4SCIDhNO59ms0gosruebrOrZXdZPm3a4fk2OCczJPtkYt5ZG2T-T1gBysuYCvN5AVf8NPbd4NVhcSAIPjZuEEp3qkMPxhW2vKTgJgpvw3EOt0NimRxJazm7QB3WHwlm6dQ5naoykR7DlKQoKSq8nLn6otRXzDCD7_k2IWFuMGHEGbyII2=s1536");
  --shadow: 0 8px 25px rgba(0, 0, 0, .10);
}

.site-topbar {
  height: 50px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  background: var(--theme-orange);
}

.site-shell,
.brand-shell {
  width: min(1000px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
}

.site-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.whatsapp-link {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #fff;
  border: 1px solid #fff;
  text-decoration: none;
}

.whatsapp-link svg {
  width: 16px;
  fill: currentColor;
}

.brand-header {
  min-height: 68px;
  padding: 0;
  overflow: visible;
  border-bottom: 0;
  background: linear-gradient(135deg, #fff 0%, #fff 46%, var(--theme-orange-light) 46%, var(--theme-orange-light) 100%);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
}

.brand-header::after {
  display: none;
}

.brand-shell {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  color: #262626;
}

.brand-copy strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-copy small {
  display: none;
}

.public-nav {
  display: flex;
  height: 68px;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.public-nav a {
  display: inline-flex;
  height: 68px;
  align-items: center;
  padding: 0 9px;
  color: #262626;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.public-nav a:hover {
  color: #fff;
}

.header-actions {
  gap: 10px;
  margin-left: 9px;
}

.secure-label {
  gap: 5px;
  font-size: 9px;
  letter-spacing: .04em;
}

.secure-label svg {
  width: 15px;
}

.site-link {
  padding: 8px 10px;
  border-radius: 0;
  font-size: 9px;
  text-transform: uppercase;
}

.auth-page {
  min-height: calc(100vh - 118px);
  padding: 42px 20px 54px;
  background: #f6f6f6;
}

.auth-layout {
  width: min(1100px, 100%);
  min-height: 610px;
  grid-template-columns: 1.03fr .97fr;
  border: 0;
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.welcome-panel {
  min-height: 610px;
  justify-content: center;
  padding: 52px;
  background-image: linear-gradient(rgba(0, 0, 0, .56), rgba(0, 0, 0, .62)), var(--theme-hero);
  background-position: 22% center;
  background-size: cover;
}

.welcome-panel::before,
.welcome-panel::after,
.welcome-grid {
  display: none;
}

.welcome-content h1 {
  margin: 12px 0 20px;
  font-size: clamp(34px, 4.1vw, 50px);
  line-height: 1.13;
  letter-spacing: -.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .32);
}

.welcome-content > p {
  color: #f2f2f2;
  line-height: 1.75;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.benefit-list {
  gap: 16px;
  margin-top: 34px;
}

.benefit-list li {
  padding: 11px 12px;
  background: rgba(0, 0, 0, .34);
  border-left: 3px solid var(--theme-orange);
}

.benefit-list li > span {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
  border: 0;
  border-radius: 2px;
  background: var(--theme-orange);
}

.benefit-list small,
.welcome-foot {
  color: #ededed;
}

.welcome-foot {
  margin-top: 26px;
}

.auth-card {
  padding: 46px 54px;
}

.mini-mark {
  border-radius: 3px;
  background: var(--theme-orange);
  box-shadow: none;
}

.auth-card-head h2 {
  letter-spacing: 0;
}

.auth-tab::after {
  border-radius: 0;
}

.field-wrap input,
.app-dialog input,
.primary-button,
.preview-button,
.partner-note,
.form-message,
.site-link,
.secondary-button,
.dialog-close,
.app-dialog,
.toast {
  border-radius: 3px;
}

.field-wrap input,
.app-dialog input {
  background: #fff;
}

.primary-button,
.hero-action {
  border-radius: 3px;
  background: var(--theme-orange);
  box-shadow: none;
}

.primary-button:hover,
.hero-action:hover {
  background: var(--theme-dark);
  box-shadow: none;
}

.has-dashboard > .site-topbar,
.has-dashboard > .brand-header {
  display: none;
}

.dashboard,
.dashboard-main {
  background: #f6f6f6;
}

.dashboard-sidebar {
  width: 252px;
  background: var(--theme-dark);
}

.dashboard-content {
  margin-left: 252px;
}

.dashboard-brand .mini-mark,
.nav-item,
.sidebar-help,
.profile-button,
.mobile-menu-button,
.demo-banner,
.verification-banner,
.verification-banner button,
.demo-banner button {
  border-radius: 3px;
}

.nav-item.is-active {
  background: var(--theme-orange);
  box-shadow: none;
}

.nav-item.is-active,
.nav-item.is-active svg {
  color: #fff;
}

.sidebar-help > span {
  border-radius: 2px;
}

.dashboard-topbar {
  background: linear-gradient(135deg, #fff 0%, #fff 56%, var(--theme-orange-light) 56%, var(--theme-orange-light) 100%);
}

.hero-card {
  display: block;
  min-height: 310px;
  padding: 48px;
  border-radius: 3px;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .73) 0%, rgba(0, 0, 0, .60) 54%, rgba(0, 0, 0, .34) 100%), var(--theme-hero);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-card::after,
.route-illustration {
  display: none;
}

.hero-card > div:first-child {
  max-width: 670px;
}

.hero-card h2 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}

.hero-card p {
  color: #f0f0f0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.stat-card,
.content-card,
.stat-icon,
.empty-state > span,
.empty-state button,
.progress-card > button {
  border-radius: 3px;
}

.stat-card,
.content-card {
  border: 0;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .07);
}

@media (max-width: 1100px) {
  .site-shell,
  .brand-shell {
    width: calc(100% - 36px);
  }

  .public-nav a {
    padding: 0 7px;
    font-size: 10px;
  }

  .secure-label {
    display: none;
  }
}

@media (max-width: 980px) {
  .public-nav {
    display: none;
  }

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

  .dashboard-content {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .site-topbar {
    height: 42px;
  }

  .site-shell {
    justify-content: center;
  }

  .site-shell > span {
    display: none;
  }

  .brand-header {
    min-height: 68px;
    background: linear-gradient(135deg, #fff 0%, #fff 57%, var(--theme-orange-light) 57%, var(--theme-orange-light) 100%);
  }

  .brand-shell {
    width: calc(100% - 30px);
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .auth-page {
    min-height: calc(100vh - 110px);
    padding: 16px 12px 32px;
  }

  .auth-layout {
    border-radius: 3px;
  }

  .welcome-panel {
    min-height: 255px;
    padding: 30px 25px;
    background-position: 22% center;
  }

  .welcome-content h1 {
    max-width: 360px;
    font-size: 30px;
  }

  .welcome-content > p {
    max-width: 430px;
  }

  .auth-card {
    padding: 30px 22px 34px;
  }

  .dashboard-topbar {
    background: #fff;
    border-top: 5px solid var(--theme-orange);
  }

  .hero-card {
    min-height: 330px;
    padding: 28px 23px;
    background-position: center;
  }
}

/* Logo officiel et lisibilité mobile */
.brand-logo {
  display: block;
  width: 230px;
  height: auto;
  max-height: 45px;
  object-fit: contain;
  object-position: left center;
}

.dashboard-brand {
  position: relative;
  display: flex;
  margin: -25px -19px 0;
  padding: 17px 16px 15px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-bottom: 4px solid var(--theme-orange);
  background: #fff;
}

.dashboard-logo {
  display: block;
  width: 210px;
  height: auto;
}

.dashboard-brand-label {
  color: #555;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.auth-card-head .mini-mark {
  display: none;
}

.auth-card-head {
  gap: 0;
}

.site-footer {
  color: #ddd;
  background: var(--theme-dark);
}

.footer-shell {
  display: flex;
  width: min(1000px, calc(100% - 40px));
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.footer-shell strong {
  color: #fff;
  font-size: 18px;
}

.footer-shell p {
  margin: 8px 0 0;
  color: #aaa;
  font-size: 12px;
  line-height: 1.6;
}

.footer-shell nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-shell a {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-shell a:hover {
  color: var(--theme-orange);
}

.footer-copyright {
  padding: 14px 20px;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 11px;
  text-align: center;
}

.has-dashboard > .site-footer {
  display: none;
}

.auth-form label,
.app-dialog label {
  font-size: 13px;
}

.field-wrap input,
.app-dialog input {
  font-size: 14px;
}

.auth-tab,
.primary-button,
.preview-button {
  font-size: 13px;
}

.text-button {
  font-size: 12px;
}

.partner-note p,
.privacy-note,
.form-message {
  font-size: 11px;
}

.partner-note strong {
  font-size: 12px;
}

.nav-item,
.logout-button {
  font-size: 13px;
}

.sidebar-help strong {
  font-size: 13px;
}

.sidebar-help small,
.sidebar-help a {
  font-size: 11px;
}

.hero-card p {
  font-size: 13px;
}

.hero-action {
  font-size: 13px;
}

.stat-card small,
.stat-card div span,
.card-title-row button,
.empty-state p,
.progress-card li strong,
.progress-card li small,
.progress-copy {
  font-size: 11px;
}

.empty-state h4 {
  font-size: 15px;
}

.stat-icon.green {
  color: var(--theme-orange);
  background: #fff2e5;
}

@media (max-width: 760px) {
  .brand-logo {
    width: min(195px, 56vw);
    max-height: 36px;
  }

  .site-link {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    font-size: 10px;
  }

  .welcome-content .eyebrow {
    font-size: 11px;
  }

  .welcome-content h1 {
    font-size: 31px;
    line-height: 1.18;
  }

  .welcome-content > p {
    font-size: 14px;
    line-height: 1.7;
  }

  .auth-card-head h2 {
    font-size: 27px;
  }

  .auth-card-head > div > p:last-child {
    font-size: 14px;
    line-height: 1.55;
  }

  .auth-tab {
    min-height: 50px;
    font-size: 14px;
  }

  .auth-form {
    gap: 11px;
  }

  .auth-form label,
  .app-dialog label {
    font-size: 14px;
  }

  .text-button {
    font-size: 12px;
  }

  .field-wrap input,
  .app-dialog input {
    height: 54px;
    font-size: 16px;
  }

  .password-toggle {
    font-size: 11px;
  }

  .primary-button {
    min-height: 54px;
    font-size: 15px;
  }

  .preview-button {
    min-height: 48px;
    font-size: 13px;
  }

  .consent-row,
  .privacy-note,
  .partner-note p,
  .form-message {
    font-size: 12px !important;
    line-height: 1.65;
  }

  .partner-note strong {
    font-size: 13px;
  }

  .dashboard-logo {
    width: min(215px, 72vw);
  }

  .dashboard-brand-label {
    font-size: 12px;
  }

  .dashboard-topbar .section-kicker,
  .section-kicker,
  .eyebrow {
    font-size: 11px;
  }

  .dashboard-topbar h1 {
    font-size: 20px;
  }

  .demo-banner,
  .verification-banner,
  .verification-banner span,
  .demo-banner button,
  .verification-banner button {
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-card h2 {
    font-size: 29px;
    line-height: 1.22;
  }

  .hero-card p {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-action {
    min-height: 49px;
    font-size: 14px;
  }

  .stat-card small,
  .stat-card div span,
  .card-title-row button,
  .empty-state p,
  .progress-card li strong,
  .progress-card li small,
  .progress-copy {
    font-size: 12px;
    line-height: 1.55;
  }

  .content-card h3 {
    font-size: 18px;
  }

  .empty-state h4 {
    font-size: 16px;
  }

  .footer-shell {
    width: calc(100% - 36px);
    min-height: 0;
    padding: 30px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-shell p,
  .footer-shell a,
  .footer-copyright {
    font-size: 12px;
  }

  .footer-shell nav {
    justify-content: flex-start;
  }
}
