.signup-page {
  background: #4fc3f7 url(/static/img/signup/Roller_coaster.png) no-repeat center bottom;
  background-size: cover;
  color: #191919;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px 15px;
}

.signup-inner {
  align-items: flex-start;
  display: flex;
  gap: 40px;
  justify-content: center;
  max-width: 1080px;
  width: 100%;
}

.signup-brand {
  flex: 1 1 0;
  text-align: center;
  
  padding: 24px 0 0 70px;
}
.signup-brand a,
.signup-brand a:hover,
.signup-brand a:focus,
.signup-brand a:visited { text-decoration: none; }

.signup-wordmark {
  color: #E2231A;
  display: block;
  font-size: 90px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}
.signup-wordmark span { color: #fff; }

.signup-tagline {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  margin: 10px 0 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.signup-card {
  background-color: #fff;
  flex: 0 0 465px;
  max-width: 100%;
  padding: 24px 32px 30px;
}

.signup-title {
  color: #757575;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 18px;
  text-align: center;
  text-transform: uppercase;
}

.signup-alerts { margin-bottom: 12px; }
.signup-alerts .alert { margin-bottom: 6px; }

.signup-field { margin-bottom: 12px; }

.signup-label {
  color: #757575;
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 3px;
}

.signup-card .signup-input,
.signup-card .signup-select {
  background-color: #fff;
  border: 1px solid #c3c3c3;
  border-radius: 4px;
  box-shadow: none;
  color: #191919;
  display: block;
  font-size: 16px;
  height: 44px;
  padding: 0 12px;
  width: 100%;
}
.signup-card .signup-input:focus,
.signup-card .signup-select:focus {
  border-color: #00a2ff;
  outline: none;
}
.signup-card .signup-input::placeholder { color: #a0a0a0; }

.signup-birthday { display: flex; gap: 8px; }
.signup-birthday .signup-select { flex: 1 1 0; min-width: 0; }

.signup-gender {
  align-items: center;
  border: 1px solid #c3c3c3;
  border-radius: 4px;
  display: flex;
  height: 44px;
  justify-content: space-between;
  padding: 0 12px;
}
.signup-gender-caption { color: #a0a0a0; font-size: 16px; }
.signup-gender-options { display: flex; gap: 10px; }
.signup-gender input { position: absolute; opacity: 0; pointer-events: none; }

.signup-gender label {
  background-position: 0 0;
  background-repeat: no-repeat;
  cursor: pointer;
  display: block;
  height: 30px;
  margin: 0;
}

.signup-gender label[for="gender-male"] {
  background-image: url(/static/img/signup/gender-male_12072017.png);
  background-size: 49.6px 30px;   
  width: 16.2px;                  
}
.signup-gender input:checked + label[for="gender-male"] { background-position: -34.1px 0; }

.signup-gender label[for="gender-female"] {
  background-image: url(/static/img/signup/gender-female_12072017.png);
  background-size: 55.4px 30px;   
  width: 20.8px;                  
}
.signup-gender input:checked + label[for="gender-female"] { background-position: -34.6px 0; }

.signup-terms {
  color: #757575;
  font-size: 13px;
  line-height: 1.35;
  margin: 14px 0 16px;
}
.signup-terms input { float: left; margin: 2px 6px 0 0; }

.signup-card .signup-submit {
  background-color: #02b757;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 18px;
  height: 46px;
  width: 100%;
}
.signup-card .signup-submit:hover { background-color: #02a34e; }

.signup-login {
  color: #757575;
  font-size: 14px;
  margin: 14px 0 0;
  text-align: center;
}

.signup-closed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.signup-card a.signup-closed-btn {
  align-items: center;
  display: flex;
  flex: 1 1 140px;
  height: 46px;
  justify-content: center;
  text-decoration: none;
  width: auto;
}
.signup-card a.signup-closed-btn-alt {
  background-color: #00a2ff;
}
.signup-card a.signup-closed-btn-alt:hover { background-color: #0089d9; }

@media (max-width: 991px) {
  .signup-inner { flex-direction: column; gap: 20px; }
  .signup-inner { align-items: center; }
  .signup-brand { padding: 0; }
  .signup-wordmark { font-size: 60px; }
  .signup-tagline { font-size: 22px; }
}

/* --- Подтверждение почты (register_verify.html) --- */
.signup-verify-lead {
  color: #757575;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 16px;
}
.signup-verify-lead b { color: #191919; }

/* Код читается по цифрам, поэтому моноширинный и с разрядкой: 6 слипшихся
   символов в обычном шрифте сверяют с письмом заметно медленнее. */
.signup-card .signup-code {
  text-align: center;
  font-size: 26px;
  letter-spacing: 10px;
  font-family: Consolas, "Courier New", monospace;
  padding-left: 10px;   /* компенсирует разрядку после последней цифры */
}

.signup-verify-hint {
  color: #757575;
  font-size: 13px;
  margin: 12px 0 8px;
}

.signup-card .signup-secondary {
  display: block;
  width: 100%;
  border: 1px solid #c3c3c3;
  border-radius: 4px;
  background: transparent;
  color: #444;
  font-size: 15px;
  padding: 9px 0;
  cursor: pointer;
}
.signup-card .signup-secondary:hover { background-color: #f2f2f2; color: #191919; }

/* Поле-ловушка (signup_guard.HONEYPOT_FIELD): человек его не видит, а скрипт,
   заполняющий все input подряд, — заполняет и попадается. Уводится за край
   экрана, а не display:none/hidden: то боты уже научились пропускать.
   Оставлять его в потоке нельзя (сдвинет форму), поэтому position:absolute. */
.signup-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-captcha {
  margin: 4px 0 14px;
  display: flex;
  justify-content: center;
}

/* Виджет рисуется в iframe фиксированной ширины (300px); на узком экране он
   иначе вылезает за карточку. */
.signup-captcha iframe { max-width: 100%; }

.signup-captcha-note {
  color: #a32929;
  font-size: 13px;
  margin: 0;
  text-align: center;
}
