/* ========== БАЗА ========== */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: Arial, sans-serif;
  background: #f5f6f8;
  color: #333;
  line-height: 1.4;
}

/* ========== БАННЕР ========== */
.banner {
  text-align: center;
  background: #FFB273;
  padding: 20px 14px;
  color: #fff;
}
.banner h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

/* ========== КОНТЕЙНЕР ФОРМЫ ========== */
.container {
  max-width: 420px;
  margin: 24px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.container form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.container form h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

/* ========== ПОЛЯ ========== */
.container input[type="text"],
.container input[type="email"],
.container input[type="tel"],
.container input[type="password"],
.container select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  min-height: 38px;
}

/* Верхний регистр для ФИО */
.uppercase { text-transform: uppercase; }

/* Фокус */
.container input:focus,
.container select:focus {
  outline: none;
  border-color: #FFB273;
  box-shadow: 0 0 0 3px rgba(255,178,115,.25);
}

/* Отключённые селекты */
.container select:disabled {
  background: #f2f2f2;
  color: #888;
  cursor: not-allowed;
}

::placeholder { color:#9aa0a6; }

/* ========== БЛОК СОГЛАСИЯ И ЗАМЕТКА ========== */
.agreement {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.agreement a {
  color: #201452;
  text-decoration: underline;
}
.agreement a:hover { opacity: .85; }

.trial-note {
  margin: 0;
  font-size: 13px;
  color: #444;
  background: #fff8e6;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ffe1b3;
}

/* ========== КНОПКИ И ССЫЛКА ========== */
.button {
  width: 100%;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #1890ff;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.button:hover { background: #0050b3; }
.button:active { transform: translateY(1px); }

.container form > a:last-child {
  text-align: center;
  color: #201452;
  text-decoration: none;
  font-size: 14px;
}
.container form > a:last-child:hover { text-decoration: underline; }

/* ========== ДОП. СОСТОЯНИЯ ========== */
.input-error {
  border-color: #e03131 !important;
  box-shadow: 0 0 0 3px rgba(224,49,49,.15) !important;
}
.error-text { color: #e03131; font-size: 13px; }
.success-text { color: #2b8a3e; font-size: 13px; }
