:root {
  --register-navy: #143d4f;
  --register-gold: #d58e2b;
  --register-red: #983025;
  --register-cream: #f7f1e8;
  --register-line: rgba(20, 61, 79, 0.15);
}

.nvRegisterMain {
  min-height: 100vh;
  padding: 199px 24px 214px 24px;
  background:
    radial-gradient(circle at 10% 20%, rgba(213, 142, 43, 0.13), transparent 28%),
    linear-gradient(145deg, #f8f3eb 0%, #eef3f3 100%);
}

.nvRegisterShell {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(520px, 1.15fr);
  width: min(1080px, 100%);
  min-height: 620px;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid rgba(20, 61, 79, 0.1);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 65px rgba(20, 61, 79, 0.14);
}

.nvRegisterIntro {
  position: relative;
  overflow: hidden;
  padding: 66px 54px;
  background: var(--register-navy);
  color: #ffffff;
}

.nvRegisterIntro::before,
.nvRegisterIntro::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.nvRegisterIntro::before {
  top: -100px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: rgba(213, 142, 43, 0.2);
}

.nvRegisterIntro::after {
  right: -70px;
  bottom: -110px;
  width: 240px;
  height: 240px;
  border: 42px solid rgba(82, 167, 178, 0.13);
}

.nvRegisterEyebrow,
.nvRegisterCardHeader span {
  position: relative;
  z-index: 1;
  color: #efb95c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.nvRegisterIntro h1 {
  position: relative;
  z-index: 1;
  margin: 20px 0 18px;
  color: #ffffff;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.25;
}

.nvRegisterIntro > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.85;
}

.nvRegisterIntro ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 17px;
  margin: 52px 0 0;
  padding: 0;
}

.nvRegisterIntro li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

.nvRegisterIntro li i {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--register-gold);
  color: #ffffff;
  font-size: 10px;
}

.nvRegisterCard {
  padding: 52px 58px 44px;
}

.nvRegisterCardHeader {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.nvRegisterCardHeader span {
  color: var(--register-gold);
  letter-spacing: 0.12em;
}

.nvRegisterCardHeader h2 {
  margin: 7px 0 0;
  color: var(--register-navy);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.35;
}

.nvRegisterCardHeader small {
  color: rgba(20, 61, 79, 0.48);
  font-size: 11px;
  white-space: nowrap;
}

.nvRegisterAlert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(152, 48, 37, 0.2);
  border-radius: 10px;
  background: rgba(152, 48, 37, 0.07);
  color: var(--register-red);
  font-size: 13px;
  line-height: 1.55;
}

.nvRegisterAlert i {
  margin-top: 3px;
}

.nvRegisterForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.nvRegisterField--full,
.nvRegisterTerms,
.nvRegisterSubmit {
  grid-column: 1 / -1;
}

.nvRegisterPhoneRow {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(190px, 1.1fr);
  gap: 16px;
}

.nvRegisterField {
  min-width: 0;
}

.nvRegisterField label {
  display: block;
  margin-bottom: 7px;
  color: #3b5059;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nvRegisterField input,
.nvRegisterField select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--register-line);
  border-radius: 10px;
  outline: 0;
  background: #ffffff;
  color: var(--register-navy);
  font-size: 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.nvRegisterField input:hover,
.nvRegisterField select:hover {
  border-color: rgba(20, 61, 79, 0.28);
}

.nvRegisterField input:focus,
.nvRegisterField select:focus {
  border-color: var(--register-gold);
  background: #fffdf9;
  box-shadow: 0 0 0 3px rgba(213, 142, 43, 0.13);
}

.nvRegisterTerms {
  margin: 3px 0 0;
  color: rgba(20, 61, 79, 0.58);
  font-size: 11.5px;
  line-height: 1.65;
}

.nvRegisterTerms a,
.nvRegisterLoginLink a {
  color: var(--register-red);
  font-weight: 700;
  text-decoration: none;
}

.nvRegisterTerms a:hover,
.nvRegisterLoginLink a:hover {
  text-decoration: underline;
}

.nvRegisterSubmit {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
  border: 0;
  border-radius: 10px;
  background: var(--register-red);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 9px 20px rgba(152, 48, 37, 0.2);
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.nvRegisterSubmit:hover {
  background: #81271f;
  box-shadow: 0 11px 24px rgba(152, 48, 37, 0.25);
  transform: translateY(-1px);
}

.nvRegisterSubmit:active {
  transform: translateY(0);
}

.nvRegisterLoginLink {
  margin: 22px 0 0;
  color: rgba(20, 61, 79, 0.58);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .nvRegisterShell {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .nvRegisterIntro {
    padding: 42px 44px;
  }

  .nvRegisterIntro h1 {
    max-width: 520px;
    font-size: 34px;
  }

  .nvRegisterIntro ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
  }

  .nvRegisterIntro li {
    align-items: flex-start;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .nvRegisterMain {
    padding-top: 108px;
  }
}

@media (max-width: 600px) {
  .nvRegisterMain {
    padding: 88px 12px 100px;
  }

  .nvRegisterShell {
    border-radius: 17px;
  }

  .nvRegisterIntro {
    padding: 32px 24px;
  }

  .nvRegisterIntro h1 {
    margin: 13px 0 10px;
    font-size: 28px;
  }

  .nvRegisterIntro > p {
    font-size: 13.5px;
    line-height: 1.7;
  }

  .nvRegisterIntro ul {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .nvRegisterIntro li {
    align-items: center;
    font-size: 12.5px;
  }

  .nvRegisterCard {
    padding: 30px 20px 28px;
  }

  .nvRegisterCardHeader {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 22px;
  }

  .nvRegisterCardHeader h2 {
    font-size: 23px;
  }

  .nvRegisterForm {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .nvRegisterField--full,
  .nvRegisterTerms,
  .nvRegisterSubmit {
    grid-column: auto;
  }

  .nvRegisterPhoneRow {
    grid-template-columns: minmax(118px, 0.8fr) minmax(0, 1.2fr);
    gap: 10px;
  }

  .nvRegisterField input,
  .nvRegisterField select {
    height: 46px;
    padding: 0 11px;
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nvRegisterField input,
  .nvRegisterField select,
  .nvRegisterSubmit {
    transition: none;
  }
}
