/* UIT B2B Registration — wizard styles. All classes prefixed `uit-reg-*`. */
.uit-reg-page {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: #1a1f2b;
  background: #eef2f6;
  margin: 0;
  padding: 28px 0 56px;
}

/* ===================================================================== */
/* Registration header — 1:1 with design (registration-design.html).     */
/* Hide the global OC header ONLY on this page, render the design header. */
/* Prefixed `urh-` to avoid clashing with global .header-phone/.search-*  */
/* ===================================================================== */
body:has(#uit-reg-page) #top,
body:has(#uit-reg-page) #top-mobile,
body:has(#uit-reg-page) header:not(.urh-topbar) { display: none !important; }

.urh-topbar { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #d9e0ea; font-family: "Manrope", "Segoe UI", sans-serif; }
.urh-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; }
.urh-nav { background: #243c6b; border-bottom: 1px solid rgba(255,255,255,0.12); }
.urh-nav .urh-inner { min-height: 50px; }
.urh-nav-links, .urh-nav-right { display: flex; align-items: center; gap: 8px; }
.urh-nav-link { color: #e6ecf7; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 8px; transition: background .18s ease, color .18s ease; }
.urh-nav-link:hover, .urh-nav-link.active { background: #132849; color: #fff; }
.urh-lang { color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; padding: 6px 10px; border-radius: 8px; border: 1px solid transparent; }
.urh-lang.active { background: #112544; border-color: rgba(255,255,255,0.22); }
.urh-auth-login, .urh-auth-register { text-decoration: none; font-size: 14px; font-weight: 700; padding: 7px 12px; border-radius: 9px; border: 1px solid transparent; line-height: 1; white-space: nowrap; cursor: pointer; }
.urh-auth-login { color: #fff; border-color: rgba(255,255,255,0.42); background: transparent; }
.urh-auth-login:hover { color: #fff; }
.urh-auth-register { color: #fff; background: #ff6c20; border-color: #ff6c20; }
.urh-auth-register:hover { color: #fff; background: #e05510; border-color: #e05510; }
.urh-main { background: #fff; box-shadow: 0 2px 8px rgba(14,30,52,0.06); }
.urh-main .urh-inner { min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.urh-brand { display: flex; align-items: center; min-width: 156px; color: #1d2f52; text-decoration: none; line-height: 0; }
.urh-brand-logo { display: block; height: 42px; width: auto; }
.urh-catalog-btn { display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 8px; background: #ff6c20; color: #fff; font: inherit; font-size: 16px; font-weight: 800; padding: 10px 16px; min-width: 176px; height: 40px; cursor: pointer; line-height: 1; text-decoration: none; }
.urh-catalog-btn:hover { color: #fff; background: #e95b18; }
.urh-catalog-grid { width: 16px; height: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; flex: 0 0 auto; }
.urh-catalog-grid span { width: 6px; height: 6px; border: 1.5px solid #fff; border-radius: 2px; display: block; }
.urh-catalog-btn b { font-size: 16px; font-weight: 700; line-height: 1; }
.urh-search { flex: 1; max-width: 430px; min-width: 240px; display: flex; border: 1px solid #c7d0de; border-radius: 8px; overflow: hidden; background: #fff; margin: 0; }
.urh-search input { border: 0; border-radius: 0; padding: 11px 12px; font-size: 14px; box-shadow: none; flex: 1; min-width: 0; }
.urh-search input:focus { box-shadow: none; border: 0; outline: none; }
.urh-search-btn { border: 0; width: 48px; display: grid; place-items: center; cursor: pointer; background: #f7f9fc; color: #5f6e86; font-size: 20px; font-weight: 700; }
.urh-phone { color: #1d3664; font-size: 18px; font-weight: 800; white-space: nowrap; text-decoration: none; }
.urh-callback { border: 1px solid #ff7a33; border-radius: 8px; background: #fff; color: #ff6c20; font: inherit; font-size: 16px; font-weight: 700; padding: 9px 12px; cursor: pointer; white-space: nowrap; }
.urh-callback:hover { background: #ff6c20; color: #fff; }

@media (max-width: 1199px) {
  .urh-nav-links { overflow-x: auto; max-width: 60%; }
  .urh-phone, .urh-callback { display: none; }
}
@media (max-width: 991px) {
  .urh-main .urh-inner { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand catalog" "search search"; gap: 10px; align-items: center; }
  .urh-brand { grid-area: brand; min-width: 0; }
  .urh-brand-logo { height: 36px; }
  .urh-catalog-btn { grid-area: catalog; min-width: 0; padding: 9px 12px; height: 38px; }
  .urh-search { grid-area: search; max-width: none; min-width: 0; }
}
@media (max-width: 767px) {
  .urh-nav { display: none; }
  .urh-inner { padding: 12px; }
  .urh-catalog-btn { justify-content: center; min-width: 44px; width: 44px; height: 36px; padding: 0; }
  .urh-catalog-btn b { display: none; }
}

.uit-reg-page .container { max-width: 1020px; }

.uit-reg-h1 {
  font-size: 24px;
  font-weight: 800;
  margin: 8px 0 18px;
  color: #1a1f2b;
}

.uit-reg-card {
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(27, 34, 48, .08);
  padding: 24px;
}

@media (max-width: 640px) {
  .uit-reg-card { padding: 18px 14px; }
}

.uit-reg-progress {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}
.uit-reg-progress-head {
  display: flex;
  justify-content: space-between;
  color: #697386;
  font-size: 12px;
  font-weight: 700;
}
.uit-reg-progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e8edf3;
  overflow: hidden;
}
.uit-reg-progress-fill {
  height: 100%;
  width: 0;
  background: #ff6c20;
  transition: width .25s ease;
}

.uit-reg-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 4px 0 22px;
}
.uit-reg-step {
  border: 1px solid #d8dee8;
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
}
.uit-reg-step.is-active { border-color: #ff6c20; background: #fff; }
.uit-reg-step.is-done   { border-color: #c7e7d8; background: #f4fcf7; }
.uit-reg-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d8dee8;
  color: #314054;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.uit-reg-step.is-active .uit-reg-step-num { background: #ff6c20; color: #fff; }
.uit-reg-step.is-done   .uit-reg-step-num { background: #1f8f58; color: #fff; }
.uit-reg-step-name {
  font-size: 12px;
  font-weight: 700;
  color: #3d4c62;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .uit-reg-stepper { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .uit-reg-step    { grid-template-columns: 1fr; justify-items: center; padding: 6px 4px; gap: 4px; }
  .uit-reg-step-name { display: none; }
}

.uit-reg-wstep { display: none; animation: uit-reg-fade .2s ease; }
.uit-reg-wstep.is-active { display: block; }

@keyframes uit-reg-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.uit-reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.uit-reg-field, .uit-reg-field-wide { display: grid; gap: 6px; }
.uit-reg-field-wide { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .uit-reg-grid { grid-template-columns: 1fr; }
}

.uit-reg-form label {
  font-size: 13px;
  font-weight: 700;
  color: #253041;
  margin: 0;
}
.uit-reg-req { color: #d8232a; margin-left: 2px; }

.uit-reg-form input,
.uit-reg-form select,
.uit-reg-form textarea {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: #1a1f2b;
  background: #fff;
  transition: .18s ease;
  box-shadow: none;
}
.uit-reg-form input:focus,
.uit-reg-form select:focus,
.uit-reg-form textarea:focus {
  outline: none;
  border-color: #8d9aae;
  box-shadow: 0 0 0 3px rgba(141, 154, 174, .16);
}
.uit-reg-form input.is-error,
.uit-reg-form select.is-error,
.uit-reg-form textarea.is-error {
  border-color: #c22832;
  box-shadow: 0 0 0 3px rgba(194, 40, 50, .12);
  background: #fff9fa;
}

.uit-reg-error {
  min-height: 16px;
  font-size: 12px;
  color: #c22832;
  line-height: 1.2;
}

.uit-reg-hint { color: #697386; font-size: 12px; line-height: 1.4; }

.uit-reg-info {
  margin-top: 6px;
  border: 1px solid #f0dcb3;
  background: #fffbef;
  border-radius: 10px;
  color: #6b5a31;
  font-size: 13px;
  padding: 10px 12px;
}

.uit-reg-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #697386;
  font-size: 14px;
  line-height: 1.4;
  margin: 12px 0 0;
}
.uit-reg-check input {
  margin-top: 1px;
  width: 17px;
  height: 17px;
  accent-color: #ff6c20;
}

.uit-reg-confirm-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.uit-reg-confirm-text  { margin: 0 0 14px; color: #697386; font-size: 14px; }

.uit-reg-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
.uit-reg-summary-card {
  border: 1px solid #d8dee8;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.uit-reg-summary-card h4 { margin: 0 0 8px; font-size: 14px; }
.uit-reg-summary-card p  { margin: 4px 0; color: #697386; font-size: 13px; line-height: 1.45; white-space: pre-line; }

.uit-reg-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.uit-reg-btn {
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 18px;
  cursor: pointer;
  transition: .18s ease;
  text-decoration: none;
  display: inline-block;
}
.uit-reg-btn-primary { background: #ff6c20; color: #fff; }
.uit-reg-btn-primary:hover:not(:disabled) { background: #e05510; color: #fff; }
.uit-reg-btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.uit-reg-btn-secondary { background: #fff; color: #1a1f2b; border-color: #d8dee8; }
.uit-reg-btn-secondary:hover { border-color: #b9c3d2; }
.uit-reg-btn[hidden] { display: none !important; }

.uit-reg-server-error {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #f3c2c5;
  background: #fff5f6;
  color: #c22832;
  font-size: 13px;
  border-radius: 10px;
}

.uit-reg-success { text-align: center; padding: 22px 0; }
.uit-reg-success h2 { margin: 12px 0 8px; font-size: 22px; font-weight: 800; }
.uit-reg-success p  { color: #697386; margin: 0 0 22px; font-size: 14px; }
.uit-reg-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: #eff9f3;
  color: #1f8f58;
  font-size: 38px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

/* ====================================================================
   Layout: aside + panel grid
   ==================================================================== */

.uit-reg-page .container { max-width: 1240px; }

.uit-reg-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: start;
}

.uit-reg-layout.is-b2c {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Aside */
.uit-reg-aside {
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(27, 34, 48, .08);
  padding: 22px;
  position: sticky;
  top: 80px;
}

.uit-reg-aside h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #1a1f2b;
  line-height: 1.3;
}

.uit-reg-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.uit-reg-checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: #697386;
  font-size: 14px;
  line-height: 1.45;
}

.uit-reg-chk {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff0e8;
  color: #ff6c20;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.uit-reg-support-box {
  margin-top: 18px;
  border: 1px solid #d8dee8;
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px 14px;
  color: #697386;
  font-size: 13px;
  line-height: 1.45;
}

/* Main panel */
.uit-reg-panel {
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(27, 34, 48, .08);
  padding: 24px;
}

/* ====================================================================
   Mode toggle
   ==================================================================== */

.uit-reg-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 20px;
}
/* display:grid above overrides native [hidden] (display:none) — force-hide */
.uit-reg-mode-switch[hidden] {
  display: none !important;
}

.uit-reg-mode-btn {
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #697386;
  cursor: pointer;
  transition: .18s ease;
  white-space: nowrap;
  text-align: center;
}

.uit-reg-mode-btn.is-active {
  background: #fff;
  color: #1a1f2b;
  box-shadow: 0 2px 8px rgba(17, 24, 39, .07);
}

.uit-reg-mode-btn:not(.is-active):hover { color: #1a1f2b; }

/* ====================================================================
   Form header (shared by B2C and B2B sections)
   ==================================================================== */

.uit-reg-form-header { margin-bottom: 18px; }
.uit-reg-form-header h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #1a1f2b;
}
.uit-reg-form-header p {
  margin: 0;
  color: #697386;
  font-size: 14px;
  line-height: 1.45;
}

/* ====================================================================
   B2C success state
   ==================================================================== */

.uit-reg-b2c-success {
  text-align: center;
  padding: 22px 0;
}
.uit-reg-b2c-success h2 { margin: 12px 0 8px; font-size: 22px; font-weight: 800; }
.uit-reg-b2c-success p  { color: #697386; margin: 0; font-size: 14px; }

/* ====================================================================
   Responsive
   ==================================================================== */

@media (max-width: 1199px) {
  .uit-reg-layout {
    grid-template-columns: 1fr;
  }
  .uit-reg-aside {
    order: 2;
    position: static;
  }
  .uit-reg-panel {
    order: 1;
  }
}

@media (max-width: 640px) {
  .uit-reg-panel { padding: 18px 14px; }
  .uit-reg-aside { padding: 16px; }
  .uit-reg-mode-btn { font-size: 13px; padding: 9px 8px; }
  .uit-reg-form-header h3 { font-size: 19px; }
}

/* Anti-bot honeypot — off-screen but still in DOM (display:none is ignored by smart bots) */
.uit-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
