/*
Theme Name: WycenaTransportu
Theme URI: https://wycenatransportu.pl
Author: WycenaTransportu.PL
Description: Profesjonalny motyw dla platformy logistycznej z kalkulatorem wyceny transportu
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: wycenatransportu
*/

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-dark: #020617;
  --color-dark-2: #1e293b;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-900: #0f172a;
  --color-orange: #ea580c;
  --color-orange-light: #fff7ed;
  --color-orange-border: #fed7aa;
  --color-emerald: #10b981;
  --color-blue: #3b82f6;
  --color-red: #ef4444;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.10);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.12);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Inter', sans-serif;
  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-dark-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}

/* =====================================================
   LAYOUT
   ===================================================== */
.wt-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.wt-container--narrow { max-width: 900px; margin: 0 auto; padding: 0 1rem; }

/* =====================================================
   HEADER
   ===================================================== */
.wt-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-100);
}

.wt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.wt-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.wt-logo__icon {
  width: 32px; height: 32px;
  background: var(--color-dark);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.wt-logo__icon svg { width: 18px; height: 18px; color: var(--color-orange); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wt-logo__text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--color-dark);
}

.wt-logo__text span { color: var(--color-orange); }

/* NAV */
.wt-nav { display: flex; align-items: center; gap: 2rem; }

.wt-nav__item {
  position: relative;
}

.wt-nav__btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color var(--transition);
  background: none; border: none;
}

.wt-nav__btn:hover { color: var(--color-dark); }

.wt-nav__btn svg { width: 14px; height: 14px; transition: transform var(--transition); }
.wt-nav__item:hover .wt-nav__btn svg { transform: rotate(180deg); }

.wt-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 1rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 100;
}

.wt-nav__item:hover .wt-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.wt-dropdown__box {
  background: var(--color-white);
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
}

.wt-dropdown--wide { width: 800px; }
.wt-dropdown--medium { width: 600px; }

.wt-dropdown__grid { display: grid; gap: 2px; }
.wt-dropdown__grid--3 { grid-template-columns: repeat(3, 1fr); }
.wt-dropdown__grid--2 { grid-template-columns: repeat(2, 1fr); }

.wt-dropdown__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-slate-600);
  transition: background var(--transition), color var(--transition);
  text-align: left;
  background: none; border: none; cursor: pointer;
  width: 100%;
}

.wt-dropdown__link:hover {
  background: var(--color-slate-100);
  color: var(--color-dark);
}

.wt-dropdown__link svg { width: 12px; height: 12px; color: var(--color-slate-200); opacity: 0; transition: color var(--transition), opacity var(--transition); }
.wt-dropdown__link:hover svg { color: var(--color-orange); opacity: 1; }

.wt-header__actions { display: flex; align-items: center; gap: 1rem; }

.wt-btn-panel {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background var(--transition);
}

.wt-btn-panel:hover { background: var(--color-dark-2); }

/* =====================================================
   MAIN
   ===================================================== */
.wt-main { max-width: 1280px; margin: 0 auto; padding: 0 1rem 5rem; }

/* =====================================================
   HERO / HOME
   ===================================================== */
.wt-hero { padding: 4rem 0 5rem; text-align: center; }

.wt-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 100px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.wt-badge svg { width: 12px; height: 12px; color: var(--color-orange); }

.wt-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.wt-hero__title em {
  color: var(--color-orange);
  font-style: italic;
}

.wt-hero__lead {
  font-size: 1.05rem;
  color: var(--color-slate-500);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 500;
  line-height: 1.6;
}

/* CARDS GRID */
.wt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto 3rem; }

@media (max-width: 640px) { .wt-cards { grid-template-columns: 1fr; } }

.wt-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-3xl);
  padding: 2rem;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-align: left;
  position: relative;
}

