/* Apply + full application forms (KJFD membership) */
.apply-head{padding-bottom:1.5rem}
.apply-head h1{font-size:clamp(2.4rem,8vw,4.2rem)}
.apply-sec{padding-top:2rem}
.apply-card{margin:0 0 1.25rem}
.apply-card .sh{padding:0 1.1rem;background:var(--panel2);border-bottom:1px solid var(--line)}
.apply-card .sh h3{margin:0;font-size:1.15rem}
.apply-card .sh span{font-size:.85rem;color:var(--muted)}
.apply-body{padding:1.2rem 1.1rem 1.3rem;display:grid;gap:1rem}
.grid2{grid-template-columns:1fr}.grid3{grid-template-columns:1fr}
@media (min-width:680px){.grid2{grid-template-columns:1fr 1fr}.grid3{grid-template-columns:1.4fr 1fr 1fr}.grid2 .wide,.grid3 .wide{grid-column:1/-1}}
.fld{display:flex;flex-direction:column;gap:.35rem;margin:0;min-width:0}
.fld>span,.fld>legend{font-size:.92rem;font-weight:600;color:var(--white)}
.fld em,.fld legend em{font-style:normal;font-weight:400;color:var(--muted);font-size:.85em}
.apply-card input:not([type=checkbox]):not([type=radio]),.apply-card select,.apply-card textarea{width:100%;font:inherit;font-size:16px;color:var(--white);background:#011f2a;border:1.5px solid rgba(169,195,204,.35);border-radius:10px;padding:.7rem .8rem;min-height:48px;outline:none;transition:border-color .15s}
.apply-card textarea{min-height:110px;resize:vertical}
.apply-card select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--gold) 50%),linear-gradient(135deg,var(--gold) 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px;background-repeat:no-repeat;padding-right:2.2rem}
.apply-card input[type=date]{color-scheme:dark}
.apply-card input:focus,.apply-card select:focus,.apply-card textarea:focus{border-color:var(--gold)}
.apply-card input::placeholder{color:rgba(169,195,204,.55)}
.apply-card .bad,.apply-card fieldset.bad{border-color:#ff6b6b!important}
fieldset.fld{border:0;padding:0}
fieldset.fld.bad legend{color:#ff8a8a}
.yn{flex-direction:row;flex-wrap:wrap;align-items:center;gap:.4rem 1.2rem}
.yn legend{width:100%;margin-bottom:.35rem}
.yn label,.checks label{display:inline-flex;align-items:center;gap:.5rem;font-size:.97rem;cursor:pointer;min-height:36px}
.checks{display:grid;grid-template-columns:1fr;gap:.1rem 1rem}
@media (min-width:560px){.checks{grid-template-columns:1fr 1fr}}
.checks legend{margin-bottom:.35rem}
input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--red);flex:none;margin:0}
.lic-more{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.ack{display:flex;gap:.7rem;align-items:flex-start;font-size:.95rem;line-height:1.5;cursor:pointer}
.ack input{margin-top:.2rem}
.ack.bad span{color:#ff8a8a}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.form-err{margin:0;background:rgba(206,23,30,.16);border:1px solid rgba(255,107,107,.6);color:#ffd2d2;border-radius:10px;padding:.65rem .8rem;font-size:.95rem}
.apply-send{justify-self:start;min-width:180px}
.apply-send[disabled]{opacity:.65;cursor:wait;transform:none}
.apply-done h2{font-size:clamp(1.7rem,5vw,2.4rem);margin-bottom:.3rem}
.apply-done .muted,.muted{color:var(--muted)}
.apply-loading{color:var(--muted)}
.apply-solo{min-height:100vh;display:grid;place-items:center;padding:2rem 1rem}
.apply-solo .apply-card{max-width:560px;padding:1.6rem 1.4rem;text-align:center}
.apply-seal{margin:0 auto 1rem}
.apply-h{font-size:clamp(1.8rem,6vw,2.6rem)}
.apply-solo .btn{margin:.3rem}

/* Google address autocomplete (Nov 8 2026) */
.ac-wrap{position:relative}
.ac-list{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:60;margin:0;padding:.3rem 0 0;list-style:none;background:#fff;color:#1d2a30;border:1px solid #d5dde0;border-radius:10px;box-shadow:0 10px 28px rgba(0,0,0,.35);overflow:hidden}
.ac-list li[data-i]{display:flex;flex-direction:column;gap:.1rem;padding:.6rem .85rem;cursor:pointer;line-height:1.3;border-bottom:1px solid #eef2f3}
.ac-list li[data-i] b{font-weight:600;font-size:15.5px;color:#13232a}
.ac-list li[data-i] span{font-size:13.5px;color:#5a6b72}
.ac-list li.on,.ac-list li[data-i]:hover{background:#f1f5f6}
.ac-list .ac-g{display:flex;justify-content:flex-end;padding:.35rem .7rem .45rem}
.ac-list .ac-g img{height:15px;width:auto}
.apply-card.panel{overflow:visible}
.apply-card .sh{border-radius:calc(var(--r) - 2px) calc(var(--r) - 2px) 0 0}

/* Nov 8 2026: license photo + selfie uploads */
.up-row{display:grid;grid-template-columns:1fr;gap:1rem}
@media (min-width:560px){.up-row{grid-template-columns:1fr 1fr}}
.up{display:flex;flex-direction:column;gap:.45rem;padding:.9rem;border:1.5px dashed rgba(169,195,204,.35);border-radius:12px;min-width:0}
.up.bad{border-color:#ff6b6b}
.up.done{border-style:solid;border-color:rgba(120,200,140,.6)}
.up-t{font-size:.92rem;font-weight:600;color:var(--white)}
.up.bad .up-t{color:#ff8a8a}
.up-h{font-size:.85rem;color:var(--muted)}
.up-btn{position:relative;justify-self:start;align-self:flex-start;cursor:pointer;overflow:hidden}
.up-in{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;font-size:0}
.up-prev{max-width:100%;max-height:180px;width:auto;border-radius:8px;object-fit:contain;align-self:flex-start;background:#011f2a}
.up-st{font-size:.9rem;color:var(--muted)}
.up.done .up-st{color:#9fe0b0}
.up.bad .up-st{color:#ffb4b4}

/* Nov 8 2026: full application = every question of the old KJFD paper form */
.ref-h{grid-column:1/-1;margin:.4rem 0 -.3rem;font-weight:600;color:var(--gold);font-size:.95rem}
.ref-lead{grid-column:1/-1;margin:0;color:var(--muted);font-size:.95rem}
.terms{display:grid;gap:.7rem;font-size:.95rem;line-height:1.55}
.terms p{margin:0}
.terms-i{font-size:1rem}
.apply-card input.terms-name{display:inline-block;width:min(100%,320px);min-height:40px;padding:.35rem .6rem;margin:.15rem .2rem;vertical-align:middle}
.sig-wrap{position:relative;border:1.5px solid rgba(169,195,204,.35);border-radius:10px;background:#fff;overflow:hidden;touch-action:none}
.sig-fld.bad .sig-wrap{border-color:#ff6b6b}
.sig-fld.bad>span{color:#ff8a8a}
.sig-pad{display:block;width:100%;height:170px;cursor:crosshair;touch-action:none}
.sig-clear{position:absolute;right:.5rem;top:.5rem;min-height:34px;padding:.3rem .8rem;font-size:.85rem;background:rgba(1,31,42,.85)}
.sig-st{font-size:.85rem;color:var(--muted)}
.conf{font-size:.9rem;margin:0}
[data-reqif][hidden],[data-flag][hidden]{display:none!important}
