/* ==========================================================================
   Logistika — dizayn tizimi
   ========================================================================== */
:root {
  --navy: #0a1633;
  --navy-2: #13244d;
  --brand: #2563eb;
  --brand-2: #06b6d4;
  --brand-dark: #1d4ed8;
  --brand-soft: #eaf1ff;
  --grad: linear-gradient(135deg, #2563eb 0%, #3b82f6 45%, #06b6d4 100%);
  --green: #10b981;
  --green-dark: #059669;
  --green-soft: #e7f8f1;
  --amber: #d97706;
  --amber-soft: #fff4e0;
  --violet: #7c3aed;
  --violet-soft: #f1ebff;
  --red: #e11d48;
  --red-soft: #ffeef2;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --border: #e5e9f2;
  --border-2: #d6dce8;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 14px -4px rgba(15, 23, 42, .08);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, .05), 0 18px 40px -12px rgba(15, 23, 42, .18);
  --shadow-brand: 0 8px 22px -8px rgba(37, 99, 235, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font: 15px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
  background: var(--bg);
  color: var(--text);
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1 { font-size: 28px; line-height: 1.2; margin: 0; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: 18px; margin: 28px 0 14px; letter-spacing: -.01em; font-weight: 700; }
h3 { font-size: 16px; margin: 0 0 6px; font-weight: 700; }
.card h2 { margin-top: 0; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.grow { flex: 1; }
.pre { white-space: pre-wrap; }
[hidden] { display: none !important; }
::selection { background: rgba(37, 99, 235, .18); }

/* Ikonkalar */
.i { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.i-fill { fill: currentColor; stroke: none; }
.ic-box { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.ic-box .i { width: 22px; height: 22px; }
.ic-box.green { background: var(--green-soft); color: var(--green-dark); }
.ic-box.amber { background: var(--amber-soft); color: var(--amber); }
.ic-box.violet { background: var(--violet-soft); color: var(--violet); }

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(229, 233, 242, .9); }
.topbar-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.logo:hover { color: var(--text); }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-brand); }
.logo-mark .i { width: 22px; height: 22px; stroke-width: 2; }
.logo-mark.small { width: 32px; height: 32px; border-radius: 10px; box-shadow: none; }
.logo-mark.small .i { width: 18px; height: 18px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text small { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.mainnav { display: flex; gap: 4px; flex: 1; }
.mainnav a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .15s, color .15s; }
.mainnav a .i { color: var(--muted); transition: color .15s; }
.mainnav a:hover { background: var(--surface-2); color: var(--text); }
.mainnav a.active { color: var(--brand); background: var(--brand-soft); }
.mainnav a.active .i { color: var(--brand); }
.topbar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.bell { position: relative; color: var(--text-2); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: #fff; transition: background .15s; }
.bell:hover { background: var(--surface-2); color: var(--text); }
.bell-count { position: absolute; top: -5px; right: -5px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: inline-grid; place-items: center; font-size: 14px; flex-shrink: 0; letter-spacing: .02em; }
.avatar-lg { width: 72px; height: 72px; font-size: 24px; box-shadow: var(--shadow-brand); }
.usermenu { position: relative; }
.usermenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 3px 10px 3px 3px; border-radius: 99px; border: 1px solid var(--border); background: #fff; }
.usermenu summary:hover { background: var(--surface-2); }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu-name { display: flex; flex-direction: column; line-height: 1.15; font-size: 13.5px; }
.usermenu-name small { color: var(--muted); font-size: 11.5px; }
.usermenu-pop { position: absolute; right: 0; top: 52px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); min-width: 240px; padding: 6px; display: flex; flex-direction: column; animation: pop .16s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.usermenu-pop a, .usermenu-pop button { padding: 10px 12px; border-radius: 9px; color: var(--text); text-align: left; background: none; border: 0; font: inherit; font-weight: 500; cursor: pointer; width: 100%; }
.usermenu-pop a:hover, .usermenu-pop button:hover { background: var(--surface-2); }
.usermenu-pop form button { color: var(--red); }
.usermenu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--border); margin-bottom: 4px; display: flex; flex-direction: column; }

/* ==========================================================================
   Layout
   ========================================================================== */
.container { max-width: 1240px; width: 100%; margin: 0 auto; padding: 28px 24px 48px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head p { margin: 4px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0 16px; }
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow); }
.card.narrow { max-width: 560px; }
.center-card { margin: 48px auto; text-align: center; }
.card.empty, .empty { color: var(--muted); text-align: center; }
.empty { padding: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; color: inherit; box-shadow: var(--shadow); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.stat::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--grad); opacity: .9; }
a.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: inherit; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 500; }
.stat strong { font-size: 26px; letter-spacing: -.02em; }
.stat .small-strong { font-size: 15px; letter-spacing: 0; }
.site-footer { background: var(--navy); color: #cbd5e1; margin-top: 24px; }
.site-footer .muted { color: #8796b3; }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 26px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: center; color: #fff; }

/* ==========================================================================
   Tugmalar va formalar
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 14.5px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border-2); background: #fff; color: var(--text); cursor: pointer; white-space: nowrap; transition: transform .15s var(--ease), box-shadow .15s, background .15s, border-color .15s; box-shadow: var(--shadow-xs); }
.btn:hover { background: var(--surface-2); color: var(--text); border-color: #c5cede; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--grad); color: #fff; filter: brightness(1.06); box-shadow: 0 10px 26px -8px rgba(37, 99, 235, .65); border-color: transparent; }
.btn-success { background: linear-gradient(135deg, #10b981, #059669); border-color: transparent; color: #fff; box-shadow: 0 8px 22px -8px rgba(16, 185, 129, .6); }
.btn-success:hover { background: linear-gradient(135deg, #10b981, #059669); color: #fff; filter: brightness(1.05); border-color: transparent; }
.btn-danger { color: var(--red); border-color: #f7c6d2; background: #fff; }
.btn-danger:hover { background: var(--red-soft); color: var(--red); border-color: #f2a9bb; }
.btn-ghost { border-color: transparent; background: transparent; box-shadow: none; }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: #f1f5ff; color: var(--navy); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); box-shadow: none; backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-link { border: 0; background: none; color: var(--brand); font-weight: 600; box-shadow: none; }
.btn-link:hover { background: none; color: var(--brand-dark); text-decoration: underline; }
.btn-sm { padding: 7px 13px; font-size: 13.5px; border-radius: 10px; gap: 6px; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
form.inline { display: inline; }
.count { background: var(--red); color: #fff; border-radius: 9px; font-size: 11px; padding: 1px 7px; font-weight: 700; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form.compact { gap: 11px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-price { grid-template-columns: 2fr 1fr; }
input, select, textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 11px 13px; border: 1px solid var(--border-2); border-radius: var(--radius-sm); background: #fff; color: var(--text); width: 100%; min-width: 0; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #94a3b8; }
input:hover, select:hover, textarea:hover { border-color: #b9c3d6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
input:disabled { background: var(--surface-2); color: var(--muted); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
label.check { flex-direction: row; align-items: flex-start; gap: 11px; font-weight: 500; cursor: pointer; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); transition: border-color .15s, background .15s; }
label.check:hover { border-color: var(--border-2); }
label.check:has(input:checked) { border-color: #a9c2fb; background: var(--brand-soft); }
label.check input { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: var(--brand); padding: 0; }
fieldset { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px 18px; margin: 0; display: flex; flex-direction: column; gap: 14px; background: var(--surface-2); }
legend { font-weight: 700; padding: 0 8px; color: var(--text); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.input-group { display: flex; gap: 6px; }
.input-group .btn { padding: 0 13px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.filters input, .filters select { width: auto; min-width: 200px; }

.flash { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; border: 1px solid; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; animation: pop .25s var(--ease); }
main > .flash.container { margin-top: 20px; }
.flash-ok { background: var(--green-soft); border-color: #b4e9d3; color: #065f46; }
.flash-err { background: var(--red-soft); border-color: #fac4d1; color: #9f1239; flex-direction: column; gap: 2px; }
.flash-warn { background: var(--amber-soft); border-color: #fbd8a0; color: #92400e; margin-bottom: 12px; }

/* ==========================================================================
   Belgilar
   ========================================================================== */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; vertical-align: middle; letter-spacing: .01em; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-open, .st-accepted { background: var(--green-soft); color: #047857; }
.st-booked, .st-pending { background: var(--amber-soft); color: #b45309; }
.st-confirmed { background: var(--violet-soft); color: var(--violet); }
.st-in_transit { background: var(--brand-soft); color: var(--brand); }
.st-in_transit::before { animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.st-delivered { background: #e6f6f8; color: #0e7490; }
.st-cancelled, .st-withdrawn { background: #eef1f6; color: var(--muted); }
.st-rejected { background: var(--red-soft); color: var(--red); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; background: #eef2f8; color: var(--text-2); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.tag .i { width: 14px; height: 14px; }
a.tag:hover { filter: brightness(.96); }
.tag-green { background: var(--green-soft); color: #047857; }
.tag-blue { background: var(--brand-soft); color: var(--brand); }
.tag-orange { background: var(--amber-soft); color: #b45309; }
.tag-bolt { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.stars { color: #f59e0b; font-weight: 700; white-space: nowrap; }
.verified { color: var(--brand); font-weight: 700; display: inline-flex; }
.verified .i { width: 16px; height: 16px; }
.verified-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--brand-soft); color: var(--brand); border-radius: 99px; padding: 3px 10px 3px 7px; font-size: 12px; font-weight: 700; vertical-align: middle; letter-spacing: 0; }
.verified-badge .i { width: 14px; height: 14px; }

/* ==========================================================================
   Bosh sahifa (landing)
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(6, 182, 212, .35), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(37, 99, 235, .45), transparent 60%), linear-gradient(160deg, #0a1633 0%, #0f1f47 55%, #13295c 100%); color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); }
.hero-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 72px 24px 88px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 600; color: #dbeafe; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
.hero h1 { font-size: 54px; line-height: 1.05; letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 .grad-text { background: linear-gradient(90deg, #60a5fa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18px; line-height: 1.6; color: #c7d2fe; max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: #93a4c8; font-size: 14px; }
.hero-note a { color: #fff; font-weight: 600; }
.hero-visual { position: relative; }
.route-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 22px; backdrop-filter: blur(10px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.route-svg { width: 100%; height: auto; display: block; }
.route-svg .road { stroke: rgba(255, 255, 255, .25); stroke-width: 2; stroke-dasharray: 6 8; fill: none; }
.route-svg .road-glow { stroke: url(#rg); stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 3.2s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.route-svg .city { fill: #fff; }
.route-svg .city-ring { fill: none; stroke: rgba(96, 165, 250, .6); stroke-width: 2; transform-origin: center; transform-box: fill-box; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.route-svg text { fill: #e2e8f0; font: 600 12px Inter, sans-serif; }
.route-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.route-mini div { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 10px 12px; }
.route-mini b { display: block; font-size: 18px; }
.route-mini span { font-size: 12px; color: #a5b4d4; }
.float-card { position: absolute; background: #fff; color: var(--text); border-radius: 14px; padding: 12px 14px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); display: flex; align-items: center; gap: 10px; font-size: 13.5px; animation: float 5s ease-in-out infinite; }
.float-card b { display: block; font-size: 14px; }
.float-card .muted { font-size: 12px; }
.float-card.fc-1 { left: -26px; bottom: 38px; }
.float-card.fc-2 { right: -18px; top: -22px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero-stats { position: relative; max-width: 1240px; margin: -44px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; z-index: 2; }
.hs { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; }
.hs strong { display: block; font-size: 28px; letter-spacing: -.03em; line-height: 1.1; }
.hs span { color: var(--muted); font-size: 13.5px; }
.landing-section { max-width: 1240px; margin: 0 auto; padding: 64px 24px 8px; }
.kicker, .landing-section > .kicker { color: var(--brand); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.landing-section > h2 { font-size: 34px; letter-spacing: -.03em; margin: 8px 0 10px; }
.landing-section > p.muted { font-size: 17px; max-width: 640px; margin-bottom: 30px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature h3 { margin: 16px 0 6px; font-size: 17px; }
.feature p { color: var(--muted); margin: 0; font-size: 14.5px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow); }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px; box-shadow: var(--shadow-brand); }
.cta-band { max-width: 1192px; margin: 64px auto 24px; border-radius: 24px; padding: 44px 48px; background: radial-gradient(600px 300px at 90% 0%, rgba(6, 182, 212, .4), transparent 60%), linear-gradient(135deg, #1d4ed8, #0a1633); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-band h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.02em; }
.cta-band p { margin: 0; color: #c7d2fe; }

/* ==========================================================================
   Kirish / ro'yxatdan o'tish
   ========================================================================== */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 68px); }
.auth-side { position: relative; overflow: hidden; background: radial-gradient(700px 400px at 100% 0%, rgba(6, 182, 212, .35), transparent 60%), linear-gradient(160deg, #0a1633, #13295c); color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.auth-side::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 70%); }
.auth-side > * { position: relative; }
.auth-side h2 { font-size: 34px; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 14px; }
.auth-side p { color: #c7d2fe; font-size: 16px; }
.auth-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: center; color: #e2e8f0; }
.auth-points .ic-box { background: rgba(255, 255, 255, .1); color: #93c5fd; width: 38px; height: 38px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card.wide { max-width: 640px; }
.auth-card h1 { margin-bottom: 6px; }
.auth-card > p.muted { margin-bottom: 22px; }
.role-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.role-option { cursor: pointer; }
.role-option input { position: absolute; opacity: 0; pointer-events: none; }
.role-option span { display: flex; flex-direction: column; gap: 4px; border: 2px solid var(--border); border-radius: 14px; padding: 14px; height: 100%; font-weight: 500; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.role-option span .ic-box { width: 36px; height: 36px; margin-bottom: 6px; }
.role-option b { font-size: 15px; color: var(--text); }
.role-option small { color: var(--muted); font-weight: 400; line-height: 1.35; }
.role-option:hover span { border-color: var(--border-2); }
.role-option input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.role-option input:focus-visible + span { outline: 3px solid rgba(37, 99, 235, .3); }

/* ==========================================================================
   Yuk kartochkasi
   ========================================================================== */
.load-list { display: flex; flex-direction: column; gap: 12px; }
.load-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; color: inherit; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.load-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #c8d6f3; color: inherit; }
.load-card.is-instant { border-left: 4px solid #f59e0b; }
.lc-main { min-width: 0; }
.lc-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.lc-stop { display: flex; flex-direction: column; min-width: 0; }
.lc-stop b { font-size: 18px; font-weight: 700; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.lc-stop small { color: var(--muted); font-size: 12.5px; }
.lc-stop.to { text-align: right; }
.lc-line { position: relative; height: 22px; display: flex; align-items: center; justify-content: center; min-width: 70px; }
.lc-line::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #c6d3ea; }
.lc-line::after { content: ''; position: absolute; right: -2px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--red); transform: translateY(-50%); box-shadow: 0 0 0 4px #ffe4ea; }
.lc-line .dot-a { position: absolute; left: -2px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--green); transform: translateY(-50%); box-shadow: 0 0 0 4px #d6f5e9; }
.lc-line .km { position: relative; background: #fff; padding: 2px 10px; border-radius: 99px; border: 1px solid var(--border); font-size: 12px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.lc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lc-meta > span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 9px; background: var(--surface-2); border: 1px solid #eef1f6; font-size: 13px; color: var(--text-2); font-weight: 500; }
.lc-meta .i { width: 15px; height: 15px; color: var(--muted); }
.lc-owner { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 13.5px; color: var(--text-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lc-owner .avatar { width: 26px; height: 26px; font-size: 10.5px; }
.lc-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; min-width: 170px; }
.lc-price { font-size: 24px; font-weight: 800; color: var(--text); white-space: nowrap; letter-spacing: -.025em; }
.lc-price.big { font-size: 34px; }
.lc-price.neg { font-size: 17px; color: var(--muted); }
.lc-per { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.lc-near { display: inline-flex; align-items: center; gap: 5px; color: var(--green-dark); background: var(--green-soft); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 99px; }
.lc-near .i { width: 14px; height: 14px; }
.lc-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.lc-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 13.5px; }
.load-card:hover .lc-go .i { transform: translateX(3px); }
.lc-go .i { transition: transform .2s var(--ease); }

.my-loads { display: flex; flex-direction: column; gap: 12px; }
.my-load { padding: 18px 22px; margin: 0; transition: box-shadow .2s; }
.my-load:hover { box-shadow: var(--shadow-lg); }
.ml-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ml-route { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -.015em; }
.ml-route:hover { color: var(--brand); }
.ml-route .i { color: var(--brand); }
.ml-bottom { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.ml-bottom .muted { display: inline-flex; align-items: center; gap: 6px; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; background: #e9edf5; border-radius: 13px; margin-bottom: 20px; overflow-x: auto; max-width: 100%; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; color: var(--text-2); font-weight: 600; border-radius: 10px; white-space: nowrap; font-size: 14px; }
.tabs a.active { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.tabs a:hover { color: var(--text); }
.tabs .count { background: #d9dfeb; color: var(--text-2); }
.tabs a.active .count { background: var(--brand); color: #fff; }
.empty-state { text-align: center; padding: 52px 20px; }
.empty-state .ic-box { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 14px; }
.empty-state .ic-box .i { width: 30px; height: 30px; }
.empty-state h2 { margin: 0 0 6px; }

/* ==========================================================================
   Qidiruv
   ========================================================================== */
.search-hero { background: linear-gradient(135deg, #0a1633, #1d3a8a); border-radius: 22px; padding: 26px; margin-bottom: 18px; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.search-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 220px at 100% 0%, rgba(6, 182, 212, .35), transparent 60%); }
.search-hero > * { position: relative; }
.search-hero h1 { color: #fff; }
.search-hero .page-head { margin-bottom: 18px; }
.search-hero .page-head p { color: #a5b4d4; }
.search-bar { background: #fff; border-radius: 16px; padding: 14px; color: var(--text); }
.sb-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.sb-field { min-width: 130px; }
.sb-field.grow { flex: 1 1 210px; }
.sb-small { width: 96px; min-width: 96px; }
.sb-btn { height: 46px; padding: 0 22px; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .1); padding: 4px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15); }
.seg a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 9px; color: #cbd5e1; font-weight: 600; font-size: 14px; }
.seg a.active { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.seg a:hover { color: #fff; }
.seg a.active:hover { color: var(--navy); }
.results-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 2px 14px; color: var(--text-2); gap: 10px; flex-wrap: wrap; }
.results-head b { color: var(--text); font-size: 17px; }
.hint-card { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: linear-gradient(135deg, #eff5ff, #e6fbff); border-color: #c8dafc; flex-wrap: wrap; }
.hint-card > div { display: flex; gap: 14px; align-items: center; }
.active-trips { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.active-trip { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #c8dafc; border-radius: 14px; padding: 12px 16px; color: var(--text); box-shadow: var(--shadow); flex-wrap: wrap; }
.active-trip:hover { border-color: var(--brand); color: var(--text); }
.active-trip .ic-box { width: 36px; height: 36px; }

/* ==========================================================================
   Xaritalar
   ========================================================================== */
.map { border-radius: var(--radius); border: 1px solid var(--border); z-index: 0; background: #e9eef5; box-shadow: var(--shadow); }
.map-pick { height: 360px; margin: 12px 0 8px; }
.map-load { height: 320px; margin-bottom: 18px; }
.map-search { height: 640px; }
.leaflet-container { font-family: Inter, sans-serif; }
.leaflet-bar { border: 0 !important; box-shadow: var(--shadow-lg) !important; border-radius: 10px !important; overflow: hidden; }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow-lg); }
.map-tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.chip { border: 1px solid var(--border-2); background: #fff; border-radius: 99px; padding: 6px 13px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text-2); transition: all .15s; }
.chip:hover { border-color: #b9c3d6; }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.route-dist { margin-left: auto; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 4px 12px; border-radius: 99px; font-size: 13.5px; }
.route-dist:empty { display: none; }
.map-pin { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); color: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .45); border: 2.5px solid #fff; line-height: 1; }
.map-pin > * { transform: rotate(45deg); }
.pin-a { background: var(--green); }
.pin-b { background: var(--red); }
.pin-load { background: var(--brand); font-size: 14px; }
.pin-me { background: var(--navy); }
.pin-truck { background: #f59e0b; font-size: 15px; }
.pin { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 800; vertical-align: middle; margin-right: 4px; }
.map-popup { font: 14px/1.5 Inter, sans-serif; min-width: 180px; }
.map-popup b { font-size: 15px; }

/* ==========================================================================
   Yuk sahifasi
   ========================================================================== */
.load-hero { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px 26px; margin-bottom: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.load-hero .crumbs { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.load-hero .crumbs span { display: inline-flex; align-items: center; gap: 6px; }
.load-hero .crumbs .i { width: 15px; height: 15px; }
.big-route { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.big-route .lc-stop b { font-size: 26px; letter-spacing: -.03em; max-width: none; white-space: normal; }
.big-route .lc-line { min-width: 90px; }
.load-hero-price { text-align: right; padding-left: 24px; border-left: 1px solid var(--border); }
.load-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 16px; flex-wrap: wrap; }
.load-layout { display: grid; grid-template-columns: 1fr 390px; gap: 18px; align-items: start; }
.load-side { position: sticky; top: 86px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.spec { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid #eef1f6; }
.spec .ic-box { width: 38px; height: 38px; border-radius: 11px; }
.spec .ic-box .i { width: 19px; height: 19px; }
.spec small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.spec b { font-size: 14.5px; }
.notes-box { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; color: #78350f; white-space: pre-wrap; }
dl.info { display: grid; grid-template-columns: 170px 1fr; gap: 10px 14px; margin: 0; }
dl.info dt { color: var(--muted); }
dl.info dd { margin: 0; font-weight: 500; }
.action-card { position: relative; overflow: hidden; }
.action-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.action-card h2 { font-size: 18px; }
.action-card > * + * { margin-top: 12px; }
.near-line { display: flex; align-items: center; gap: 10px; background: var(--green-soft); color: #065f46; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.near-line .i { color: var(--green-dark); width: 20px; height: 20px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; margin: 16px 0; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.offer-status { background: var(--amber-soft); padding: 12px 14px; border-radius: 12px; border: 1px solid #fde3b0; }
.party { display: flex; flex-direction: column; gap: 4px; }
.party-top { display: flex; gap: 12px; align-items: center; }
.party-top .avatar { width: 48px; height: 48px; font-size: 16px; }
.party-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.party-name { font-size: 17px; font-weight: 700; color: var(--text); }
.party-name:hover { color: var(--brand); }
.party-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
details.release { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
details.release summary { cursor: pointer; color: var(--muted); font-size: 13.5px; font-weight: 500; }
details.release form { margin-top: 10px; }
.confirm-list { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-direction: column; gap: 8px; }
.confirm-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; background: var(--surface-2); color: var(--muted); font-weight: 500; }
.confirm-list li .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px dashed #c3cbdb; display: grid; place-items: center; flex-shrink: 0; }
.confirm-list li.ok { background: var(--green-soft); color: #065f46; }
.confirm-list li.ok .tick { background: var(--green); border: 0; color: #fff; }
.confirm-list li.ok .tick .i { width: 14px; height: 14px; stroke-width: 3; }
.confirm-list .small { margin-left: auto; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 18px 28px; display: flex; flex-direction: column; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2.5px solid var(--brand); }
.timeline li::after { content: ''; position: absolute; left: 10.5px; top: 20px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:first-child::before { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li > span:first-child { font-weight: 600; }
.mini-load { display: flex; justify-content: space-between; gap: 10px; padding: 12px; margin: 0 -12px; border-radius: 12px; color: inherit; }
.mini-load:hover { background: var(--surface-2); color: inherit; }
.mini-load .lc-price { font-size: 15px; }

.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; }
.offer { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin: 0; transition: box-shadow .2s; }
.offer:hover { box-shadow: var(--shadow-lg); }
.offer-dim { opacity: .6; }
.offer-who { display: flex; gap: 12px; }
.offer-who .avatar { width: 46px; height: 46px; }
.offer-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.offer-comment { grid-column: 1 / -1; color: var(--text-2); background: var(--surface-2); border-radius: 11px; padding: 10px 12px; font-size: 14px; }
.offer-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; padding-top: 12px; border-top: 1px solid var(--border); }

.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 34px; color: #dfe4ee; cursor: pointer; transition: transform .1s, color .1s; line-height: 1; }
.star-input label:hover { transform: scale(1.12); }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f59e0b; }

/* ==========================================================================
   Shartnoma
   ========================================================================== */
.contract { max-width: 880px; margin: 0 auto; padding: 44px 48px; position: relative; overflow: hidden; }
.contract::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--grad); }
.contract-head { text-align: center; margin-bottom: 28px; }
.contract-head .logo-mark { margin: 0 auto 14px; }
.contract-head h1 { font-size: 22px; }
.contract section { margin-bottom: 24px; }
.contract h3 { color: var(--navy); }
.contract-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contract-parties > div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.contract-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.contract-table th, .contract-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text); }
.contract-table tr:last-child th, .contract-table tr:last-child td { border-bottom: 0; }
.contract-table th { width: 32%; background: var(--surface-2); font-weight: 600; color: var(--text-2); }
.terms { padding-left: 20px; color: var(--text-2); }
.terms li { margin-bottom: 8px; }
.contract-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sign-box { border: 2px dashed var(--border-2); border-radius: 14px; padding: 16px; }
.sign-box.signed { border-style: solid; border-color: #9ee0c4; background: var(--green-soft); }
.sign-box.signed .stamp { color: var(--green-dark); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.contract-confirm { display: flex; flex-direction: column; gap: 14px; align-items: stretch; border-top: 1px solid var(--border); padding-top: 22px; }

/* ==========================================================================
   Chat
   ========================================================================== */
.chat-wrap { max-width: 780px; margin: 0 auto; padding: 0; display: flex; flex-direction: column; height: calc(100vh - 180px); min-height: 440px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: #fff; }
.chat-head .back { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--text-2); }
.chat-head .back:hover { background: var(--surface-2); }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, #f5f8fd, #eef3fb); }
.msg { max-width: 75%; padding: 9px 14px; border-radius: 16px; box-shadow: var(--shadow-xs); animation: pop .2s var(--ease); }
.msg-me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 5px; }
.msg-them { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; border: 1px solid var(--border); }
.msg-body { white-space: pre-wrap; word-wrap: break-word; }
.msg-time { font-size: 11px; opacity: .7; text-align: right; margin-top: 2px; }
.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border); background: #fff; }

/* ==========================================================================
   Ro'yxatlar, jadvallar, profil
   ========================================================================== */
.list-card { padding: 0; overflow: hidden; }
.notif { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); color: var(--text); transition: background .15s; }
.notif:last-child { border-bottom: 0; }
.notif:hover { background: var(--surface-2); color: var(--text); }
.notif .ic-box { width: 38px; height: 38px; }
.notif > span:first-of-type { flex: 1; }
.notif > .avatar, .notif > .ic-box { flex: none !important; }
.notif > .avatar + span, .notif > .ic-box + span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.notif > .muted:last-child { flex: none; }
.notif.unread { background: #f4f8ff; font-weight: 600; }
.notif.unread .ic-box { background: var(--grad); color: #fff; }
.notif .muted { white-space: nowrap; }
.table-wrap { padding: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); white-space: nowrap; font-weight: 700; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: #fafbfe; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
td.actions { text-align: right; white-space: nowrap; }
tr.inactive td { opacity: .55; }
.profile-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px; position: relative; overflow: hidden; }
.profile-head::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 70px; background: var(--grad); opacity: .1; }
.profile-head > * { position: relative; }
.profile-head h1 { font-size: 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review { display: flex; gap: 14px; }
.review-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 4px; }

/* ==========================================================================
   Obuna va tariflar
   ========================================================================== */
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.plan-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.plan-chip.sm { padding: 1px 8px; font-size: 11px; }
.plan-free { background: #eef1f6; color: var(--text-2); }
.plan-pro { background: var(--grad); color: #fff; }
.plan-business { background: linear-gradient(135deg, #0a1633, #4338ca); color: #fde68a; }
.plan-pill { display: inline-flex; flex-direction: column; line-height: 1.1; padding: 5px 12px; border-radius: 11px; border: 1px solid var(--border); background: #fff; color: var(--text); font-size: 12px; }
.plan-pill b { font-size: 13px; }
.plan-pill span { color: var(--muted); font-size: 11.5px; }
.plan-pill:hover { border-color: var(--brand); color: var(--text); }
.plan-pill.plan-pro, .plan-pill.plan-business { border: 0; }
.plan-pill.plan-pro span, .plan-pill.plan-business span { color: inherit; opacity: .85; }
.plan-current { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.pc-left { display: flex; gap: 14px; align-items: center; }
.pc-left .plan-chip { font-size: 15px; padding: 10px 16px; border-radius: 14px; }
.pc-left h2 { margin: 0 0 2px; font-size: 18px; }
.pc-left p { margin: 0; }
.pc-usage { min-width: 220px; }
.usage-top { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-2); margin-bottom: 6px; }
.usage-bar { height: 8px; border-radius: 99px; background: #e9edf5; overflow: hidden; }
.usage-bar span { display: block; height: 100%; border-radius: 99px; background: var(--grad); }
.usage-bar span.warn { background: linear-gradient(90deg, #f59e0b, #d97706); }
.usage-bar span.full { background: linear-gradient(90deg, #f43f5e, #e11d48); }
.pc-trial { grid-column: 1 / -1; }
.period-switch { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px 0 18px; flex-wrap: wrap; }
.seg-light { background: #e9edf5; border: 0; }
.seg-light a { color: var(--text-2); }
.seg-light a:hover { color: var(--text); }
.seg-light a.active { background: #fff; color: var(--text); }
.save { background: var(--green-soft); color: #047857; border-radius: 6px; padding: 1px 6px; font-size: 11.5px; font-weight: 700; }
.pricing.cols-2 { grid-template-columns: repeat(2, 1fr) !important; max-width: 820px; margin-left: auto; margin-right: auto; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-bottom: 14px; }
.price-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px 24px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; transition: transform .2s var(--ease), box-shadow .2s; }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price-card.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: 0 20px 44px -16px rgba(37, 99, 235, .45); }
.price-card.current::after { content: 'Joriy'; position: absolute; top: 16px; right: 16px; background: var(--green-soft); color: #047857; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 99px; box-shadow: var(--shadow-brand); white-space: nowrap; }
.price-card h3 { font-size: 19px; margin: 0; }
.price { margin-top: 8px; }
.price b { font-size: 36px; letter-spacing: -.035em; }
.price span { color: var(--muted); font-weight: 500; }
.price-sub { min-height: 20px; }
.feat { list-style: none; padding: 0; margin: 14px 0 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.feat .i { color: var(--green); width: 18px; height: 18px; stroke-width: 2.5; margin-top: 1px; }
.pay-pending, .pay-review { background: var(--amber-soft); color: #b45309; }
.pay-paid { background: var(--green-soft); color: #047857; }
.pay-rejected { background: var(--red-soft); color: var(--red); }
.pay-cancelled { background: #eef1f6; color: var(--muted); }
.pay-layout { max-width: 720px; margin: 0 auto; }
.pay-summary { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: var(--surface-2); margin-bottom: 12px; }
.pay-summary .plan-chip { font-size: 14px; padding: 8px 14px; border-radius: 12px; }
.pay-amount { font-size: 26px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.pay-amount span { font-size: 14px; color: var(--muted); font-weight: 600; }
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; color: var(--text); }
.pay-method b { display: block; font-size: 16px; }
.pay-method.link:hover { border-color: var(--brand); color: var(--text); }
.inline-details { display: inline-block; position: relative; }
.inline-details summary { list-style: none; }
.inline-details summary::-webkit-details-marker { display: none; }
.inline-details[open] form { position: absolute; right: 0; top: 40px; z-index: 5; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px; box-shadow: var(--shadow-lg); width: 260px; }
@media (max-width: 860px) {
  .pricing { grid-template-columns: 1fr; }
  .plan-current { grid-template-columns: 1fr; gap: 16px; }
}

.early-card { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #fffbeb, #fff4e0); border-color: #fde3b0; color: var(--text); flex-wrap: wrap; }
.early-card:hover { color: var(--text); border-color: #f59e0b; }
.early-lock .ic-box { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 12px; }
.early-lock .ic-box .i { width: 28px; height: 28px; }
.early-lock h1 { font-size: 24px; margin-bottom: 6px; }

/* ==========================================================================
   Admin panel
   ========================================================================== */
.admin-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.admin-nav { position: sticky; top: 86px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.admin-nav-title { display: flex; align-items: center; gap: 8px; font-weight: 800; padding: 8px 10px 12px; color: var(--navy); }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.admin-nav a .i { color: var(--muted); }
.admin-nav a span:not(.count) { flex: 1; }
.admin-nav a:hover { background: var(--surface-2); color: var(--text); }
.admin-nav a.active { background: var(--brand-soft); color: var(--brand); }
.admin-nav a.active .i { color: var(--brand); }
.admin-nav-sep { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 14px 10px 4px; border-top: 1px solid var(--border); margin-top: 8px; }
.admin-main { min-width: 0; }
.attention { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-bottom: 18px; }
.att-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--brand-soft); border: 1px solid #c8dafc; color: var(--text); }
.att-item.amber { background: var(--amber-soft); border-color: #fbd8a0; }
.att-item div { flex: 1; }
.att-item:hover { color: var(--text); box-shadow: var(--shadow); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.kpi > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.kpi b { font-size: 26px; letter-spacing: -.03em; line-height: 1.15; }
.kpi b i { font-style: normal; font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.role-split { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rs-item { display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.rs-item b { font-size: 22px; }
.rs-bar { height: 6px; background: #e9edf5; border-radius: 99px; overflow: hidden; }
.rs-bar span { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.chart-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chart-grid .card h2 { margin-bottom: 4px; font-size: 15px; }
.bc-total { font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
.bc-total b { font-size: 20px; color: var(--text); letter-spacing: -.02em; }
.bc-plot { display: flex; gap: 6px; height: 120px; }
.bc-y { display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--muted); text-align: right; min-width: 24px; margin: -6px 0 -6px; }
.bc-area { position: relative; flex: 1; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid #cfd6e3; }
.bc-gridline { position: absolute; left: 0; right: 0; border-top: 1px dashed #e6eaf1; }
.bc-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; border-radius: 4px 4px 0 0; }
.bc-col:hover { background: rgba(37, 99, 235, .07); }
.bc-bar { display: block; width: 100%; background: var(--brand); border-radius: 4px 4px 0 0; pointer-events: none; }
.bc-col:hover .bc-bar { background: var(--brand-dark); }
.bc-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin: 6px 0 0 30px; }
.chart-tip { position: fixed; z-index: 2000; pointer-events: none; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px; box-shadow: var(--shadow-lg); transform: translate(-50%, calc(-100% - 10px)); white-space: nowrap; }
.lc-head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 20px 6px; }
.lc-head h2 { margin: 0; font-size: 16px; }
.notif .avatar { width: 36px; height: 36px; font-size: 13px; }
.user-cell { display: flex; gap: 10px; align-items: center; color: var(--text); }
.user-cell:hover { color: var(--brand); }
.user-cell .avatar { width: 34px; height: 34px; font-size: 12px; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 1060px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .admin-nav-title, .admin-nav-sep { display: none; }
  .admin-nav a span:not(.count) { flex: none; }
  .chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .role-split { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Moslashuvchanlik
   ========================================================================== */
@media (max-width: 1060px) {
  .load-layout { grid-template-columns: 1fr; }
  .load-side { position: static; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-visual { max-width: 560px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .topbar-inner { height: auto; flex-wrap: wrap; padding: 10px 16px 0; gap: 8px 12px; }
  .mainnav { order: 3; flex-basis: 100%; overflow-x: auto; margin: 0 -16px; padding: 0 12px 8px; }
  .mainnav a { padding: 8px 12px; }
  .hide-sm { display: none !important; }
  .usermenu summary { padding: 3px; }
  .container { padding: 18px 16px 36px; }
  h1 { font-size: 23px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 16px; }
  .hero-inner { padding: 40px 16px 72px; gap: 32px; }
  .float-card { display: none; }
  .hero-stats { padding: 0 16px; gap: 10px; }
  .hs { padding: 14px; gap: 10px; }
  .hs .ic-box { display: none; }
  .hs strong { font-size: 22px; }
  .landing-section { padding: 44px 16px 0; }
  .landing-section > h2 { font-size: 26px; }
  .features, .steps { grid-template-columns: 1fr; }
  .cta-band { margin: 44px 16px 16px; padding: 28px 24px; }
  .grid-2, .row, .role-picker, .contract-parties, .contract-sign { grid-template-columns: 1fr; }
  .row-price { grid-template-columns: 2fr 1fr; }
  .load-card { grid-template-columns: 1fr; padding: 16px; gap: 12px; }
  .lc-stop b { font-size: 16px; max-width: 130px; }
  .lc-side { text-align: left; align-items: flex-start; flex-direction: row; flex-wrap: wrap; align-items: center; min-width: 0; padding-top: 12px; border-top: 1px solid var(--border); }
  .lc-price { font-size: 21px; margin-right: auto; }
  .lc-tags { justify-content: flex-start; }
  .lc-go { display: none; }
  .load-hero { grid-template-columns: 1fr; padding: 18px; }
  .load-hero-price { text-align: left; border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 14px; }
  .big-route { gap: 10px; }
  .big-route .lc-stop b { font-size: 19px; }
  .big-route .lc-line { min-width: 40px; }
  .spec-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .spec { padding: 10px; gap: 8px; }
  .spec .ic-box { display: none; }
  .offers { grid-template-columns: 1fr; }
  dl.info { grid-template-columns: 1fr; gap: 2px; }
  dl.info dd { margin-bottom: 8px; }
  .search-hero { padding: 16px; border-radius: 18px; }
  .sb-field { flex: 1 1 45%; }
  .sb-field.grow { flex: 1 1 100%; }
  .sb-btn { flex: 1 1 100%; }
  .map-search { height: 70vh; }
  .contract { padding: 24px 18px; }
  .chat-wrap { height: calc(100vh - 150px); }
  .filters input, .filters select { flex: 1 1 140px; min-width: 0; }
  .footer-inner { padding: 20px 16px; }
}

@media print {
  .topbar, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
  .container { padding: 0; }
  .contract { border: 0; box-shadow: none; padding: 0; }
}