.wt-card:hover {
  border-color: var(--color-dark);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.wt-card--dark {
  background: var(--color-dark);
  border-color: var(--color-dark);
}

.wt-card--dark:hover { box-shadow: 0 20px 60px rgba(2,6,23,.3); }

.wt-card__badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  padding: 4px 10px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 100px;
  font-size: 0.55rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.wt-card__icon {
  width: 56px; height: 56px;
  background: var(--color-slate-100);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
  transition: background var(--transition), color var(--transition);
}

.wt-card:hover .wt-card__icon { background: var(--color-dark); color: var(--color-white); }
.wt-card--dark .wt-card__icon { background: rgba(255,255,255,.1); }
.wt-card--dark:hover .wt-card__icon { background: var(--color-orange); }

.wt-card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wt-card--dark .wt-card__icon svg { color: var(--color-white); }

.wt-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: .75rem;
  letter-spacing: -0.02em;
}
.wt-card--dark .wt-card__title { color: var(--color-white); }

.wt-card__desc {
  font-size: 0.85rem;
  color: var(--color-slate-500);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.wt-card--dark .wt-card__desc { color: var(--color-slate-400); }

.wt-card__list { list-style: none; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 10px; }

.wt-card__list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700;
  color: var(--color-slate-600);
}

.wt-card--dark .wt-card__list li { color: var(--color-slate-300); }

.wt-card__list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
  flex-shrink: 0;
}

.wt-card__cta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700;
  color: var(--color-orange);
}

.wt-card__cta svg { width: 16px; height: 16px; }

/* Panel CTA */
.wt-panel-cta {
  max-width: 900px; margin: 0 auto;
  background: var(--color-slate-100);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-3xl);
  padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  cursor: pointer;
  transition: border-color var(--transition);
}

.wt-panel-cta:hover { border-color: var(--color-slate-300); }

.wt-panel-cta__info { display: flex; align-items: center; gap: 1.5rem; }

.wt-panel-cta__icon {
  width: 48px; height: 48px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.wt-panel-cta__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wt-panel-cta__title { font-weight: 800; font-size: 0.95rem; color: var(--color-dark); }
.wt-panel-cta__desc { font-size: 0.75rem; color: var(--color-slate-500); font-weight: 500; }

.wt-btn-outline {
  padding: 10px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  font-size: 0.7rem; font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}
.wt-btn-outline:hover { border-color: var(--color-slate-400); }

/* =====================================================
   CALCULATOR WRAPPER
   ===================================================== */
.wt-calc-wrap { max-width: 900px; margin: 0 auto; padding: 2rem 0; }

.wt-summary-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  background: var(--color-dark);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-xl);
  margin-bottom: 2rem;
}

.wt-summary-bar__route { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 200px; }
.wt-summary-bar__tag {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.05);
  font-size: 0.65rem; font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.wt-summary-bar__tag--orange {
  background: rgba(234,88,12,.2);
  border-color: rgba(234,88,12,.2);
  color: var(--color-orange);
}
.wt-summary-bar__arrow { color: var(--color-orange); display: flex; }
.wt-summary-bar__arrow svg { width: 14px; height: 14px; }

/* =====================================================
   FORM BOXES
   ===================================================== */
.wt-box {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.wt-box__body { padding: 2rem 2.5rem 3rem; }

@media (max-width: 640px) { .wt-box__body { padding: 1.5rem; } }

/* QUICK FORM HEADER */
.wt-form-header { margin-bottom: 2.5rem; }

.wt-form-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  background: rgba(234,88,12,.1);
  color: var(--color-orange);
  border-radius: 100px;
  font-size: 0.6rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.wt-form-badge svg { width: 12px; height: 12px; }

.wt-form-title {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  margin-bottom: .5rem;
}

.wt-form-lead { font-size: 0.85rem; color: var(--color-slate-500); }

/* ALERT BOXES */
.wt-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  display: flex; gap: 12px;
  margin-bottom: 1.5rem;
}

.wt-alert--info { background: var(--color-orange-light); border: 1px solid var(--color-orange-border); }
.wt-alert--warning { background: #fff7ed; border: 1px solid #fed7aa; }

.wt-alert svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--color-orange); }

