/* UOK applicant workspace: consistent, compact, accessible forms. */
:root{--uok:#9d2e34;--uok-dark:#792229;--ink:#182437;--muted:#64748b;--paper:#fff;--page:#f3f5f8;--stroke:#dce3eb}
body{background:var(--page)!important;color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.dashboard-shell{padding:20px;max-width:1800px;margin:auto}
.dashboard-shell .aside-card{background:linear-gradient(170deg,#81252e,#471b29)!important;border-radius:14px!important;color:white!important;box-shadow:0 8px 24px #18243715;min-height:0!important;height:auto!important}
.dashboard-shell .glass-card{background:#fff!important;border-radius:10px!important;color:var(--ink)!important}
.dashboard-shell .menu-link{border:1px solid transparent;border-radius:8px!important;padding:12px 13px!important;color:white!important;text-decoration:none;display:flex;align-items:center;gap:10px;font-weight:550}
.dashboard-shell .menu-link:hover,.dashboard-shell .menu-link.active{background:#ffffff24!important;border-color:#ffffff38}
.dashboard-panel{background:var(--page)!important;box-shadow:none!important;border:0!important;border-radius:14px!important}
.content-header{background:var(--paper)!important;padding:20px 24px!important;border:1px solid var(--stroke);border-left:4px solid var(--uok);border-radius:12px;margin-bottom:12px}
.content-header h1{color:var(--ink);font-size:1.45rem!important}
.btn-brand-primary,.profile-page .btn-success,.btn-primary-brand{background:var(--uok)!important;border-color:var(--uok)!important;color:#fff!important}
.btn-brand-primary:hover,.profile-page .btn-success:hover{background:var(--uok-dark)!important}
.btn{font-weight:600;letter-spacing:0;border-radius:8px!important}
.btn-brand-secondary{background:#fff!important;color:var(--uok)!important;border:1px solid var(--uok)!important}
.btn:focus-visible,a:focus-visible,.form-control:focus-visible,.form-select:focus-visible{outline:3px solid #b15b64!important;outline-offset:2px}
.profile-page{padding:0!important;animation:none!important}
.profile-hero{background:#fff!important;border:1px solid var(--stroke)!important;border-left:4px solid var(--uok)!important;border-radius:12px!important;padding:20px!important;box-shadow:none!important}
.profile-summary-card{background:#f7f8fa!important;border:1px solid var(--stroke)!important;box-shadow:none!important;border-radius:9px!important;padding:12px!important}
.profile-tabs-card,.step-card{border:1px solid var(--stroke)!important;border-radius:12px!important;box-shadow:none!important;height:auto!important;max-height:none!important;overflow:visible!important}
.profile-tabs-wrapper{padding:12px!important;background:#fff!important;border-bottom:1px solid var(--stroke)!important}
.profile-tabs{display:flex!important;flex-wrap:wrap!important;gap:6px!important;overflow:visible!important}
.profile-tab-link{border-radius:7px!important;padding:9px 12px!important;font-size:.86rem!important;border:1px solid var(--stroke)!important;background:#fff!important;color:#465365!important;white-space:normal!important}
.profile-tab-link.active{background:#f8e9eb!important;border-color:#c98d92!important;color:var(--uok-dark)!important;font-weight:700}
.tab-pane-content{padding:14px!important}
.profile-step-form .card-body{padding:20px!important}
.form-card{background:#fff!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;transform:none!important}
.form-label{font-size:.88rem!important;font-weight:650!important;color:var(--ink)!important;margin-bottom:6px!important}
.form-control,.form-select{border:1px solid #cbd5e1!important;border-radius:8px!important;min-height:43px!important;background-color:#fff;box-shadow:none!important;font-size:.94rem!important}
.form-control[readonly]{background:#eef1f5!important;color:#475569}
.form-control:focus,.form-select:focus{border-color:var(--uok)!important;box-shadow:0 0 0 3px #9d2e341a!important}
.form-control.is-invalid,.form-select.is-invalid{border-color:#b42318!important}
.required-label:after,.portal-required:after{content:' *'!important;color:#b42318!important;font-weight:750}
.portal-optional:after{content:''!important}
.form-text,.portal-note{color:var(--muted)!important;font-size:.83rem!important}
.portal-note{background:#f6f8fb;border:1px solid var(--stroke);border-radius:8px;padding:10px 12px;margin:0 0 16px}
.upload-card{border:1px dashed #aebdce!important;border-radius:10px!important;padding:16px!important;background:#f9fafc!important}
.uploaded-file{background:#eaf6ee!important;border:1px solid #aed8ba!important;border-radius:8px;color:#166534;padding:10px;overflow-wrap:anywhere}
.portal-alert{border-radius:10px!important;padding:14px 44px 14px 16px!important;margin-bottom:14px!important;border-width:1px!important}
.portal-alert .btn-close{padding:14px!important;opacity:.8}
.table-responsive{border:1px solid var(--stroke);border-radius:10px}.table{margin-bottom:0!important;font-size:.9rem}.table thead th{background:#eef2f6!important;color:#45556b!important;font-size:.78rem;letter-spacing:.025em;text-transform:uppercase;padding:12px!important;white-space:nowrap}.table td{padding:13px 12px!important;vertical-align:middle}
.modal-content{border:1px solid var(--stroke)!important;border-radius:14px!important}.modal-header{border-bottom:1px solid var(--stroke)!important}.modal-footer{border-top:1px solid var(--stroke)!important}
.portal-document-card{background:#fff;border:1px solid var(--stroke);border-radius:12px;padding:20px}.portal-file-title{font-weight:650;overflow-wrap:anywhere}.portal-file-meta{font-size:.8rem;color:var(--muted)}
@media(min-width:1200px){.dashboard-shell>.container-fluid>.row>.col-xl-3{width:23%}.dashboard-shell>.container-fluid>.row>.col-xl-9{width:77%}}
@media(max-width:767px){.dashboard-shell{padding:8px}.content-header{padding:14px!important}.profile-hero{padding:14px!important}.profile-step-form .card-body{padding:14px!important}.tab-pane-content{padding:7px!important}.dashboard-shell .menu-link{padding:8px 10px!important}.profile-tabs{gap:4px!important}.profile-tab-link{font-size:.8rem!important}}

/* Responsive applicant shell v2. Scoped to logged-in pages; public forms unchanged. */
.recruitment-workspace{margin:0;min-width:0;min-height:100vh;background:#f4f6f9!important;color:#192437;font-size:15px}
.workspace-shell{--workspace-top:64px;display:grid;grid-template-columns:224px minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100vh;align-items:start}
.workspace-topbar{grid-column:1/-1;position:sticky;top:0;z-index:1020;min-height:var(--workspace-top);display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 24px;background:#76252e;color:white;border-bottom:1px solid #64202a}
.workspace-brand{display:flex;align-items:center;gap:12px;min-width:0;color:#fff;text-decoration:none!important;line-height:1.2}
.workspace-brand:hover{color:white}.workspace-brand img{width:42px;height:42px;object-fit:contain;background:white;padding:4px;border-radius:7px;flex:none}.workspace-brand strong{display:block;font-size:1rem;font-weight:700}.workspace-brand small{display:block;color:#f3dce0;font-size:.75rem;margin-top:3px}
.workspace-topbar-end{display:flex;align-items:center;gap:12px;min-width:0}.workspace-account{display:flex;align-items:center;gap:8px;font-size:.83rem;min-width:0}.workspace-account i{font-size:1.2rem}.workspace-account span{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-menu-toggle{display:none;align-items:center;gap:6px;min-height:42px;padding:7px 12px;color:white;background:transparent;border:1px solid #ffffff70;border-radius:7px;font:inherit;font-weight:600;white-space:nowrap}.workspace-menu-toggle i{font-size:1.25rem}
.workspace-sidebar{position:sticky;top:var(--workspace-top);height:calc(100vh - var(--workspace-top));height:calc(100dvh - var(--workspace-top));display:flex;flex-direction:column;overflow-y:auto;min-width:0;background:#fff;border-right:1px solid #dce3eb;padding:24px 12px 16px}
.workspace-nav-heading{font-size:.71rem;color:#66758a;letter-spacing:.055em;text-transform:uppercase;font-weight:700;padding:0 12px 14px}.workspace-nav{display:grid;gap:4px}.workspace-link{display:flex;gap:11px;align-items:center;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:7px;color:#435267;text-decoration:none!important;font-size:.88rem;font-weight:600;line-height:1.3}.workspace-link i{font-size:1.05rem;flex:none}.workspace-link:hover{background:#f5f6f8;color:var(--uok-dark)}.workspace-link.is-current{background:#f8e9eb;color:var(--uok-dark);border-color:#ecd2d5}.workspace-sidebar-footer{margin-top:auto;border-top:1px solid #e4e8ee;padding-top:12px}
.workspace-main{min-width:0;width:100%;padding:24px clamp(16px,2.2vw,36px) 40px}.workspace-content{width:100%;max-width:1600px;min-width:0;margin:0 auto}.workspace-page-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 20px}.workspace-page-heading>div{min-width:0}.workspace-eyebrow{font-size:.76rem;color:#68758a;font-weight:600;margin-bottom:5px}.workspace-page-heading h1{font-size:clamp(1.4rem,2.2vw,1.85rem);line-height:1.25;letter-spacing:-.025em;font-weight:720;margin:0;color:#192437}.workspace-page-heading p{font-size:.87rem;color:#627086;margin:5px 0 0;line-height:1.5}
.workspace-skip{position:fixed;left:8px;top:-100px;background:white;padding:10px 16px;z-index:1100;color:#76252e}.workspace-skip:focus{top:8px}
.workspace-profile{min-width:0;animation:none!important}
.profile-workspace-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start;min-width:0}
/* Profile stepper shows navigation position, not unverified completion status. */
.profile-progress{background:#fff;border:1px solid var(--stroke);border-radius:10px;padding:16px 20px 14px;min-width:0;container-type:inline-size;container-name:profile-progress}
.profile-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;min-width:0}
.profile-progress-heading>div{min-width:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px}
.profile-progress-caption{color:var(--uok-dark);font-size:.76rem;font-weight:750;white-space:nowrap;letter-spacing:.01em}
.profile-progress-current{font-size:.98rem;color:var(--ink);line-height:1.35;overflow-wrap:anywhere}
.profile-progress-hint{font-size:.75rem;color:var(--muted);text-align:right}
.profile-progress-list{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));list-style:none;margin:0;padding:0;gap:0}
.profile-progress-item{position:relative;min-width:0;text-align:center}
.profile-progress-item:not(:last-child)::after{content:'';position:absolute;top:23px;left:50%;width:100%;height:2px;background:#dce3eb;pointer-events:none}
.profile-progress-item.is-earlier::after{background:#b96f77}
.profile-progress-link{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:7px;min-height:48px;padding:6px 3px 4px;text-decoration:none!important;color:#59677b;border-radius:7px;line-height:1.25}
.profile-progress-number{display:grid;place-items:center;width:36px;height:36px;flex:none;background:#f5f7fa;border:1px solid #ccd5e0;border-radius:50%;font-size:.85rem;font-weight:700;color:#526176;transition:background .15s,border-color .15s}
.profile-progress-item.is-earlier .profile-progress-number{background:#f9edef;border-color:#c88a90;color:var(--uok-dark)}
.profile-progress-item.is-current .profile-progress-number{background:var(--uok);border-color:var(--uok);color:#fff;box-shadow:0 0 0 3px #f1dce0}
.profile-progress-link:hover .profile-progress-number,.profile-progress-link:focus-visible .profile-progress-number{border-color:var(--uok);box-shadow:0 0 0 3px #f1dce0}
.profile-progress-item.is-current .profile-progress-link{color:var(--uok-dark)}
.profile-progress-label{display:none;font-size:.76rem;font-weight:600;max-width:100%;overflow-wrap:anywhere;padding-inline:3px}
.profile-progress-item.is-current .profile-progress-label{font-weight:750}
@container profile-progress (min-width: 650px){.profile-progress-label{display:block}.profile-progress-link{padding-bottom:8px;min-height:84px}}
@container profile-progress (max-width: 649px){.profile-progress-hint{display:none}.profile-progress-heading>div{display:grid;gap:3px}}
@container profile-progress (max-width: 360px){.profile-progress-number{width:29px;height:29px;font-size:.78rem}.profile-progress-link{min-height:44px;padding:7px 0 8px}.profile-progress-item:not(:last-child)::after{top:21px}}
@media(max-width:575px){.profile-progress{padding:12px 9px 8px}.profile-progress-heading{padding-inline:3px;margin-bottom:7px}}
.profile-workspace-panel{background:white;border:1px solid var(--stroke);border-radius:10px;min-width:0}.profile-required-note{border-bottom:1px solid #e6eaf0;background:#fbfcfd;color:#637187;font-size:.8rem;padding:11px 18px;border-radius:10px 10px 0 0}.required-symbol{color:#a7232d;font-size:1rem;font-weight:700;margin-right:3px}.profile-workspace-body{padding:20px;min-width:0}.profile-workspace-body .card{border:0!important;box-shadow:none!important;border-radius:0!important;min-width:0}.profile-workspace-body .card-body{padding:0!important;min-width:0}.profile-workspace-body .step-card{height:auto!important;overflow:visible!important}.profile-workspace-body .step-header{margin-bottom:20px!important;padding:0 0 14px!important;border-bottom:1px solid #e6eaf0}.profile-workspace-body .step-header h3,.profile-workspace-body .step-header h4{font-size:1.22rem!important;letter-spacing:-.015em;margin:0 0 5px!important;line-height:1.35}.profile-workspace-body .step-header p{font-size:.86rem;line-height:1.5}.profile-workspace-body .step-badge{display:none!important}.profile-workspace-body .section-toolbar{margin-bottom:18px!important;padding-bottom:15px;border-bottom:1px solid #e6eaf0!important}.profile-workspace-body .section-toolbar h4{font-size:1.2rem!important;line-height:1.35}.profile-workspace-body .row{--bs-gutter-x:1.1rem;--bs-gutter-y:1rem}.profile-workspace-body .row>*{min-width:0}.profile-workspace-body .form-card{height:auto!important;min-width:0}.profile-workspace-body input,.profile-workspace-body select,.profile-workspace-body textarea{max-width:100%;min-width:0}.profile-workspace-body .form-label{overflow-wrap:anywhere}.profile-workspace-body .form-text{line-height:1.45}.profile-workspace-body .form-control,.profile-workspace-body .form-select{min-height:44px!important}.profile-workspace-body .btn{min-height:40px;white-space:normal}.profile-workspace-body .table-responsive{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.profile-workspace-body .table th,.profile-workspace-body .table td{font-size:.82rem!important;padding:10px!important}.profile-workspace-body .table td{overflow-wrap:anywhere}.profile-workspace-body .table td .btn{min-height:34px}.profile-workspace-body .details-grid{min-width:0}.profile-workspace-body .detail-value{overflow-wrap:anywhere}.profile-workspace-body .modal .card-body{padding:12px!important}.profile-workspace-body hr.my-4{display:none}.profile-workspace-body .step-badge+*{margin-top:0!important}.profile-workspace-body .text-center.py-5{padding-block:30px!important}
.step-navigation{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:14px 20px;border-top:1px solid #e6eaf0;background:#fbfcfd;border-radius:0 0 10px 10px}.step-meta{font-size:.8rem;color:#64748b}.step-nav-actions{display:flex;flex-wrap:wrap;gap:8px}.step-nav-actions .btn{min-height:40px;font-size:.85rem}.recruitment-workspace .modal-dialog{max-width:min(860px,calc(100% - 24px));margin-inline:auto}.recruitment-workspace .modal-content{overflow-wrap:anywhere}.recruitment-workspace .modal-body{min-width:0}.recruitment-workspace .modal-footer{gap:8px}.recruitment-workspace .portal-document-card{padding:clamp(12px,2vw,22px)}.recruitment-workspace .table-responsive{max-width:100%;overflow-x:auto}.recruitment-workspace .workspace-content> .container,.recruitment-workspace .workspace-content> .container-fluid{width:100%;max-width:none;padding-inline:0}.recruitment-workspace .workspace-content .row>*{min-width:0}.recruitment-workspace .workspace-content .btn{white-space:normal}.recruitment-workspace .portal-alert{overflow-wrap:anywhere}
#global-loader-overlay{position:fixed;inset:0;z-index:1090;display:none;align-items:center;justify-content:center;background:#17203370}.custom-loader-container{background:#fff;color:#76252e;border-radius:12px;padding:24px;text-align:center;box-shadow:0 8px 24px #17203330}
@media(max-width:1099px){.workspace-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr}.workspace-topbar{padding:10px 18px}.workspace-menu-toggle{display:flex}.workspace-sidebar{display:none;position:sticky;top:var(--workspace-top);z-index:1019;height:auto;max-height:calc(100dvh - var(--workspace-top));padding:12px;border-right:0;border-bottom:1px solid var(--stroke);box-shadow:0 8px 20px #17203315}.workspace-sidebar.is-open{display:flex}.workspace-sidebar-footer{margin-top:12px}.workspace-main{grid-column:1;padding:20px 18px 32px}.workspace-nav-heading{padding-bottom:7px}}
@media (max-width:767px){.profile-workspace-body .profile-step-form .row>[class*="col-md-"],.profile-workspace-body .profile-step-form .row>[class*="col-lg-"]{flex:0 0 100%!important;width:100%!important}.profile-workspace-body .profile-step-form .row{--bs-gutter-y:.85rem}.profile-workspace-body .section-toolbar .card-body{flex-direction:column!important;align-items:stretch!important}.profile-workspace-body .section-toolbar .btn{align-self:flex-start}.profile-workspace-body .details-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:575px){.workspace-topbar{padding:9px 12px;gap:8px}.workspace-brand{gap:8px}.workspace-brand img{width:35px;height:35px}.workspace-brand strong{font-size:.9rem}.workspace-brand small{font-size:.67rem}.workspace-account{display:none}.workspace-main{padding:15px 10px 24px}.workspace-page-heading{gap:10px;margin-bottom:14px}.workspace-page-heading p{font-size:.83rem}.profile-workspace-grid{gap:10px}.profile-workspace-body{padding:14px 12px}.profile-required-note{padding:10px 12px}.profile-workspace-body .step-header{margin-bottom:15px!important}.profile-workspace-body .form-control,.profile-workspace-body .form-select{font-size:16px!important}.step-navigation{padding:12px;gap:8px}.step-nav-actions{width:100%;justify-content:space-between}.step-nav-actions .btn{flex:1 1 auto}.recruitment-workspace .modal-dialog{max-width:calc(100% - 16px);margin:8px auto}.recruitment-workspace .modal-body{padding:14px}.recruitment-workspace .modal-footer .btn{flex:1 1 auto}.recruitment-workspace .modal .form-control,.recruitment-workspace .modal .form-select{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.recruitment-workspace *{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}
.recruitment-workspace .vacancy-page{padding-block:0!important;animation:none!important}.recruitment-workspace .vacancy-hero{border:1px solid var(--stroke)!important;border-radius:10px!important;box-shadow:none!important;background:#fff!important;margin-bottom:16px!important}.recruitment-workspace .vacancy-hero .card-body{padding:16px 20px!important}.recruitment-workspace .vacancy-hero .vacancy-badge{display:none!important}.recruitment-workspace .vacancy-hero h2{font-size:1.2rem!important}.recruitment-workspace .vacancy-hero .stats-card{padding:10px!important;box-shadow:none!important;border-radius:8px!important}.recruitment-workspace .vacancy-hero .stats-value{font-size:1.5rem!important;color:var(--uok)!important}.recruitment-workspace .vacancy-card{border-radius:10px!important;box-shadow:none!important;transform:none!important;min-width:0}.recruitment-workspace .vacancy-card-body{padding:16px!important;overflow-wrap:anywhere}.recruitment-workspace .vacancy-card-body>.d-flex{flex-wrap:wrap;gap:8px}.recruitment-workspace .vacancy-title{min-height:0!important}.recruitment-workspace .vacancy-page .search-box{min-width:0!important;max-width:min(360px,100%)!important}.recruitment-workspace .vacancy-card .btn-primary{background:var(--uok)!important;border-color:var(--uok)!important}.recruitment-workspace .vacancy-page .card{box-shadow:none!important;border-radius:10px!important;border:1px solid var(--stroke)!important}.recruitment-workspace .vacancy-page .vacancy-item{min-width:0}.recruitment-workspace .workspace-content .metric-card{border-radius:10px;box-shadow:none;transform:none;overflow-wrap:anywhere}.recruitment-workspace .workspace-content .metric-card .metric-value{font-size:1.5rem}.recruitment-workspace .workspace-content .hero-card{border-radius:12px;box-shadow:none}.recruitment-workspace .workspace-content .hero-card .display-5{font-size:clamp(1.35rem,2.6vw,2rem)}
@media(max-width:575px){.recruitment-workspace .vacancy-hero .card-body{padding:14px!important}.recruitment-workspace .vacancy-page .card-body{padding:12px!important}.recruitment-workspace .workspace-content .hero-card{padding:14px!important}.recruitment-workspace .workspace-content .metric-card{padding:12px}}
