﻿.login-right { overflow-y: auto; }
  .login-card  { max-width: 500px; }
  .card-inner  { padding: 2rem 2.25rem 1.5rem; }

  /* Two-column row */
  .field-row { display: flex; gap: 12px; }
  .field-row .field-group { flex: 1; min-width: 0; }

  /* Override field-group for signup (no .field-wrap icon layout) */
  .sg-label {
    display: block; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: #64748b; margin-bottom: 7px;
  }
  .sg-label .req { color: #ef4444; margin-left: 2px; }

  .sg-input {
    width: 100%; border: 1.5px solid #e2e8f0; border-radius: 13px;
    background: #f8fafc; padding: 11px 14px; font-size: .91rem;
    color: #0f172a; outline: none; font-family: 'Inter', sans-serif;
    transition: border-color .2s, background .2s, box-shadow .2s;
    appearance: none;
  }
  .sg-input:focus { border-color: #2563eb; background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }

  /* Subdomain wrapper */
  .subdomain-wrap {
    display: flex; align-items: center;
    border: 1.5px solid #e2e8f0; border-radius: 13px;
    background: #f8fafc; overflow: hidden; transition: border-color .2s, box-shadow .2s;
  }
  .subdomain-wrap:focus-within { border-color: #2563eb; background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
  .subdomain-wrap input {
    flex: 1; border: none !important; background: transparent;
    padding: 11px 10px 11px 14px; font-size: .91rem; color: #0f172a; outline: none;
    font-family: 'Inter', sans-serif;
  }
  .subdomain-suffix {
    padding: 0 14px; font-size: .78rem; color: #94a3b8;
    white-space: nowrap; border-left: 1px solid #e2e8f0;
    height: 100%; display: flex; align-items: center; background: #f1f5f9;
  }

  /* pw-wrap: input + toggle side by side */
  .pw-wrap {
    position: relative; display: flex; align-items: center;
    border: 1.5px solid #e2e8f0; border-radius: 13px;
    background: #f8fafc; transition: border-color .2s, background .2s, box-shadow .2s;
  }
  .pw-wrap:focus-within { border-color: #2563eb; background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
  .pw-wrap input {
    flex: 1; border: none !important; background: transparent;
    padding: 11px 40px 11px 14px; font-size: .91rem; color: #0f172a; outline: none;
    font-family: 'Inter', sans-serif;
  }
  .pw-wrap .pw-toggle { position: absolute; right: 10px; }

  /* Error/ok states for sg-input, pw-wrap, subdomain-wrap */
  .sg-input.is-error, .pw-wrap.is-error, .subdomain-wrap.is-error {
    border-color: #ef4444 !important; background: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,.1) !important;
  }
  .sg-input.is-ok, .pw-wrap.is-ok, .subdomain-wrap.is-ok {
    border-color: #22c55e !important; background: #f0fdf4 !important;
  }

  .trial-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #ecfdf5; color: #065f46;
    font-size: .78rem; font-weight: 700; padding: 6px 12px;
    border-radius: 20px; margin-bottom: 1.25rem;
  }
  .login-link {
    text-align: center; font-size: .84rem; color: #64748b; margin-top: 1rem;
  }
  .login-link a { color: #2563eb; font-weight: 600; text-decoration: none; }
  .login-link a:hover { text-decoration: underline; }

  .field-group { margin-bottom: 0; }
  .form-gap { margin-top: 13px; }