.wt-alert__content { flex: 1; }

.wt-alert p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #7c2d12;
  font-weight: 500;
}

.wt-alert p strong { font-weight: 800; }

.wt-alert__link {
  display: inline-block;
  margin-top: .5rem;
  padding: 6px 14px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 0.6rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.15em;
}

/* FIELD GROUPS */
.wt-field-group { margin-bottom: 2rem; }
.wt-field-group + .wt-field-group { margin-top: 2rem; }

.wt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.wt-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

@media (max-width: 640px) {
  .wt-grid-2, .wt-grid-3 { grid-template-columns: 1fr; }
}

.wt-divider { height: 1px; background: var(--color-slate-100); margin: 2rem 0; }

/* LABEL */
.wt-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-slate-400);
  margin-bottom: 6px;
  padding-left: 4px;
}

.wt-label--required::after { content: ' *'; color: var(--color-red); }

.wt-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.wt-label-badge {
  font-size: 0.55rem; font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--color-orange-light);
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid var(--color-orange-border);
}

/* FIELD */
.wt-field { position: relative; display: flex; align-items: center; }

.wt-field__icon {
  position: absolute; left: 14px;
  display: flex; pointer-events: none;
}

.wt-field__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--color-slate-400); transition: color var(--transition); }

.wt-field:focus-within .wt-field__icon svg { color: var(--color-dark); }

.wt-field__unit {
  position: absolute; right: 14px;
  font-size: 0.6rem; font-weight: 700;
  color: var(--color-slate-300);
  text-transform: uppercase; letter-spacing: 0.1em;
  pointer-events: none;
}

.wt-input {
  width: 100%; height: 44px;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 0 1rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--color-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.wt-input::placeholder { color: var(--color-slate-300); font-weight: 400; }

.wt-input:focus {
  border-color: var(--color-dark);
  box-shadow: 0 0 0 4px rgba(2,6,23,.05);
}

.wt-input--icon { padding-left: 44px; }
.wt-input--unit { padding-right: 48px; }

.wt-select { padding-right: 44px; cursor: pointer; }

.wt-field__chevron {
  position: absolute; right: 14px;
  display: flex; pointer-events: none;
}
.wt-field__chevron svg { width: 14px; height: 14px; color: var(--color-slate-300); transform: rotate(90deg); }

/* TEXTAREA */
.wt-textarea {
  width: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 1rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--color-dark);
  resize: vertical; min-height: 120px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; line-height: 1.6;
}

.wt-textarea::placeholder { color: var(--color-slate-300); }
.wt-textarea:focus { border-color: var(--color-dark); box-shadow: 0 0 0 4px rgba(2,6,23,.05); }

/* COUNTRY SELECT CUSTOM */
.wt-country-select { position: relative; }

.wt-country-select__trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; height: 44px; padding: 0 14px;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  gap: 10px;
}

.wt-country-select__trigger:hover { border-color: var(--color-slate-300); }
.wt-country-select__trigger.is-open { border-color: var(--color-dark); box-shadow: 0 0 0 4px rgba(2,6,23,.05); }

