:root {
    --aej-navy: #0b1f44;
    --aej-blue: #1d4ed8;
    --aej-blue-soft: #e8efff;
    --aej-amber: #f59e0b;
    --aej-ink: #0f172a;
    --aej-muted: #64748b;
    --aej-line: #e6eaf2;
    --aej-bg: #f6f8fc;
    --aej-radius: 14px;
    --bs-primary: #1d4ed8;
    --bs-primary-rgb: 29, 78, 216;
    --bs-link-color: #1d4ed8;
    --bs-link-color-rgb: 29, 78, 216;
    --bs-link-hover-color: #1e40af;
    --bs-body-color: #0f172a;
    --bs-border-radius: 10px;
    --bs-border-radius-lg: 12px;
}

body { font-family: 'Cairo', 'Inter', system-ui, sans-serif; background: var(--aej-bg); color: var(--aej-ink); }
html[lang="en"] body { font-family: 'Inter', 'Cairo', system-ui, sans-serif; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.01em; }
.pre-line { white-space: pre-line; }
.text-muted { color: var(--aej-muted) !important; }

/* Buttons */
.btn { font-weight: 600; border-radius: 10px; }
.btn-primary { --bs-btn-bg: var(--aej-blue); --bs-btn-border-color: var(--aej-blue); --bs-btn-hover-bg: #1e40af; --bs-btn-hover-border-color: #1e40af; --bs-btn-active-bg: #1e3a8a; }
.btn-outline-primary { --bs-btn-color: var(--aej-blue); --bs-btn-border-color: var(--aej-blue); --bs-btn-hover-bg: var(--aej-blue); --bs-btn-hover-border-color: var(--aej-blue); }
.btn-accent { background: var(--aej-amber); border-color: var(--aej-amber); color: #1f1300; }
.btn-accent:hover { background: #d97706; border-color: #d97706; color: #1f1300; }
.btn-facebook { background: #1877f2; border-color: #1877f2; color: #fff; }
.btn-facebook:hover { background: #0f63d6; color: #fff; }

/* Forms */
.form-control, .form-select { border-color: var(--aej-line); border-radius: 10px; padding: .6rem .85rem; }
.form-control:focus, .form-select:focus { border-color: #93b4fb; box-shadow: 0 0 0 .2rem rgba(29, 78, 216, .12); }
.form-label { font-weight: 600; font-size: .92rem; }

/* Cards */
.card { border: 1px solid var(--aej-line); border-radius: var(--aej-radius); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.card-header { background: #fff; border-bottom-color: var(--aej-line); font-weight: 700; }
.table { --bs-table-bg: transparent; }
.table > :not(caption) > * > * { border-bottom-color: var(--aej-line); padding: .75rem; }
.badge { font-weight: 600; }
.alert { border-radius: 12px; border: 0; }
.pagination { --bs-pagination-border-radius: 10px; }

/* Navbar */
.aej-nav { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--aej-line); }
.aej-nav .nav-link { font-weight: 600; color: #334155; border-radius: 8px; padding: .45rem .8rem !important; }
.aej-nav .nav-link:hover, .aej-nav .nav-link.active { color: var(--aej-blue); background: var(--aej-blue-soft); }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; color: var(--aej-navy) !important; font-size: 1.15rem; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 1.2rem; background: linear-gradient(135deg, var(--aej-blue), #0ea5e9); box-shadow: 0 6px 14px rgba(29, 78, 216, .3); }
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--aej-muted); letter-spacing: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(14, 165, 233, .35), transparent 60%), linear-gradient(135deg, #0b1f44 0%, #12306b 55%, #1d4ed8 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000 30%, transparent); }
.hero > * { position: relative; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.25; }
.hero .lead { color: rgba(255, 255, 255, .78); }
.hero-tag { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; font-weight: 600; }
.search-box { background: #fff; border-radius: 16px; padding: .6rem; box-shadow: 0 20px 50px rgba(2, 6, 23, .3); }
.search-box .form-control, .search-box .form-select { border: 0; background-color: #f3f6fb; padding: .85rem 1rem; }
.quick-links a { color: #fff; text-decoration: none; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .85rem; border: 1px solid rgba(255, 255, 255, .15); }
.quick-links a:hover { background: rgba(255, 255, 255, .22); }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.7rem; font-weight: 800; }
.stat span { color: rgba(255, 255, 255, .7); font-size: .88rem; }

/* Sections */
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-title h2 { font-size: 1.5rem; margin: 0; }
.section-title p { margin: .25rem 0 0; color: var(--aej-muted); }
.eyebrow { color: var(--aej-blue); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }

.spec-card { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; background: #fff; border: 1px solid var(--aej-line); border-radius: var(--aej-radius); color: var(--aej-ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; height: 100%; }
.spec-card:hover { transform: translateY(-2px); border-color: #c7d6fb; box-shadow: 0 10px 24px rgba(29, 78, 216, .1); color: var(--aej-ink); }
.spec-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--aej-blue-soft); color: var(--aej-blue); font-size: 1.25rem; flex-shrink: 0; }
.spec-card .name { font-weight: 700; line-height: 1.3; }
.spec-card .count { font-size: .8rem; color: var(--aej-muted); }

/* Job card */
.job-card { position: relative; background: #fff; border: 1px solid var(--aej-line); border-radius: var(--aej-radius); padding: 1.1rem 1.25rem; margin-bottom: .85rem; display: flex; gap: 1rem; align-items: flex-start; transition: box-shadow .15s, border-color .15s, transform .15s; }
.job-card:hover { border-color: #c7d6fb; box-shadow: 0 12px 28px rgba(15, 23, 42, .08); transform: translateY(-1px); }
.job-card h3 { font-size: 1.08rem; margin: 0 0 .15rem; }
.job-card h3 a { color: var(--aej-ink); text-decoration: none; }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; }
.job-card .company { color: var(--aej-muted); font-size: .9rem; font-weight: 600; }
.job-card .when { color: var(--aej-muted); font-size: .8rem; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #f1f5f9; color: #334155; }
.chip-blue { background: var(--aej-blue-soft); color: var(--aej-blue); }
.chip-green { background: #e7f8ef; color: #047857; }
.chip-amber { background: #fff4e0; color: #b45309; }
.chip-new { background: var(--aej-amber); color: #1f1300; }

/* Logos */
.logo { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--aej-line); }
.logo-ph { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, var(--aej-blue-soft), #dbeafe); color: var(--aej-blue); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; }

/* Steps & CTA */
.step { background: #fff; border: 1px solid var(--aej-line); border-radius: var(--aej-radius); padding: 1.5rem; height: 100%; }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--aej-navy); color: #fff; font-weight: 800; margin-bottom: .9rem; }
.cta { border-radius: 20px; padding: 2rem; color: #fff; height: 100%; position: relative; overflow: hidden; }
.cta-company { background: linear-gradient(135deg, #0b1f44, #1d4ed8); }
.cta-seeker { background: linear-gradient(135deg, #065f46, #10b981); }
.cta i.big { position: absolute; inset-inline-end: -10px; bottom: -20px; font-size: 7rem; opacity: .12; }
.cta p { color: rgba(255, 255, 255, .8); }

/* Page header */
.page-head { background: linear-gradient(135deg, #0b1f44, #1d4ed8); color: #fff; padding: 2rem 0; }
.page-head p { color: rgba(255, 255, 255, .75); margin: 0; }

/* Auth */
.auth-wrap { max-width: 480px; }
.auth-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 1rem; background: var(--aej-blue-soft); color: var(--aej-blue); font-size: 1.6rem; }

/* Footer */
.aej-footer { background: var(--aej-navy); color: rgba(255, 255, 255, .65); }
.aej-footer h6 { color: #fff; margin-bottom: .9rem; }
.aej-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.aej-footer a:hover { color: #fff; }
.aej-footer .brand { color: #fff !important; }
.aej-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); }

/* ===== Polish pass ===== */
::selection { background: var(--aej-amber); color: #1f1300; }
html { scroll-behavior: smooth; }

/* Scroll reveal (elements get .reveal via JS; no-JS stays visible) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none; }
    html { scroll-behavior: auto; }
}

/* Navbar shadow when scrolled */
.aej-nav { transition: box-shadow .25s ease; }
.aej-nav.scrolled { box-shadow: 0 8px 24px rgba(15, 23, 42, .09); }

/* Buttons: subtle lift */
.btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s, border-color .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary:hover, .btn-accent:hover { box-shadow: 0 6px 16px rgba(15, 23, 42, .18); }

/* Hero: floating glow orbs + entrance */
.hero::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 158, 11, .22), transparent 65%); inset-inline-end: -60px; bottom: -120px; animation: aej-float 9s ease-in-out infinite alternate; pointer-events: none; }
.hero-tag { animation: aej-pop .5s cubic-bezier(.22,.61,.36,1) .1s backwards; }
.hero h1 { animation: aej-rise .6s cubic-bezier(.22,.61,.36,1) .2s backwards; }
.hero .lead { animation: aej-rise .6s cubic-bezier(.22,.61,.36,1) .32s backwards; }
.hero .search-box { animation: aej-rise .7s cubic-bezier(.22,.61,.36,1) .45s backwards; }
@keyframes aej-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes aej-pop { from { opacity: 0; transform: scale(.85); } }
@keyframes aej-float { to { transform: translateY(-28px) translateX(-18px); } }

/* Job card: gradient accent edge on hover */
.job-card { border-inline-start: 3px solid transparent; }
.job-card:hover { border-inline-start-color: var(--aej-amber); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15, 23, 42, .1); }
.job-card h3 a:hover { color: var(--aej-blue); }

/* Spec icon invert on hover */
.spec-card .spec-icon { transition: background .2s, color .2s, transform .2s; }
.spec-card:hover .spec-icon { background: linear-gradient(135deg, var(--aej-blue), #0ea5e9); color: #fff; transform: scale(1.05); }

/* Steps: hover lift + numbered circle gradient */
.step { transition: transform .2s, box-shadow .2s, border-color .2s; }
.step:hover { transform: translateY(-3px); border-color: #c7d6fb; box-shadow: 0 12px 28px rgba(29, 78, 216, .1); }
.step-num { background: linear-gradient(135deg, var(--aej-navy), var(--aej-blue)); box-shadow: 0 6px 14px rgba(29, 78, 216, .3); }

/* Cards default hover polish */
.card { transition: box-shadow .2s, border-color .2s; }

/* Footer gradient top edge */
.aej-footer { position: relative; }
.aej-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: linear-gradient(90deg, var(--aej-amber), #0ea5e9, var(--aej-blue)); }
.aej-footer a { transition: color .15s; }

/* New chip shimmer */
.chip-new { animation: aej-glow 2.4s ease-in-out infinite; }
@keyframes aej-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .45); } 50% { box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); } }

/* Back to top */
.back-top { position: fixed; inset-inline-end: 1.25rem; bottom: 1.25rem; z-index: 1040; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--aej-navy), var(--aej-blue)); color: #fff; font-size: 1.1rem; box-shadow: 0 10px 24px rgba(15, 23, 42, .3); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: linear-gradient(135deg, var(--aej-blue), #0ea5e9); }

/* Jobs index polish */
.job-filters { position: sticky; top: 76px; align-self: start; }
.filter-label { display: block; font-size: .78rem; font-weight: 700; color: var(--aej-muted); margin-bottom: .3rem; }
.filter-label i { margin-inline-end: .2rem; }
.empty-state i { font-size: 3rem; color: #cbd5e1; }
.chips .chip { text-decoration: none; }
.chips-lg { gap: .5rem; }
.chips-lg .chip { font-size: .88rem; padding: .38rem .85rem; }
.chips-lg .chip:hover { background: var(--aej-blue); color: #fff; }
.chip-count { opacity: .55; font-weight: 700; }
.footer-chip { display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .6rem; border-radius: 999px; background: rgba(255,255,255,.08); }
.footer-chip:hover { background: rgba(255,255,255,.18); color: #fff; }
.chips a.chip:hover { filter: brightness(.95); }
.page-head h1 i { font-size: .85em; opacity: .8; }

/* Job show page polish */
.job-hero-card { overflow: hidden; }
.job-hero-strip { height: 8px; background: linear-gradient(90deg, var(--aej-amber), #0ea5e9, var(--aej-blue)); }
.job-hero-logo .logo, .job-hero-logo .logo-ph { width: 64px; height: 64px; }
.company-link { color: var(--aej-muted); font-weight: 600; text-decoration: none; }
.company-link:hover { color: var(--aej-blue); }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; }
.fact { display: flex; align-items: center; gap: .65rem; background: #f8fafc; border: 1px solid var(--aej-line); border-radius: 12px; padding: .6rem .8rem; }
.fact > i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--aej-blue-soft); color: var(--aej-blue); font-size: 1rem; flex-shrink: 0; }
.fact span { display: block; font-size: .72rem; color: var(--aej-muted); font-weight: 600; }
.fact strong { font-size: .9rem; }
.job-sec-title { display: flex; align-items: center; gap: .45rem; padding-inline-start: .6rem; border-inline-start: 4px solid var(--aej-amber); margin-bottom: .9rem; }
.job-desc { line-height: 1.85; font-size: .98rem; }
.req-list { padding-inline-start: 1.2rem; }
.req-list li { margin-bottom: .4rem; }
.req-list li::marker { color: var(--aej-blue); }
.apply-col { position: sticky; top: 76px; }
.apply-card { border-top: 3px solid var(--aej-amber); }
.contact-row { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border: 1px solid var(--aej-line); border-radius: 10px; text-decoration: none; color: var(--aej-ink); margin-bottom: .5rem; transition: border-color .15s, background .15s; }
.contact-row:hover { border-color: #c7d6fb; background: #f8faff; color: var(--aej-ink); }
.contact-row i { font-size: 1.15rem; color: var(--aej-blue); }
.contact-row span { display: block; font-size: .72rem; color: var(--aej-muted); font-weight: 600; }
.contact-row strong { font-size: .85rem; word-break: break-all; }

/* Admin polish */
.admin-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: linear-gradient(135deg, var(--aej-navy), #1e3a8a); border-radius: var(--aej-radius); padding: .65rem 1rem; color: #fff; }
.admin-nav-brand { font-weight: 800; font-size: 1rem; display: inline-flex; align-items: center; gap: .4rem; }
.admin-nav-brand i { color: var(--aej-amber); }
.admin-nav-link { color: rgba(255, 255, 255, .75); text-decoration: none; font-weight: 600; font-size: .88rem; padding: .4rem .8rem; border-radius: 8px; transition: background .15s, color .15s; }
.admin-nav-link:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.admin-nav-link.active { color: #fff; background: var(--aej-blue); }

.stat-tile { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--aej-line); border-radius: var(--aej-radius); padding: .9rem 1rem; height: 100%; }
.stat-tile-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.stat-tile-num { font-size: 1.55rem; font-weight: 800; line-height: 1.1; }
.stat-tile-label { font-size: .78rem; color: var(--aej-muted); font-weight: 600; }
.st-blue .stat-tile-icon { background: var(--aej-blue-soft); color: var(--aej-blue); }
.st-green .stat-tile-icon { background: #e7f8ef; color: #047857; }
.st-amber .stat-tile-icon { background: #fff4e0; color: #b45309; }
.st-violet .stat-tile-icon { background: #ede9fe; color: #6d28d9; }
.st-cyan .stat-tile-icon { background: #e0f7fa; color: #0e7490; }

.table-aej thead th { background: #f8fafc; color: var(--aej-muted); font-size: .78rem; font-weight: 700; border-bottom: 1px solid var(--aej-line); white-space: nowrap; }
.table-aej tbody tr:hover { background: #fafcff; }

/* Arabic typography polish */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4, html[lang="ar"] .brand, html[lang="ar"] .btn { letter-spacing: 0; }
.hero h1 { font-weight: 900; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--aej-amber); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; inset-inline: -2px; bottom: -4px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 Q 30 2 60 8 T 118 6' fill='none' stroke='%23f59e0b' stroke-width='5' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.hero .lead { font-weight: 600; max-width: 640px; margin-inline: auto; text-wrap: balance; }
html[lang="ar"] body { text-rendering: optimizeLegibility; }

/* Admin bot chat */
.chat-scroll { overflow-y: auto; padding: .75rem; background: #f1f5f9; border-radius: 12px; display: flex; flex-direction: column; gap: .5rem; }
.chat-msg { display: flex; }
.chat-in { justify-content: flex-end; }
.chat-out { justify-content: flex-start; }
.chat-bubble { max-width: 78%; padding: .5rem .8rem; border-radius: 14px; font-size: .86rem; line-height: 1.55; white-space: pre-line; word-break: break-word; box-shadow: 0 1px 2px rgba(11,31,68,.06); }
.chat-in .chat-bubble { background: var(--aej-blue); color: #fff; border-end-end-radius: 4px; }
.chat-out .chat-bubble { background: #fff; color: var(--aej-ink); border: 1px solid #e2e8f0; border-end-start-radius: 4px; }
.conv-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,#1877f2,#0e5ecf); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.conv-job { font-size: .85rem; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: .45rem .7rem; }
.admin-chat-sim { border-top: 4px solid var(--aej-blue); }
.conv-avatar-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #e2e8f0; }

/* Admin dashboard v2 */
.alert-needs-human { display: flex; align-items: center; gap: .6rem; background: linear-gradient(135deg,#fef3c7,#fde68a); border: 1px solid #f59e0b; color: #78350f; padding: .75rem 1rem; border-radius: 12px; text-decoration: none; margin-bottom: 1rem; font-size: .92rem; transition: transform .2s; }
.alert-needs-human:hover { transform: translateY(-1px); color: #78350f; }
.card-section-title { font-size: .85rem; font-weight: 700; color: var(--aej-ink); margin-bottom: .9rem; }
.card-section-title i { margin-inline-end: .4rem; }
.text-violet { color: #8b5cf6 !important; }
.text-cyan { color: #06b6d4 !important; }
.week-tile { background: #f8fafc; border: 1px solid #e8eef5; border-radius: 12px; padding: .8rem .5rem; }
.week-num { font-size: 1.35rem; font-weight: 800; color: var(--aej-navy); }
.week-label { font-size: .72rem; color: #64748b; margin-top: .15rem; }
.mini-bar-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.mini-bar-label { flex: 0 0 110px; font-size: .8rem; color: var(--aej-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-bar-track { flex: 1; height: 8px; background: #e8eef5; border-radius: 99px; overflow: hidden; }
.mini-bar-fill { height: 100%; background: linear-gradient(90deg,var(--aej-blue),#38bdf8); border-radius: 99px; }
.mini-bar-fill.fill-amber { background: linear-gradient(90deg,#f59e0b,#fbbf24); }
.mini-bar-num { font-size: .78rem; font-weight: 700; color: var(--aej-navy); min-width: 22px; text-align: end; }

/* Admin jobs */
.status-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.status-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 99px; border: 1px solid #e2e8f0; background: #fff; font-size: .8rem; color: #475569; text-decoration: none; transition: all .15s; }
.status-chip b { font-weight: 700; color: var(--aej-navy); }
.status-chip:hover { border-color: var(--aej-blue); color: var(--aej-blue); }
.status-chip.active { background: var(--aej-navy); border-color: var(--aej-navy); color: #fff; }
.status-chip.active b { color: #fbbf24; }
.status-chip.chip-pending:not(.active) { border-color: #fde68a; background: #fffbeb; }
.row-pending { background: #fffdf5 !important; box-shadow: inset 3px 0 0 #f59e0b; }
.input-icon { position: relative; flex: 1; min-width: 220px; max-width: 320px; }
.input-icon i { position: absolute; inset-inline-start: .75rem; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.input-icon .form-control { padding-inline-start: 2.2rem; }
.contact-locked { display: flex; gap: .6rem; align-items: flex-start; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: .65rem .8rem; font-size: .85rem; color: #475569; }
.contact-locked i { color: var(--aej-amber); font-size: 1.05rem; margin-top: .1rem; }
.contact-locked a { color: var(--aej-blue); font-weight: 600; }
button.contact-reveal { width: 100%; background: #fff; text-align: start; font: inherit; cursor: pointer; }
button.contact-reveal .rv { color: var(--aej-blue); }
.contact-row.revealed .rv { color: var(--aej-ink); }
.user-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--aej-blue-soft), #dbeafe); color: var(--aej-blue); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem; flex-shrink: 0; }
.user-av.av-off { background: #e2e8f0; color: #94a3b8; }
.row-disabled { background: #f8fafc !important; opacity: .7; }

/* Company page */
.co-hero { border: 0; overflow: hidden; }
.co-hero-strip { height: 6px; background: linear-gradient(90deg, var(--aej-navy), var(--aej-blue), var(--aej-amber)); }
.co-hero-logo .logo, .co-hero-logo .logo-ph { width: 72px; height: 72px; border-radius: 16px; font-size: 1.8rem; }
.co-meta { margin-top: .3rem; }
.co-meta-item { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--aej-muted); background: #f1f5f9; padding: .25rem .7rem; border-radius: 99px; text-decoration: none; }
a.co-meta-item:hover { background: #e0eaff; color: var(--aej-blue); }
.co-meta-item i { color: var(--aej-blue); }
.co-stats { display: flex; gap: .6rem; flex-wrap: wrap; }
.co-stat { flex: 1; min-width: 110px; background: #f8fafc; border: 1px solid #e8eef5; border-radius: 12px; padding: .7rem 1rem; text-align: center; }
.co-stat b { display: block; font-size: 1.35rem; color: var(--aej-navy); font-weight: 800; }
.co-stat span { font-size: .72rem; color: var(--aej-muted); }
.co-about { background: #fbfcfe; border: 1px solid #e8eef5; border-radius: 12px; padding: .9rem 1.1rem; }
.co-about-title { font-size: .82rem; font-weight: 700; color: var(--aej-ink); margin-bottom: .5rem; }
.co-about-title i { color: var(--aej-blue); margin-inline-end: .35rem; }
.crumbs { font-size: .82rem; color: var(--aej-muted); display: flex; align-items: center; gap: .45rem; }
.crumbs a { color: var(--aej-blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-size: .65rem; color: #cbd5e1; }

/* Company page v2 */
.co-cover { height: 130px; background: linear-gradient(120deg, var(--aej-navy) 0%, #163a7a 55%, var(--aej-blue) 100%); position: relative; overflow: hidden; }
.co-cover-dots { position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(circle at 20% 60%, #f59e0b 0, transparent 25%), radial-gradient(circle at 80% 20%, #38bdf8 0, transparent 30%); }
.co-cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 18px 18px; }
.co-hero-row { margin-top: -44px; position: relative; z-index: 2; }
.co-hero-logo .logo, .co-hero-logo .logo-ph { width: 88px; height: 88px; border-radius: 18px; border: 4px solid #fff; box-shadow: 0 4px 14px rgba(11,31,68,.18); font-size: 2rem; }
.co-hero-text { padding-top: 46px; min-width: 240px; }
.co-verified { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; color: #065f46; background: #d1fae5; border: 1px solid #a7f3d0; border-radius: 99px; padding: .2rem .6rem; margin-inline-start: .5rem; vertical-align: middle; }
.co-verified i { color: #059669; }
.co-share { display: flex; gap: .35rem; padding-top: 46px; }
.co-specs { display: flex; flex-wrap: wrap; gap: .45rem; }
.co-spec-chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; padding: .28rem .75rem; border-radius: 99px; background: #eef4ff; border: 1px solid #dbe6fd; color: var(--aej-blue); text-decoration: none; transition: all .15s; }
.co-spec-chip b { color: var(--aej-navy); }
.co-spec-chip:hover { background: var(--aej-blue); color: #fff; }
.co-spec-chip:hover b { color: #fbbf24; }
.co-sim-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; padding: 1.2rem .8rem; background: #fff; border: 1px solid #e8eef5; border-radius: 14px; text-decoration: none; height: 100%; transition: all .2s; }
.co-sim-card:hover { transform: translateY(-3px); border-color: #c7d6fb; box-shadow: 0 8px 20px rgba(11,31,68,.09); }
.co-sim-name { font-size: .85rem; font-weight: 700; color: var(--aej-ink); line-height: 1.4; }
.co-sim-jobs { font-size: .74rem; color: var(--aej-muted); }
@media (max-width: 576px) { .co-hero-text, .co-share { padding-top: 0; } .co-hero-row { margin-top: -36px; } }
