/* Candidate application view in the member portal. */
.hga-apply{max-width:1000px;margin:0 auto}
.hga-apply fieldset.hga-field{border:0;margin:0;padding:0;display:grid;gap:6px}
.hga-apply fieldset.hga-field legend{margin-bottom:6px}
.hga-apply-docs{margin:4px 0 0 18px;padding:0;font-weight:500;color:#2d405c;font-size:12px;line-height:1.7}
.hga-apply-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hga-apply .hga-phone{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:end}
/* Country code: own arrow at a fixed place (8px after the text), so the box can be exactly as wide as its text. */
.hga-apply .hga-phone-part select[data-hga-dial]{max-width:240px;appearance:none;-webkit-appearance:none;padding-right:26px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2350637e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center}
.hga-apply .hga-phone-part{display:grid;gap:7px;min-width:0;margin:0;color:#50637e;font-size:11px;font-weight:720;line-height:1.4}
.hga-apply .hga-phone-part select{text-overflow:ellipsis}
@media(max-width:610px){.hga-apply-grid{grid-template-columns:1fr}}
.hga-apply-section{display:grid;gap:12px;margin:0;padding:14px;border:1px solid #e3e9f3;border-radius:10px}
.hga-apply-section legend{padding:0 6px;font-size:12px;font-weight:780;color:#162944}
.hga-apply-agreement{padding:14px 16px;border:1px solid #c9d5e8;border-radius:10px;background:#f4f7fc}
.hga-apply-agreement .hga-checkbox-wrap{display:flex;align-items:center;gap:10px;opacity:1;visibility:visible}
.hga-apply-agreement input[type=checkbox]{width:20px;height:20px;margin:0;flex:none;accent-color:#162944;cursor:pointer}
.hga-apply-agreement em{font-style:normal;font-size:15px;font-weight:600;color:#162944}
.hga-apply-agreement a{color:#1d4fd8;text-decoration:underline}
.hga-apply [hidden]{display:none}
.hga-apply-choice{display:flex;flex-wrap:wrap;gap:8px 20px}
.hga-apply-choice legend{width:100%}
.hga-apply-choice > small{width:100%}
.hga-apply-agreement .hga-c-hint{margin:8px 0 0 30px}
.hga-apply-confirm{display:grid;gap:8px}
.hga-apply-confirm p{margin:0}
.hga-apply-confirm-actions{display:flex;flex-wrap:wrap;gap:8px}
.hga-apply-child-link{margin:0;text-align:center;font-size:13px}
.hga-apply-child-link a{color:#1d4fd8;font-weight:650}
.hga-fam-list{display:grid;gap:10px;padding:0 18px 18px}
.hga-fam-item{display:grid;gap:8px;padding:12px 14px;border:1px solid #e3e9f3;border-radius:10px}
.hga-fam-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.hga-fam-head small{display:block;color:#607894;font-size:12px}
.hga-fam-account{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0}
.hga-fam-account div{display:grid;gap:2px}
.hga-fam-account dt{font-size:11px;color:#607894;font-weight:700}
.hga-fam-account dd{margin:0;font-weight:650;color:#162944}
.hga-apply .hga-apply-sublegend{margin:8px 0 0;padding-top:12px;border-top:1px solid #e3e9f3;font-size:12px;line-height:1.4;font-weight:780;color:#162944}
.hga-apply-agreement em > label{cursor:pointer}
/* Red * after the title of every field that must be answered (follows "required" live, also for fields shown by a choice). */
.hga-apply .hga-field:has(> input[required]:enabled, > select[required]:enabled, > textarea[required]:enabled) > span::after,
.hga-apply .hga-phone-part:has(> input[required]:enabled, > select[required]:enabled) > span::after,
.hga-apply .hga-apply-choice > legend::after,
.hga-apply .hga-apply-required::before{content:" *";color:#c0233f;font-weight:800}
.hga-apply .hga-apply-required::before{content:"* "}
.hga-apply .hga-apply-required{margin:0;font-size:12px;color:#50637e}
.hga-apply .hga-apply-plain{display:grid;gap:12px;min-width:0;margin:0;padding:0;border:0}
.hga-apply .hga-apply-plain[hidden]{display:none}
.hga-apply .hga-apply-same em{font-style:normal;font-size:13px;font-weight:650;color:#162944}
.hga-apply .hga-btn.is-pale{opacity:.45;box-shadow:none;cursor:not-allowed}
.hga-apply .hga-btn.is-pale:hover{transform:none}
.hga-apply-agree-hint{margin:0}
.hga-apply-agree-hint.is-alert{color:#a3263f;font-weight:700}
.hga-apply .hga-apply-program{margin-bottom:16px}