.wt-country-select__value { display: flex; align-items: center; gap: 8px; flex: 1; overflow: hidden; }
.wt-country-select__flag { font-size: 1.15rem; line-height: 1; }
.wt-country-select__name { font-size: 0.875rem; font-weight: 600; color: var(--color-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-country-select__placeholder { font-size: 0.875rem; color: var(--color-slate-300); }

.wt-country-select__chevron { flex-shrink: 0; display: flex; }
.wt-country-select__chevron svg { width: 14px; height: 14px; color: var(--color-slate-300); transition: transform var(--transition); }
.wt-country-select__trigger.is-open .wt-country-select__chevron svg { transform: rotate(90deg); }

.wt-country-select__dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden; z-index: 200;
  display: none;
}

.wt-country-select__dropdown.is-open { display: block; }

.wt-country-select__search-wrap {
  padding: 8px;
  background: var(--color-slate-100);
  border-bottom: 1px solid var(--color-slate-100);
}

.wt-country-select__search {
  width: 100%; height: 36px;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 0 12px;
  font-size: 0.8rem; outline: none;
  transition: border-color var(--transition);
}

.wt-country-select__search:focus { border-color: var(--color-slate-400); }

.wt-country-select__list { max-height: 240px; overflow-y: auto; padding: 4px 0; }

.wt-country-select__option {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; cursor: pointer;
  font-size: 0.875rem; font-weight: 600;
  color: var(--color-slate-700);
  transition: background var(--transition);
}

.wt-country-select__option:hover { background: var(--color-slate-100); }
.wt-country-select__option.is-selected { background: var(--color-dark); color: var(--color-white); }
.wt-country-select__option-flag { font-size: 1.15rem; line-height: 1; }
.wt-country-select__option-name { flex: 1; }

.wt-country-select__empty { padding: 2rem; text-align: center; font-size: 0.8rem; color: var(--color-slate-400); }

/* TOGGLE */
.wt-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-slate-200);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  background: var(--color-white);
  user-select: none;
}

.wt-toggle:hover { border-color: var(--color-slate-300); }
.wt-toggle.is-on { background: var(--color-dark); border-color: var(--color-dark); }

.wt-toggle__info { flex: 1; }
.wt-toggle__label { font-size: 0.85rem; font-weight: 700; color: var(--color-dark); }
.wt-toggle.is-on .wt-toggle__label { color: var(--color-white); }
.wt-toggle__desc { font-size: 0.72rem; color: var(--color-slate-500); margin-top: 2px; }
.wt-toggle.is-on .wt-toggle__desc { color: var(--color-slate-400); }

.wt-toggle__switch {
  width: 40px; height: 20px;
  border-radius: 100px;
  background: var(--color-slate-200);
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0; margin-left: 1rem;
}

.wt-toggle.is-on .wt-toggle__switch { background: var(--color-orange); }

.wt-toggle__knob {
  position: absolute; top: 4px; left: 4px;
  width: 12px; height: 12px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.wt-toggle.is-on .wt-toggle__knob { transform: translateX(20px); }

/* CHIPS */
.wt-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.wt-chip {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 700;
  border: 1px solid var(--color-slate-200);
  color: var(--color-slate-600);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition);
}

.wt-chip:hover { border-color: var(--color-slate-400); }
.wt-chip.is-selected { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-white); }

/* OPTION CARDS */
.wt-options { display: grid; gap: 12px; }
.wt-options--3 { grid-template-columns: repeat(3, 1fr); }
.wt-options--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 640px) { .wt-options--3 { grid-template-columns: 1fr; } }

.wt-option {
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-slate-100);
  font-size: 0.75rem; font-weight: 700;
  color: var(--color-slate-600);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; line-height: 1.3;
  background: var(--color-white);
}

.wt-option:hover { border-color: var(--color-slate-300); }
.wt-option.is-selected { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-white); box-shadow: var(--shadow-md); }

/* FTL/LTL special */
.wt-ftl-option { padding: 1.5rem; text-align: left; }
.wt-ftl-option__type { font-size: 1.5rem; font-family: var(--font-display); font-weight: 900; margin-bottom: 4px; color: var(--color-dark); }
.wt-ftl-option.is-selected .wt-ftl-option__type { color: var(--color-orange); }
.wt-ftl-option__desc { font-size: 0.65rem; font-weight: 700; color: var(--color-slate-400); text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.4; }

/* VEHICLE TYPE GRID */
.wt-vehicle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

@media (max-width: 640px) { .wt-vehicle-grid { grid-template-columns: repeat(2, 1fr); } }

.wt-vehicle-option {
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate-100);
  font-size: 0.7rem; font-weight: 700;
  text-align: center; cursor: pointer;
  transition: all var(--transition);
  background: var(--color-white);
}

.wt-vehicle-option:hover { border-color: var(--color-slate-200); }
.wt-vehicle-option.is-selected { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-white); }

