/* Candidate portal — shared styles for auth pages and the logged-in portal.
   Variables and bare classnames are scoped per body class (body.cp-auth-page /
   body.cp-portal-page) since the two areas use different accent palettes. */

* { box-sizing: border-box; }

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

/* ===================================================================
   Auth pages (login, register, forgot/reset password)
   =================================================================== */

body.cp-auth-page {
    --cp-primary: #5cb8ff;
    --cp-primary-dark: #1f6fb8;
    --cp-primary-deep: #0d3457;
    --cp-primary-light: #eaf6ff;
    --cp-primary-soft: #d6ecff;
    --cp-accent: #5cb8ff;
    --cp-ink: #111827;
    --cp-muted: #6b7280;
    --cp-border: #e5e7eb;
    color: var(--cp-ink);
}

body.cp-auth-page .cp-auth-shell {
    min-height: 100vh;
    display: flex;
}

body.cp-auth-page .cp-auth-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    position: relative;
    background:
        radial-gradient(circle at 12% 12%, rgba(92,184,255,0.12), transparent 45%),
        radial-gradient(circle at 88% 92%, rgba(31,111,184,0.08), transparent 40%),
        #f8fbff;
}

body.cp-auth-page .cp-auth-box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 22px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 1px 2px rgba(17,24,39,0.04), 0 20px 45px -12px rgba(31,111,184,0.18);
    border: 1px solid rgba(92,184,255,0.14);
}

body.cp-auth-page .cp-auth-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--cp-ink);
    text-decoration: none;
    margin-bottom: 2rem;
}

body.cp-auth-page .cp-auth-brand .cp-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--cp-primary), var(--cp-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 6px 14px -4px rgba(31,111,184,0.5);
}

body.cp-auth-page .cp-auth-title {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

body.cp-auth-page .cp-auth-subtitle {
    color: var(--cp-muted);
    font-size: 0.92rem;
    margin-bottom: 1.85rem;
}

body.cp-auth-page .cp-field { margin-bottom: 1.15rem; }

body.cp-auth-page .cp-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cp-ink);
    margin-bottom: 0.4rem;
    display: block;
}

body.cp-auth-page .cp-input-group { position: relative; }

body.cp-auth-page .cp-input-group i.cp-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cp-muted);
    font-size: 0.95rem;
    transition: color .15s ease;
}

