
    /********************************************
 *  ITDelivery – základ
 ********************************************/

:root {
  --itd-bg: #f3f4f6;
  --itd-body: #101826;
  --itd-accent: #13b6c7;
  --itd-accent-dark: #1093a1;
  --itd-muted: #6b7280;
  --itd-border: #e5e7eb;
  --itd-radius-lg: 18px;
  --itd-radius-md: 12px;
  --itd-shadow-card: 0 18px 45px rgba(16, 24, 38, 0.12);
  --itd-font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.registration-wrapper *,
.registration-wrapper *::before,
.registration-wrapper *::after {
  box-sizing: border-box;
}

/********************************************
 *  Obecný page layout
 ********************************************/

.page {
  min-height: 100vh;
  background: var(--itd-bg);
}

/* Úzký layout – obsah uprostřed */
.layout-narrow {
  padding: 0px 0 64px;
}

.layout-narrow .content {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}


/********************************************
 *  Registrace – wrapper
 ********************************************/

.registration-wrapper {
  max-width: 780px;
  margin: 0 auto;
}

.regformar {
  background: #ffffff;
  border-radius: var(--itd-radius-lg);
  padding: 32px 28px 42px;
  box-shadow: var(--itd-shadow-card);
}

.regformar h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #101826;
}

.regformar .lead {
  font-size: 0.98rem;
  color: #4b5563;
  margin-bottom: 20px;
}

.reg-cara {
  margin: 18px 0 26px;
  border: 0;
  border-top: 1px solid var(--itd-border);
}

.reg-vyplnte-udaje-nadpis {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #111827;
}

/********************************************
 *  Registrace – grid (pole vedle sebe)
 ********************************************/

/* všechny .row uvnitř registrace jako grid */
.regformar .row {
  display: grid;
  grid-template-columns: 1fr; /* mobil – 1 sloupec */
  column-gap: 24px;
  row-gap: 18px;
  margin-left: 0;
  margin-right: 0;
}

/* sloupce necháme řídit gridem */
.regformar .col-12,
.regformar .col-sm-12,
.regformar .col-md-4,
.regformar .col-md-6 {
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

/* jemné odsazení pole vs. label */
.fp {
  margin-bottom: 2px;
}

/* od 768px – 2 sloupce, firemní blok 3 sloupce */
@media (min-width: 768px) {
  .regformar .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .regformar .js-companyFields.row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/********************************************
 *  Registrace – labely, chybové hlášky
 ********************************************/

.reg-label,
.reg-label-company {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: #111827;
}

.star {
  color: #dc2626;
  margin-left: 2px;
}

.errreg {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.8rem;
  color: #dc2626;
}

/********************************************
 *  Registrace – inputy
 ********************************************/

.regformar .form-control {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.92rem;
  padding: 8px 10px;
  background-color: #ffffff;
}

.regformar .form-control:focus {
  border-color: var(--itd-accent);
  box-shadow: 0 0 0 1px rgba(19, 182, 199, 0.15);
  outline: none;
}

/********************************************
 *  Registrace – checkbox „Registrovat na firmu“
 ********************************************/

.regformar .form-check {
  display: flex;
  align-items: center;
  gap: 6px;
}

.regformar .form-check-input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.regformar .form-check-label {
  cursor: pointer;
}

.reg-company {
  margin-top: 18px;
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--itd-border);
}

.reg-label-company {
  margin-left: 4px;
}

.reg-company .form-text {
  font-size: 0.8rem;
  color: var(--itd-muted);
  margin-top: 4px;
}

/********************************************
 *  Registrace – bloky (firma, email/heslo)
 ********************************************/

.reg-ohraniceni {
  margin-top: 16px;
  margin-bottom: 18px;
  padding: 14px 16px 10px;
  border-radius: var(--itd-radius-md);
  background: #f9fafb;
  border: 1px dashed #d1d5db;
}

/********************************************
 *  Registrace – tlačítko
 ********************************************/

.btn_reg {
  margin-top: 24px;
  min-width: 220px;
  border-radius: 999px;
  border: none;
  background: var(--itd-accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  padding: 10px 24px;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn_reg:hover,
.btn_reg:focus {
  background: var(--itd-accent-dark);
  transform: translateY(-1px);
}

.btn_reg:active {
  transform: translateY(0);
}
.regformar .reg-company.row {
  grid-template-columns: 1fr !important;
}
/********************************************
 *  Responsivní úpravy
 ********************************************/

@media (max-width: 767.98px) {
  .layout-narrow {
    padding: 24px 0 40px;
  }

  .site-header-inner {
    padding: 8px 12px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .regformar {
    padding: 24px 18px 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  }

  .btn_reg {
    width: 100%;
  }
} 







/* blok "Proč mít účet ITDelivery" */
.reg-reasons {
  margin-bottom: 26px;
}

.reg-reasons-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.reg-reasons-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(19, 182, 199, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0891b2;
  background: rgba(255, 255, 255, 0.9);
}

.reg-reasons-header h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: #111827;
}

/* grid pro 3 „kameny“ */
.reg-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* jednotlivý kámen */
.reg-reason {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 14px 14px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

/* barevný akcent nahoře */
.reg-reason::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 3px;
  background: linear-gradient(90deg, #13b6c7, #0ea5e9);
}

/* kolečko s číslem */
.reg-reason-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  background: rgba(19, 182, 199, 0.12);
  border: 1px solid rgba(19, 182, 199, 0.5);
  margin-bottom: 10px;
}

.reg-reason h3 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 6px;
  color: #111827;
}

.reg-reason p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #4b5563;
}

/* hover efekt – lehké „wau“ */
.reg-reason:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(19, 182, 199, 0.65);
  transition: all 0.15s ease-out;
}

/* mobil: 1 sloupec */
@media (max-width: 767.98px) {
  .reg-reasons-grid {
    grid-template-columns: 1fr;
  }
}
/* ať to vypadá dobře i v rámci reg boxu */
.regformar .alert {
  margin-bottom: 20px;
}
.btn_reg {
  display: block;          /* místo inline */
  margin: 24px auto 0;     /* auto = vycentruje vodorovně */
  min-width: 220px;
  border-radius: 999px;
  border: none;
  background: var(--itd-accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  padding: 10px 24px;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}


/* Heslo – obal s ikonkou oka */
.password-field {
  position: relative;
}

.password-field .form-control {
  padding-right: 40px; /* místo pro ikonku */
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  color: #6b7280;
}

.password-toggle:hover {
  color: #111827;
}
.password-toggle:focus {
  outline: none;
}

/* Řádek s poptávkou = žádný grid, prostě jeden blok přes celou šířku */
.registration-wrapper .row.row-poptavka {
    display: block;        /* přepíše display:grid z .row */
}

/* pro jistotu, aby se ten vnitřní div natáhl */
.registration-wrapper .row.row-poptavka .fp-full {
    width: 100%;
}