/* ZuriBet registration wizard (/register). Navy page, step tracker, white card. */

body.zb-reg-page {
  min-height: 100vh;
  padding-bottom: 0;
  background: radial-gradient(1200px 600px at 85% -10%, #173459 0%, rgba(23, 52, 89, 0) 60%), #031124;
  color: #fff;
}

.zb-reg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
}

.zb-reg-top__logo img {
  display: block;
  width: auto;
  height: 48px;
}

body.zb-page .zb-reg-top__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9d4e2;
  font-size: 17px;
  text-decoration: none;
}

body.zb-page .zb-reg-top__close:hover {
  color: #fff;
}

.zb-reg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: start;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.zb-reg__lead {
  max-width: 420px;
  margin: 24px 0 28px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.zb-reg__steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zb-reg__steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #8698b0;
  font-size: 18px;
}

.zb-reg__dot {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px dashed #4b6283;
  border-radius: 50%;
}

.zb-reg__steps li.is-current {
  color: #fff;
  font-weight: 700;
}

.zb-reg__steps li.is-current .zb-reg__dot {
  border: 6px solid var(--zb-red);
  background: #fff;
}

.zb-reg__steps li.is-done {
  color: #fff;
}

.zb-reg__steps li.is-done .zb-reg__dot {
  border: 0;
  background: var(--zb-red);
  box-shadow: inset 0 0 0 5px #031124;
}

/* Card */
.zb-reg__card {
  position: relative;
  padding: 44px 44px 40px;
  border-radius: 20px;
  background: #fff;
  color: #0b1b2f;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.zb-reg__step {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.zb-reg__step[hidden] {
  display: none;
}

.zb-reg__form {
  margin: 0;
}

.zb-reg__eyebrow {
  margin: 0 0 6px;
  color: #77869a;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.zb-reg__title {
  margin: 0 0 14px;
  color: #031124;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  outline: 0;
}

.zb-reg__hint {
  margin: 0 0 22px;
  color: #4a5b70;
  font-size: 16px;
  line-height: 1.5;
}

.zb-reg__benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 32px;
  padding: 0;
  list-style: none;
}

.zb-reg__benefits li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #4a5b70;
  font-size: 17px;
}

.zb-reg__benefits i {
  width: 28px;
  color: #031124;
  font-size: 22px;
  text-align: center;
}

.zb-reg__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

body.zb-page .zb-reg__cta {
  min-height: 56px;
  margin-top: auto;
  font-size: 18px;
}

.zb-reg__actions .zb-reg__cta {
  margin-top: 0;
}

.zb-reg__alt {
  margin: 14px 0 0;
  color: #4a5b70;
  font-size: 16px;
  text-align: center;
}

body.zb-page .zb-reg__alt a {
  color: var(--zb-red);
  font-weight: 700;
}

.zb-reg__undo {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin: -10px 0 12px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: #77869a;
  font-size: 16px;
  font-weight: 600;
}

.zb-reg__undo:hover {
  color: #031124;
}

/* Fields */
.zb-reg__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.zb-reg__field label {
  margin: 0;
  color: #031124;
  font-size: 15px;
  font-weight: 600;
}

.zb-reg__field small {
  color: #77869a;
  font-size: 13px;
}

.zb-reg__field > input,
.zb-reg__phone,
.zb-reg__password {
  height: 56px;
  border: 2px solid #d6dee8;
  border-radius: 10px;
  background: #fff;
}

.zb-reg__field > input,
.zb-reg__phone input,
.zb-reg__password input {
  width: 100%;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #031124;
  font-size: 18px;
  font-weight: 600;
}

.zb-reg__field > input {
  border: 2px solid #d6dee8;
}

.zb-reg__phone,
.zb-reg__password {
  display: flex;
  align-items: center;
}

.zb-reg__phone span {
  padding: 0 4px 0 16px;
  color: #77869a;
  font-size: 18px;
}

.zb-reg__phone input {
  padding-left: 6px;
}

.zb-reg__field > input:focus,
.zb-reg__phone:focus-within,
.zb-reg__password:focus-within {
  border-color: #031124;
}

