/**
 * Checkie Sign-in System - Free-trial signup pages
 * Shared by /freetrial and /r (referral) — was duplicated inline on both.
 *
 * @copyright 2026 Checkie Ltd
 */
html, body { height: 100%; margin: 0; padding: 0; }
  body { font-family: 'Quicksand', sans-serif; background: #fff; }
  a { color: inherit; }

  .trial-page { display: flex; min-height: 100vh; }

  .trial-left {
    flex: 1 1 50%;
    background: var(--ck-purple);
    color: #ffffff;
    padding: 56px 56px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
  }
  .trial-left-inner { width: 100%; max-width: 400px; }
  .trial-right {
    flex: 1 1 50%;
    background: #ffffff;
    color: #1a1a1a;
    padding: 56px 56px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
  }
  .trial-right-inner { width: 100%; max-width: 400px; }

  .trial-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 56px; }
  .trial-brand img { height: 26px; width: auto; }
  .trial-badge {
    background: #14202e; color: #fff; font-size: 0.72rem; font-weight: 600;
    padding: 3px 9px; border-radius: 6px; letter-spacing: 0.02em;
  }

  .trial-kicker { font-size: 1rem; opacity: 0.75; margin: 0 0 6px; }
  .trial-headline { font-size: 2.7rem; font-weight: 700; margin: 0 0 8px; line-height: 1.1; }
  .trial-subhead { font-size: 1rem; opacity: 0.8; margin: 0 0 44px; }

  .trial-summary-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.16);
  }
  .trial-summary-row:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.16); }
  .trial-summary-label { font-size: 1rem; }
  .trial-summary-sub { font-size: 0.82rem; opacity: 0.7; }
  .trial-summary-value { font-size: 1rem; font-weight: 500; white-space: nowrap; }
  .trial-total { display: flex; justify-content: space-between; padding: 22px 0 0; font-weight: 700; }
  .trial-note { margin-top: 24px; font-size: 0.85rem; opacity: 0.8; line-height: 1.5; }
  .trial-referred { margin-top: 40px; font-size: 0.9rem; opacity: 0.85; }

  .trial-right h2 { font-size: 1.45rem; font-weight: 600; margin: 0 0 26px; }
  .trial-field { margin-bottom: 18px; }
  .trial-field label { display: block; font-size: 0.9rem; color: #555; margin-bottom: 7px; }
  .trial-input {
    width: 100%; box-sizing: border-box; padding: 13px 18px;
    border: 1px solid #e3e3e6; border-radius: 26px; font-size: 1rem;
    background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.06); transition: border-color .15s, box-shadow .15s;
  }
  .trial-input::placeholder { color: #b5b5bb; }
  .trial-input:focus { outline: none; border-color: var(--ck-purple); box-shadow: 0 0 0 3px rgba(65,22,64,0.12); }

  .trial-terms { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; font-size: 0.9rem; color: #444; }
  .trial-terms input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--ck-purple); }

  .trial-submit {
    width: 100%; padding: 15px; border: none; border-radius: 30px; cursor: pointer;
    background: var(--ck-gold); color: #2a2200; font-size: 1.05rem; font-weight: 600;
    transition: background .15s;
  }
  .trial-submit:hover { background: var(--ck-gold-hover); }
  .trial-submit:disabled { opacity: 0.7; cursor: default; }

  .trial-error {
    background: #fdecec; color: #a12020; border: 1px solid #f4c4c4;
    border-radius: 12px; padding: 10px 14px; font-size: 0.9rem; margin-bottom: 18px;
  }
  .trial-error[hidden] { display: none; }
  @keyframes trialErrorIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .trial-error-animate { animation: trialErrorIn .3s ease both; }
  .trial-footer { text-align: center; margin-top: 22px; font-size: 0.82rem; color: #9a9aa1; }
  .trial-stripe-logo { height: 1.15em; width: auto; vertical-align: middle; margin-left: 3px; }
  .trial-confirm-icon { width: 200px; max-width: 70%; display: block; margin: 0 auto 18px; }
  .trial-confirm h2 { font-size: 1.6rem; }
  .trial-confirm p { color: #444; line-height: 1.5; }

  @media (max-width: 860px) {
    .trial-page { flex-direction: column; }
    .trial-left { flex: none; padding: 36px 28px; justify-content: flex-start; }
    .trial-right { flex: none; padding: 36px 28px; justify-content: flex-start; }
    .trial-brand { margin-bottom: 32px; }
    .trial-headline { font-size: 2.2rem; }
    .trial-subhead { margin-bottom: 28px; }
    .trial-referred { margin-top: 28px; }
  }
  .unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  /* Entrance animations */
  @keyframes trialFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes trialFadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes trialPop {
    0%   { opacity: 0; transform: scale(.8); }
    60%  { opacity: 1; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
  }

  .trial-left { animation: trialFadeIn .5s ease both; }
  .trial-right { animation: trialFadeIn .5s ease both; }

  .trial-left-inner > * { animation: trialFadeUp .55s ease both; }
  .trial-brand        { animation-delay: .05s; }
  .trial-kicker       { animation-delay: .12s; }
  .trial-headline     { animation-delay: .18s; }
  .trial-subhead      { animation-delay: .24s; }
  .trial-summary-row  { animation-delay: .30s; }
  .trial-total        { animation-delay: .38s; }
  .trial-note,
  .trial-referred     { animation-delay: .44s; }
  .trial-right-inner  { animation: trialFadeUp .55s ease .15s both; }

  .trial-summary-row, .trial-input { transition: border-color .15s, box-shadow .15s, transform .15s; }
  .trial-input:focus { transform: translateY(-1px); }

  .trial-submit { transition: background .15s, transform .12s ease, box-shadow .15s; }
  .trial-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(220,168,28,.35); }
  .trial-submit:active { transform: translateY(0); box-shadow: none; }

  .trial-confirm-icon { animation: trialPop .65s cubic-bezier(.18,.89,.32,1.28) both; }
  .trial-confirm h2 { animation: trialFadeUp .5s ease .12s both; }
  .trial-confirm p  { animation: trialFadeUp .5s ease .22s both; }

  @media (prefers-reduced-motion: reduce) {
    .trial-left, .trial-right, .trial-left-inner > *, .trial-right-inner,
    .trial-confirm-icon, .trial-confirm h2, .trial-confirm p, .trial-error-animate { animation: none !important; }
    .trial-submit:hover, .trial-input:focus { transform: none; }
  }
