/* Copyright (c) 2026 Amped RE Technologies, LLC. All rights reserved. Licensed to HANFRA. */
/* The form panel of the pages that join and pay online (/apply/, /pay/, /pay2/, /pay3/), inside the new site's own
   header, title band and footer since 2026-11-26 (Mike: "i would like the payment pages to take the look of the new
   site"). Until then this file drew the old hanfra.com: its navy bar, Open Sans and Raleway, its footer band.
   The panel is a white island with fixed light colors, so the form reads the same when a visitor's device or the
   site's Light / dark switch is dark. Loaded after the theme stylesheet, so it wins inside the panel. */

.wxpage{
  --wx-bar:#021C3D; --wx-navy:#033E8A; --wx-blue:#1F5AA8; --wx-text:#0D1929;
  --wx-body:var(--body); --wx-head:var(--display);
  --surface:#FFFFFF; --surface-2:#EDF2F8; --text:#0D1929; --text-2:#3D4E64; --text-3:#6A7C93;
  --rule:#D5DFEA; --rule-soft:#E6EDF5; --navy:#033E8A; --navy-deep:#021C3D; --navy-lift:#1F5AA8; --warn:#A8600A;
  color-scheme:light;
}


/* page */
.wxpage{max-width:980px;margin-inline:auto;padding:1.6rem 1.4rem 2.2rem;background:#fff;color:var(--wx-text);border:1px solid var(--rule);border-radius:10px;font-family:var(--wx-body);font-size:16px;line-height:1.5}
.wxpage a{color:var(--wx-navy)}
.wxpage h2,.wxpage h3{font-family:var(--wx-head);font-weight:600;color:var(--wx-navy)}
.wxpage p,.wxpage li,.wxpage dd,.wxpage dt{font-size:16px;line-height:24px;color:var(--wx-text)}
.wxpage .muted{color:#3B5F7E;font-size:14px}

/* forms, on top of the theme's classes */
/* The panel is the box now, so the form inside it has no second border (2026-11-26). */
.wxpage .form{max-width:980px;background:#fff;border:0;border-radius:0;padding:0;box-shadow:none;margin-inline:auto}
.wxpage .fld label{font-family:var(--wx-body);font-size:13px;letter-spacing:0;text-transform:none;font-weight:600;color:var(--wx-navy)}
.wxpage .fld input,.wxpage .fld select,.wxpage .fld textarea{font-family:var(--wx-body);font-size:16px;color:var(--wx-text);border:1px solid #9FB8CC;border-radius:3px;background:#fff}
.wxpage .fld input:focus,.wxpage .fld select:focus,.wxpage .fld textarea:focus{outline:2px solid var(--wx-blue);outline-offset:1px}
.wxpage .hint{font-size:13px;color:#3B5F7E}
.wxpage .err{font-size:13px;color:#A32020;font-weight:600}
.wxpage .btn{font-family:var(--wx-body);font-size:16px;font-weight:600;border-radius:3px;padding:.7rem 1.5rem}
.wxpage .btn.solid,.wxpage a.btn.solid{background:var(--wx-navy);color:#fff;border-color:var(--wx-navy)}
.wxpage .btn.solid:hover{background:var(--wx-bar)}
.wxpage .btn.line,.wxpage a.btn.line{background:#fff;color:var(--wx-navy);border:1px solid var(--wx-navy)}
.wxpage .notice{border-radius:4px;padding:1rem 1.2rem;margin-bottom:1rem;font-size:16px}
.wxpage .notice.ok{background:#EEF6EF;border:1px solid #9CC9A6;color:#1B5E32}
.wxpage .notice.bad{background:#FBECEC;border:1px solid #E1A6A6;color:#8A1F1F}
.wxpage .notice h3{margin:0 0 .3rem;font-family:var(--wx-head);font-size:22px;color:inherit}
.wxpage .pick{display:grid;gap:.6rem;grid-template-columns:1fr;margin-top:.5rem}
/* Mike, 2026-09-29: three columns filled top to bottom. Column 1 Card over Bank transfer, column 2 Zelle over
   Venmo, column 3 Check. Narrower screens get one column in the same order, never a row-by-row grid. */
@media (min-width:760px){.wxpage .pick{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,auto);grid-auto-flow:column}}
/* Mike, 2026-09-30: only card and a mailed check for now, side by side. */
@media (min-width:760px){.wxpage .pick[data-n="1"],.wxpage .pick[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;grid-auto-flow:row}}
.wxpage .pick label{display:grid;grid-template-columns:auto 1fr auto;gap:.2rem .6rem;align-items:center;border:1px solid #9FB8CC;border-radius:4px;padding:.75rem .9rem;cursor:pointer;background:#fff}
.wxpage .pick label.soon{opacity:.55;cursor:not-allowed}
.wxpage .pick .amt{font-weight:700;color:var(--wx-navy);font-size:17px}
.wxpage .pick .sub{grid-column:2/4;font-size:13px;color:#3B5F7E}
.wxpage .refcode{font-family:Consolas,Menlo,monospace;font-weight:700;letter-spacing:.06em;background:#F3F7FA;padding:.1rem .4rem;border-radius:3px}
.wxpage .paybox{border:1px solid var(--rule);border-radius:4px;padding:1.2rem 1.4rem;margin:1rem auto 0;max-width:640px;background:#F8FBFD}
.wxpage .paybox dl{display:grid;grid-template-columns:max-content 1fr;gap:.35rem 1.2rem;margin:0}
.wxpage .paybox dt{font-weight:600}
.wxpage .paybox dd{margin:0}
.wxpage .paybox ol li{margin-bottom:.35rem}

/* what you are paying for: a tighter dropdown, with the RPAC choice to its right */
/* The membership dropdown and the Special code box under it share one column, so they are the same width and line up. */
.wxpage .hf-item-col{flex:1 1 300px;max-width:520px;min-width:0;display:flex;flex-direction:column;gap:.7rem}
.wxpage .hf-item-col>.fld{flex:none}
/* The right-hand column holds the amount box (shown for "Another amount we sent you") above the RPAC choice, so
   choosing another amount never covers the Yes / No (Mike, 2026-10-06). */
.wxpage .hf-side-col{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:.7rem}
.wxpage .fld.hf-rpac{flex:1 1 300px}
/* Inside the column the row basis would become a 300px height, so the column's children take their own height. */
.wxpage .hf-side-col>.fld,.wxpage .hf-side-col>.fld.hf-rpac{flex:none}
.wxpage .fld.hf-rpac .yn{display:flex;gap:1.2rem;align-items:center;min-height:2.6rem}
.wxpage .fld.hf-rpac .yn label{display:flex;align-items:center;gap:.4rem;font-family:var(--wx-body);font-size:16px;text-transform:none;letter-spacing:0;font-weight:400;color:var(--wx-text);cursor:pointer}
.wxpage .fld.hf-rpac input[type=radio]{width:auto;margin:0}
/* Under the RPAC question (2026-10-27): personal or corporate with "What is the difference?", NAR's corporate notice and
   its two choices, and NAR's RPAC disclaimer, one column across the form. */
.wxpage .hf-rpac-more{display:flex;flex-direction:column;gap:.7rem;margin:.2rem 0 1rem}
.wxpage .hf-rpac-more>.fld.hf-rpac{flex:none}
.wxpage .hf-why summary{cursor:pointer;color:var(--wx-navy);text-decoration:underline;font-size:14px;display:inline-block}
.wxpage .hf-why p{margin:.4rem 0 0;font-size:14px;line-height:21px;max-width:72ch}
.wxpage .hf-rpac-corp{border:1px solid #E6C86A;background:#FFF9E8;border-radius:4px;padding:.9rem 1.1rem}
.wxpage .hf-rpac-corp.bad{border-color:#A32020}
.wxpage .hf-rpac-corp p{font-size:14px;line-height:21px;margin:0 0 .6rem}
.wxpage .hf-rpac-corp-title .req{color:var(--warn);font-weight:700;margin-left:.15rem}
.wxpage .hf-corp-pick{display:flex;flex-direction:column;gap:.55rem}
.wxpage .hf-corp-pick label{display:flex;align-items:flex-start;gap:.5rem;font-size:15px;line-height:22px;cursor:pointer}
.wxpage .hf-corp-pick input[type=radio]{width:auto;margin:.3rem 0 0;flex:none}
.wxpage .hf-rpac-note{font-size:13px;line-height:19px;margin:0;max-width:92ch}
/* NYSAR's dues disclosures (2026-10-28): the acknowledgment just above the button, and "Dues and tax information" under it,
   which opens in place as "What is the difference?" does. */
.wxpage .hf-dues-ack{font-size:14px;line-height:21px;max-width:92ch}
.wxpage .hf-tax{margin:0 0 .8rem}
.wxpage .hf-tax summary{cursor:pointer;color:var(--wx-navy);text-decoration:underline;font-size:14px;display:inline-block}
.wxpage .hf-tax p{margin:.4rem 0 0;font-size:13px;line-height:19px;max-width:92ch}
.wxpage .hf-total{font-size:18px;color:var(--wx-navy);margin:.2rem 0 1rem}
.wxpage .hf-total strong{font-size:20px}

/* the thank-you page: Print, Save and Done (Mike, 2026-09-29) */
.wxthanks{text-align:center;max-width:70ch;margin:0 auto 1.4rem}
.wxthanks h2{font-size:26px;margin:0 0 .5rem}
.wxthanks .big{font-size:18px;line-height:27px}
.wxreturn{text-align:center;margin-top:1.8rem;padding-top:1.4rem;border-top:1px solid var(--rule)}
.wxreturn .wxbtns{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem}
.wxreturn .wxbtns form{margin:0}
.wxreturn .btn{font-size:18px;padding:.85rem 2rem}
.wxreturn p{font-size:14px;color:#3B5F7E;margin-top:.7rem}

/* The receipt (includes/online.php), since 2026-10-27 a page in the look of the Letter of Good Standing (hanfra-office
   letters.php and pdf.php): serif type on white, the logo at left of the association's name in navy (#1F3A5F, the letter
   PDF's), the address and contact lines, a thin navy rule, then the title, the date, the reference, who paid and a
   two-column table. US Letter when printed; the buttons never print. */
.receipt{max-width:7in;margin:0 auto;border:1px solid var(--rule);border-radius:4px;padding:.6in .7in;background:#fff;color:#111;font:16px/1.5 Georgia,"Times New Roman",Times,serif}
.receipt .rlh{display:flex;align-items:center;gap:16px}
.receipt .rlh img{width:64px;height:auto;flex:none}
.receipt .rlh-org{font-size:22px;font-weight:700;line-height:1.25;letter-spacing:.01em;color:#1F3A5F}
.receipt .rlh-line{font-size:13px;line-height:1.45;color:#333}
.receipt .rlh-rule{border:0;border-top:1.5px solid #1F3A5F;margin:12px 0 24px}
.wxpage .receipt .rtitle{font-family:Georgia,"Times New Roman",Times,serif;font-size:22px;font-weight:700;line-height:1.25;color:#111;margin:0 0 14px}
.wxpage .receipt p{font-size:16px;line-height:1.5;color:#111;margin:0 0 14px}
.receipt .rref strong{font-weight:700}
.receipt .rlabel{font-weight:700}
.receipt .rtable{width:100%;min-width:0;border-collapse:collapse;margin:0 0 16px;font-size:16px}
.receipt .rtable th,.receipt .rtable td{padding:8px 10px 8px 0;border-bottom:1px solid #D5DDE5;vertical-align:top;color:#111;text-align:left;min-width:0}
.receipt .rtable th{width:2.4in;font-weight:700}
.receipt .rtable tr:first-child th,.receipt .rtable tr:first-child td{border-top:1px solid #D5DDE5}
.wxpage .receipt .rnote,.wxpage .receipt .muted{font-size:14px;color:#333}
.wxpage .receipt .rprint{margin-top:20px;font-family:var(--wx-body)} /* .wxpage, or the p rule above wins and the margin is 0 (review, 2026-10-27) */
.wxpage .receipt .rhint{font-size:13px;color:#3B5F7E;margin-top:8px}
@media (max-width:700px){
  .receipt{padding:20px 16px}
  .receipt .rlh{align-items:flex-start;gap:12px}
  .receipt .rlh img{width:48px}
  .receipt .rlh-org{font-size:18px}
  .receipt .rtable th{width:42%}
}


/* The card step on /pay3/ (includes/nar-token.php). NAR's card number box sits in .hf-card-box and looks like the
   boxes above. Not a .form, so the theme's send-once script leaves the Pay button to pay3.js. */
.wxpage .hf-card{max-width:640px;margin:1rem auto 0;background:#fff;border:1px solid var(--rule);border-radius:4px;padding:1.4rem}
.wxpage .hf-card-box{height:46px;border:1px solid #9FB8CC;border-radius:3px;background:#fff;padding:0 .65rem}
.wxpage .hf-card-refund{font-size:14px;line-height:21px}
.wxpage .hf-card .btn[disabled]{opacity:.6;cursor:not-allowed}
/* The NRDS number filled in on the /pay3/ form (assets/pay3-nrds.js, 2026-10-26): the line naming whose number it is,
   and the list to choose from when one email and last name carry more than one number. */
.wxpage .hf-nrds-note{color:#1B5E32}
.wxpage .hf-nrds-pick{margin:0 0 1rem;padding:.8rem 1rem;border:1px solid var(--rule);border-radius:4px;background:var(--surface-2)}
.wxpage .hf-nrds-pick p{margin:0 0 .4rem;font-size:14px;line-height:21px}
.wxpage .hf-nrds-pick .btn{display:block;width:100%;margin:.4rem 0 0;padding:.6rem .9rem;text-align:left;font-size:15px;line-height:1.35;text-transform:none;letter-spacing:0;white-space:normal}
.wxpage .hf-nrds-pick .btn[aria-pressed="true"]{background:var(--wx-navy);border-color:var(--wx-navy);color:#fff}
@media (max-width:700px){
  .wxpage{padding:1.1rem .9rem 1.6rem}
  .wxpage .paybox dl{grid-template-columns:1fr}
}
@media print{
  @page{size:letter;margin:.75in}
  .wxhead,.wxfoot,.rprint,.wxtitle,.wxsub,.wxreturn,.previewbar,.masthead,.phead,.wave,.secnav,footer.site{display:none!important}
  body.hanfra-online{background:#fff}
  .wxpage{padding:0;max-width:none;border:0;border-radius:0}
  .receipt{border:0;border-radius:0;padding:0;max-width:none;font-size:12pt}
  .receipt .rlh img{width:64px}
  .receipt .rlh-org{font-size:17pt}
  .receipt .rlh-line{font-size:10pt}
  .wxpage .receipt .rtitle{font-size:15pt}
  .wxpage .receipt p,.receipt .rtable{font-size:12pt}
  .wxpage .receipt .rnote,.wxpage .receipt .muted{font-size:10.5pt}
  .receipt .rtable th{width:2.4in}
}