/* SECTION HEADER */
.wt-section-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.wt-section-label--orange { color: var(--color-orange); }
.wt-section-label--blue { color: var(--color-blue); }
.wt-section-label--dark { color: var(--color-dark); }
.wt-section-label svg { width: 12px; height: 12px; }

/* EXTRA BOX */
.wt-extra-box {
  padding: 1.5rem;
  background: var(--color-slate-100);
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-xl);
  margin-top: .75rem;
}

/* CHECKBOX */
.wt-checkbox-row {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer;
}

.wt-checkbox {
  width: 20px; height: 20px;
  border: 1px solid var(--color-slate-200);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  transition: all var(--transition);
  background: var(--color-white);
}

.wt-checkbox.is-checked { background: var(--color-dark); border-color: var(--color-dark); }
.wt-checkbox svg { width: 12px; height: 12px; color: var(--color-white); }

.wt-checkbox-label {
  font-size: 0.75rem;
  color: var(--color-slate-500);
  line-height: 1.6;
}

.wt-checkbox-label a { color: var(--color-orange); font-weight: 700; }

/* BUTTONS */
.wt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-size: 0.875rem; font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.wt-btn--primary { background: var(--color-dark); color: var(--color-white); box-shadow: 0 8px 24px rgba(2,6,23,.15); }
.wt-btn--primary:hover { background: var(--color-dark-2); }

.wt-btn--orange { background: var(--color-orange); color: var(--color-white); box-shadow: 0 8px 24px rgba(234,88,12,.25); }
.wt-btn--orange:hover { background: #c2410c; }

.wt-btn--ghost { color: var(--color-slate-600); }
.wt-btn--ghost:hover { color: var(--color-dark); background: var(--color-slate-100); }

.wt-btn:disabled { opacity: .3; cursor: not-allowed; }

.wt-btn--full { width: 100%; justify-content: center; }
.wt-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wt-nav-btns { display: flex; align-items: center; justify-content: space-between; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-slate-100); }

.wt-step-indicator { font-size: 0.65rem; font-weight: 900; color: var(--color-slate-300); text-transform: uppercase; letter-spacing: 0.3em; }

/* NOTICE */
.wt-notice {
  padding: 1rem;
  background: var(--color-slate-100);
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-lg);
  font-size: 0.65rem; font-weight: 700;
  color: var(--color-slate-500);
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.6;
}

.wt-error { font-size: 0.65rem; font-weight: 700; color: var(--color-orange); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }

.wt-form-footer { text-align: center; font-size: 0.6rem; font-weight: 700; color: var(--color-slate-300); text-transform: uppercase; letter-spacing: 0.2em; margin-top: 1rem; }

/* =====================================================
   STEPPER
   ===================================================== */
.wt-stepper {
  background: var(--color-slate-100);
  border-bottom: 1px solid var(--color-slate-100);
  padding: 1.5rem 2.5rem;
}

.wt-stepper__inner { display: flex; align-items: center; justify-content: space-between; }

.wt-step { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.wt-step__icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  color: var(--color-slate-400);
  transition: all var(--transition);
}

.wt-step.is-active .wt-step__icon { background: var(--color-dark); color: var(--color-white); border-color: var(--color-dark); box-shadow: 0 4px 12px rgba(2,6,23,.2); }
.wt-step.is-done .wt-step__icon { background: var(--color-emerald); color: var(--color-white); border-color: var(--color-emerald); cursor: pointer; }

.wt-step__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wt-step__label { font-size: 0.6rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-slate-400); }
.wt-step.is-active .wt-step__label { color: var(--color-dark); }

.wt-step-line { flex: 1; height: 1px; background: var(--color-slate-200); margin: 0 1rem; margin-top: -18px; }

/* =====================================================
   PANEL
   ===================================================== */
.wt-panel-layout { display: flex; gap: 2rem; max-width: 1200px; margin: 2rem auto; }

.wt-panel-sidebar { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 1.5rem; }

