/* Shared styles for the interactive elements every auth flow uses —
     input, button, banner, spinner. Global so the page slots can drop
     plain <input>/<button> in without wiring classes. */
  .af-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .af-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .af-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
  }

  .af-input {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-neutral-0);
    border: 1px solid var(--color-neutral-300);
    border-radius: 10px;
    padding: 11px 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 150ms ease, box-shadow 150ms ease;
  }

  .af-input:focus {
    outline: none;
    border-color: #0e503f;
    box-shadow: 0 0 0 3px rgba(14, 80, 63, 0.15);
  }

  .af-input--error {
    border-color: var(--color-error-500) !important;
    background: var(--color-error-100);
  }

  .af-field-error {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-error-600);
    margin: 0;
  }

  .af-submit {
    background: #0e503f;
    color: #ffffff;
    border: 1px solid #0e503f;
    border-radius: 10px;
    padding: 12px 20px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: background 150ms ease, transform 80ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 4px;
  }

  .af-submit:hover:not(:disabled) { background: #0a3d30; border-color: #0a3d30; }
  .af-submit:disabled { cursor: not-allowed; opacity: 0.7; }

  .af-submit-spinner {
    display: none;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: af-spin 700ms linear infinite;
  }

  .af-submit[data-loading] .af-submit-spinner { display: inline-block; }

  @keyframes af-spin { to { transform: rotate(360deg); } }

  .af-banner {
    border-radius: 8px;
    padding: 10px 12px;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px;
  }
  .af-banner--error   { background: var(--color-error-100);   color: var(--color-error-700);   border: 1px solid var(--color-error-200); }
  .af-banner--success { background: #E7F6EF; color: #0e503f; border: 1px solid #B2DFC7; }
  .af-banner--info    { background: #FEFCCC; color: #665900; border: 1px solid #F3E97D; }

  .af-link {
    color: #0e503f;
    text-decoration: underline;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
  }
  .af-link:hover { color: #0a3d30; }

  .af-fineprint {
    text-align: center;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-text-muted);
    margin: 12px 0 0 0;
  }.af-page[data-astro-cid-4pcqw7q2]{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:linear-gradient(125deg,#0e503f 0%,#1f7a5c 25%,#c5d966 65%,#fbe840 100%);background-size:300% 300%;animation:afGradientFlow 18s ease-in-out infinite}@keyframes afGradientFlow{0%{background-position:0% 0%}50%{background-position:100% 100%}100%{background-position:0% 0%}}@media (prefers-reduced-motion: reduce){.af-page[data-astro-cid-4pcqw7q2]{animation:none}}.af-card[data-astro-cid-4pcqw7q2]{width:100%;max-width:460px;background:var(--color-white);border-radius:16px;padding:32px 36px 36px;box-shadow:0 4px 12px rgba(0,0,0,0.08),0 12px 32px rgba(0,0,0,0.18)}.af-brand[data-astro-cid-4pcqw7q2]{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:inherit;margin:0 0 20px 0}.af-logo[data-astro-cid-4pcqw7q2]{width:32px;height:32px;border-radius:8px}.af-brand-name[data-astro-cid-4pcqw7q2]{font-family:var(--font-primary);font-size:18px;font-weight:var(--font-weight-extrabold);color:var(--color-text);letter-spacing:0.08em}.af-title[data-astro-cid-4pcqw7q2]{font-family:var(--font-primary);font-size:24px;font-weight:var(--font-weight-extrabold);color:var(--color-text);margin:0 0 8px 0;line-height:1.25}.af-subtitle[data-astro-cid-4pcqw7q2]{font-family:var(--font-body);font-size:14px;color:var(--color-text-muted);margin:0 0 24px 0;line-height:1.5}@media (max-width: 480px){.af-card[data-astro-cid-4pcqw7q2]{padding:24px 20px 28px;border-radius:12px}.af-title[data-astro-cid-4pcqw7q2]{font-size:20px}}