/* ==========================================================================
   Hunt ERP — Careers portal (/ar/careers, /en/careers)
   Matches the site identity: #0057a8 primary, #4da1a9 teal, Cairo/Poppins.
   Logical properties everywhere so RTL (ar) and LTR (en) both work.
   ========================================================================== */
:root {
    --cr-primary: #0057a8;
    --cr-primary-600: #004a8f;
    --cr-deep: #003d75;
    --cr-navy: #0b2545;
    --cr-teal: #4da1a9;
    --cr-teal-soft: #e8f5f6;
    --cr-ink: #1a2332;
    --cr-text: #3d4b5c;
    --cr-muted: #6b7a8c;
    --cr-line: #e3e9f1;
    --cr-line-2: #eef2f7;
    --cr-bg: #f5f8fc;
    --cr-soft: #eef5fc;
    --cr-success: #13795b;
    --cr-success-soft: #e8f7ef;
    --cr-warn: #a3620a;
    --cr-warn-soft: #fff6e5;
    --cr-danger: #c0392b;
    --cr-danger-soft: #fdeeee;
    --cr-radius: 16px;
    --cr-radius-sm: 11px;
    --cr-shadow: 0 1px 2px rgba(11, 37, 69, .04), 0 8px 28px rgba(11, 37, 69, .07);
    --cr-shadow-lg: 0 24px 60px rgba(11, 37, 69, .14);
    --cr-ring: 0 0 0 4px rgba(0, 87, 168, .16);
    --cr-ease: cubic-bezier(.2, .7, .2, 1);
}

.cr { color: var(--cr-text); }
.cr *, .cr *::before, .cr *::after { box-sizing: border-box; }
.cr-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.cr-narrow { max-width: 860px; }
.cr a { color: var(--cr-primary); }
.cr h1, .cr h2, .cr h3, .cr h4 { color: var(--cr-ink); line-height: 1.35; margin: 0; }
.cr p { margin: 0; }
.cr [hidden], .cr-mobile-apply[hidden] { display: none !important; }
.cr-visually-hidden, .cr-hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cr [tabindex="-1"]:focus, .cr [tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }
.cr :focus-visible { outline: none; box-shadow: var(--cr-ring); border-radius: 8px; }
[dir="ltr"] .cr { letter-spacing: -.003em; }

/* The site styles the bare <header> element (sticky top bar). Careers uses
   <header> semantically inside sections, so neutralise those rules here. */
.cr header { position: static; top: auto; height: auto; min-height: 0; display: block; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; z-index: auto; border: 0; transition: none; }
.cr header.cr-page-head { background: linear-gradient(135deg, var(--cr-navy), var(--cr-deep) 55%, var(--cr-primary)); padding: 40px 0 46px; }
.cr .cr-review-sec header { display: flex; padding: 12px 16px; background: var(--cr-bg); border-bottom: 1px solid var(--cr-line); }