.wt-panel-main { flex: 1; display: flex; flex-direction: column; gap: 2rem; }

@media (max-width: 900px) { .wt-panel-layout { flex-direction: column; } .wt-panel-sidebar { width: 100%; } }

.wt-manager-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-3xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.wt-manager-info { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }

.wt-manager-avatar {
  width: 56px; height: 56px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  flex-shrink: 0;
}

.wt-manager-name { font-weight: 800; color: var(--color-dark); }
.wt-manager-pos { font-size: 0.6rem; font-weight: 700; color: var(--color-slate-400); text-transform: uppercase; letter-spacing: 0.12em; }

.wt-manager-contacts { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.wt-manager-contact { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--color-slate-600); font-weight: 500; }
.wt-manager-contact svg { width: 16px; height: 16px; color: var(--color-orange); flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wt-quick-actions {
  background: var(--color-dark);
  border-radius: var(--radius-3xl);
  padding: 1.5rem;
}
.wt-quick-actions h4 { font-weight: 800; color: var(--color-white); margin-bottom: 1rem; }

.wt-btn-action { display: block; width: 100%; padding: 12px; border-radius: var(--radius-xl); font-size: 0.72rem; font-weight: 700; text-align: center; margin-bottom: 10px; cursor: pointer; transition: all var(--transition); border: none; }
.wt-btn-action--orange { background: var(--color-orange); color: var(--color-white); }
.wt-btn-action--orange:hover { background: #c2410c; }
.wt-btn-action--ghost { background: rgba(255,255,255,.1); color: var(--color-white); display: flex; align-items: center; justify-content: center; gap: 6px; }
.wt-btn-action--ghost:hover { background: rgba(255,255,255,.2); }
.wt-btn-action svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ORDERS */
.wt-orders-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wt-orders-title { font-size: 1.75rem; font-weight: 900; letter-spacing: -0.03em; color: var(--color-dark); }

.wt-tabs {
  display: flex;
  background: var(--color-slate-100);
  padding: 4px;
  border-radius: var(--radius-xl);
  gap: 2px;
  overflow-x: auto;
}

.wt-tab {
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.6rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--color-slate-400);
  cursor: pointer; white-space: nowrap; border: none;
  transition: all var(--transition);
  background: none;
}

.wt-tab.is-active { background: var(--color-white); color: var(--color-dark); box-shadow: var(--shadow-sm); }

.wt-orders-table {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.wt-table { width: 100%; border-collapse: collapse; }
.wt-table th {
  padding: 16px 24px;
  background: var(--color-slate-100);
  border-bottom: 1px solid var(--color-slate-100);
  font-size: 0.6rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--color-slate-400);
  text-align: left;
}

.wt-table td { padding: 20px 24px; border-bottom: 1px solid rgba(248,250,252,.8); }
.wt-table tr:last-child td { border-bottom: none; }
.wt-table tr:hover td { background: rgba(248,250,252,.5); }

.wt-order-id { font-weight: 800; font-size: 0.875rem; color: var(--color-dark); }
.wt-order-meta { font-size: 0.65rem; color: var(--color-slate-400); font-weight: 600; margin-top: 2px; }
.wt-order-route { font-weight: 800; font-size: 0.875rem; color: var(--color-dark); }
.wt-order-cities { font-size: 0.65rem; color: var(--color-slate-500); font-weight: 600; margin-top: 2px; }

.wt-badge-status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.55rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid;
}

