body.tg-register {
  min-height: 120vh;
  display: flex;
  flex-direction: column;
  background: #f9f9f9;
  color: #1a1c1c;
}

.register-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
  backdrop-filter: blur(0.24rem);
  box-shadow: 0 0.2rem 0.4rem rgba(13, 13, 13, 0.04);
}

.register-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0.96rem;
  padding: 0 0.648rem;
}

.register-header__brand {
  color: #0d0d0d;
  font-size: 0.533334rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.052em;
}

.register-header__login {
  color: #c5a059;
  font-size: 0.293334rem;
  font-weight: 700;
  letter-spacing: 0.104em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.register-header__login:hover {
  color: #775a19;
}

.register-main {
  flex: 1 0 auto;
  display: flex;
  min-height: calc(120vh - 1.744rem);
  margin-top: 0;
}

.register-visual {
  position: relative;
  flex: 0 0 50%;
  min-height: 9.6rem;
  overflow: hidden;
  background: #e8e8e8;
}

.register-visual__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(218, 218, 218, 0.2);
}

.register-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.register-panel {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.296rem;
  background: #f9f9f9;
}

.register-card {
  width: min(100%, 9.24rem);
}

.register-card__header {
  margin-bottom: 0.756rem;
}

.register-card__header h1 {
  margin: 0;
  color: #0d0d0d;
  font-size: 1.12rem;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.065em;
}

.register-card__header p {
  max-width: 9.8rem;
  margin: 0.243rem 0 0;
  color: rgba(26, 28, 28, 0.7);
  font-size: 0.426666rem;
  line-height: 1.65;
}

.register-form {
  display: grid;
  gap: 0.486rem;
}

.register-form__row {
  --bs-gutter-x: 0.432rem;
  --bs-gutter-y: 0.486rem;
}

.register-field {
  position: relative;
}

.register-field input,
.register-field select {
  display: block;
  width: 100%;
  height: 1rem;
  padding: 0.216rem 0 0.108rem;
  border: 0;
  border-bottom: 1px solid rgba(209, 197, 180, 0.45);
  border-radius: 0;
  background: transparent;
  color: #1a1c1c;
  font-size: 0.426666rem;
  line-height: 1.2;
  outline: none;
  box-shadow: none;
  transition: border-color 0.25s ease;
}

.register-field input:focus,
.register-field select:focus {
  border-color: #775a19;
}

.register-field label {
  position: absolute;
  top: 0.216rem;
  left: 0;
  margin: 0;
  color: rgba(26, 28, 28, 0.5);
  font-size: 0.426666rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.104em;
  text-transform: uppercase;
  pointer-events: none;
  transition: top 0.2s ease, color 0.2s ease, font-size 0.2s ease;
}

.register-field input:focus + label,
.register-field input:not(:placeholder-shown) + label,
.register-field select:focus + label,
.register-field select:valid + label {
  top: -0.024rem;
  color: #775a19;
  font-size: 0.293334rem;
}

.register-field--select select {
  appearance: none;
  padding-right: 0.486rem;
}

.register-field__chevron {
  position: absolute;
  right: 0;
  top: 0.216rem;
  display: inline-flex;
  width: 0.24rem;
  height: 0.24rem;
  color: rgba(26, 28, 28, 0.5);
  pointer-events: none;
}

.register-field__chevron svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.register-check {
  display: flex;
  align-items: center;
  gap: 0.162rem;
  margin-top: 0.054rem;
}

.register-check input {
  flex: 0 0 auto;
  width: 0.392rem;
  height: 0.392rem;
  margin: 0.027rem 0 0;
  accent-color: #775a19;
  cursor: pointer;
}

.register-check label {
  margin: 0;
  color: rgba(26, 28, 28, 0.8);
  font-size: 0.373334rem;
  line-height: 1.55;
}

.register-check a,
.register-actions a {
  color: #1a1c1c;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.04rem;
  transition: color 0.25s ease;
}

.register-check a:hover,
.register-actions a:hover {
  color: #775a19;
}

.register-actions {
  padding-top: 0.27rem;
}

.register-submit {
  width: 100%;
  min-height: 0.876rem;
  border: 0;
  border-radius: 0.024rem;
  background: #775a19;
  color: #ffffff;
  font-size: 0.293334rem;
  font-weight: 700;
  letter-spacing: 0.156em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
}

.register-submit:hover {
  background: linear-gradient(135deg, #775a19 0%, #fed488 100%);
  transform: translateY(-0.02rem);
}

.register-actions p {
  margin: 0.243rem 0 0;
  color: rgba(26, 28, 28, 0.7);
  font-size: 0.373334rem;
  line-height: 1.5;
  text-align: center;
}

.register-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.432rem;
  padding: 0.54rem 0.648rem;
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #c5a059;
  font-size: 0.293334rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.register-footer p {
  margin: 0;
  opacity: 0.82;
}

.register-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.324rem;
}

.register-footer__links a {
  color: rgba(255, 255, 255, 0.46);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.register-footer__links a:hover {
  color: #c5a059;
}

@media (max-width: 991.98px) {

  .register-visual {
    display: none;
  }

  .register-panel {
    min-height: calc(120vh - 2.704rem);
    padding: 0.972rem 0.648rem;
  }

  .register-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .register-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .register-header__bar {
    min-height: 0.864rem;
    padding: 0 0.324rem;
  }

  .register-panel {
    min-height: auto;
    padding: 0.756rem 0.432rem 0.972rem;
  }

  .register-card__header h1 {
    font-size: 0.88rem;
  }

  .register-form {
    gap: 0.432rem;
  }

  .register-footer {
    padding: 0.486rem 0.432rem;
  }

  .register-footer__links {
    flex-direction: column;
    gap: 0.162rem;
  }
}

