.candidate-documents-page{max-width:1180px;margin:0 auto}.candidate-documents-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:24px;padding:30px 34px;border-radius:16px;background:linear-gradient(125deg,#082f40,#0c5660);color:#fff;box-shadow:0 18px 45px rgba(8,47,64,.15)}.candidate-documents-heading .back-link{display:inline-block;margin-bottom:20px;color:#b9eeea;font-weight:800;text-decoration:none}.candidate-documents-heading .eyebrow{display:block;color:#58ddd6}.candidate-documents-heading h1{margin:8px 0 10px;color:#fff;font-size:clamp(32px,5vw,50px);line-height:1.05}.candidate-documents-heading p{max-width:720px;margin:0;color:#d5e7eb;line-height:1.6}.document-summary{min-width:150px;padding:18px 20px;border:1px solid rgba(255,255,255,.25);border-radius:12px;background:rgba(255,255,255,.08)}.document-summary strong,.document-summary span{display:block}.document-summary strong{font-size:34px}.document-summary span{color:#cce2e5}.candidate-documents-layout{display:grid;gap:22px}.document-upload-panel,.document-library-panel{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 14px 35px rgba(15,49,63,.08)}.section-heading{display:flex;gap:13px;padding:24px 28px;border-bottom:1px solid var(--line);background:#fbfdfd}.section-number{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:50%;background:#17aaa7;color:#fff;font-weight:900}.section-heading h2{margin:1px 0 5px;font-size:24px}.section-heading p{margin:0;color:var(--muted)}.document-upload-panel form{padding:24px 28px}.cv-title-field{display:grid;gap:7px;max-width:520px;margin-bottom:20px;font-weight:800}.cv-title-field span{font-size:12px;font-weight:500;color:var(--muted)}.cv-title-field input,.document-row select,.document-row input{width:100%;box-sizing:border-box;min-height:50px;padding:11px 13px;border:1px solid #b8cbd1;border-radius:8px;background:#fff;font:inherit}.document-upload-panel fieldset{margin:0;padding:20px;border:1px solid #d4e2e5;border-radius:10px;background:#f8fbfb}.document-upload-panel legend{padding:0 8px;font-size:17px;font-weight:900}.document-row{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(320px,1.3fr) auto;align-items:end;gap:13px;margin-bottom:12px}.document-row label{display:grid;gap:7px;font-weight:800}.document-row+.document-row{padding-top:13px;border-top:1px solid #dce7ea}.remove-document-row{min-height:50px;padding:0 13px;border:1px solid #d6aeb2;border-radius:8px;background:#fff;color:#a02732;font-weight:800;cursor:pointer}.upload-guidance{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:18px 20px;border-radius:10px;background:#082f40;color:#fff}.upload-guidance div{display:grid;gap:3px}.upload-guidance span{color:#c8dde2;font-size:13px}.upload-guidance .button{margin:0;white-space:nowrap}.candidate-document-list{display:grid}.candidate-document-item{display:grid;grid-template-columns:58px minmax(0,1fr) minmax(180px,240px);align-items:center;gap:18px;padding:21px 28px;border-bottom:1px solid var(--line)}.candidate-document-item:last-child{border-bottom:0}.document-type-icon{display:grid;width:54px;height:54px;place-items:center;border-radius:11px;background:#e6f7f5;color:#087b79;font-size:12px;font-weight:900}.document-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.document-title-line strong{font-size:17px}.document-main p{overflow:hidden;margin:5px 0;color:#315568;text-overflow:ellipsis;white-space:nowrap}.document-main>span{color:var(--muted);font-size:13px}.default-chip{padding:4px 7px;border-radius:999px;background:#e8f4ff;color:#17628f;font-size:10px;font-weight:900;text-transform:uppercase}.document-status{display:grid;gap:5px;justify-items:start;padding:11px 13px;border-radius:9px;font-size:12px}.document-status strong{font-size:12px}.document-status small{line-height:1.35;color:#6a5506}.status-stored{background:#e8f7f2;color:#087153}.status-processing{background:#eaf5fa;color:#24647e}.status-retry{background:#fff5d8;color:#806300}.document-empty{display:flex;align-items:center;gap:16px;margin:25px 28px;padding:22px;border:1px dashed #bfd1d6;border-radius:11px;background:#fafcfc}.document-empty>span{display:grid;width:52px;height:52px;place-items:center;border-radius:10px;background:#e8f5f4;color:#087b79;font-size:11px;font-weight:900}.document-empty p{margin:5px 0 0;color:var(--muted)}@media(max-width:780px){.candidate-documents-heading{align-items:flex-start;flex-direction:column;padding:25px}.document-summary{box-sizing:border-box;width:100%}.section-heading,.document-upload-panel form,.candidate-document-item{padding-left:20px;padding-right:20px}.document-row{grid-template-columns:1fr}.upload-guidance{align-items:stretch;flex-direction:column}.upload-guidance .button{width:100%}.candidate-document-item{grid-template-columns:50px 1fr}.document-status{grid-column:1/-1}.document-main p{white-space:normal}}
/* Per-document CV labels keep mixed uploads unambiguous. */
.document-row{grid-template-columns:minmax(180px,.55fr) minmax(260px,1fr) minmax(230px,.8fr) auto}
.document-cv-label span{font-size:12px;font-weight:500;color:var(--muted)}
@media(max-width:780px){.document-row{grid-template-columns:1fr}}
.document-cv-label[hidden]{display:none}
.document-library-group+.document-library-group{border-top:10px solid #eef4f5}
.document-group-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;border-bottom:1px solid var(--line);background:#f7fbfb}
.document-group-heading h3{margin:0 0 4px;font-size:19px}.document-group-heading p{margin:0;color:var(--muted);font-size:13px}.document-group-heading>span{display:grid;min-width:30px;height:30px;place-items:center;border-radius:999px;background:#dff5f3;color:#087b79;font-weight:900}
.document-group-empty{padding:22px 28px;color:var(--muted)}
.document-item-side{display:grid;gap:9px}.document-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.document-actions form{margin:0}
.document-action-button{min-height:34px;padding:7px 10px;border:1px solid #9fc3c8;border-radius:7px;background:#fff;color:#086f75;font:inherit;font-size:12px;font-weight:850;cursor:pointer}.document-action-button.danger{border-color:#dfb3b7;color:#a02732}.document-action-button:disabled{border-color:#d5e0e2;background:#f1f5f5;color:#71858c;cursor:not-allowed}
@media(max-width:780px){.document-group-heading{align-items:flex-start;padding:16px 20px}.document-item-side{grid-column:1/-1}.document-actions{justify-content:flex-start}}
.site-header nav .nav-logout-form{margin:0}.site-header nav .nav-logout-button{padding:11px 14px;border:0;border-radius:8px;background:transparent;color:#d8e9ec;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.site-header nav .nav-logout-button:hover,.site-header nav .nav-logout-button:focus-visible{background:#123e4e;color:#fff}
@media(max-width:780px){.site-header nav .nav-logout-button{width:100%;text-align:left}}
