/* Manabi Video Navi V280 — clear, low-stress registration guidance. */

body.page-register .register-guided-form {
  gap: 18px;
}

body.page-register .register-field-block {
  display: grid;
  min-width: 0;
  gap: 8px;
}

body.page-register .register-field-block > label,
body.page-register .register-password-heading label {
  color: #f7fbff !important;
  -webkit-text-fill-color: #f7fbff !important;
  font-size: 15px;
  font-weight: 900;
}

body.page-register .register-field-help {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(126, 194, 255, .28);
  border-radius: 12px;
  background: rgba(8, 34, 72, .74);
  color: #d9eaff !important;
  -webkit-text-fill-color: #d9eaff !important;
  font-size: 12.5px;
  line-height: 1.6;
}

body.page-register .register-field-help strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body.page-register .register-password-block {
  padding: clamp(15px, 3vw, 21px);
  border: 1px solid rgba(94, 207, 255, .5);
  border-radius: 20px;
  background: radial-gradient(circle at 8% 0, rgba(89, 213, 255, .16), transparent 42%), rgba(5, 28, 63, .84);
  box-shadow: 0 15px 36px rgba(1, 15, 40, .18);
}

body.page-register .register-password-heading {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

body.page-register .register-password-heading > span:last-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body.page-register .register-password-heading strong {
  color: #80e6ff !important;
  -webkit-text-fill-color: #80e6ff !important;
  font-size: 17px;
  line-height: 1.35;
}

body.page-register .register-password-heading small {
  color: #d3e7fb !important;
  -webkit-text-fill-color: #d3e7fb !important;
  font-size: 12px;
  line-height: 1.55;
}

body.page-register .register-password-art {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(108, 222, 255, .45);
  border-radius: 20px;
  background: rgba(24, 83, 148, .44);
}

body.page-register .register-password-art svg {
  width: 54px;
  height: 54px;
  fill: rgba(89, 165, 255, .15);
  stroke: #85e7ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.page-register .register-password-control {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

body.page-register .register-password-control input {
  min-width: 0;
}

body.page-register .register-password-toggle {
  min-width: 86px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #7ecbff;
  border-radius: 12px;
  background: #113e76;
  color: #fff;
  font: 800 13px/1 system-ui, sans-serif;
  cursor: pointer;
}

body.page-register .register-password-toggle:hover,
body.page-register .register-password-toggle:focus-visible {
  border-color: #fff;
  background: #1b579b;
}

body.page-register .register-password-guide {
  display: grid;
  gap: 11px;
}

body.page-register .register-password-example {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .08);
}

body.page-register .register-password-example > span {
  color: #a9caec !important;
  -webkit-text-fill-color: #a9caec !important;
  font-size: 11px;
  font-weight: 800;
}

body.page-register .register-password-example code {
  display: block;
  overflow-wrap: anywhere;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 14px;
}

body.page-register .register-password-example small,
body.page-register .register-password-live {
  margin: 0;
  color: #c7dcf2 !important;
  -webkit-text-fill-color: #c7dcf2 !important;
  font-size: 11px;
  line-height: 1.5;
}

body.page-register .register-password-live.is-error {
  color: #ffd4d4 !important;
  background: rgba(127, 29, 29, .62);
  border: 1px solid rgba(252, 165, 165, .7);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 800;
  -webkit-text-fill-color: #ffd4d4 !important;
}

body.page-register .register-password-meter {
  display: grid;
  gap: 7px;
}

body.page-register .register-password-meter > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: #d7eaff;
  font-size: 12px;
}

body.page-register .register-password-meter strong {
  color: #ffd479 !important;
  -webkit-text-fill-color: #ffd479 !important;
}

body.page-register .register-password-meter strong.is-ready {
  color: #70efc3 !important;
  -webkit-text-fill-color: #70efc3 !important;
}

body.page-register .register-password-meter progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #163b68;
  accent-color: #62dcff;
}

body.page-register .register-password-meter progress::-webkit-progress-bar {
  border-radius: 999px;
  background: #163b68;
}

body.page-register .register-password-meter progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, #4a7cff, #62dcff, #57e3b4);
}

body.page-register .register-password-meter progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, #4a7cff, #62dcff, #57e3b4);
}

body.page-register .register-password-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-register .register-password-rules li {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(167, 197, 230, .34);
  border-radius: 999px;
  background: rgba(5, 25, 54, .66);
  color: #b8cce2 !important;
  -webkit-text-fill-color: #b8cce2 !important;
  font-size: 11px;
  font-weight: 800;
}

body.page-register .register-password-rules li span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: #315172;
  color: #d2e2f2;
}

body.page-register .register-password-rules li.is-valid {
  border-color: rgba(86, 232, 182, .6);
  background: rgba(11, 91, 75, .45);
  color: #eafff7 !important;
  -webkit-text-fill-color: #eafff7 !important;
}

body.page-register .register-password-rules li.is-valid span {
  background: #0a8b70;
  color: #fff;
}

@media (max-width: 520px) {
  body.page-register .register-password-heading {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  body.page-register .register-password-art {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  body.page-register .register-password-art svg {
    width: 42px;
    height: 42px;
  }

  body.page-register .register-password-control {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  body.page-register .register-password-toggle {
    min-width: 0;
    padding: 0 8px;
  }
}

@media (forced-colors: active) {
  body.page-register .register-password-block,
  body.page-register .register-field-help,
  body.page-register .register-password-rules li {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }
}