/* ---------- buttons ---------- */
.cr-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 15.5px; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: transform .18s var(--cr-ease), box-shadow .18s var(--cr-ease), background .18s, color .18s, border-color .18s; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.cr-btn:active { transform: translateY(1px); }
.cr-btn-primary { background: linear-gradient(135deg, var(--cr-primary) 0%, var(--cr-deep) 100%); color: #fff !important; box-shadow: 0 8px 20px rgba(0, 87, 168, .25); }
.cr-btn-primary:hover { box-shadow: 0 12px 28px rgba(0, 87, 168, .32); transform: translateY(-1px); }
.cr-btn-light { background: #fff; color: var(--cr-primary) !important; border-color: var(--cr-line); }
.cr-btn-light:hover { border-color: #c9d6e6; background: var(--cr-soft); }
.cr-btn-ghost-white { background: rgba(255, 255, 255, .1); color: #fff !important; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(4px); }
.cr-btn-ghost-white:hover { background: rgba(255, 255, 255, .18); }
.cr-btn-white { background: #fff; color: var(--cr-deep) !important; box-shadow: 0 10px 26px rgba(0, 0, 0, .14); }
.cr-btn-white:hover { transform: translateY(-1px); }
.cr-btn-teal { background: var(--cr-teal); color: #fff !important; }
.cr-btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: 14px; border-radius: 10px; }
.cr-btn-block { width: 100%; }
.cr-btn[disabled], .cr-btn.is-loading { opacity: .65; pointer-events: none; }
.cr-btn .cr-spin { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: cr-spin .8s linear infinite; display: none; }
.cr-btn.is-loading .cr-spin { display: inline-block; }
@keyframes cr-spin { to { transform: rotate(360deg); } }
.cr-link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--cr-primary); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cr-link-btn[disabled] { color: var(--cr-muted); cursor: default; text-decoration: none; }

/* ---------- sub-navigation ---------- */
.cr-subnav { background: #fff; border-bottom: 1px solid var(--cr-line); }
.cr-subnav .cr-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; }
.cr-subnav-brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--cr-ink) !important; text-decoration: none; font-size: 15px; }
.cr-subnav-brand i { color: var(--cr-teal); }
.cr-subnav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.cr-subnav-links::-webkit-scrollbar { display: none; }
.cr-subnav-links a, .cr-subnav-links button { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 9px; color: var(--cr-text) !important; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; background: none; border: 0; font-family: inherit; cursor: pointer; }
.cr-subnav-links a:hover, .cr-subnav-links button:hover { background: var(--cr-soft); color: var(--cr-primary) !important; }
.cr-subnav-links a[aria-current="page"] { background: var(--cr-soft); color: var(--cr-primary) !important; }
.cr-subnav-links .cr-subnav-cta { background: var(--cr-primary); color: #fff !important; }
.cr-subnav-links .cr-subnav-cta:hover { background: var(--cr-deep); color: #fff !important; }
.cr-subnav form { margin: 0; }
@media (max-width: 640px) {
    .cr-subnav .cr-container { padding: 0 12px; }
    .cr-subnav-brand span { display: none; }
    .cr-subnav-links a, .cr-subnav-links button { padding: .45rem .6rem; font-size: 13.5px; }
}

/* ---------- alerts ---------- */
.cr-alert { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1.05rem; border-radius: 12px; font-size: 14.5px; line-height: 1.7; margin-bottom: 1rem; border: 1px solid; }
.cr-alert i { margin-top: .25rem; }
.cr-alert-success { background: var(--cr-success-soft); border-color: #bfe8d3; color: #0f5e47; }
.cr-alert-error { background: var(--cr-danger-soft); border-color: #f6c9c6; color: #9b2a1f; }
.cr-alert-info { background: var(--cr-soft); border-color: #cfe0f3; color: var(--cr-deep); }
.cr-alert ul { margin: 0; padding-inline-start: 1rem; }

/* ---------- hero ---------- */
.cr-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1100px 500px at 85% -10%, rgba(77, 161, 169, .45), transparent 60%), linear-gradient(135deg, var(--cr-navy) 0%, var(--cr-deep) 45%, var(--cr-primary) 100%); padding: 72px 0 84px; }
.cr-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); pointer-events: none; }
.cr-hero .cr-container { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.cr-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--cr-teal); }
[dir="rtl"] .cr-eyebrow { letter-spacing: 0; text-transform: none; }
.cr-hero .cr-eyebrow { color: #9fe0e5; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); padding: .35rem .8rem; border-radius: 999px; }
.cr-hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); font-weight: 900; margin: 18px 0 16px; letter-spacing: -.01em; }
.cr-hero h1 span { background: linear-gradient(90deg, #9fe0e5, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cr-hero-lead { font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.95; color: rgba(255, 255, 255, .88); max-width: 620px; }
.cr-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cr-hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; list-style: none; padding: 0; }
.cr-hero-chips li { display: inline-flex; align-items: center; gap: .45rem; font-size: 14px; color: rgba(255, 255, 255, .85); }
.cr-hero-chips i { color: #9fe0e5; }
.cr-hero-card { background: rgba(255, 255, 255, .97); color: var(--cr-text); border-radius: 22px; padding: 26px; box-shadow: var(--cr-shadow-lg); position: relative; }
.cr-hero-card::after { content: ''; position: absolute; inset: -10px; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .18); pointer-events: none; }
.cr-hero-card h2 { font-size: 18px; margin-bottom: 18px; display: flex; gap: .55rem; align-items: center; }
.cr-hero-card h2 i { color: var(--cr-teal); }
.cr-hero-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.cr-hero-steps li { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: var(--cr-bg); border: 1px solid var(--cr-line-2); font-weight: 600; color: var(--cr-ink); font-size: 15px; }
.cr-hero-steps li::before { counter-increment: s; content: counter(s); flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cr-primary), var(--cr-teal)); color: #fff; font-weight: 800; }
.cr-hero-card .cr-btn { margin-top: 18px; }
@media (max-width: 960px) {
    .cr-hero { padding: 48px 0 56px; }
    .cr-hero .cr-container { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
    .cr-hero-actions .cr-btn { flex: 1 1 100%; }
    .cr-hero-card { padding: 20px; }
}

/* ---------- sections ---------- */
.cr-section { padding: 84px 0; }
.cr-section.is-soft { background: var(--cr-bg); }
.cr-section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.cr-section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; margin: 10px 0 12px; }
.cr-section-head p { font-size: 16.5px; line-height: 1.9; color: var(--cr-muted); }
@media (max-width: 640px) { .cr-section { padding: 56px 0; } .cr-section-head { margin-bottom: 30px; } }

.cr-grid { display: grid; gap: 20px; }
.cr-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cr-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 960px) { .cr-grid-3, .cr-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cr-grid-3, .cr-grid-5 { grid-template-columns: 1fr; } }

.cr-card { background: #fff; border: 1px solid var(--cr-line); border-radius: var(--cr-radius); padding: 26px; box-shadow: var(--cr-shadow); }
.cr-feature { transition: transform .25s var(--cr-ease), box-shadow .25s var(--cr-ease), border-color .25s; }
.cr-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 37, 69, .1); border-color: #cfe0f3; }
.cr-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; color: var(--cr-primary); background: linear-gradient(135deg, var(--cr-soft), var(--cr-teal-soft)); margin-bottom: 18px; }
.cr-feature h3 { font-size: 18px; margin-bottom: 8px; }
.cr-feature p { font-size: 15px; line-height: 1.85; color: var(--cr-muted); }