body.cp-auth-page .cp-input-group input {
    width: 100%;
    padding: 0.75rem 0.95rem 0.75rem 2.6rem;
    border: 1.5px solid transparent;
    background: #f3f4f9;
    border-radius: 12px;
    font-size: 0.92rem;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

body.cp-auth-page .cp-input-group input::placeholder { color: #9ca3af; }

body.cp-auth-page .cp-input-group input:focus {
    outline: none;
    background: #fff;
    border-color: var(--cp-primary);
    box-shadow: 0 0 0 4px var(--cp-primary-light);
}

body.cp-auth-page .cp-input-group:focus-within i.cp-input-icon { color: var(--cp-primary); }

body.cp-auth-page .cp-input-group input.is-invalid { border-color: #dc2626; background: #fef2f2; }

body.cp-auth-page .cp-field-error {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

body.cp-auth-page .btn-cp-primary {
    background: linear-gradient(135deg, var(--cp-primary), var(--cp-primary-dark));
    color: #fff;
    border: none;
    font-weight: 650;
    font-size: 0.95rem;
    border-radius: 12px;
    padding: 0.8rem 1.1rem;
    width: 100%;
    box-shadow: 0 10px 20px -8px rgba(31,111,184,0.55);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

body.cp-auth-page .btn-cp-primary:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 14px 24px -8px rgba(31,111,184,0.6);
}

body.cp-auth-page .btn-cp-primary:active { transform: translateY(0); }

body.cp-auth-page .cp-auth-footer {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.88rem;
    color: var(--cp-muted);
}

body.cp-auth-page .cp-auth-footer a { color: var(--cp-primary-dark); font-weight: 600; text-decoration: none; }
body.cp-auth-page .cp-auth-footer a:hover { text-decoration: underline; }

body.cp-auth-page .cp-auth-right {
    flex: 1;
    display: none;
    position: relative;
    background: linear-gradient(135deg, #5cb8ff 0%, #1f6fb8 55%, #0d3457 100%);
    color: #fff;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3rem;
}

@media (min-width: 992px) {
    body.cp-auth-page .cp-auth-right { display: flex; }
}

body.cp-auth-page .cp-auth-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}

body.cp-auth-page .cp-auth-right-blob-a {
    position: absolute;
    top: -80px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    filter: blur(2px);
}

body.cp-auth-page .cp-auth-right-blob-b {
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    filter: blur(2px);
}

body.cp-auth-page .cp-auth-right-content { position: relative; max-width: 380px; }

body.cp-auth-page .cp-right-subtitle { color: rgba(255,255,255,0.8); }

body.cp-auth-page .cp-auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1.1rem;
    padding: 0.85rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    transition: background-color .15s ease;
}

body.cp-auth-page .cp-auth-feature:hover { background: rgba(255,255,255,0.1); }

body.cp-auth-page .cp-auth-feature i {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

body.cp-auth-page .cp-auth-feature-desc { color: rgba(255,255,255,0.75); font-size: 0.88rem; }

body.cp-auth-page .cp-alert-wrap:empty { margin-bottom: 0; }
body.cp-auth-page .cp-alert-wrap { margin-bottom: 1.1rem; }
body.cp-auth-page .cp-alert-inline { border-radius: 10px; font-size: 0.88rem; }

body.cp-auth-page .cp-text-sm { font-size: 0.88rem; }
body.cp-auth-page .cp-link-sm {
    font-size: 0.88rem;
    color: var(--cp-primary-dark);
    font-weight: 600;
    text-decoration: none;
}

/* ===================================================================
   Portal (dashboard, applications, onboarding, navbar)
   =================================================================== */

body.cp-portal-page {
    --cp-primary: #237fd1;
    --cp-primary-dark: #237fd1;
    --cp-primary-light: #e8f2fc;
    --cp-accent: #06b6d4;
    --cp-ink: #111827;
    --cp-muted: #6b7280;
    --cp-border: #e5e7eb;
    --cp-bg: #f6f7fb;
    --cp-radius: 16px;
    background: var(--cp-bg) !important;
    color: var(--cp-ink);
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.cp-portal-page .cp-main { flex: 1 0 auto; }

body.cp-portal-page .cp-navbar {
    background: #fff;
    border-bottom: 1px solid var(--cp-border);
    position: sticky;
    top: 0;
    z-index: 1030;
}

body.cp-portal-page .cp-navbar-row { padding-top: .6rem; padding-bottom: .6rem; }

body.cp-portal-page .cp-navbar .cp-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--cp-ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.cp-portal-page .cp-navbar .cp-brand .cp-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--cp-primary), var(--cp-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

body.cp-portal-page .cp-brand-mark i,
body.cp-portal-page .cp-nav-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.cp-portal-page .cp-brand-logo {
    max-height: 34px;
    max-width: 140px;
    object-fit: contain;
}

body.cp-portal-page .cp-nav-link {
    color: var(--cp-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all .15s ease;
}

body.cp-portal-page .cp-nav-link:hover, body.cp-portal-page .cp-nav-link.active {
    color: var(--cp-primary);
    background: var(--cp-primary-light);
}

body.cp-portal-page .cp-nav-link--tight { padding: 0.25rem 0.6rem; }

body.cp-portal-page .cp-avatar-btn {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    transition: background .15s ease;
}

body.cp-portal-page .cp-avatar-btn:hover { background: var(--cp-bg); }
body.cp-portal-page .cp-avatar-btn--bordered { border: 1px solid var(--cp-border); }

body.cp-portal-page .cp-avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cp-primary), var(--cp-accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    overflow: hidden;
    flex-shrink: 0;
}

body.cp-portal-page .cp-avatar-circle img { width: 100%; height: 100%; object-fit: cover; }

body.cp-portal-page .cp-dropdown-rounded { border-radius: 12px; }

body.cp-portal-page .cp-container {
    width: 70%;
    margin: 0 auto;
    padding: 1.75rem 1.5rem 3rem;
}

body.cp-portal-page .cp-card {
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

body.cp-portal-page .cp-card--narrow { max-width: 520px; margin: 2rem auto; }

body.cp-portal-page .btn-cp-primary {
    background: linear-gradient(135deg, var(--cp-primary), var(--cp-primary-dark));
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.55rem 1.1rem;
    transition: all .15s ease;
}

body.cp-portal-page .btn-cp-primary:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }

body.cp-portal-page .btn-cp-outline {
    background: #fff;
    color: var(--cp-ink);
    border: 1px solid var(--cp-border);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.55rem 1.1rem;
    transition: all .15s ease;
}

body.cp-portal-page .btn-cp-outline:hover { border-color: var(--cp-primary); color: var(--cp-primary); background: var(--cp-primary-light); transform: translateY(-1px); }

/* Login / Sign Up nav buttons — match the sky-blue accent used on the login page itself */

body.cp-portal-page .btn-cp-nav-outline {
    background: #fff;
    color: #1f6fb8;
    border: 1px solid #5cb8ff;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.55rem 1.1rem;
    transition: all .15s ease;
}

body.cp-portal-page .btn-cp-nav-outline:hover { background: #eaf6ff; border-color: #1f6fb8; color: #1f6fb8; }

body.cp-portal-page .btn-cp-nav-primary {
    background: linear-gradient(135deg, #5cb8ff, #1f6fb8);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.55rem 1.1rem;
    box-shadow: 0 8px 16px -6px rgba(31,111,184,0.45);
    transition: all .15s ease;
}

body.cp-portal-page .btn-cp-nav-primary:hover { color: #fff; filter: brightness(1.05); transform: translateY(-1px); }

body.cp-portal-page .cp-job-type-badge {
    background: #eaf6ff;
    color: #1f6fb8;
    font-weight: 500;
}

body.cp-portal-page .cp-navbar-toggle {
    border: 1px solid var(--cp-border);
    background: #fff;
    color: var(--cp-ink);
    border-radius: 10px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    transition: background-color .15s ease;
}

body.cp-portal-page .cp-navbar-toggle:hover { background: var(--cp-bg); }

body.cp-portal-page .cp-navbar-collapse {
    background: #fff;
    border-top: 1px solid var(--cp-border);
}

body.cp-portal-page .cp-nav-link--stacked {
    width: 100%;
    padding: 0.65rem 0.9rem;
    justify-content: flex-start;
}

body.cp-portal-page .cp-nav-link--danger { color: #dc2626; }
body.cp-portal-page .cp-nav-link--danger:hover { color: #dc2626; background: #fef2f2; }

body.cp-portal-page .cp-nav-divider {
    border: none;
    border-top: 1px solid var(--cp-border);
    margin: 0.4rem 0;
}

/* Dashboard */

body.cp-portal-page .cp-hero-banner {
    background: linear-gradient(135deg, #5cb8ff 0%, #689bc3 55%, #3887c5 100%);
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

body.cp-portal-page .cp-hero-blob-a {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

body.cp-portal-page .cp-hero-blob-b {
    position: absolute;
    bottom: -80px;
    right: 120px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

body.cp-portal-page .cp-hero-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.35);
}

body.cp-portal-page .cp-hero-avatar img { width: 100%; height: 100%; object-fit: cover; }

body.cp-portal-page .cp-hero-subtitle { color: rgba(255,255,255,0.8); }

body.cp-portal-page .cp-hero-edit-btn { border-radius: 10px; }

body.cp-portal-page .cp-progress-label { font-size: 0.85rem; color: rgba(255,255,255,0.85); }

body.cp-portal-page .cp-progress-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    overflow: hidden;
}

body.cp-portal-page .cp-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: #fff;
    transition: width .4s ease;
}

body.cp-portal-page .cp-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.cp-portal-page .cp-stat-icon--indigo { background: #eef2ff; color: #4f46e5; }
body.cp-portal-page .cp-stat-icon--cyan { background: #ecfeff; color: #0891b2; }
body.cp-portal-page .cp-stat-icon--green { background: #f0fdf4; color: #16a34a; }
body.cp-portal-page .cp-stat-icon--purple { background: #fdf4ff; color: #a21caf; }

body.cp-portal-page .cp-icon-circle-lg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cp-primary-light);
    color: var(--cp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
}

body.cp-portal-page .cp-stat-icon i,
body.cp-portal-page .cp-icon-circle-lg i,
body.cp-portal-page .cp-hero-avatar i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.cp-portal-page .cp-text-ink { color: var(--cp-ink); }
body.cp-portal-page .cp-meta-text { font-size: 0.85rem; }
body.cp-portal-page .cp-empty-icon { font-size: 2rem; }
body.cp-portal-page .cp-truncate-180 { max-width: 180px; }

body.cp-portal-page .cp-skill-badge {
    background: var(--cp-primary-light);
    color: var(--cp-primary);
    font-weight: 500;
    padding: 0.4rem 0.65rem;
}

body.cp-portal-page .cp-preview-thumb { max-height: 100px; }

body.cp-portal-page .cp-verify-banner { border-radius: 14px; border: 1px solid #fde68a; background: #fffbeb; }

/* Login / signup cards, embedded in the portal layout (navbar + centered container) */

body.cp-portal-page .cp-auth-center {
    display: flex;
    justify-content: center;
    padding: 2.5rem 0.5rem 3rem;
}

body.cp-portal-page .cp-auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2.25rem 2rem;
}

body.cp-portal-page .cp-auth-card-title {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
    text-align: center;
}

body.cp-portal-page .cp-auth-card-subtitle {
    color: var(--cp-muted);
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
    text-align: center;
}

body.cp-portal-page .cp-auth-field { margin-bottom: 1.1rem; }

body.cp-portal-page .cp-auth-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cp-ink);
    margin-bottom: 0.4rem;
    display: block;
}

body.cp-portal-page .cp-auth-input-group { position: relative; }

body.cp-portal-page .cp-auth-input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cp-muted);
    font-size: 0.95rem;
    transition: color .15s ease;
}

body.cp-portal-page .cp-auth-input-group input {
    width: 100%;
    padding: 0.75rem 0.95rem 0.75rem 2.6rem;
    border: 1.5px solid transparent;
    background: #f3f4f9;
    border-radius: 12px;
    font-size: 0.92rem;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

body.cp-portal-page .cp-auth-input-group input::placeholder { color: #9ca3af; }

body.cp-portal-page .cp-auth-input-group input:focus {
    outline: none;
    background: #fff;
    border-color: #5cb8ff;
    box-shadow: 0 0 0 4px #eaf6ff;
}

body.cp-portal-page .cp-auth-input-group:focus-within i { color: #5cb8ff; }

body.cp-portal-page .cp-auth-input-group input.is-invalid { border-color: #dc2626; background: #fef2f2; }

body.cp-portal-page .cp-auth-field-error {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

body.cp-portal-page .cp-auth-submit-btn {
    background: linear-gradient(135deg, #5cb8ff, #1f6fb8);
    color: #fff;
    border: none;
    font-weight: 650;
    font-size: 0.95rem;
    border-radius: 12px;
    padding: 0.8rem 1.1rem;
    width: 100%;
    box-shadow: 0 10px 20px -8px rgba(31,111,184,0.55);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

body.cp-portal-page .cp-auth-submit-btn:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 14px 24px -8px rgba(31,111,184,0.6);
}

body.cp-portal-page .cp-auth-submit-btn:active { transform: translateY(0); }

body.cp-portal-page .cp-auth-card-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.88rem;
    color: var(--cp-muted);
}

body.cp-portal-page .cp-auth-card-footer a { color: #1f6fb8; font-weight: 600; text-decoration: none; }
body.cp-portal-page .cp-auth-card-footer a:hover { text-decoration: underline; }

body.cp-portal-page .cp-auth-text-sm { font-size: 0.88rem; }
body.cp-portal-page .cp-auth-link-sm {
    font-size: 0.88rem;
    color: #1f6fb8;
    font-weight: 600;
    text-decoration: none;
}

/* ===================================================================
   Careers page — hero, benefits, jobs grid, footer
   =================================================================== */

body.cp-portal-page .cp-careers-hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 1rem 3.5rem;
    background: linear-gradient(180deg, #eaf5f4 0%, #f3f9f8 55%, var(--cp-bg) 100%);
}

body.cp-portal-page .cp-hero-vertical-text {
    position: absolute;
    left: -1.4rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(31,111,184,0.06);
    white-space: nowrap;
    pointer-events: none;
}

body.cp-portal-page .cp-hero-grid {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2.5rem;
}

body.cp-portal-page .cp-hero-copy { text-align: left; }

body.cp-portal-page .cp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #fff;
    border: 1px solid var(--cp-border);
    color: var(--cp-primary);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
    box-shadow: 0 6px 16px -10px rgba(17,24,39,0.15);
    opacity: 0;
    animation: cpFadeUp .7s ease .05s forwards;
}

body.cp-portal-page .cp-careers-hero h1 {
    color: var(--cp-ink);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    opacity: 0;
    animation: cpFadeUp .7s ease .18s forwards;
}

body.cp-portal-page .cp-hero-highlight { color: var(--cp-primary); }

body.cp-portal-page .cp-careers-hero p {
    color: var(--cp-muted);
    font-size: 1.02rem;
    max-width: 480px;
    margin: 0 0 1.75rem;
    opacity: 0;
    animation: cpFadeUp .7s ease .3s forwards;
}

body.cp-portal-page .cp-hero-search-pill {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 999px;
    padding: 0.4rem;
    box-shadow: 0 20px 40px -22px rgba(17,24,39,0.25);
    max-width: 560px;
    opacity: 0;
    animation: cpFadeUp .7s ease .42s forwards;
}

body.cp-portal-page .cp-hero-search-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.5rem 0.9rem;
    color: var(--cp-muted);
}

body.cp-portal-page .cp-hero-search-field i {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.cp-portal-page .cp-hero-search-field input,
body.cp-portal-page .cp-hero-search-field select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.88rem;
    color: var(--cp-ink);
    background: transparent;
}

body.cp-portal-page .cp-hero-search-divider {
    width: 1px;
    background: var(--cp-border);
    margin: 0.4rem 0;
    flex-shrink: 0;
}

body.cp-portal-page .cp-hero-search-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    border-radius: 999px;
    padding: 0 1.3rem;
    font-weight: 600;
    font-size: 0.88rem;
    background: var(--cp-primary);
    color: #fff;
    transition: filter .15s ease, transform .15s ease;
}

body.cp-portal-page .cp-hero-search-btn:hover { filter: brightness(0.92); transform: translateY(-1px); }

body.cp-portal-page .cp-hero-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    opacity: 0;
    animation: cpFadeUp .7s ease .55s forwards;
}

body.cp-portal-page .cp-hero-popular-label { font-size: 0.85rem; font-weight: 600; color: var(--cp-ink); margin-right: 0.2rem; }

body.cp-portal-page .cp-hero-popular-tag {
    font-size: 0.8rem;
    color: var(--cp-muted);
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

body.cp-portal-page .cp-hero-popular-tag:hover { border-color: var(--cp-primary); color: var(--cp-primary); }

body.cp-portal-page .cp-hero-browse-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cp-primary);
    text-decoration: none;
    opacity: 0;
    animation: cpFadeUp .7s ease .65s forwards;
}

body.cp-portal-page .cp-hero-browse-link:hover { text-decoration: underline; }

body.cp-portal-page .cp-hero-browse-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform .15s ease;
}

body.cp-portal-page .cp-hero-browse-link:hover i { transform: translateX(3px); }

body.cp-portal-page .cp-hero-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 420px;
    opacity: 0;
    animation: cpFadeUp .8s ease .3s forwards;
}

body.cp-portal-page .cp-hero-visual-photo {
    width: 320px;
    max-width: 90%;
    height: auto;
}

body.cp-portal-page .cp-hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border-radius: 14px;
    padding: 0.6rem 0.9rem;
    box-shadow: 0 16px 32px -18px rgba(17,24,39,0.3);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cp-ink);
    white-space: nowrap;
    animation: cpFloat 7s ease-in-out infinite;
}

body.cp-portal-page .cp-hero-badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

body.cp-portal-page .cp-hero-badge-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.cp-portal-page .cp-hero-badge--1 { top: 6%; left: -4%; animation-delay: -1s; }

body.cp-portal-page .cp-hero-badge--2 { top: 14%; right: -8%; animation-delay: -3s; animation-duration: 9s; }

body.cp-portal-page .cp-hero-badge--3 { bottom: 8%; right: 2%; animation-delay: -5s; animation-duration: 8s; }

body.cp-portal-page .cp-benefits-section {
    padding: 3rem 0 1rem;
}

body.cp-portal-page .cp-section-title {
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

body.cp-portal-page .cp-section-subtitle {
    color: var(--cp-muted);
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
}

body.cp-portal-page .cp-benefit-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
}

body.cp-portal-page .cp-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -14px rgba(17,24,39,0.15);
}

body.cp-portal-page .cp-benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eaf6ff;
    color: #1f6fb8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 1rem;
    transition: transform .3s ease;
}

body.cp-portal-page .cp-benefit-card:hover .cp-benefit-icon {
    transform: scale(1.1) rotate(-4deg);
}

body.cp-portal-page .cp-hero-eyebrow i,
body.cp-portal-page .cp-benefit-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ===================================================================
   Motion: hero entrance, ambient gradient/blobs, scroll-reveal
   =================================================================== */

@keyframes cpFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cpHeroGradient {
    0%, 100% { background-position: 0% 0%, 0% 0%, 0% 50%; }
    50% { background-position: 0% 0%, 0% 0%, 100% 50%; }
}

@keyframes cpFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(16px, -20px); }
}

body.cp-portal-page .cp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

body.cp-portal-page .cp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    body.cp-portal-page .cp-careers-hero,
    body.cp-portal-page .cp-hero-eyebrow,
    body.cp-portal-page .cp-careers-hero h1,
    body.cp-portal-page .cp-careers-hero p,
    body.cp-portal-page .cp-hero-search-pill,
    body.cp-portal-page .cp-hero-popular,
    body.cp-portal-page .cp-hero-visual,
    body.cp-portal-page .cp-hero-badge,
    body.cp-portal-page .cp-reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

body.cp-portal-page .cp-info-tile {
    background: var(--cp-bg);
    border: 1px solid var(--cp-border);
    border-radius: 12px;
}

body.cp-portal-page .cp-info-tile-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

body.cp-portal-page .cp-info-tile-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.cp-portal-page .cp-info-tile-label { font-size: 0.72rem; letter-spacing: 0.03em; }
body.cp-portal-page .cp-info-tile-value { font-size: 0.92rem; }

body.cp-portal-page .cp-benefit-title { font-weight: 700; margin-bottom: 0.4rem; }
body.cp-portal-page .cp-benefit-text { color: var(--cp-muted); font-size: 0.88rem; margin: 0; }

body.cp-portal-page .cp-jobs-section { padding: 3rem 0 4rem; }

/* ===================================================================
   Job card (shared by careers.index "Latest 10" and careers.all-jobs)
   =================================================================== */

body.cp-portal-page .cp-jobcard {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem;
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: 14px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

body.cp-portal-page .cp-jobcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -18px rgba(17,24,39,0.18);
    border-color: rgba(35,127,209,0.35);
}

body.cp-portal-page .cp-jobcard-body { flex: 1 1 auto; min-width: 0; }

body.cp-portal-page .cp-jobcard-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

body.cp-portal-page .cp-jobcard-title { font-size: 1rem; font-weight: 700; margin: 0; }

body.cp-portal-page .cp-jobcard-title a { color: var(--cp-ink); text-decoration: none; }

body.cp-portal-page .cp-jobcard-title a:hover { color: var(--cp-primary); }

body.cp-portal-page .cp-jobcard-posted { font-size: 0.75rem; color: var(--cp-muted); white-space: nowrap; flex-shrink: 0; }

body.cp-portal-page .cp-jobcard-meta {
    font-size: 0.82rem;
    color: var(--cp-muted);
    margin: 0.25rem 0 0.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.9rem;
}

body.cp-portal-page .cp-jobcard-meta i { margin-right: 0.3rem; }

body.cp-portal-page .cp-jobcard-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

body.cp-portal-page .cp-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
}

body.cp-portal-page .cp-tag i { margin-right: 0.3rem; }

body.cp-portal-page .cp-tag-type { background: var(--cp-primary-light); color: var(--cp-primary); }

body.cp-portal-page .cp-tag-location { background: #f3f4f6; color: #374151; }

body.cp-portal-page .cp-tag-salary { background: #ecfdf5; color: #047857; }

body.cp-portal-page .cp-jobcard-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    background: var(--cp-primary);
    color: #fff;
    text-decoration: none;
    transition: filter .15s ease, transform .15s ease;
}

body.cp-portal-page .cp-jobcard-cta:hover { filter: brightness(0.9); color: #fff; transform: translateX(2px); }

/* Grid contexts (careers.index "Latest 10" and all-jobs grid view) stack
   the card vertically instead of laying it out as a horizontal row. */
body.cp-portal-page .cp-latest-grid .cp-jobcard,
body.cp-portal-page .cp-alljobs-results--grid .cp-jobcard {
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

body.cp-portal-page .cp-latest-grid .cp-jobcard-side,
body.cp-portal-page .cp-alljobs-results--grid .cp-jobcard-side {
    width: 100%;
    margin-top: 0.85rem;
}

body.cp-portal-page .cp-latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

/* ===================================================================
   All Jobs (filter sidebar listing)
   =================================================================== */

body.cp-portal-page .cp-filters-card { position: sticky; top: 1rem; }

body.cp-portal-page .cp-filters-applied {
    font-size: 0.82rem;
    color: var(--cp-primary);
    font-weight: 600;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

body.cp-portal-page .cp-filters-applied--clear:hover { color: #ef4444; }

body.cp-portal-page .cp-filter-label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

body.cp-portal-page .cp-filter-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 160px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

body.cp-portal-page .cp-check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--cp-ink);
    margin-bottom: 0;
    cursor: pointer;
}

body.cp-portal-page .cp-check-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--cp-primary);
    flex-shrink: 0;
    margin: 0;
}

body.cp-portal-page .cp-filter-group--tinted {
    padding: 0.75rem 0.75rem 0.6rem;
    border-radius: 10px;
}

body.cp-portal-page .cp-filter-group--category { background: #eff6ff; }

body.cp-portal-page .cp-filter-group--jobtype { background: #f5f3ff; }

body.cp-portal-page .cp-filter-group--career { background: #ecfdf5; }

body.cp-portal-page .cp-filter-group--skills { background: #fffbeb; }

body.cp-portal-page .cp-search-input { position: relative; }

body.cp-portal-page .cp-search-input .form-control { padding-right: 2.25rem; }

body.cp-portal-page .cp-search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--cp-muted);
    padding: 0;
    line-height: 1;
}

body.cp-portal-page .cp-sort-select { width: auto; }

body.cp-portal-page .cp-view-toggle {
    display: inline-flex;
    border: 1px solid var(--cp-border);
    border-radius: 8px;
    overflow: hidden;
}

body.cp-portal-page .cp-view-btn {
    border: none;
    background: #fff;
    color: var(--cp-muted);
    padding: 0.4rem 0.6rem;
    line-height: 1;
}

body.cp-portal-page .cp-view-btn.active { background: var(--cp-primary-light); color: var(--cp-primary); }

body.cp-portal-page .cp-alljobs-results--list { display: flex; flex-direction: column; gap: 0.75rem; }

body.cp-portal-page .cp-alljobs-results--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

body.cp-portal-page .cp-alljobs-empty { width: 100%; }

body.cp-portal-page .cp-footer {
    background: #0d3457;
    color: rgba(255,255,255,0.75);
    padding: 1.75rem 0;
    margin-top: 2rem;
}

body.cp-portal-page .cp-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

body.cp-portal-page .cp-footer-brand {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

body.cp-portal-page .cp-footer-logo {
    max-height: 28px;
    max-width: 120px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 2px 6px;
}

body.cp-portal-page .cp-footer-links {
    display: flex;
    gap: 1.25rem;
    font-size: 0.88rem;
}

body.cp-portal-page .cp-footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; }
body.cp-portal-page .cp-footer-links a:hover { color: #fff; }

body.cp-portal-page .cp-footer-copyright { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ===================================================================
   Onboarding — stepper, form fields, repeater rows
   =================================================================== */

body.cp-portal-page .cp-onboard-alert {
    background: #eaf6ff;
    border: 1px solid #bfe3ff;
    color: #14538f;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

body.cp-portal-page .cp-stepper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

body.cp-portal-page .cp-stepper-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 92px;
    text-align: center;
}

body.cp-portal-page .cp-stepper-item::before {
    content: '';
    position: absolute;
    top: 17px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--cp-border);
    z-index: 0;
}

body.cp-portal-page .cp-stepper-item:first-child::before { display: none; }

body.cp-portal-page .cp-stepper-item.is-complete::before,
body.cp-portal-page .cp-stepper-item.is-active::before { background: #5cb8ff; }

body.cp-portal-page .cp-stepper-item a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.cp-portal-page .cp-stepper-circle {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--cp-border);
    color: var(--cp-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: all .15s ease;
}

body.cp-portal-page .cp-stepper-circle i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.cp-portal-page .cp-stepper-item.is-active .cp-stepper-circle {
    background: linear-gradient(135deg, #5cb8ff, #1f6fb8);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 0 4px #eaf6ff;
}

body.cp-portal-page .cp-stepper-item.is-complete .cp-stepper-circle {
    background: #5cb8ff;
    border-color: transparent;
    color: #fff;
}

body.cp-portal-page .cp-stepper-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cp-muted);
}

body.cp-portal-page .cp-stepper-item.is-active .cp-stepper-label { color: #1f6fb8; }
body.cp-portal-page .cp-stepper-item.is-complete .cp-stepper-label { color: var(--cp-ink); }

body.cp-portal-page .cp-onboard-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cp-ink);
    margin-bottom: 0.35rem;
    display: inline-block;
}

body.cp-portal-page .cp-onboard-form .form-control,
body.cp-portal-page .cp-onboard-form select.form-control {
    border: 1.5px solid var(--cp-border);
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    font-size: 0.92rem;
    background: #f8fafc;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

body.cp-portal-page .cp-onboard-form .form-control:focus {
    background: #fff;
    border-color: #5cb8ff;
    box-shadow: 0 0 0 4px #eaf6ff;
    outline: none;
}

body.cp-portal-page .cp-onboard-form .form-check-input:checked {
    background-color: #5cb8ff;
    border-color: #5cb8ff;
}

body.cp-portal-page .cp-onboard-form .form-check-input:focus {
    border-color: #5cb8ff;
    box-shadow: 0 0 0 4px #eaf6ff;
}

body.cp-portal-page .cp-repeater-row {
    position: relative;
    background: #f8fafc;
    border: 1px solid var(--cp-border);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

body.cp-portal-page .cp-remove-row-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--cp-border);
    background: #fff;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background-color .15s ease;
}

body.cp-portal-page .cp-remove-row-btn:hover { background: #fef2f2; }

body.cp-portal-page .cp-remove-row-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.cp-portal-page .cp-add-row-btn {
    background: #eaf6ff;
    color: #1f6fb8;
    border: 1px dashed #5cb8ff;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    transition: all .15s ease;
}

body.cp-portal-page .cp-add-row-btn:hover { background: #d6ecff; }

body.cp-portal-page .cp-add-row-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ===================================================================
   Candidate profile — CV-style view
   =================================================================== */

body.cp-portal-page .cp-profile-header {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 60%);
}

body.cp-portal-page .cp-profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5cb8ff, #1f6fb8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2rem;
    overflow: hidden;
    flex-shrink: 0;
}

body.cp-portal-page .cp-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

body.cp-portal-page .cp-profile-name {
    font-weight: 800;
    margin-bottom: 0.15rem;
}

body.cp-portal-page .cp-profile-headline {
    color: #1f6fb8;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

body.cp-portal-page .cp-profile-location {
    color: var(--cp-muted);
    font-size: 0.85rem;
}

body.cp-portal-page .cp-profile-section-title {
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cp-ink);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #eaf6ff;
}

body.cp-portal-page .cp-profile-bio {
    white-space: pre-line;
    color: var(--cp-ink);
    font-size: 0.92rem;
    line-height: 1.6;
}

body.cp-portal-page .cp-profile-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

body.cp-portal-page .cp-profile-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--cp-ink);
    word-break: break-word;
}

body.cp-portal-page .cp-profile-contact-list li i {
    color: #1f6fb8;
    width: 18px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.cp-portal-page .cp-profile-cert-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cp-border);
}

body.cp-portal-page .cp-profile-cert-item:last-child { border-bottom: none; padding-bottom: 0; }
body.cp-portal-page .cp-profile-cert-item:first-child { padding-top: 0; }

body.cp-portal-page .cp-timeline {
    position: relative;
    margin-left: 6px;
}

body.cp-portal-page .cp-timeline-item {
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 1.5rem;
    border-left: 2px solid #eaf6ff;
}

body.cp-portal-page .cp-timeline-item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

body.cp-portal-page .cp-timeline-dot {
    position: absolute;
    left: -7px;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #5cb8ff;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #eaf6ff;
}

body.cp-portal-page .cp-timeline-title {
    font-weight: 700;
    font-size: 0.95rem;
}

body.cp-portal-page .cp-timeline-subtitle {
    color: var(--cp-muted);
    font-size: 0.85rem;
}

body.cp-portal-page .cp-timeline-date {
    color: var(--cp-muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

body.cp-portal-page .cp-timeline-desc {
    margin: 0.5rem 0 0;
    font-size: 0.88rem;
    color: var(--cp-ink);
    line-height: 1.55;
}

@media (max-width: 991px) {
    body.cp-portal-page .cp-hero-grid { grid-template-columns: 1fr; text-align: center; }
    body.cp-portal-page .cp-hero-copy { text-align: center; }
    body.cp-portal-page .cp-hero-search-pill,
    body.cp-portal-page .cp-hero-popular { margin-left: auto; margin-right: auto; }
    body.cp-portal-page .cp-hero-visual { min-height: 260px; margin-top: 1rem; }
    body.cp-portal-page .cp-hero-visual-photo { width: 220px; }
    body.cp-portal-page .cp-hero-badge { font-size: 0.72rem; padding: 0.45rem 0.65rem; }
    body.cp-portal-page .cp-hero-vertical-text { display: none; }
}

@media (max-width: 767px) {
    body.cp-portal-page .cp-careers-hero { padding: 3rem 1rem; }
    body.cp-portal-page .cp-careers-hero h1 { font-size: 1.6rem; }
    body.cp-portal-page .cp-hero-search-pill { flex-wrap: wrap; border-radius: 20px; }
    body.cp-portal-page .cp-hero-search-divider { display: none; }
    body.cp-portal-page .cp-hero-search-btn { width: 100%; justify-content: center; padding: 0.6rem; margin-top: 0.3rem; }
    body.cp-portal-page .cp-hero-badge { position: static; margin: 0.4rem auto; animation: none; }
    body.cp-portal-page .cp-hero-visual { flex-direction: column; gap: 0.5rem; min-height: auto; }
    body.cp-portal-page .cp-footer-inner { flex-direction: column; align-items: flex-start; }
    body.cp-portal-page .cp-stepper-label { font-size: 0.7rem; }
    body.cp-portal-page .cp-stepper-item { min-width: 76px; }
}