.wt-badge-status--wycena { background: #eff6ff; color: var(--color-blue); border-color: #bfdbfe; }
.wt-badge-status--zrealizowane { background: #ecfdf5; color: var(--color-emerald); border-color: #a7f3d0; }
.wt-badge-status--niezrealizowane { background: #fef2f2; color: var(--color-red); border-color: #fecaca; }
.wt-badge-status svg { width: 10px; height: 10px; }

.wt-table-action { color: var(--color-slate-400); transition: color var(--transition); background: none; border: none; cursor: pointer; padding: 8px; }
.wt-table-action:hover { color: var(--color-dark); }
.wt-table-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wt-table-empty { padding: 4rem; text-align: center; }
.wt-table-empty__icon { width: 48px; height: 48px; background: var(--color-slate-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.wt-table-empty__icon svg { width: 24px; height: 24px; color: var(--color-slate-300); fill: none; stroke: currentColor; stroke-width: 2; }
.wt-table-empty p { font-size: 0.875rem; color: var(--color-slate-400); font-weight: 500; }

/* =====================================================
   LOGIN
   ===================================================== */
.wt-login-wrap { max-width: 480px; margin: 3rem auto; }

.wt-login-box {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-3xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.wt-login-icon { width: 64px; height: 64px; background: var(--color-dark); color: var(--color-white); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.wt-login-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wt-login-title { text-align: center; font-size: 1.75rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: .5rem; color: var(--color-dark); }
.wt-login-lead { text-align: center; font-size: 0.875rem; color: var(--color-slate-500); font-weight: 500; margin-bottom: 2.5rem; }
.wt-login-fields { display: flex; flex-direction: column; gap: 1.5rem; }
.wt-login-forgot { display: block; text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--color-slate-400); margin-top: 1rem; }
.wt-login-forgot:hover { color: var(--color-orange); }

/* =====================================================
   SUCCESS PAGE
   ===================================================== */
.wt-success { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5rem 1rem; text-align: center; }
.wt-success__icon { width: 80px; height: 80px; background: var(--color-emerald); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-white); margin-bottom: 2rem; box-shadow: 0 8px 32px rgba(16,185,129,.25); }
.wt-success__icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wt-success__title { font-size: 2rem; font-weight: 900; color: var(--color-dark); margin-bottom: 1rem; letter-spacing: -0.03em; }
.wt-success__desc { color: var(--color-slate-500); max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.7; }
.wt-success__desc strong { color: var(--color-dark); font-weight: 700; }

/* =====================================================
   CONTENT PAGE
   ===================================================== */
.wt-content-wrap { max-width: 900px; margin: 0 auto; padding: 2rem 0; }
.wt-content-back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.65rem; font-weight: 700; color: var(--color-slate-400); text-transform: uppercase; letter-spacing: 0.12em; cursor: pointer; margin-bottom: 2rem; transition: color var(--transition); border: none; background: none; }
.wt-content-back:hover { color: var(--color-dark); }
.wt-content-back svg { width: 16px; height: 16px; }

.wt-content-box {
  background: var(--color-white);
  border: 1px solid var(--color-slate-100);
  border-radius: var(--radius-3xl);
  padding: 4rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) { .wt-content-box { padding: 1.5rem; } }

/* Markdown content */
.wt-prose h2 { font-size: 1.75rem; font-weight: 900; color: var(--color-dark); margin-top: 2.5rem; margin-bottom: 1rem; letter-spacing: -0.03em; }
.wt-prose h3 { font-size: 1.25rem; font-weight: 800; color: var(--color-dark); margin-top: 2rem; margin-bottom: .75rem; }
.wt-prose p { color: var(--color-slate-600); line-height: 1.75; margin-bottom: 1.25rem; }
.wt-prose ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.5rem; padding-left: 0; }
.wt-prose ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--color-slate-600); font-size: 0.9rem; line-height: 1.6; }
.wt-prose ul li::before { content: '•'; color: var(--color-orange); font-weight: 900; flex-shrink: 0; margin-top: 2px; }
.wt-prose ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.wt-prose ol li { color: var(--color-slate-600); margin-bottom: 6px; line-height: 1.6; }
.wt-prose strong { font-weight: 700; color: var(--color-dark); }
.wt-prose img { width: 100%; border-radius: var(--radius-xl); margin: 1.5rem 0; }
.wt-prose blockquote { border-left: 3px solid var(--color-orange); padding: 1rem 1.5rem; background: var(--color-orange-light); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; margin: 1.5rem 0; }
.wt-prose blockquote p { color: #7c2d12; font-weight: 600; margin: 0; }
.wt-prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.wt-prose table th { background: var(--color-slate-100); padding: 12px 16px; font-size: 0.75rem; font-weight: 700; text-align: left; color: var(--color-slate-700); border-bottom: 2px solid var(--color-slate-200); }
.wt-prose table td { padding: 12px 16px; border-bottom: 1px solid var(--color-slate-100); color: var(--color-slate-600); font-size: 0.875rem; }

.wt-content-cta { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid var(--color-slate-100); text-align: center; }
.wt-content-cta h3 { font-size: 1.5rem; font-weight: 900; color: var(--color-dark); margin-bottom: 1rem; letter-spacing: -0.02em; }
.wt-content-cta p { color: var(--color-slate-500); margin-bottom: 2rem; max-width: 400px; margin-left: auto; margin-right: auto; }
.wt-content-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.wt-content-cta-btns a, .wt-content-cta-btns button { padding: 14px 32px; border-radius: 100px; font-size: 0.875rem; font-weight: 700; cursor: pointer; border: none; transition: all var(--transition); }
.wt-content-cta-btns .btn-primary { background: var(--color-dark); color: var(--color-white); box-shadow: 0 8px 24px rgba(2,6,23,.2); }
.wt-content-cta-btns .btn-primary:hover { background: var(--color-dark-2); }
.wt-content-cta-btns .btn-secondary { background: var(--color-white); border: 1px solid var(--color-slate-200); color: var(--color-dark); }
.wt-content-cta-btns .btn-secondary:hover { border-color: var(--color-slate-400); }

/* =====================================================
   FOOTER
   ===================================================== */
.wt-footer {
  border-top: 1px solid var(--color-slate-200);
  background: var(--color-white);
  padding: 3rem 1rem;
}

.wt-footer__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .wt-footer__inner { flex-direction: row; justify-content: space-between; }
}

.wt-footer__logo { opacity: 0.4; filter: grayscale(1); }
.wt-footer__links { display: flex; gap: 2rem; }
.wt-footer__links a { font-size: 0.6rem; font-weight: 700; color: var(--color-slate-400); text-transform: uppercase; letter-spacing: 0.12em; transition: color var(--transition); }
.wt-footer__links a:hover { color: var(--color-dark); }
.wt-footer__copy { font-size: 0.6rem; font-weight: 700; color: var(--color-slate-300); text-transform: uppercase; letter-spacing: 0.12em; }

/* =====================================================
   UTILITIES
   ===================================================== */
.hidden { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* =====================================================
   MOBILE NAV
   ===================================================== */
.wt-mobile-nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}

.wt-mobile-nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: var(--color-dark); stroke-width: 2; stroke-linecap: round; }

@media (max-width: 1024px) {
  .wt-nav { display: none; }
  .wt-mobile-nav-toggle { display: flex; }
}

.wt-mobile-menu {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--color-dark);
  padding: 2rem;
  overflow-y: auto;
  display: none;
}

.wt-mobile-menu.is-open { display: block; }

.wt-mobile-menu__close { margin-bottom: 2rem; }
.wt-mobile-menu__close button { background: none; border: none; cursor: pointer; color: var(--color-white); display: flex; gap: 8px; align-items: center; font-size: 0.75rem; font-weight: 700; }
.wt-mobile-menu__close svg { width: 20px; height: 20px; }

.wt-mobile-section { margin-bottom: 2rem; }
.wt-mobile-section-title { font-size: 0.6rem; font-weight: 900; color: var(--color-slate-500); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }

.wt-mobile-link {
  display: block; padding: 10px 0;
  font-size: 0.875rem; font-weight: 600;
  color: var(--color-slate-300);
  border-bottom: 1px solid rgba(255,255,255,.05);
  cursor: pointer; background: none; border-top: none; border-left: none; border-right: none;
  text-align: left; width: 100%; transition: color var(--transition);
}

.wt-mobile-link:hover { color: var(--color-white); }