.cr-values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.cr-value { text-align: center; padding: 24px 16px; border-radius: var(--cr-radius); background: #fff; border: 1px solid var(--cr-line); }
.cr-value .cr-icon { margin: 0 auto 14px; background: var(--cr-primary); color: #fff; }
.cr-value h3 { font-size: 16.5px; margin-bottom: 6px; }
.cr-value p { font-size: 14px; line-height: 1.75; color: var(--cr-muted); }
@media (max-width: 960px) { .cr-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cr-value:last-child { grid-column: 1 / -1; } }

.cr-benefit { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--cr-radius); background: #fff; border: 1px solid var(--cr-line); }
.cr-benefit .cr-icon { margin: 0; flex-shrink: 0; width: 46px; height: 46px; font-size: 18px; }
.cr-benefit h3 { font-size: 16.5px; margin-bottom: 4px; }
.cr-benefit p { font-size: 14.5px; line-height: 1.75; color: var(--cr-muted); }

.cr-team { text-align: center; padding: 24px 16px; border-radius: var(--cr-radius); background: #fff; border: 1px solid var(--cr-line); height: 100%; }
.cr-team .cr-icon { margin: 0 auto 14px; }
.cr-team h3 { font-size: 16px; margin-bottom: 6px; }
.cr-team p { font-size: 13.5px; line-height: 1.7; color: var(--cr-muted); }

/* hiring process */
.cr-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: p; }
.cr-process::before { content: ''; position: absolute; top: 27px; inset-inline: 10%; height: 2px; background: repeating-linear-gradient(90deg, #c9d9ea 0 8px, transparent 8px 14px); }
.cr-process li { position: relative; text-align: center; padding: 0 6px; }
.cr-process-num { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--cr-primary); color: var(--cr-primary); font-size: 20px; box-shadow: 0 0 0 6px var(--cr-bg); }
.cr-process li:last-child .cr-process-num { background: var(--cr-primary); color: #fff; }
.cr-process h3 { font-size: 16px; margin-bottom: 6px; }
.cr-process p { font-size: 14px; line-height: 1.75; color: var(--cr-muted); }
.cr-process-step { display: inline-block; font-size: 12px; font-weight: 800; color: var(--cr-teal); margin-bottom: 4px; }
@media (max-width: 860px) {
    .cr-process { grid-template-columns: 1fr; gap: 0; }
    .cr-process::before { top: 10px; bottom: 10px; inset-inline-start: 27px; inset-inline-end: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #c9d9ea 0 8px, transparent 8px 14px); }
    .cr-process li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: start; padding: 0 0 22px; }
    .cr-process-num { margin: 0; }
}

/* openings */
.cr-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.cr-chip-btn { border: 1.5px solid var(--cr-line); background: #fff; color: var(--cr-text); font: inherit; font-weight: 700; font-size: 14px; padding: .5rem 1rem; border-radius: 999px; cursor: pointer; transition: all .18s; min-height: 40px; }
.cr-chip-btn:hover { border-color: #b9cde3; }
.cr-chip-btn[aria-pressed="true"] { background: var(--cr-primary); border-color: var(--cr-primary); color: #fff; }
.cr-jobs { display: grid; gap: 16px; }
.cr-job { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 24px 26px; border-radius: var(--cr-radius); background: #fff; border: 1px solid var(--cr-line); box-shadow: var(--cr-shadow); transition: border-color .2s, transform .2s var(--cr-ease), box-shadow .2s; }
.cr-job:hover { border-color: #b9cde3; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(11, 37, 69, .1); }
.cr-job-dept { font-size: 13px; font-weight: 800; color: var(--cr-teal); }
.cr-job h3 { font-size: 20px; margin: 4px 0 10px; }
.cr-job h3 a { color: var(--cr-ink); text-decoration: none; }
.cr-job h3 a:hover { color: var(--cr-primary); }
.cr-job p { font-size: 15px; line-height: 1.8; color: var(--cr-muted); margin-top: 10px; }
.cr-job-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cr-meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.cr-meta li { display: inline-flex; align-items: center; gap: .4rem; font-size: 13px; font-weight: 600; color: var(--cr-text); background: var(--cr-bg); border: 1px solid var(--cr-line-2); padding: .3rem .7rem; border-radius: 999px; }
.cr-meta i { color: var(--cr-primary); font-size: 12px; }
@media (max-width: 720px) {
    .cr-job { grid-template-columns: 1fr; padding: 20px; }
    .cr-job-actions .cr-btn { flex: 1; }
}
.cr-empty { text-align: center; padding: 44px 24px; border: 2px dashed #cfdbea; border-radius: var(--cr-radius); background: #fff; }
.cr-empty .cr-icon { margin: 0 auto 16px; }
.cr-empty h3 { font-size: 20px; margin-bottom: 8px; }
.cr-empty p { color: var(--cr-muted); line-height: 1.85; max-width: 520px; margin: 0 auto 20px; }
.cr-general { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 20px; padding: 22px 26px; border-radius: var(--cr-radius); background: linear-gradient(135deg, var(--cr-soft), var(--cr-teal-soft)); border: 1px solid #d3e4f2; }
.cr-general h3 { font-size: 18px; margin-bottom: 4px; }
.cr-general p { color: var(--cr-text); font-size: 15px; line-height: 1.75; }

/* FAQ */
.cr-faq { display: grid; gap: 12px; }
.cr-faq details { background: #fff; border: 1px solid var(--cr-line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.cr-faq details[open] { border-color: #b9cde3; box-shadow: var(--cr-shadow); }
.cr-faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 800; color: var(--cr-ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 16px; }
.cr-faq summary::-webkit-details-marker { display: none; }
.cr-faq summary::after { content: '+'; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cr-soft); color: var(--cr-primary); font-size: 20px; font-weight: 700; transition: transform .2s; }
.cr-faq details[open] summary::after { transform: rotate(45deg); }
.cr-faq .cr-faq-a { padding: 0 20px 20px; line-height: 1.9; color: var(--cr-muted); font-size: 15px; }

/* CTA band */
.cr-cta { position: relative; overflow: hidden; border-radius: 24px; padding: 48px; text-align: center; color: #fff; background: radial-gradient(600px 260px at 10% 0%, rgba(77, 161, 169, .55), transparent 60%), linear-gradient(135deg, var(--cr-deep), var(--cr-primary)); }
.cr-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 900; margin-bottom: 10px; }
.cr-cta p { color: rgba(255, 255, 255, .88); font-size: 16.5px; margin-bottom: 24px; }
@media (max-width: 560px) { .cr-cta { padding: 34px 20px; border-radius: 18px; } }

/* ---------- position page ---------- */
.cr-page-head { background: linear-gradient(135deg, var(--cr-navy), var(--cr-deep) 55%, var(--cr-primary)); color: #fff; padding: 40px 0 46px; }
.cr-page-head h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 900; margin: 10px 0 16px; }
.cr-page-head .cr-meta li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff; }
.cr-page-head .cr-meta i { color: #9fe0e5; }
.cr-crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; }
.cr-crumbs li { display: inline-flex; gap: 6px; align-items: center; color: rgba(255, 255, 255, .7); }
.cr-crumbs li + li::before { content: '/'; opacity: .5; }
.cr-crumbs a { color: rgba(255, 255, 255, .92) !important; text-decoration: none; }
.cr-crumbs a:hover { text-decoration: underline; }
.cr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding: 40px 0 70px; }
.cr-prose h2 { font-size: 21px; margin: 0 0 14px; display: flex; align-items: center; gap: .6rem; }
.cr-prose h2 i { color: var(--cr-teal); font-size: 17px; }
.cr-prose p { font-size: 16.5px; line-height: 1.95; }
.cr-prose ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cr-prose li { position: relative; padding-inline-start: 30px; line-height: 1.85; font-size: 16px; }
.cr-prose li::before { content: ''; position: absolute; inset-inline-start: 4px; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--cr-teal-soft); border: 4px solid var(--cr-teal); }
.cr-prose section + section { margin-top: 22px; }
.cr-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.cr-aside dl { margin: 0; display: grid; gap: 0; }
.cr-aside dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--cr-line-2); font-size: 14.5px; }
.cr-aside dl > div:last-child { border-bottom: 0; }
.cr-aside dt { color: var(--cr-muted); }
.cr-aside dd { margin: 0; font-weight: 700; color: var(--cr-ink); text-align: end; }
.cr-aside .cr-btn + .cr-btn { margin-top: 10px; }
.cr-aside-note { font-size: 13px; color: var(--cr-muted); line-height: 1.7; margin-top: 12px; display: flex; gap: .5rem; }
.cr-share { display: flex; gap: 8px; flex-wrap: wrap; }
.cr-share a, .cr-share button { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--cr-line); background: #fff; color: var(--cr-text) !important; cursor: pointer; font-size: 16px; transition: all .18s; }
.cr-share a:hover, .cr-share button:hover { border-color: var(--cr-primary); color: var(--cr-primary) !important; }
@media (max-width: 960px) {
    .cr-layout { grid-template-columns: 1fr; padding-top: 24px; }
    .cr-aside { position: static; order: -1; }
}
.cr-mobile-apply { display: none; }
@media (max-width: 960px) {
    .cr-mobile-apply { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 990; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--cr-line); box-shadow: 0 -8px 24px rgba(11, 37, 69, .08); backdrop-filter: blur(8px); }
    .cr-mobile-apply .cr-btn { flex: 1; }
    body.cr-has-sticky .fixed-contact-buttons { bottom: 96px !important; }
    body.cr-has-sticky footer { padding-bottom: 76px; }
}

/* ---------- auth ---------- */
.cr-auth { padding: 48px 0 80px; background: linear-gradient(180deg, var(--cr-bg), #fff); }
.cr-auth-shell { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--cr-line); box-shadow: var(--cr-shadow-lg); }
.cr-auth-side { position: relative; padding: 40px; color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(77, 161, 169, .5), transparent 60%), linear-gradient(160deg, var(--cr-navy), var(--cr-deep) 50%, var(--cr-primary)); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.cr-auth-side h2 { color: #fff; font-size: 26px; font-weight: 900; line-height: 1.45; margin-top: 14px; }
.cr-auth-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cr-auth-side li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .9); }
.cr-auth-side li i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #9fe0e5; font-size: 13px; }
.cr-auth-logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.cr-auth-main { padding: 40px; }
.cr-auth-main h1 { font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.cr-auth-main > p.cr-sub { color: var(--cr-muted); margin-bottom: 24px; line-height: 1.8; }
.cr-auth-alt { margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--cr-muted); }
.cr-auth-alt a { font-weight: 800; text-decoration: none; }
.cr-auth-single { max-width: 520px; margin: 0 auto; }
@media (max-width: 860px) {
    .cr-auth { padding: 20px 0 56px; }
    .cr-auth-shell { grid-template-columns: 1fr; border-radius: 20px; }
    .cr-auth-side { padding: 24px; gap: 16px; }
    .cr-auth-side h2 { font-size: 20px; margin-top: 8px; }
    .cr-auth-side ul { display: none; }
    .cr-auth-main { padding: 26px 20px; }
}

/* ---------- form fields ---------- */
.cr-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.cr-form-grid .cr-span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .cr-form-grid { grid-template-columns: 1fr; } }
.cr-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.cr-field + .cr-field { margin-top: 0; }
.cr-stack > .cr-field + .cr-field { margin-top: 16px; }
.cr-label { font-weight: 700; color: var(--cr-ink); font-size: 14.5px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cr-label .cr-req { color: var(--cr-danger); margin-inline-start: 2px; }
.cr-label .cr-opt { font-weight: 600; color: var(--cr-muted); font-size: 12.5px; }
.cr-input, .cr-select, .cr-textarea { width: 100%; min-height: 50px; padding: .75rem .95rem; font: inherit; font-size: 16px; color: var(--cr-ink); background: #fff; border: 1.5px solid #d5dfeb; border-radius: 12px; transition: border-color .18s, box-shadow .18s, background .18s; -webkit-appearance: none; appearance: none; }
.cr-textarea { min-height: 130px; line-height: 1.8; resize: vertical; }
.cr-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7a8c' stroke-width='1.8' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-inline-end: 2.4rem; }
[dir="ltr"] .cr-select { background-position: right 14px center; }
.cr-input::placeholder, .cr-textarea::placeholder { color: #9aa8b8; }
.cr-input:hover, .cr-select:hover, .cr-textarea:hover { border-color: #b9cbe0; }
.cr-input:focus, .cr-select:focus, .cr-textarea:focus { outline: none; border-color: var(--cr-primary); box-shadow: var(--cr-ring); }
.cr-input[readonly] { background: var(--cr-bg); color: var(--cr-text); }
.cr-input.is-ltr, .cr-input[type="email"], .cr-input[type="url"], .cr-input[type="tel"] { direction: ltr; text-align: start; }
[dir="rtl"] .cr-input[type="email"], [dir="rtl"] .cr-input[type="url"], [dir="rtl"] .cr-input[type="tel"], [dir="rtl"] .cr-input.is-ltr { text-align: right; }
.cr-field.has-error .cr-input, .cr-field.has-error .cr-select, .cr-field.has-error .cr-textarea, .cr-field.has-error .cr-chips { border-color: var(--cr-danger); background: #fffafa; }
.cr-field.has-error .cr-input:focus { box-shadow: 0 0 0 4px rgba(192, 57, 43, .14); }
.cr-field.is-valid .cr-input { border-color: #9fd3bd; }
.cr-hint { font-size: 13px; color: var(--cr-muted); line-height: 1.6; }
.cr-error { font-size: 13px; color: var(--cr-danger); font-weight: 700; display: none; align-items: center; gap: .35rem; line-height: 1.5; }
.cr-error::before { content: '!'; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--cr-danger); color: #fff; font-size: 11px; display: grid; place-items: center; }
.cr-field.has-error .cr-error { display: flex; }
.cr-pass { position: relative; }
.cr-pass .cr-input { padding-inline-end: 3rem; }
.cr-pass button { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--cr-muted); cursor: pointer; border-radius: 9px; }
.cr-pass button:hover { color: var(--cr-primary); background: var(--cr-soft); }
.cr-check { display: flex; gap: .7rem; align-items: flex-start; font-size: 14.5px; line-height: 1.7; cursor: pointer; color: var(--cr-text); }
.cr-check input { flex-shrink: 0; width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--cr-primary); }
.cr-counter { font-size: 12px; color: var(--cr-muted); font-variant-numeric: tabular-nums; }
.cr-row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cr-mt { margin-top: 18px; }
.cr-strength { height: 6px; border-radius: 999px; background: var(--cr-line-2); overflow: hidden; margin-top: 4px; }
.cr-strength span { display: block; height: 100%; width: 0; background: var(--cr-danger); transition: width .25s, background .25s; }

/* ---------- OTP ---------- */
.cr-otp-card { max-width: 520px; margin: 0 auto; text-align: center; }
.cr-otp-badge { width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; font-size: 30px; color: #fff; background: linear-gradient(135deg, var(--cr-primary), var(--cr-teal)); box-shadow: 0 14px 30px rgba(0, 87, 168, .28); }
.cr-otp-email { display: inline-block; direction: ltr; font-weight: 800; color: var(--cr-ink); background: var(--cr-bg); border: 1px solid var(--cr-line); border-radius: 10px; padding: .3rem .75rem; margin-top: 8px; word-break: break-all; }
.cr-otp { display: flex; justify-content: center; gap: 10px; direction: ltr; margin: 28px 0 10px; }
.cr-otp input { width: 56px; height: 64px; text-align: center; font-size: 26px; font-weight: 800; font-family: 'Poppins', monospace; color: var(--cr-ink); border: 1.5px solid #d5dfeb; border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; caret-color: var(--cr-primary); }
.cr-otp input:focus { outline: none; border-color: var(--cr-primary); box-shadow: var(--cr-ring); transform: translateY(-1px); }
.cr-otp input.is-filled { border-color: var(--cr-primary); background: var(--cr-soft); }
.cr-otp.is-error input { border-color: var(--cr-danger); animation: cr-shake .4s; }
@keyframes cr-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@media (max-width: 400px) { .cr-otp { gap: 6px; } .cr-otp input { width: 44px; height: 54px; font-size: 22px; border-radius: 12px; } }
.cr-otp-meta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--cr-muted); }
.cr-timer { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--cr-ink); }

/* ---------- wizard ---------- */
.cr-wizard-wrap { padding: 32px 0 80px; background: linear-gradient(180deg, var(--cr-bg) 0, #fff 420px); min-height: 70vh; }
.cr-wizard-head { margin-bottom: 22px; }
.cr-wizard-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; }
.cr-wizard-head p { color: var(--cr-muted); margin-top: 6px; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.cr-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: 13px; font-weight: 700; padding: .3rem .75rem; border-radius: 999px; background: var(--cr-soft); color: var(--cr-primary); border: 1px solid #d3e4f2; }
.cr-wizard { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; align-items: start; }
.cr-steps { position: sticky; top: 96px; background: #fff; border: 1px solid var(--cr-line); border-radius: var(--cr-radius); padding: 18px; box-shadow: var(--cr-shadow); }
.cr-progress { height: 8px; border-radius: 999px; background: var(--cr-line-2); overflow: hidden; margin: 4px 0 6px; }
.cr-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cr-primary), var(--cr-teal)); border-radius: inherit; transition: width .45s var(--cr-ease); }
.cr-progress-label { font-size: 13px; color: var(--cr-muted); font-weight: 700; display: flex; justify-content: space-between; }
.cr-steps ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 4px; }
.cr-steps li button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; background: none; border-radius: 12px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--cr-muted); text-align: start; cursor: pointer; transition: background .15s, color .15s; }
.cr-steps li button:hover:not([disabled]) { background: var(--cr-bg); }
.cr-steps li button[disabled] { cursor: default; }
.cr-step-dot { flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--cr-line-2); color: var(--cr-muted); transition: all .2s; }
.cr-steps li.is-current button { color: var(--cr-ink); background: var(--cr-soft); }
.cr-steps li.is-current .cr-step-dot { background: var(--cr-primary); color: #fff; box-shadow: 0 6px 14px rgba(0, 87, 168, .3); }
.cr-steps li.is-done .cr-step-dot { background: var(--cr-success-soft); color: var(--cr-success); }
.cr-steps li.is-done button { color: var(--cr-text); }
.cr-steps-mobile { display: none; }
.cr-panel { background: #fff; border: 1px solid var(--cr-line); border-radius: 20px; box-shadow: var(--cr-shadow); overflow: hidden; }
.cr-panel-body { padding: 30px; }
.cr-panel-head { margin-bottom: 22px; scroll-margin-top: 150px; }
.cr-panel-head h2 { font-size: 22px; font-weight: 900; display: flex; align-items: center; gap: .65rem; }
.cr-panel-head h2 .cr-icon { width: 40px; height: 40px; margin: 0; font-size: 16px; border-radius: 12px; }
.cr-panel-head p { color: var(--cr-muted); margin-top: 6px; line-height: 1.75; font-size: 15px; }
.cr-step { display: none; }
.cr-step.is-active { display: block; animation: cr-fade .35s var(--cr-ease); }
@keyframes cr-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cr-panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 30px; background: var(--cr-bg); border-top: 1px solid var(--cr-line); }
.cr-panel-foot .cr-draft { font-size: 13px; color: var(--cr-muted); display: inline-flex; align-items: center; gap: .4rem; opacity: 0; transition: opacity .3s; }
.cr-panel-foot .cr-draft.is-on { opacity: 1; }
.cr-panel-foot .cr-draft i { color: var(--cr-success); }
.cr-foot-actions { display: flex; gap: 10px; margin-inline-start: auto; }
@media (max-width: 960px) {
    .cr-wizard { grid-template-columns: 1fr; gap: 14px; }
    .cr-steps { display: none; }
    .cr-steps-mobile { display: block; position: sticky; top: 60px; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border: 1px solid var(--cr-line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--cr-shadow); }
    .cr-steps-mobile .cr-row-between { font-size: 13.5px; font-weight: 800; color: var(--cr-ink); }
    .cr-steps-mobile .cr-row-between span:last-child { color: var(--cr-muted); font-weight: 700; }
    .cr-mdots { display: flex; gap: 6px; margin-top: 8px; }
    .cr-mdots span { flex: 1; height: 5px; border-radius: 999px; background: var(--cr-line-2); transition: background .3s; }
    .cr-mdots span.is-done, .cr-mdots span.is-current { background: linear-gradient(90deg, var(--cr-primary), var(--cr-teal)); }
    .cr-mdots span.is-current { opacity: .55; }
}
@media (max-width: 640px) {
    .cr-wizard-wrap { padding: 18px 0 40px; }
    .cr-panel { border-radius: 16px; }
    .cr-panel-body { padding: 20px 16px; }
    .cr-panel-foot { position: sticky; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 20px rgba(11, 37, 69, .07); }
    .cr-panel-foot .cr-draft { display: none; }
    .cr-foot-actions { width: 100%; }
    .cr-foot-actions .cr-btn { flex: 1; padding-inline: .8rem; }
    .cr-panel-head h2 { font-size: 19px; }
}

/* position cards (radio) */
.cr-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .cr-options { grid-template-columns: 1fr; } }
.cr-option { position: relative; display: block; cursor: pointer; }
.cr-option input { position: absolute; opacity: 0; pointer-events: none; }
.cr-option-box { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 16px; padding-inline-end: 44px; border: 1.5px solid #d5dfeb; border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.cr-option-box::after { content: ''; position: absolute; top: 16px; inset-inline-end: 16px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c3d1e0; background: #fff; transition: all .15s; }
.cr-option:hover .cr-option-box { border-color: #a9c1db; }
.cr-option input:checked + .cr-option-box { border-color: var(--cr-primary); background: var(--cr-soft); box-shadow: 0 0 0 3px rgba(0, 87, 168, .1); }
.cr-option input:checked + .cr-option-box::after { border-color: var(--cr-primary); background: var(--cr-primary); box-shadow: inset 0 0 0 4px #fff; }
.cr-option input:focus-visible + .cr-option-box { box-shadow: var(--cr-ring); }
.cr-option-title { font-weight: 800; color: var(--cr-ink); font-size: 15.5px; line-height: 1.45; }
.cr-option-dept { font-size: 12.5px; font-weight: 800; color: var(--cr-teal); }
.cr-option .cr-meta li { font-size: 12px; padding: .2rem .55rem; background: #fff; }
.cr-option-general .cr-option-box { border-style: dashed; }
.cr-option-general .cr-option-title i { color: var(--cr-teal); }
.cr-subfield { margin-top: 14px; padding: 16px; border-radius: 14px; background: var(--cr-bg); border: 1px solid var(--cr-line-2); }

/* skill chips */
.cr-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 54px; padding: 8px; border: 1.5px solid #d5dfeb; border-radius: 12px; background: #fff; cursor: text; transition: border-color .18s, box-shadow .18s; }
.cr-chips:focus-within { border-color: var(--cr-primary); box-shadow: var(--cr-ring); }
.cr-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .4rem .35rem .75rem; border-radius: 999px; background: var(--cr-primary); color: #fff; font-size: 14px; font-weight: 700; animation: cr-pop .2s var(--cr-ease); max-width: 100%; }
[dir="rtl"] .cr-chip { padding: .35rem .75rem .35rem .4rem; }
.cr-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-chip button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .22); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 11px; flex-shrink: 0; }
.cr-chip button:hover { background: rgba(255, 255, 255, .38); }
@keyframes cr-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.cr-chips input { flex: 1; min-width: 160px; border: 0; outline: none; font: inherit; font-size: 16px; padding: .4rem .3rem; background: transparent; color: var(--cr-ink); }
.cr-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.cr-suggest-label { font-size: 12.5px; font-weight: 800; color: var(--cr-muted); margin-inline-end: 4px; }
.cr-suggest button { border: 1px dashed #b9cbe0; background: #fff; color: var(--cr-text); border-radius: 999px; padding: .3rem .7rem; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s; }
.cr-suggest button:hover { border-style: solid; border-color: var(--cr-primary); color: var(--cr-primary); background: var(--cr-soft); }
.cr-suggest button::before { content: '+ '; font-weight: 800; }

/* dropzone + files */
.cr-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 28px 18px; border: 2px dashed #b9cbe0; border-radius: 16px; background: linear-gradient(180deg, #fff, var(--cr-bg)); cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.cr-drop:hover, .cr-drop.is-over { border-color: var(--cr-primary); background: var(--cr-soft); }
.cr-drop.is-over { transform: scale(1.01); }
.cr-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.cr-drop-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: #fff; color: var(--cr-primary); box-shadow: var(--cr-shadow); }
.cr-drop strong { color: var(--cr-ink); font-size: 15.5px; }
.cr-drop small { color: var(--cr-muted); font-size: 13px; }
.cr-drop.is-compact { padding: 18px; flex-direction: row; gap: 14px; text-align: start; justify-content: flex-start; }
.cr-drop.is-compact .cr-drop-icon { width: 46px; height: 46px; font-size: 19px; flex-shrink: 0; }
.cr-drop.is-hidden { display: none; }
.cr-files { display: grid; gap: 10px; margin-top: 12px; }
.cr-file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--cr-line); border-radius: 14px; background: #fff; animation: cr-fade .25s var(--cr-ease); }
.cr-file.is-error { border-color: #f6c9c6; background: #fffafa; }
.cr-file-thumb { width: 52px; height: 64px; border-radius: 9px; display: grid; place-items: center; font-size: 22px; background: var(--cr-bg); border: 1px solid var(--cr-line); overflow: hidden; color: var(--cr-primary); position: relative; }
.cr-file-thumb canvas, .cr-file-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cr-file-thumb .fa-file-pdf { color: #d93025; }
.cr-file-thumb .fa-file-word { color: #2b579a; }
.cr-file-thumb .fa-file-image { color: #0f9d58; }
.cr-file-info { min-width: 0; }
.cr-file-name { font-weight: 800; color: var(--cr-ink); font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: start; }
[dir="rtl"] .cr-file-name { text-align: right; }
.cr-file-sub { font-size: 12.5px; color: var(--cr-muted); margin-top: 2px; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.cr-file-sub .is-ok { color: var(--cr-success); font-weight: 700; }
.cr-file-sub .is-err { color: var(--cr-danger); font-weight: 700; }
.cr-file-bar { height: 6px; border-radius: 999px; background: var(--cr-line-2); margin-top: 8px; overflow: hidden; }
.cr-file-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cr-primary), var(--cr-teal)); transition: width .15s linear; }
.cr-file-actions { display: flex; gap: 6px; }
.cr-icon-btn { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--cr-line); background: #fff; color: var(--cr-text) !important; display: grid; place-items: center; cursor: pointer; text-decoration: none; transition: all .15s; font-size: 14px; }
.cr-icon-btn:hover { border-color: var(--cr-primary); color: var(--cr-primary) !important; background: var(--cr-soft); }
.cr-icon-btn.is-danger:hover { border-color: var(--cr-danger); color: var(--cr-danger) !important; background: var(--cr-danger-soft); }
.cr-saved-files { margin-top: 16px; }
.cr-saved-files h3 { font-size: 14px; color: var(--cr-muted); margin-bottom: 10px; display: flex; align-items: center; gap: .4rem; }
.cr-saved { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px dashed #c9d6e6; border-radius: 12px; background: var(--cr-bg); font-size: 14px; }
.cr-saved + .cr-saved { margin-top: 8px; }
.cr-saved i { color: var(--cr-primary); }
.cr-saved span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: start; font-weight: 700; color: var(--cr-ink); }
[dir="rtl"] .cr-saved span { text-align: right; }
.cr-files-error { margin-top: 10px; }
.cr-block-title { font-size: 16px; font-weight: 800; color: var(--cr-ink); margin: 0 0 10px; display: flex; align-items: center; gap: .5rem; }
.cr-block + .cr-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--cr-line-2); }

/* review */
.cr-review { display: grid; gap: 14px; }
.cr-review-sec { border: 1px solid var(--cr-line); border-radius: 14px; overflow: hidden; }
.cr-review-sec header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--cr-bg); border-bottom: 1px solid var(--cr-line); }
.cr-review-sec header h3 { font-size: 15.5px; display: flex; align-items: center; gap: .5rem; }
.cr-review-sec header h3 i { color: var(--cr-teal); }
.cr-review-sec header button { display: inline-flex; gap: .35rem; align-items: center; border: 0; background: #fff; border: 1px solid var(--cr-line); border-radius: 9px; padding: .35rem .7rem; font: inherit; font-size: 13px; font-weight: 800; color: var(--cr-primary); cursor: pointer; }
.cr-review-sec header button:hover { border-color: var(--cr-primary); }
.cr-review-sec dl { margin: 0; padding: 6px 16px 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.cr-review-sec dl > div { padding: 9px 0; border-bottom: 1px solid var(--cr-line-2); min-width: 0; }
.cr-review-sec dl > div.is-wide { grid-column: 1 / -1; }
.cr-review-sec dt { font-size: 12.5px; color: var(--cr-muted); font-weight: 700; margin-bottom: 2px; }
.cr-review-sec dd { margin: 0; color: var(--cr-ink); font-weight: 600; font-size: 14.5px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.cr-review-sec dd.is-empty { color: #a0adbb; font-weight: 400; }
.cr-review-sec dd .cr-chip { font-size: 12.5px; padding: .2rem .6rem; margin: 2px; }
@media (max-width: 640px) { .cr-review-sec dl { grid-template-columns: 1fr; } }
.cr-consent { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--cr-bg); border: 1px solid var(--cr-line); display: grid; gap: 12px; }

/* success */
.cr-success { text-align: center; padding: 56px 0 80px; }
.cr-success-card { max-width: 680px; margin: 0 auto; padding: 40px 32px; }
.cr-check-anim { width: 104px; height: 104px; margin: 0 auto 22px; }
.cr-check-anim circle { stroke: var(--cr-success); stroke-width: 4; fill: var(--cr-success-soft); stroke-dasharray: 302; stroke-dashoffset: 302; animation: cr-draw .7s var(--cr-ease) forwards; }
.cr-check-anim path { stroke: var(--cr-success); stroke-width: 6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; animation: cr-draw .45s .55s var(--cr-ease) forwards; }
@keyframes cr-draw { to { stroke-dashoffset: 0; } }
.cr-success h1 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; margin-bottom: 10px; }
.cr-success > .cr-container > .cr-card > p { color: var(--cr-muted); font-size: 16.5px; line-height: 1.9; }
.cr-ref { display: inline-flex; align-items: center; gap: 12px; margin: 24px 0 8px; padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--cr-bg); border: 1.5px dashed #b9cbe0; }
.cr-ref small { display: block; font-size: 12px; color: var(--cr-muted); font-weight: 700; }
.cr-ref strong { font-family: 'Poppins', monospace; font-size: 22px; letter-spacing: .06em; color: var(--cr-deep); direction: ltr; display: block; }
.cr-next { text-align: start; margin: 26px auto 0; max-width: 520px; display: grid; gap: 12px; list-style: none; padding: 0; counter-reset: n; }
.cr-next li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.8; font-size: 15px; }
.cr-next li::before { counter-increment: n; content: counter(n); flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cr-soft); color: var(--cr-primary); font-weight: 800; font-size: 13px; margin-top: 2px; }
.cr-confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.cr-confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; opacity: .9; animation: cr-fall linear forwards; }
@keyframes cr-fall { to { transform: translate3d(var(--dx), 105vh, 0) rotate(var(--rot)); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .cr-confetti { display: none; } .cr-check-anim circle, .cr-check-anim path { animation-duration: 0s; } .cr-step.is-active { animation: none; } }

/* ---------- profile + my applications ---------- */
.cr-dash { padding: 32px 0 80px; background: linear-gradient(180deg, var(--cr-bg) 0, #fff 380px); }
.cr-dash-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--cr-line); box-shadow: var(--cr-shadow); margin-bottom: 22px; }
.cr-avatar { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; font-size: 26px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--cr-primary), var(--cr-teal)); flex-shrink: 0; }
.cr-dash-head h1 { font-size: 24px; font-weight: 900; }
.cr-dash-head p { color: var(--cr-muted); margin-top: 4px; font-size: 14.5px; }
.cr-dash-head .cr-actions { margin-inline-start: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.cr-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: 12.5px; font-weight: 800; padding: .28rem .7rem; border-radius: 999px; border: 1px solid; }
.cr-badge-success { background: var(--cr-success-soft); color: var(--cr-success); border-color: #bfe8d3; }
.cr-badge-warn { background: var(--cr-warn-soft); color: var(--cr-warn); border-color: #f6dcaa; }
.cr-badge-info { background: var(--cr-soft); color: var(--cr-primary); border-color: #cfe0f3; }
.cr-badge-danger { background: var(--cr-danger-soft); color: var(--cr-danger); border-color: #f6c9c6; }
.cr-badge-muted { background: #f2f4f7; color: #5b6676; border-color: #e4e7ec; }
.cr-dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 960px) { .cr-dash-grid { grid-template-columns: 1fr; } .cr-dash-head .cr-actions { margin-inline-start: 0; width: 100%; } .cr-dash-head .cr-actions .cr-btn { flex: 1; } }
.cr-card-title { font-size: 17px; font-weight: 900; color: var(--cr-ink); display: flex; align-items: center; gap: .55rem; margin-bottom: 16px; }
.cr-card-title i { color: var(--cr-teal); }
.cr-card + .cr-card { margin-top: 18px; }
.cr-meter { height: 10px; border-radius: 999px; background: var(--cr-line-2); overflow: hidden; }
.cr-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cr-primary), var(--cr-teal)); }
.cr-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.cr-kv dt { font-size: 12.5px; color: var(--cr-muted); font-weight: 700; }
.cr-kv dd { margin: 2px 0 0; color: var(--cr-ink); font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
@media (max-width: 560px) { .cr-kv { grid-template-columns: 1fr; } }
.cr-app { padding: 20px; border: 1px solid var(--cr-line); border-radius: 16px; background: #fff; }
.cr-app + .cr-app { margin-top: 14px; }
.cr-app-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.cr-app h3 { font-size: 17px; }
.cr-app-sub { font-size: 13.5px; color: var(--cr-muted); margin-top: 4px; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.cr-app-sub span { display: inline-flex; gap: .35rem; align-items: center; }
.cr-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 18px 0 4px; list-style: none; padding: 0; }
.cr-timeline li { position: relative; padding-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--cr-muted); text-align: center; }
.cr-timeline li::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 6px; border-radius: 999px; background: var(--cr-line-2); }
.cr-timeline li.is-on { color: var(--cr-ink); }
.cr-timeline li.is-on::before { background: linear-gradient(90deg, var(--cr-primary), var(--cr-teal)); }
.cr-timeline li.is-neg::before { background: #e7b3ad; }
.cr-app-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--cr-line-2); font-size: 13.5px; color: var(--cr-muted); }
.cr-app-foot .cr-locked { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; color: var(--cr-warn); }
.cr-doc { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--cr-line-2); }
.cr-doc:last-child { border-bottom: 0; }
.cr-doc i { font-size: 20px; color: var(--cr-primary); width: 24px; text-align: center; }
.cr-doc span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--cr-ink); font-size: 14px; }
.cr-doc small { color: var(--cr-muted); font-size: 12px; }
.cr-quick { display: grid; gap: 10px; }
.cr-quick a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--cr-line); text-decoration: none; color: var(--cr-ink) !important; font-weight: 700; font-size: 14.5px; transition: all .15s; }
.cr-quick a:hover { border-color: var(--cr-primary); background: var(--cr-soft); }
.cr-quick a small { display: block; color: var(--cr-muted); font-weight: 600; font-size: 12.5px; }
.cr-quick a i { color: var(--cr-primary); }

