  :root {
      --brand: #0B4F8A;
      --brand-light: #1A6CB5;
      --brand-pale: #E8F2FC;
      --accent: #1FAD7E;
      --accent-pale: #E2F7F0;
      --danger: #D94040;
      --danger-pale: #FDEAEA;
      --warn: #F59E0B;
      --warn-pale: #FEF3C7;
      --text-primary: #111827;
      --text-secondary: #4B5563;
      --text-muted: #9CA3AF;

      --border-focus: #1A6CB5;
      --bg: #F7F9FC;
      --card-bg: #FFFFFF;
      --shadow-card: 0 2px 24px rgba(11, 79, 138, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  }

  /* Card */
  .card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      border: 1px solid var(--color-border-light);
      padding: 2rem;
      overflow: hidden;
      position: relative;
  }

  /* View transitions */
  .view {
      animation: fadeUp .35s ease both;
  }

  .view.hidden {
      display: none;
  }

  @keyframes fadeUp {
      from {
          opacity: 0;
          transform: translateY(10px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* Headings */
  .view-head {
      margin-bottom: 1.5rem;
  }

  .view-eyebrow {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--color-green-primary);
      margin-bottom: 6px;
  }

  .view-title {
      font-size: 24px;
      color: var(--text-primary);
      line-height: 1.2;
      margin-bottom: 6px;
  }

  .view-subtitle {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.5;
  }

  /* ── Identifier toggle tabs ── */
  .id-tabs {
      display: flex;
      gap: 0;
      background: var(--bg);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 3px;
      margin-bottom: 1.25rem;
  }

  .id-tab {
      flex: 1;
      height: 36px;
      border: none;
      background: transparent;
      border-radius: 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-muted);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: background .2s, color .2s, box-shadow .2s;
  }

  .id-tab svg {
      width: 15px;
      height: 15px;
  }

  .id-tab.active {
      background: var(--card-bg);
      color: var(--color-green-secondary);
      box-shadow: 0 1px 4px rgba(11, 79, 138, 0.12);
      font-weight: 600;
  }

  /* Fields */
  .field {
      margin-bottom: 1.1rem;
  }

  .field-label {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-secondary);
      margin-bottom: 6px;
  }

  .label-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
  }

  .label-row .field-label {
      margin-bottom: 0;
  }

  .forgot-link {
      font-size: 12px;
      color: var(--color-green-secondary);
      text-decoration: none;
      font-weight: 500;
  }

  .forgot-link:hover {
      text-decoration: underline;
  }

  .input-wrap {
      position: relative;
  }

  .input-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
      display: flex;
  }

  .input-icon svg {
      width: 16px;
      height: 16px;
  }

  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="text"] {
      width: 100%;
      height: 44px;
      padding: 0 42px 0 38px;
      background: var(--input-bg);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      font-size: 14px;
      color: var(--text-primary);
      outline: none;
      transition: border-color .2s, box-shadow .2s, background .2s;
  }

  input:focus {
      border-color: var(--border-focus);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(26, 108, 181, 0.12);
  }

  input.error {
      border-color: var(--danger);
  }

  input.error:focus {
      box-shadow: 0 0 0 3px rgba(217, 64, 64, 0.12);
  }

  /* Phone field with prefix */
  .phone-row {
      display: flex;
      gap: 8px;
  }

  .phone-prefix-wrap {
      position: relative;
      width: 115px;
      flex-shrink: 0;
  }

  .phone-prefix-wrap select {
      width: 100%;
      height: 44px;
      padding: 0 8px 0 38px;
      background: var(--input-bg);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      color: var(--text-primary);
      outline: none;
      appearance: none;
      cursor: pointer;
      transition: border-color .2s, box-shadow .2s;
  }

  .phone-prefix-wrap select:focus {
      border-color: var(--border-focus);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(26, 108, 181, 0.12);
  }

  .phone-num-wrap {
      flex: 1;
      position: relative;
  }

  .phone-num-wrap input {
      padding-left: 38px;
      padding-right: 12px;
  }

  .field-error {
      font-size: 12px;
      color: var(--danger);
      margin-top: 5px;
      display: none;
      align-items: center;
      gap: 4px;
  }

  .field-error.show {
      display: flex;
  }

  .field-hint {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 5px;
      display: flex;
      align-items: center;
      gap: 4px;
  }

  /* Remember */
  .remember-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 1.25rem;
  }

  .remember-row input[type="checkbox"] {
      width: 16px;
      height: 16px;
      border-radius: 4px;
      accent-color: var(--brand);
      cursor: pointer;
      padding: 0;
      flex-shrink: 0;
  }

  .remember-row label {
      font-size: 13px;
      color: var(--text-secondary);
      cursor: pointer;
  }

  /* Eye */
  .pw-eye {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      cursor: pointer;
      background: none;
      border: none;
      display: flex;
      padding: 0;
      transition: color .2s;
  }

  .pw-eye:hover {
      color: var(--brand);
  }

  .pw-eye svg {
      width: 16px;
      height: 16px;
  }

  /* Divider */
  .divider {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 1.25rem 0;
      font-size: 12px;
      color: var(--text-muted);
  }

  .divider::before,
  .divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
  }

  /* Social */
  .social-row {
      display: flex;
      gap: 10px;
  }

  .btn-social {
      flex: 1;
      height: 42px;
      background: var(--input-bg);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-primary);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: background .2s, border-color .2s;
  }

  .btn-social:hover {
      background: #fff;
      border-color: var(--brand-light);
  }

  .btn-social svg {
      width: 18px;
      height: 18px;
  }

  .signin-link {
      text-align: center;
      margin-top: 1.25rem;
      font-size: 13px;
      color: var(--text-muted);
  }

  .signin-link a {
      color: var(--color-green-secondary);
      text-decoration: none;
      font-weight: 600;
  }

  .signin-link a:hover {
      text-decoration: underline;
  }

  @media (max-width: 480px) {
      .card {
          padding: 1.5rem;
      }

      .otp-box {
          width: 40px;
          height: 50px;
          font-size: 18px;
      }
  }