/* ===== Design tokens ===== */
.recruitment, .rc-app {
    --rc-primary:#175a93; --rc-primary-dark:#0f3f6b; --rc-primary-soft:#e8f1f9; --rc-accent:#eaa31d;
    --rc-surface:#f4f6f9; --rc-card:#fff; --rc-border:#e3e8ee; --rc-border-strong:#cfd7e0;
    --rc-text:#1d2733; --rc-muted:#5d6b7a; --rc-radius:12px; --rc-radius-sm:8px;
    --rc-shadow:0 1px 2px rgba(16,24,40,.05),0 4px 14px rgba(16,24,40,.06);
}
.recruitment { color: var(--rc-text); font-family: 'Segoe UI', system-ui, sans-serif; letter-spacing: 0; }
.rc-app { background: var(--rc-surface); min-height: 100vh; }

/* ===== Admin top bar ===== */
.rc-topbar { background: linear-gradient(90deg, var(--rc-primary-dark), var(--rc-primary)); color:#fff; box-shadow:0 2px 10px rgba(15,63,107,.25); position:sticky; top:0; z-index:1020; }
.rc-topbar nav { min-height:64px; }
.rc-brand { display:inline-flex; align-items:center; gap:10px; color:#fff !important; font-weight:700; font-size:18px; text-decoration:none; }
.rc-brand-mark { display:inline-grid; place-items:center; width:36px; height:36px; border-radius:10px; background:rgba(255,255,255,.16); color:var(--rc-accent); font-size:18px; }
.rc-nav-links { display:flex; flex-wrap:wrap; align-items:center; gap:4px; }
.rc-nav-links a { color:rgba(255,255,255,.85); text-decoration:none; padding:8px 12px; border-radius:8px; font-size:14px; font-weight:500; }
.rc-nav-links a:hover { color:#fff; background:rgba(255,255,255,.12); }
.rc-nav-links a.active { color:#fff; background:rgba(255,255,255,.2); }
.rc-nav-links .bi { margin-right:6px; }
.rc-user { display:inline-flex; align-items:center; gap:6px; font-size:13px; color:rgba(255,255,255,.9); padding:6px 10px; border-radius:999px; background:rgba(255,255,255,.1); margin-left:8px; overflow-wrap:anywhere; }
.rc-topbar .btn-logout { color:#fff; border:1px solid rgba(255,255,255,.4); background:transparent; font-size:13px; padding:6px 12px; border-radius:8px; }
.rc-topbar .btn-logout:hover { background:rgba(255,255,255,.15); color:#fff; }
.rc-topbar .btn-logout .bi { margin-right:6px; }

/* ===== Page header, breadcrumb, hero ===== */
.rc-breadcrumb { margin-bottom:14px; font-size:14px; }
.rc-breadcrumb a { color:var(--rc-muted); text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
.rc-breadcrumb a:hover { color:var(--rc-primary); }
.rc-page-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:24px; }
.rc-page-head h1 { margin:0; }
.rc-eyebrow { display:block; text-transform:uppercase; letter-spacing:.08em !important; font-size:12px; font-weight:700; color:var(--rc-accent); margin:0 0 4px; }
.rc-sub { margin:6px 0 0; color:var(--rc-muted); }
.rc-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.rc-hero { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:20px; padding:24px 28px; margin-bottom:20px; background:var(--rc-card); border:1px solid var(--rc-border); border-radius:var(--rc-radius); box-shadow:var(--rc-shadow); border-left:5px solid var(--rc-primary); }
.rc-hero h1 { margin:0 0 8px; }
.rc-meta { display:flex; flex-wrap:wrap; gap:8px 18px; color:var(--rc-muted); font-size:14px; }
.rc-meta span { display:inline-flex; align-items:center; gap:6px; }
.rc-meta .bi { color:var(--rc-primary); }

/* ===== Cards ===== */
.rc-card, .recruitment-section { background:var(--rc-card); border:1px solid var(--rc-border); border-radius:var(--rc-radius); box-shadow:var(--rc-shadow); padding:24px; margin:0 0 20px; }
.rc-card-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; }
.rc-card-head h2, .rc-card-head h3 { margin:0 !important; }
.rc-count { display:inline-block; min-width:28px; padding:2px 10px; margin-left:8px; border-radius:999px; background:var(--rc-primary-soft); color:var(--rc-primary); font-size:13px; font-weight:700; text-align:center; vertical-align:middle; }
.rc-empty { text-align:center; color:var(--rc-muted); padding:28px 12px; }
.rc-empty .bi { display:block; font-size:30px; color:var(--rc-border-strong); margin-bottom:8px; }

/* ===== KPI tiles ===== */
.rc-kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; margin-bottom:20px; }
.rc-kpi { display:flex; align-items:center; gap:14px; padding:18px; background:var(--rc-card); border:1px solid var(--rc-border); border-radius:var(--rc-radius); box-shadow:var(--rc-shadow); }
.rc-kpi-icon { flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:12px; font-size:20px; background:var(--rc-primary-soft); color:var(--rc-primary); }
.rc-kpi-icon.good { background:#e7f5ed; color:#176343; }
.rc-kpi-icon.warn { background:#fff3d2; color:#725216; }
.rc-kpi-icon.bad { background:#fcecf0; color:#8b2131; }
.rc-kpi-icon.accent { background:#fdf1dc; color:#9a6400; }
.rc-kpi-value { font-size:26px; font-weight:700; line-height:1.1; color:var(--rc-text); }
.rc-kpi-label { font-size:13px; color:var(--rc-muted); margin-top:2px; }

/* ===== Layout grids ===== */
.rc-grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.rc-grid-2 > .rc-card { margin:0; }
.rc-layout-split { display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:20px; align-items:start; }
.rc-layout-split > * { min-width:0; }
@media (max-width:991px) { .rc-layout-split, .rc-grid-2 { grid-template-columns:minmax(0,1fr); } }

/* ===== Avatars ===== */
.rc-avatar { flex:none; display:inline-grid; place-items:center; width:36px; height:36px; border-radius:50%; background:var(--rc-primary-soft); color:var(--rc-primary); font-weight:700; font-size:13px; }
.rc-avatar-lg { width:64px; height:64px; font-size:22px; background:linear-gradient(135deg,var(--rc-primary),var(--rc-primary-dark)); color:#fff; }
.rc-person { display:flex; align-items:center; gap:12px; }
.rc-profile-main { display:flex; align-items:center; gap:18px; }

/* ===== Forms ===== */
.recruitment h1 { font-size: 28px; line-height: 1.3; font-weight:700; }
.recruitment h2 { font-size: 20px; line-height: 1.4; margin: 0 0 18px; color: var(--rc-primary); font-weight:700; }
.recruitment h3 { font-size: 17px; font-weight:600; }
.recruitment label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color:#2f3d4c; }
.recruitment input:not([type=checkbox]):not([type=hidden]), .recruitment select, .recruitment textarea { display: block; width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--rc-border-strong); border-radius: var(--rc-radius-sm); padding: 10px 12px; background: #fff; color: #18212b; font: inherit; transition:border-color .15s, box-shadow .15s; }
.recruitment select { appearance: auto; padding-right: 28px; }
.recruitment input:focus, .recruitment select:focus, .recruitment textarea:focus { outline: none; box-shadow:0 0 0 4px #cfe3f6; border-color: var(--rc-primary); }
.recruitment input[type=checkbox] { width: 20px; height: 20px; margin: 0 8px 0 0; vertical-align: middle; flex-shrink: 0; accent-color:var(--rc-primary); }
.recruitment .consent { display: block; font-weight: 400; }
.rc-filter { padding:16px; margin:0 0 18px !important; background:#f8fafc; border:1px solid var(--rc-border); border-radius:var(--rc-radius-sm); }
.recruitment .repeat-row + .repeat-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e7ebee; }

/* ===== Buttons ===== */
.recruitment .btn { min-height: 42px; border-radius: var(--rc-radius-sm); padding: 9px 16px; font-size: 14px; font-weight:600; white-space: normal; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.recruitment .btn-sm { min-height:34px; padding:5px 12px; font-size:13px; }
.recruitment .btn-primary { background: var(--rc-primary); border-color: var(--rc-primary); color: #fff; }
.recruitment .btn-primary:hover { background: var(--rc-primary-dark); border-color: var(--rc-primary-dark); }
.recruitment .btn-outline-primary { color:var(--rc-primary); border-color:var(--rc-primary); }
.recruitment .btn-outline-primary:hover { background:var(--rc-primary); color:#fff; }
.recruitment .btn-light { background:#fff; border-color:var(--rc-border-strong); color:var(--rc-text); }

/* ===== Tables ===== */
.recruitment .table { font-size: 14px; margin:0; }
.recruitment .table th { color: #4a5868; background: #f6f8fb; vertical-align: middle; font-size:12px; text-transform:uppercase; letter-spacing:.04em !important; font-weight:700; border-bottom:1px solid var(--rc-border); padding:12px 14px; white-space:nowrap; }
.recruitment .table td { vertical-align: middle; overflow-wrap: anywhere; padding:12px 14px; border-color:#eef1f4; }
.recruitment .table tbody tr:hover td { background:#f8fbff; }
.recruitment .table a { color:var(--rc-primary); font-weight:600; text-decoration:none; }
.recruitment .table a:hover { text-decoration:underline; }
.recruitment .table-responsive { border: 1px solid var(--rc-border); border-radius:var(--rc-radius-sm); background:#fff; }
.recruitment .table-responsive .table tbody tr:last-child td { border-bottom:0; }
.recruitment .small, .rc-muted { color:var(--rc-muted); }

/* ===== Toolbar & pager ===== */
.recruitment .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0; }
.rc-pager { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; margin-top:16px; color:var(--rc-muted); font-size:14px; }
.rc-pager .rc-actions { gap:8px; }

/* ===== Status pills ===== */
.recruitment .status { display: inline-flex; align-items:center; gap:6px; color: var(--rc-primary); background: var(--rc-primary-soft); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight:600; white-space:nowrap; }
.recruitment .status::before { content:""; width:7px; height:7px; border-radius:50%; background:currentColor; }
.recruitment .status-hold { color: #725216; background: #fff3d2; }
.recruitment .status-rejected { color: #8b2131; background: #fcecf0; }
.recruitment .status-selected { color: #176343; background: #e7f5ed; }
.recruitment .status-open { color:#176343; background:#e7f5ed; }
.recruitment .status-scheduled { color:#5a3fb0; background:#efebfb; }
.recruitment .status-draft { color:#4a5868; background:#eef1f4; }
.recruitment .status-closed { color:#725216; background:#fff3d2; }
.recruitment .status-archived { color:#6b7280; background:#f1f2f4; }
.rc-badge { display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:600; background:#e7f5ed; color:#176343; }
.recruitment .preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ===== Details / summary ===== */
.recruitment details { padding: 0; }
.recruitment details.rc-card { padding:0; }
.recruitment details.rc-card > summary { padding:18px 24px; }
.recruitment details.rc-card[open] > summary { border-bottom:1px solid var(--rc-border); }
.recruitment details.rc-card > :not(summary) { margin-left:24px; margin-right:24px; }
.recruitment details.rc-card[open] { padding-bottom:12px; }
.recruitment summary { cursor: pointer; font-weight: 600; padding: 8px 0; color:var(--rc-primary); list-style:none; display:flex; align-items:center; gap:8px; }
.recruitment summary::-webkit-details-marker { display:none; }
.recruitment summary::after { content:"\F282"; font-family:"bootstrap-icons"; margin-left:auto; transition:transform .2s; }
.recruitment details[open] > summary::after { transform:rotate(180deg); }

/* ===== Stepper ===== */
.recruitment .step-list { display:flex; flex-wrap:wrap; gap:0; padding:0; margin:0; list-style:none; font-size:12px; counter-reset:none; }
.recruitment .step-list li { position:relative; flex:1 1 0; min-width:84px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; padding:0 4px 8px; color:var(--rc-muted); }
.recruitment .step-list li::before { content:""; position:absolute; top:15px; left:-50%; width:100%; height:3px; background:var(--rc-border); z-index:0; }
.recruitment .step-list li:first-child::before { display:none; }
.recruitment .step-list .step-dot { position:relative; z-index:1; display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#fff; border:2px solid var(--rc-border-strong); font-weight:700; font-size:13px; color:var(--rc-muted); }
.recruitment .step-list .done .step-dot { background:var(--rc-primary); border-color:var(--rc-primary); color:#fff; }
.recruitment .step-list .done::before, .recruitment .step-list .current::before { background:var(--rc-primary); }
.recruitment .step-list .current { font-weight:700; color:var(--rc-primary); }
.recruitment .step-list .current .step-dot { background:#fff; border:3px solid var(--rc-accent); color:var(--rc-primary); box-shadow:0 0 0 4px #fdf1dc; }
@media (max-width:767px) {
    .recruitment .step-list { flex-wrap:nowrap; overflow-x:auto; padding-bottom:6px; }
    .recruitment .step-list li { flex:0 0 84px; }
}

/* ===== Evaluations ===== */
.recruitment .evaluation { margin: 0 0 14px; padding: 18px 20px; border:1px solid var(--rc-border); border-radius:var(--rc-radius-sm); background:#fbfcfe; }
.recruitment .evaluation h3 { margin:0 0 4px; }
.recruitment .evaluation dt { font-weight: 600; font-size:13px; color:#2f3d4c; margin-top:10px; }
.recruitment .evaluation dd { white-space: pre-wrap; overflow-wrap: anywhere; margin:2px 0 0; }
.recruitment .evaluation details summary { font-size:14px; }
.rc-score { display:inline-block; padding:3px 10px; border-radius:6px; background:#eef1f4; font-size:13px; font-weight:600; color:#2f3d4c; }

/* ===== Timeline ===== */
.rc-timeline { list-style:none; margin:0; padding:0; }
.rc-timeline li { position:relative; padding:0 0 18px 26px; }
.rc-timeline li::before { content:""; position:absolute; left:5px; top:6px; width:11px; height:11px; border-radius:50%; background:#fff; border:3px solid var(--rc-primary); }
.rc-timeline li::after { content:""; position:absolute; left:10px; top:20px; bottom:0; width:1px; background:var(--rc-border-strong); }
.rc-timeline li:last-child { padding-bottom:0; }
.rc-timeline li:last-child::after { display:none; }
.rc-tl-head { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 12px; }
.rc-tl-head strong { font-size:14px; }
.rc-tl-time { font-size:12px; color:var(--rc-muted); white-space:nowrap; }
.rc-tl-actor { font-size:12px; color:var(--rc-muted); }
.rc-tl-details { font-size:13px; color:#3a4756; margin-top:2px; }
.rc-scroll { max-height:520px; overflow:auto; padding-right:4px; }

/* ===== Analytics ===== */
.rc-chart { position:relative; height:280px; }
.rc-chart-sm { height:240px; }
.rc-funnel { display:flex; flex-direction:column; gap:10px; }
.rc-funnel-row { display:grid; grid-template-columns:170px minmax(0,1fr) 90px; align-items:center; gap:12px; font-size:13px; }
.rc-funnel-label { color:#2f3d4c; font-weight:600; overflow-wrap:anywhere; }
.rc-funnel-track { height:22px; background:#f1f4f8; border-radius:6px; overflow:hidden; }
.rc-funnel-bar { height:100%; background:#2a78d6; border-radius:0 4px 4px 0; min-width:2px; }
.rc-funnel-value { text-align:right; color:var(--rc-muted); font-variant-numeric:tabular-nums; }
.rc-funnel-value strong { color:var(--rc-text); }
.rc-filter-inline { display:flex; flex-wrap:wrap; gap:10px; align-items:flex-end; }
.rc-filter-inline select { min-width:260px; }
.rc-progress { height:6px; background:#eef1f4; border-radius:999px; overflow:hidden; min-width:80px; }
.rc-progress > span { display:block; height:100%; background:#0ca30c; }
@media (max-width:600px) { .rc-funnel-row { grid-template-columns:110px minmax(0,1fr) 70px; } .rc-filter-inline select { min-width:0; } }

/* ===== Alerts ===== */
.recruitment .alert { border-radius:var(--rc-radius-sm); border:0; border-left:4px solid; }
.recruitment .alert-success { border-left-color:#176343; }
.recruitment .alert-info { border-left-color:var(--rc-primary); background:var(--rc-primary-soft); color:#123e66; }

/* ===== Public listing (careers page component) ===== */
/* scroll-margin keeps /Careers#drives clear of the sticky navbar. */
.recruitment-list { scroll-margin-top:96px; box-sizing:border-box; width:100%; max-width:1140px !important; margin:32px auto !important; padding:0 24px !important; float:none !important; }
.recruitment-list #recruitment-drive-heading { text-align:center; font-size:26px !important; line-height:1.3; margin:0 0 18px; }
.recruitment-list-row { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:22px 0; border-top:1px solid #dce2e7; }
.recruitment-list-row > div { min-width:0; }
.recruitment-list-row h3 { font-size:21px !important; line-height:1.4; margin:0 0 8px; overflow-wrap:anywhere; }
.recruitment-list-row p { font-size:16px; line-height:1.6; margin:0; color:#435261; }
.recruitment-list-row .btn { flex-shrink:0; padding:12px 18px; border-radius:5px; font-size:16px; line-height:1.4; white-space:normal; color:#fff; background:#175a93; }

/* ===== Candidate photo / selfie ===== */
.candidate-photo { display:flex; align-items:flex-start; gap:24px; margin:0 0 28px; padding:20px; border:2px dashed var(--rc-border-strong); border-radius:var(--rc-radius); background:#f8fafc; }
.candidate-photo > div { flex:1; min-width:0; }
#photo-preview { width:120px; height:150px; object-fit:cover; background:#f2f5f8; border:1px solid #8795a4; border-radius:8px; }
#photo-preview[hidden], #remove-photo[hidden] { display:none !important; }
/* Registration: fixed education cards and the preferred-campus choice. */
.rc-edu-card { padding:18px; border:1px solid var(--rc-border); border-radius:10px; background:#fbfcfe; }
.rc-edu-card + .rc-edu-card { margin-top:14px; }
.recruitment .rc-edu-card h3 { font-size:17px; margin:0 0 12px; color:#0f3f6b; }
.rc-campus { border:0; padding:0; margin:0; min-width:0; }
.rc-campus legend { float:none; width:auto; font-size:inherit; font-weight:600; margin-bottom:8px; }
.rc-campus .rc-classes { grid-template-columns:repeat(3,minmax(0,1fr)); }
.rc-campus .rc-class-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
.rc-campus[hidden] { display:none !important; }
@media (max-width:767px) { .rc-campus .rc-class-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
/* The registration input sizing (min-height 48px, full width) must not apply to the radio dots. */
.rc-campus input[type=radio] { flex:none; width:20px !important; height:20px !important; min-height:0 !important; padding:0 !important; margin:0 !important; accent-color:var(--rc-primary); }
/* "Before you register" pop-up and the summary line it leaves on the form. */
.rc-intro { width:min(640px,calc(100% - 32px)); max-height:calc(100vh - 32px); overflow:auto; border:0; border-radius:16px; padding:28px; box-shadow:0 20px 50px rgba(0,0,0,.3); }
.rc-intro::backdrop { background:rgba(15,63,107,.6); }
.recruitment .rc-intro h2 { margin:0 0 4px; color:var(--rc-primary); }
.rc-intro h3 { display:flex; align-items:center; gap:8px; font-size:17px; margin:0 0 8px; color:#0f3f6b; }
.rc-intro-block { padding:18px 0; border-top:1px solid var(--rc-border); }
.rc-intro-block p { margin-bottom:10px; }
.rc-intro .btn.rc-add-row { margin-top:0; }
.rc-classes { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.rc-classes label { display:flex; align-items:center; gap:6px; margin:0; padding:9px 10px; border:1px solid var(--rc-border); border-radius:8px; background:#fbfcfe; font-weight:500; cursor:pointer; }
.rc-classes label:has(input:checked) { border-color:var(--rc-primary); background:#e8f1f9; }
.rc-classes input[type=checkbox] { margin:0 !important; }
.rc-intro-actions { display:flex; justify-content:flex-end; padding-top:18px; border-top:1px solid var(--rc-border); }
.rc-intro-summary { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:12px 16px; margin:0 0 20px; border-radius:10px; background:#f0faf4; border:1px solid #bfe3cd; color:#176343; }
.rc-intro-summary[hidden] { display:none; }
@media (max-width:600px) { .rc-intro { padding:20px; } .rc-classes { grid-template-columns:repeat(3,minmax(0,1fr)); } }
#selfie-dialog { width:min(600px,calc(100% - 32px)); border:0; border-radius:14px; padding:22px; box-shadow:0 20px 50px rgba(0,0,0,.3); }
#selfie-dialog::backdrop { background:rgba(0,0,0,.65); }
#selfie-dialog video { width:100%; max-height:60vh; background:#111; border-radius:8px; }
#selfie-dialog .toolbar { display:flex; gap:12px; margin-top:16px; }
@media(max-width:600px) { .candidate-photo { flex-direction:column; } }

/* ===== Public registration ===== */
.recruitment-registration { box-sizing:border-box; max-width:1060px; width:100%; margin:36px auto; padding:24px; }
.recruitment.recruitment-registration h1 { font-size:28px !important; line-height:1.35 !important; letter-spacing:0 !important; }
.recruitment.recruitment-registration h2 { font-size:22px !important; line-height:1.4 !important; letter-spacing:0 !important; }
body:has(#drive-registration) #call-btn,
body:has(#drive-registration) #backToTopBtn,
body:has(#drive-registration) #ttl-whatsapp-67c16127b8d456fa6493d809 { display:none !important; }
/* site.css forces header overflow:visible and section padding:0 with !important; these cards need their own. */
.rc-reg-hero { position:relative; overflow:hidden !important; padding:34px 32px; margin:8px 0 24px; border-radius:16px; color:#fff; background:linear-gradient(120deg,#0f3f6b 0%,#175a93 60%,#2a78d6 100%); box-shadow:0 10px 30px rgba(15,63,107,.25); }
.rc-reg-hero::after { content:""; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%; background:rgba(234,163,29,.18); }
.recruitment.recruitment-registration .rc-reg-hero h1 { color:#fff !important; margin:6px 0 18px !important; position:relative; z-index:1; }
.rc-reg-hero .rc-eyebrow { color:#fbd38d; position:relative; z-index:1; }
.rc-reg-facts { position:relative; z-index:1; display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:14px; }
.rc-reg-fact { display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border-radius:10px; background:rgba(255,255,255,.1); }
.rc-reg-fact .bi { font-size:20px; color:#fbd38d; }
.rc-reg-fact small { display:block; font-size:12px; text-transform:uppercase; letter-spacing:.06em !important; opacity:.8; }
.rc-reg-fact strong { display:block; font-size:15px; line-height:1.4; overflow-wrap:anywhere; }
.rc-reg-hero .rc-badge { position:relative; z-index:1; margin-top:18px; background:#fff; color:#0f3f6b; font-size:13px; padding:6px 12px; }
.rc-reg-desc { padding:0 4px; margin-bottom:24px; color:#3a4756; font-size:16px; line-height:1.7; }
.recruitment-registration .rc-breadcrumb a { font-size:15px; }
.rc-receipt { text-align:center; padding:36px 24px !important; background:#f0faf4 !important; border:1px solid #bfe3cd !important; border-radius:var(--rc-radius) !important; }
.rc-receipt > .bi { font-size:48px; color:#176343; display:block; margin-bottom:8px; }
.rc-receipt strong { font-size:20px; letter-spacing:.04em !important; }
#drive-registration { counter-reset:rc-step; }
.recruitment-registration .row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 24px; margin:0; }
.recruitment-registration .row > [class*="col-"] { width:auto; max-width:100%; min-width:0; padding:0 !important; margin:0 !important; }
.recruitment-registration input, .recruitment-registration select, .recruitment-registration textarea { scroll-margin-top:150px; }
.recruitment-registration .row > .col-12 { grid-column:1 / -1; }
.recruitment-registration .recruitment-section { padding:28px 32px !important; margin-bottom:22px; border-top:1px solid var(--rc-border); }
.recruitment-registration .recruitment-section h2 { font-size:22px; margin-bottom:22px; display:flex; align-items:center; gap:12px; }
#drive-registration > .recruitment-section > h2::before { counter-increment:rc-step; content:counter(rc-step); flex:none; display:inline-grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--rc-primary); color:#fff; font-size:16px; }
.recruitment-registration .rc-submit-section { border:2px solid #cfe3f6; background:linear-gradient(180deg,#fff, #f5f9fd); }
.recruitment.recruitment-registration input:not([type=checkbox]):not([type=hidden]), .recruitment.recruitment-registration select { min-height:48px; font-size:16px; }
.recruitment-registration textarea { font-size:16px; }
.recruitment-registration .repeat-row { padding:18px; border:1px solid var(--rc-border); border-radius:10px; background:#fbfcfe; }
.recruitment-registration .repeat-row + .repeat-row { margin-top:16px; padding-top:18px; border-top:1px solid var(--rc-border); }
/* Repeating rows: each entry is a card with a remove icon; + adds one; an empty section says so. */
.repeat-row { position:relative; padding-right:56px !important; }
.rc-remove-row { position:absolute; top:10px; right:10px; width:34px; height:34px; display:grid; place-items:center; border:1px solid var(--rc-border); border-radius:50%; background:#fff; color:#6b7785; cursor:pointer; }
.rc-remove-row:hover, .rc-remove-row:focus-visible { color:#b42333; border-color:#f0b8bf; background:#fff2f3; }
.btn.rc-add-row { display:inline-flex; align-items:center; gap:8px; margin-top:14px; padding:10px 18px; border:1.5px dashed #9cbfdf; border-radius:10px; background:#f5f9fd; color:var(--rc-primary); font-weight:600; }
.btn.rc-add-row:hover, .btn.rc-add-row:focus-visible { border-style:solid; border-color:var(--rc-primary); background:#e8f1f9; color:var(--rc-primary); }
[data-repeating]:not(:has(.repeat-row))::before { content:attr(data-empty); display:block; padding:14px 16px; border-radius:10px; background:#f8fafc; color:#6b7785; font-size:15px; }
[data-married-only][hidden] { display:none !important; }
.recruitment-registration .btn { min-height:46px; line-height:1.5; }
.recruitment-registration .btn .bi { margin-right:0; }
.recruitment-registration .validation-summary-errors { padding:16px; margin:20px 0; border-left:4px solid #b42333; background:#fff2f3; border-radius:8px; }
.recruitment-registration input[type=file] { padding:8px; }
.recruitment-registration input[type=file]::file-selector-button { border:0; padding:8px 12px; margin-right:12px; border-radius:6px; background:#e8f1f9; color:#175a93; font-weight:600; }
.recruitment-registration .consent { padding:14px 16px; border-radius:8px; background:#f6f8fb; }
@media (max-width:767px) {
    .recruitment-list { padding:0 20px; }
    .recruitment-list-row { flex-direction:column; align-items:stretch; gap:16px; }
    .recruitment-list-row .btn { text-align:center; }
    .recruitment-registration { padding:20px 16px; margin:20px auto; }
    .rc-reg-hero { padding:24px 20px; }
    .recruitment-registration .recruitment-section { padding:22px 18px !important; }
    .recruitment-registration .row { grid-template-columns:minmax(0,1fr); gap:18px; }
    .recruitment-registration .btn { width:100%; }
    .recruitment-registration .recruitment-section h2 { font-size:20px; }
}
.recruitment .g-recaptcha { max-width: 100%; overflow: auto; }
@media (max-width: 600px) { .recruitment h1 { font-size: 24px; } .recruitment .toolbar > * { max-width: 100%; } .rc-hero { padding:20px; } .rc-card, .recruitment-section { padding:18px; } }

/* ===== Dictation ===== */
.recruitment .dictation-tools { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:6px; }
.recruitment .dictation-tools select { width:auto; min-width:145px; max-width:100%; font-size:14px; }
.recruitment .dictation-mic { width:44px; height:44px; padding:8px; flex:none; }
.recruitment .dictation-mic[aria-pressed="true"] { color:#fff; background:#a12435; border-color:#a12435; }

/* ===== Print ===== */
@media print {
    .recruitment .no-print, .recruitment-nav { display: none !important; }
    .rc-app { background:#fff; }
    .recruitment details > * { display: block; }
    .recruitment-section, .recruitment .evaluation, .rc-card { break-inside: avoid; box-shadow:none; }
    .rc-layout-split { display:block; }
    .rc-aside { position:static; }
}
/* Group discussion: camera QR scanner and per-member score cards */
.rc-qr-reader { max-width:420px; margin:0 0 16px; border-radius:10px; overflow:hidden; border:1px solid var(--rc-border); }
.rc-qr-reader video { width:100% !important; height:auto !important; }
.rc-group-member .rc-card-head { flex-wrap:wrap; gap:12px; }
.rc-form-done { opacity:.65; cursor:not-allowed; }
/* Evaluation form: guidance callout, upload box and action bar */
.rc-guidance { display:flex; gap:10px; align-items:flex-start; }
.rc-guidance .bi { flex:none; margin-top:2px; }
.rc-evaluate .recruitment-section h2 { display:flex; align-items:center; font-size:18px; }
.rc-upload { display:flex; gap:14px; align-items:flex-start; padding:16px; border:1px dashed var(--rc-border-strong); border-radius:var(--rc-radius-sm); background:#f8fafc; }
.rc-upload > .bi { flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:10px; background:var(--rc-primary-soft); color:var(--rc-primary); font-size:20px; }
.rc-upload-body { flex:1; min-width:0; }
.recruitment .rc-upload input[type=file] { border:0; padding:0; min-height:0; background:transparent; }
.rc-upload input[type=file]::file-selector-button { margin-right:12px; padding:8px 14px; border:1px solid var(--rc-primary); border-radius:var(--rc-radius-sm); background:#fff; color:var(--rc-primary); font-weight:600; cursor:pointer; }
.rc-form-actions { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; margin-top:24px; padding-top:18px; border-top:1px solid var(--rc-border); }

/* Registration: Google "I am not a robot" box with its loading / try-again line, and the hidden bot trap. */
.rc-captcha { margin: 1rem 0; min-height: 78px; }
.rc-captcha-status { margin: .5rem 0 0; font-size: .9rem; color: #5b6b7f; }
.rc-captcha-status .spinner-border { margin-right: .35rem; }
.rc-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