/* phones: icon beside text keeps the long landing page shorter */
@media (max-width: 560px) {
    .cr-feature, .cr-team { display: grid; grid-template-columns: 46px 1fr; gap: 4px 14px; text-align: start; padding: 18px; }
    .cr-feature .cr-icon, .cr-team .cr-icon { grid-row: span 2; width: 46px; height: 46px; font-size: 18px; margin: 0; }
    .cr-feature h3, .cr-team h3 { margin: 2px 0 2px; }
    .cr-grid { gap: 12px; }
}

/* category chips count */
.cr-chip-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-inline-start: 4px; border-radius: 999px; background: var(--cr-bg); color: var(--cr-muted); font-size: 12px; }
.cr-chip-btn[aria-pressed="true"] .cr-chip-count { background: rgba(255, 255, 255, .22); color: #fff; }
.cr-chip-btn[disabled] { opacity: .45; cursor: default; }

/* training programs */
.cr-programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .cr-programs { grid-template-columns: 1fr; } }
.cr-program { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--cr-line); box-shadow: var(--cr-shadow); }
.cr-program-top { display: flex; justify-content: space-between; align-items: center; }
.cr-program .cr-icon { margin: 0; }
.cr-program h3 { font-size: 21px; }
.cr-program h3 a { color: inherit; text-decoration: none; }
.cr-program p { line-height: 1.85; color: var(--cr-muted); }
.cr-program-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; }
.cr-program-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.7; }
.cr-program-points i { color: var(--cr-teal); margin-top: .35rem; font-size: 12px; }
.cr-program.is-featured { color: #fff; border-color: transparent; background: radial-gradient(500px 260px at 100% 0%, rgba(77, 161, 169, .55), transparent 60%), linear-gradient(150deg, var(--cr-navy), var(--cr-deep) 55%, var(--cr-primary)); }
.cr-program.is-featured h3, .cr-program.is-featured h3 a { color: #fff; }
.cr-program.is-featured p, .cr-program.is-featured li { color: rgba(255, 255, 255, .88); }
.cr-program.is-featured .cr-program-points i { color: #9fe0e5; }
.cr-program.is-featured .cr-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.cr-group-title { font-size: 13.5px; font-weight: 800; color: var(--cr-muted); margin: 6px 0 10px; }
.cr-options + .cr-group-title { margin-top: 20px; }
/* chosen role only, until "change" is pressed */
#crPosGroup.is-collapsed .cr-group-title, #crPosGroup.is-collapsed .cr-option:not(:has(input:checked)) { display: none; }
#crPosGroup.is-collapsed .cr-options { grid-template-columns: 1fr; }
@media (max-width: 640px) {
    .cr-option .cr-meta li:nth-child(n+3) { display: none; }
    .cr-option-box { padding: 14px; padding-inline-end: 42px; gap: 6px; }
}