.zb-reg__field.has-error > input,
.zb-reg__field.has-error .zb-reg__phone,
.zb-reg__field.has-error .zb-reg__password {
  border-color: var(--zb-red);
}

.zb-reg__reveal {
  flex-shrink: 0;
  width: 52px;
  height: 100%;
  border: 0;
  background: none;
  color: #4a5b70;
  font-size: 18px;
}

.zb-reg__code {
  letter-spacing: 0.6em;
  text-align: center;
  font-size: 26px !important;
}

.zb-reg__error {
  margin: -6px 0 16px;
  color: var(--zb-red);
  font-size: 15px;
  font-weight: 600;
}

.zb-reg__error[hidden] {
  display: none;
}

/* Password strength */
.zb-reg__strength {
  margin: -6px 0 22px;
}

.zb-reg__meter {
  height: 6px;
  border-radius: 6px;
  background: #e8edf4;
  overflow: hidden;
}

.zb-reg__meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 6px;
  background: var(--zb-red);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.zb-reg__strength[data-reg-strength="1"] .zb-reg__meter span { width: 25%; background: #e0262f; }
.zb-reg__strength[data-reg-strength="2"] .zb-reg__meter span { width: 50%; background: #f5a524; }
.zb-reg__strength[data-reg-strength="3"] .zb-reg__meter span { width: 75%; background: #7cc04b; }
.zb-reg__strength[data-reg-strength="4"] .zb-reg__meter span { width: 100%; background: #22a35a; }

.zb-reg__strength p {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 0;
  color: #77869a;
  font-size: 14px;
}

.zb-reg__strength strong {
  color: #4a5b70;
}

.zb-reg__strength[data-reg-strength="4"] strong,
.zb-reg__strength[data-reg-strength="3"] strong {
  color: #22a35a;
}

p.zb-reg__rule {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 12px;
}

.zb-reg__rule i {
  color: #c3cdd9;
}

.zb-reg__rule.is-met {
  color: #22a35a;
}

.zb-reg__rule.is-met i {
  color: #22a35a;
}

/* Terms */
.zb-reg__check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 8px 0 18px;
  color: #0b1b2f;
  font-size: 17px;
  line-height: 1.5;
  cursor: pointer;
}

.zb-reg__check input {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  accent-color: var(--zb-red);
}

body.zb-page .zb-reg__check a {
  color: var(--zb-red);
  font-weight: 700;
}

.zb-reg__check.has-error span {
  color: var(--zb-red);
}

.zb-reg__note {
  display: flex;
  gap: 10px;
  margin: 0 0 24px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f4f7fb;
  color: #4a5b70;
  font-size: 14px;
  line-height: 1.45;
}

.zb-reg__note i {
  margin-top: 2px;
  color: var(--zb-red);
}

/* Success */
.zb-reg__done {
  align-items: center;
  text-align: center;
}

.zb-reg__done .zb-reg__actions {
  width: 100%;
}

.zb-reg__done-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 10px 0 20px;
  border-radius: 50%;
  background: #22a35a;
  color: #fff;
  font-size: 32px;
}

.zb-reg__confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body.zb-page .zb-reg__done .zb-btn--ghost {
  border-color: #d6dee8;
  background: #fff;
  color: #031124;
}

/* Tablet and phone */
@media (max-width: 991.98px) {
  .zb-reg {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    max-width: 560px;
    padding: 8px 16px 40px;
  }

  .zb-reg__lead {
    display: none;
  }

  .zb-reg__steps {
    flex-direction: row;
    gap: 6px;
  }

  .zb-reg__steps li {
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    font-size: 12px;
    text-align: center;
  }

  .zb-reg__dot,
  .zb-reg__steps li.is-current .zb-reg__dot,
  .zb-reg__steps li.is-done .zb-reg__dot {
    width: 100%;
    height: 5px;
    border: 0;
    border-radius: 5px;
    background: #2a4266;
    box-shadow: none;
  }

  .zb-reg__steps li.is-current .zb-reg__dot,
  .zb-reg__steps li.is-done .zb-reg__dot {
    background: var(--zb-red);
  }

  .zb-reg__card {
    padding: 28px 22px 24px;
    border-radius: 16px;
  }

  .zb-reg__step {
    min-height: 360px;
  }

  .zb-reg__title {
    font-size: 26px;
  }
}

@media (max-width: 575.98px) {
  .zb-reg-top {
    padding: 12px 16px;
  }

  .zb-reg-top__logo img {
    height: 38px;
  }

  .zb-reg__steps li span:last-child {
    display: none;
  }

  .zb-reg__benefits li {
    font-size: 16px;
  }
}

/* Success screen: card on its own, centred. */
.zb-reg.zb-reg--done {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

body.zb-page .zb-reg__done .zb-btn {
  min-height: 56px;
}

.zb-reg__alt--inline {
  margin: -6px 0 18px;
  text-align: left;
}

/* ---------------------------------------------------------------- /login (same chrome as the wizard) */

.zb-reg.zb-reg--single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
  padding-top: 24px;
}

body.zb-reg-page.auth-page {
  padding: 0;
}

.zb-login .zb-reg__title {
  font-size: 28px;
}

.zb-login .auth-page__notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: #fff4e0;
  color: #9a5800;
  font-size: 15px;
}

.zb-login .auth-page__notice.is-success {
  background: #e7f6ee;
  color: #157a43;
}

.zb-login .modal-content-custom,
.zb-login .modal-body-custom,
.zb-login .modal__right,
.zb-login .form__tabs__wrap {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.zb-login .nav-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 6px 0 22px;
  padding: 4px;
  border: 0;
  border-radius: 10px;
  background: #eef2f7;
}

.zb-login .nav-tabs .nav-link {
  width: 100%;
  margin: 0;
  padding: 10px 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #4a5b70;
  font-size: 15px;
  font-weight: 700;
}

.zb-login .nav-tabs .nav-link.active {
  background: #fff;
  color: #031124;
  box-shadow: 0 1px 3px rgba(3, 17, 36, 0.12);
}

.zb-login .form__grp {
  position: relative;
  margin-bottom: 16px;
}

.zb-login label,
.zb-login .form__grp label {
  display: block;
  margin: 0 0 6px;
  color: #031124;
  font-size: 15px;
  font-weight: 600;
}

.zb-login input[type="text"],
.zb-login input[type="tel"],
.zb-login input[type="password"],
.zb-login input[type="number"],
.zb-login input[type="email"] {
  width: 100%;
  height: 52px;
  padding: 0 46px 0 14px;
  border: 2px solid #d6dee8;
  border-radius: 10px;
  background: #fff;
  color: #031124;
  font-size: 17px;
  font-weight: 600;
  outline: 0;
  box-shadow: none;
}

.zb-login input:focus {
  border-color: #031124;
}

.zb-login .field-icon {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: #4a5b70;
}

.zb-login .login__signup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 15px;
}

.zb-login .login__signup .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.zb-login .login__signup .form-check-label {
  margin: 0;
  font-weight: 500;
}

.zb-login .form-check-input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--zb-red);
}

body.zb-page .zb-login .login__signup button,
body.zb-page .zb-login .login__signup a {
  padding: 0;
  border: 0;
  background: none;
  color: var(--zb-red);
  font-weight: 700;
  text-decoration: none;
}

body.zb-page .zb-login .cmn--btn,
body.zb-page .zb-login button[type="submit"]:not(.field-icon) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  background: var(--zb-red);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: none;
}

body.zb-page .zb-login .cmn--btn:hover,
body.zb-page .zb-login button[type="submit"]:not(.field-icon):hover {
  background: var(--zb-red-hover);
}

.zb-login .auth-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: #fdecec;
  color: #c4161c;
  font-size: 15px;
  font-weight: 600;
}

.zb-login .auth-alert p {
  margin: 0;
}

.zb-login p,
.zb-login small {
  color: #4a5b70;
}

.zb-login .zb-reg__alt {
  margin-top: 22px;
}

.zb-login .login__signup .form-check {
  padding-left: 0;
}

body.zb-page .zb-login .login__signup button {
  font-size: 15px;
}
