/* =========================================================
   REGISTER / LOGIN PAGE
========================================================= */
.register-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: #07131f;
  }
  
  .register-header {
    text-align: center;
    margin-bottom: 50px;
  }
  .back-link {
    display: inline-block;
    font-size: 14px;
    color: rgba(255,255,255,.55);
    margin-bottom: 20px;
    transition: .25s;
  }
  .back-link:hover { color: var(--orange); }
  
  .register-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 950;
    letter-spacing: -.03em;
    line-height: 1.05;
    margin-bottom: 12px;
  }
  .register-title span { color: var(--orange); }
  
  .register-subtitle {
    color: rgba(255,255,255,.65);
    font-size: 17px;
    line-height: 1.5;
  }
  
  /* =========================================================
     CARD
  ========================================================= */
  .register-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.1);
  }
  
  /* =========================================================
     FIELDS
  ========================================================= */
  .field { margin-bottom: 22px; }
  .field label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.55);
    margin-bottom: 8px;
  }
  .field > input {
    width: 100%;
    padding: 16px 18px;
    background: rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    color: white;
    font-size: 16px;
    font-family: inherit;
    transition: .25s;
    outline: none;
  }
  .field > input:focus {
    border-color: var(--orange);
    background: rgba(0,0,0,.5);
    box-shadow: 0 0 0 3px rgba(245,158,11,.15);
  }
  .field > input::placeholder { color: rgba(255,255,255,.3); }
  
  /* =========================================================
     PHONE WRAP — флажок +7 + input В ОДНОМ ПОЛЕ
  ========================================================= */
  .phone-wrap {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    transition: .25s;
    overflow: hidden;
    height: 54px;
  }
  .phone-wrap:focus-within {
    border-color: var(--orange);
    background: rgba(0,0,0,.5);
    box-shadow: 0 0 0 3px rgba(245,158,11,.15);
  }
  .phone-flag {
    padding: 0 6px 0 16px;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
  }
  .phone-prefix {
    color: rgba(255,255,255,.85);
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    user-select: none;
  }
  .phone-wrap input[type="tel"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 16px 0 6px;
    color: white;
    font-size: 16px;
    font-family: inherit;
    min-width: 0;
    height: 100%;
  }
  .phone-wrap input[type="tel"]::placeholder {
    color: rgba(255,255,255,.3);
  }
  
  /* =========================================================
     ERRORS / ALERTS
  ========================================================= */
  .field-error {
    margin-top: 8px;
    font-size: 13px;
    color: #ff6b6b;
  }
  .alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
  }
  .alert-error {
    background: rgba(255,107,107,.1);
    border: 1px solid rgba(255,107,107,.3);
    color: #ff9999;
  }
  .alert a { color: var(--orange); text-decoration: underline; }
  
  /* =========================================================
     BUTTONS IN CARD
  ========================================================= */
  .register-card .submit-btn {
    width: 100%;
    min-height: 57px;
    margin-top: 4px;
  }
  .register-card .button-secondary {
    width: 100%;
    min-height: 57px;
  }
  
  /* =========================================================
     DIVIDER "или"
  ========================================================= */
  .form-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: rgba(255,255,255,.35);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
  }
  .form-divider::before,
  .form-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.1);
  }
  .form-divider span {
    padding: 0 14px;
  }
  
  /* =========================================================
     NOTE
  ========================================================= */
  .form-note {
    font-size: 12px;
    color: rgba(255,255,255,.4);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
  }
  .form-note a { color: var(--orange); text-decoration: underline; }
  
  /* =========================================================
     BENEFITS
  ========================================================= */
  .register-benefits {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .register-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .register-benefit > span {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.3);
    font-size: 20px;
    flex-shrink: 0;
  }
  .register-benefit strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
  }
  .register-benefit p {
    font-size: 13px;
    color: rgba(255,255,255,.55);
  }
  
  /* =========================================================
     MOBILE
  ========================================================= */
  @media (max-width: 700px) {
    .register-page { padding: 90px 0 60px; }
    .register-card { padding: 26px 20px; }
  }