/* © 2026 RandBAE (Pty) Ltd t/a MyDisc. All rights reserved. Unauthorised copying of this file is not permitted. */
:root{--bg:#f4f7f6;--card:#fff;--text:#162033;--muted:#667085;--border:#d0d5dd;--line:#e4e7ec;--soft:#f8fafc;--danger:#b42318;--focus:#84adff;--primary:#162033;--green:#2f8f61;--green-dark:#216a47}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:linear-gradient(180deg,#f3f8f5 0,#f7f8fa 100%);color:var(--text);-webkit-text-size-adjust:100%}
a{color:#175cd3}
.test-banner{background:#fef0c7;color:#93370d;text-align:center;font-size:13px;font-weight:700;padding:8px 12px;border-bottom:1px solid #fedf89}
.wrap{width:min(100% - 28px,680px);margin:28px auto}
.card{background:var(--card);border-radius:20px;padding:28px;box-shadow:0 12px 34px rgba(16,24,40,.09)}
.brandrow{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.brand{font-size:32px;font-weight:850;letter-spacing:-1px}
.brand-logo{display:block;height:44px;width:auto;margin-top:6px}.brand-logo.center{margin:6px auto 12px}
.powered-logo{height:13px;width:auto;vertical-align:-2px;margin-left:2px}
.copyright{display:inline-block;margin-top:6px}
.partner-logo{display:block;max-width:230px;width:100%;height:auto;max-height:80px;object-fit:contain;object-position:left}
.powered{font-size:12px;color:var(--muted);margin-top:4px}
.secure{font-size:12px;color:var(--muted);white-space:nowrap}
h1{margin:0 0 8px;font-size:26px;line-height:1.2}
h2{font-size:17px;margin:0 0 14px}
.intro{color:var(--muted);line-height:1.55;margin:0 0 18px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 22px}
.step{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:10px;text-align:center;font-size:12px;line-height:1.35}
.step b{display:block;font-size:14px;margin-bottom:2px}
.notice{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:15px 16px;margin:0 0 22px;font-size:14px;line-height:1.55}
.notice strong{display:block;margin-bottom:5px}.notice ul{margin:7px 0 0 20px;padding:0}.notice li{margin-bottom:4px}
.section{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}
.section:first-of-type{margin-top:0}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.grid .full{grid-column:1/-1}
.field{margin-bottom:16px;min-width:0}
label{display:block;font-weight:700;margin-bottom:7px;font-size:14px}
.required{color:var(--danger)}.optional{color:var(--muted);font-weight:400}
input[type=text],input[type=email],input[type=tel],select{width:100%;min-height:50px;padding:12px 14px;border:1px solid var(--border);border-radius:11px;font-size:16px;outline:none;background:#fff;color:var(--text)}
input:focus,select:focus{border-color:var(--focus);box-shadow:0 0 0 3px rgba(132,173,255,.22)}
input.invalid,select.invalid{border-color:var(--danger);box-shadow:0 0 0 3px rgba(180,35,24,.12)}
.small-help{font-size:12px;color:var(--muted);line-height:1.45;margin-top:6px}
.is-hidden{display:none!important}
.choice-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.choice-row.three{grid-template-columns:repeat(3,1fr)}
.choice-card{display:flex;gap:10px;align-items:flex-start;border:1.5px solid var(--border);border-radius:12px;padding:14px;cursor:pointer;margin:0;background:#fff;font-weight:400}
.choice-card input{width:18px;height:18px;margin:2px 0 0;flex:0 0 auto;accent-color:var(--primary)}
.choice-card b{display:block;font-size:15px}.choice-card small{display:block;color:var(--muted);font-size:12px;margin-top:3px;line-height:1.35}
.choice-card:has(input:checked){border-color:var(--primary);background:var(--soft);box-shadow:0 0 0 3px rgba(22,32,51,.06)}
.radio-row{display:flex;gap:18px;flex-wrap:wrap}
.radio-option{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;margin:0}
.radio-option input{width:18px;height:18px;margin:0;accent-color:var(--primary)}
.upload-box{border:2px dashed var(--border);border-radius:14px;padding:16px;background:#fafbfc}
.upload-help{color:var(--muted);font-size:13px;line-height:1.45;margin-bottom:12px}
.upload-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.upload-choice{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px;margin:0;font-size:14px}
.upload-choice span{display:block;margin-bottom:8px}
.file-input{width:100%;font-size:14px;max-width:100%}
.selected-file{font-size:13px;color:var(--muted);margin-top:10px;word-break:break-word}
.selected-file.ok{color:var(--green-dark);font-weight:700}
.clear-selection-btn{margin-top:10px;width:auto;min-height:38px;padding:8px 14px;border:1px solid var(--border);border-radius:9px;background:#fff;color:#344054;font-size:13px;font-weight:700;cursor:pointer}
.preview-note{font-size:13px;color:var(--muted);margin-top:8px}
.preview{display:none;margin-top:12px}.preview img{max-width:100%;max-height:240px;border-radius:10px;border:1px solid var(--border)}
.quality-title{margin-top:14px;font-weight:800;font-size:14px}
.expiry-status{font-size:13px;color:var(--muted);line-height:1.45;margin-top:8px}
.expiry-status.ok{color:#216a47;font-weight:800;background:#ecfdf3;border:1px solid #abefc6;border-radius:10px;padding:12px}
.expiry-status.warn{color:#b54708;font-weight:700;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:12px}
.expiry-status.checking{color:#175cd3;font-weight:800;background:#eff8ff;border:1px solid #b2ddff;border-radius:10px;padding:12px}
.branch-box{border:1px solid var(--line);border-radius:14px;padding:16px;background:var(--soft)}
.branch-actions{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}
.branch-btn{width:auto;min-height:42px;padding:10px 14px;border-radius:10px;border:1px solid var(--border);background:var(--primary);color:#fff;font-weight:800;font-size:14px;cursor:pointer}
.branch-btn.secondary{background:#fff;color:#344054;margin-top:10px}
.branch-status{font-size:13px;color:var(--muted);line-height:1.45;margin:4px 0}
.nearby-list{display:none;margin-top:10px}.nearby-title{font-weight:800;font-size:13px;margin-bottom:8px}
.nearby-card{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text);padding:12px;margin-bottom:8px;font-size:14px;cursor:pointer;min-height:auto}
.nearby-card span{display:block;color:var(--muted);font-size:12px;margin-top:2px}.nearby-card .distance{font-weight:800;white-space:nowrap}
#manualBranchWrap{margin-top:10px}
.fleet-box{border:1px solid var(--line);border-radius:14px;padding:16px;background:var(--soft)}
.fleet-step{font-size:14px;line-height:1.45;margin-bottom:10px}
.template-links{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.template-btn{display:inline-block;padding:10px 14px;border-radius:10px;background:var(--primary);color:#fff;text-decoration:none;font-weight:800;font-size:14px}
.template-btn.secondary{background:#fff;color:#344054;border:1px solid var(--border)}
.consent-section{padding-top:16px}
.consent{display:flex;gap:10px;align-items:flex-start;margin:0 0 14px;font-size:14px;line-height:1.5;color:#344054;font-weight:400}
.consent input{margin-top:3px;width:18px;height:18px;flex:0 0 auto;accent-color:var(--primary)}
.privacy-note{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 18px}
button#submitButton{width:100%;min-height:52px;border:0;border-radius:12px;background:var(--primary);color:#fff;font-size:17px;font-weight:800;cursor:pointer}
button#submitButton:disabled{opacity:.55;cursor:not-allowed}
.status{margin-top:14px;font-size:14px;line-height:1.45;display:none}
.status.error{display:block;color:var(--danger);background:#fef3f2;border:1px solid #fecdca;border-radius:10px;padding:12px}
.status.info{display:block;color:#175cd3}
.success{display:none;text-align:center;padding:8px 0 2px}
.success .tick{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#ecfdf3;color:var(--green);font-size:32px;font-weight:900}
.success h2{color:var(--green);margin:0 0 8px;font-size:30px}
.ref{font-size:24px;font-weight:850;background:#ecfdf3;border:1px solid #abefc6;border-radius:12px;padding:14px;margin:16px 0;color:#05603a;letter-spacing:.5px}
.next{text-align:left;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:16px;font-size:14px;line-height:1.55}.next b{display:block;margin-bottom:6px}
.footer{margin-top:20px;text-align:center;color:var(--muted);font-size:12px;line-height:1.5}.footer a{color:inherit}
.hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}

.addr-search{position:relative;background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:14px}
.addr-search input{background:#fff}
.addr-suggestions{list-style:none;margin:6px 0 0;padding:4px;border:1px solid var(--border);border-radius:11px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.12);position:relative;z-index:5}
.addr-suggestions li{padding:10px 12px;border-radius:8px;cursor:pointer;font-size:14px;line-height:1.35}
.addr-suggestions li small{display:block;color:var(--muted);font-size:12px}
.addr-suggestions li[aria-selected=true],.addr-suggestions li:hover{background:var(--soft)}
.addr-suggestions li.note{cursor:default;color:var(--muted);font-size:13px}
.addr-filled{color:#216a47;font-weight:700}
@media(max-width:520px){
 .wrap{width:calc(100% - 20px);margin:10px auto}.card{padding:20px 16px;border-radius:16px}
 .brand{font-size:28px}.brand-logo{height:38px}h1{font-size:22px}.steps{grid-template-columns:1fr}.step{text-align:left}
 .grid,.choice-row,.choice-row.three,.upload-choices{grid-template-columns:1fr}.secure{font-size:11px}
 .partner-logo{max-width:170px}
}

/* Busy indicators (v5.2.4) */
.busy-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.busy-spinner{flex:0 0 auto;width:26px;height:26px;border:4px solid #b2ddff;border-top-color:#175cd3;border-radius:50%;animation:busy-spin .8s linear infinite}
.busy-title{font-size:17px;font-weight:900;color:#175cd3;text-transform:uppercase;letter-spacing:.03em;animation:busy-pulse 1.2s ease-in-out infinite}
.busy-time{margin-left:auto;font-size:13px;font-weight:700;color:#175cd3;font-variant-numeric:tabular-nums}
.busy-detail{font-weight:700}
.busy-overlay{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(16,24,40,.55)}
.busy-overlay.show{display:flex}
.busy-card{width:100%;max-width:380px;background:#eff8ff;border:1px solid #b2ddff;border-radius:14px;padding:20px;color:#175cd3;font-size:14px;line-height:1.45;box-shadow:0 12px 32px rgba(16,24,40,.25)}
@keyframes busy-spin{to{transform:rotate(360deg)}}
@keyframes busy-pulse{0%,100%{opacity:1}50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.busy-spinner{animation-duration:2s}.busy-title{animation:none}}
.consent-hint{margin-top:8px;font-size:13px;font-weight:700;color:#b54708;text-align:center}
