﻿
:root {
    /*--p: #6d28d9;*/ /* violet primary */
    /*--p-d: #5b21b6;*/ /* darker violet */
    /*--p-m: #7c3aed;*/ /* mid violet */
    /*--p-l: #f5f3ff;*/ /* lavender tint */
    /*--p-b: #ddd6fe;*/ /* violet border */
    --p: #1c95b6; /* primary teal */
    --p-d: #147a96; /* darker teal */
    --p-m: #33a9c9; /* mid teal */
    --p-l: #e6f6fa; /* light tint */
    --p-b: #bfe7f1; /* border soft teal */

    --amber: #d97706; /* warm amber */
    --amber-l: #fef3c7; /* amber light */
    --ok: #059669; /* emerald */
    --ok-l: #d1fae5;
    --error: #dc2626;
    --warn: #d97706;
    --bg: #faf9fb; /* very light warm white */
    --surface: #ffffff;
    --border: #9f9ca9; /* subtle violet-tinted border */
    --text: #1e1b2e; /* near-black with violet tint */
    --sub: #4c4578; /* medium violet-slate */
    --muted: #9d97bb; /* light muted */
    --radius: 10px;
    --input-h: 52px;
    --shadow: 0 1px 8px rgba(109,40,217,.08);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter',sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    margin: 0;
}

.hidden {
    display: none !important;
}

/* ──────────────────── TOAST ──────────────────── */
#toast-container {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 9px;
    pointer-events: none;
}

.toast-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 290px;
    max-width: 360px;
    background: #fff;
    border-radius: 10px;
    padding: 13px 15px;
    border-left: 4px solid #ccc;
    pointer-events: all;
    animation: tIn .3s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
    position: relative;
    overflow: hidden;
}

.t-ok {
    border-left-color: var(--ok);
}

.t-err {
    border-left-color: var(--error);
}

.t-warn {
    border-left-color: var(--warn);
}

.t-ico {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    flex-shrink: 0;
}

.t-ok .t-ico {
    background: var(--ok-l);
    color: var(--ok);
}

.t-err .t-ico {
    background: #fee2e2;
    color: var(--error);
}

.t-warn .t-ico {
    background: var(--amber-l);
    color: var(--warn);
}

.t-body {
    flex: 1;
}

.t-title {
    font-weight: 700;
    font-size: .85rem;
    color: var(--text);
    margin-bottom: 2px;
    line-height:1.3;
}

.t-msg {
    font-size: .77rem;
    color: var(--sub);
    line-height: 1.4;
    line-height: 1.3;
}

.t-close {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: .8rem;
    padding: 0;
    flex-shrink: 0;
}

.t-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    animation: tBar 4s linear forwards;
}

.t-ok .t-bar {
    background: var(--ok);
}

.t-err .t-bar {
    background: var(--error);
}

.t-warn .t-bar {
    background: var(--warn);
}

@keyframes tIn {
    from {
        transform: translateX(110%);
        opacity: 0
    }

    to {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes tOut {
    from {
        transform: translateX(0);
        opacity: 1;
        max-height: 80px
    }

    to {
        transform: translateX(110%);
        opacity: 0;
        max-height: 0;
        margin: 0;
        padding: 0
    }
}

@keyframes tBar {
    from {
        width: 100%
    }

    to {
        width: 0%
    }
}

/* ──────────────────── STEP NAV ──────────────────── */
.step-nav-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 9px 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.step-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.sn-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 7px;
    transition: background .18s;
}

    .sn-item:hover {
        background: var(--p-l);
    }

    .sn-item.sn-disabled {
        cursor: default;
        pointer-events: none;
        opacity: .45;
    }

.sn-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--muted);
    transition: all .22s;
    flex-shrink: 0;
}

    .sn-circle.done {
        background: var(--ok);
        border-color: var(--ok);
        color: #fff;
    }

    .sn-circle.active {
        background: var(--p);
        border-color: var(--p);
        color: #fff !important;
    }

.sn-label {
    font-size: .7rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

    .sn-label.done {
        color: var(--ok);
    }

    .sn-label.active {
        color: var(--p);
    }

.sn-sep {
    width: 22px;
    height: 2px;
    background: var(--border);
    margin: 0 2px;
    flex-shrink: 0;
    transition: background .22s;
}

    .sn-sep.done {
        background: var(--ok);
    }
div#step-login {
    border-top: 1px solid #195870;
}

@media(max-width:600px) {
    .sn-label {
        display: none;
    }

    .step-nav-wrap {
        padding: 7px 12px;
    }
}

/* ──────────────────── SECTION HEAD ──────────────────── */
.sec-head {
    background: linear-gradient(170deg, #f8fbfc 0%, #eef5f7 50%, #f4f8fa 100%);
    padding: 12px 24px;
    color: #2c3e50;
    border-bottom: 1px solid #e3ecef;
}

    .sec-head h2 {
        font-family: 'Syne',sans-serif;
        font-size: 1.2rem;
        margin: 0;
        font-weight: 800;
        line-height: 1.3;
    }

    .sec-head p {
        margin: 3px 0 0;
        opacity: .7;
        font-size: .83rem;
    }

/* ──────────────────── LAYOUT ──────────────────── */
.card-wrap {
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-wrap {
    margin: 30px auto 60px;
    padding: 0 14px;
}

.sec-body {
    padding: 24px 28px;
}

/* ──────────────────── ERR BANNER ──────────────────── */
.err-banner {
    display: none;
    background: #fff5f5;
    border: 1.5px solid #fca5a5;
    border-left: 5px solid var(--error);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: .84rem;
    color: #7f1d1d;
}

.err-banner-head {
    font-weight: 700;
    font-size: .88rem;
    color: var(--error);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.err-banner ul {
    margin: 0;
    padding-left: 16px;
}

.err-banner li {
    margin-bottom: 3px;
    line-height: 1.4;
}

/* ──────────────────── FIELD ERRORS ──────────────────── */
.form-control.is-invalid {
    border-color: var(--error) !important;
}

    .form-control.is-invalid:focus {
        box-shadow: 0 0 0 3px rgba(220,38,38,.1) !important;
    }

.f-err {
    font-size: .73rem;
    color: var(--error);
    margin-top: 3px;
    display: none;
}

    .f-err.show {
        display: block;
    }

/* ──────────────────── INPUTS ──────────────────── */
.lbl {
    font-size: .98rem !important;
    font-weight: 600;
    color: var(--sub);
    margin: 0 0 5px;
    display: block;
    padding:0;
    width:100%;
}

.form-control {
    height: var(--input-h);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 1.1rem;
    color: var(--text);
    width: 100%;
    padding: 0 14px;
    background: #fff;
    outline: none;
    appearance: none;
    transition: border-color .2s,box-shadow .2s;
    box-shadow: none !important;
    margin-bottom:0;
}

    .form-control:focus {
        border-color: var(--p);
        box-shadow: 0 0 0 3px rgba(109,40,217,.1) !important;
    }

textarea.form-control {
    height: auto;
    padding: 12px 14px;
    resize: vertical;
}

.phone-row {
    display: flex;
    gap: 9px;
}

    .phone-row .cc {
        width: 115px;
        flex-shrink: 0;
    }

.otp-row {
    display: flex;
    gap: 9px;
}

.otp-box {
    width: 50px;
    height: var(--input-h);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: border-color .2s;
}

    .otp-box:focus {
        border-color: var(--p);
    }

/* ──────────────────── DIVIDERS ──────────────────── */
.or-div {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--muted);
    font-size: .8rem;
    margin: 18px 0;
}

    .or-div::before, .or-div::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

/* ──────────────────── BUTTONS ──────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: var(--radius);
    font-family: 'Inter',sans-serif;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s;
    padding: 0 22px;
    height: 52px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #40507e, #8d49a3) !important;
    color: #fff;
}

    .btn-primary:hover {
        filter: brightness(.92);
        transform: translateY(-1px);
    }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--p);
    color: var(--p);
}

    .btn-outline:hover {
        background: var(--p-l);
    }

.btn-ghost {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--sub);
}

    .btn-ghost:hover {
        background: var(--bg);
        color: var(--sub) !important;
    }

.btn-google {
    background: #fff;
    color: #3c4043;
    border: 1.5px solid var(--border);
    width: 100%;
    justify-content: center;
    height: 50px;
    font-size: .95rem;
    font-weight: 600;
}

    .btn-google:hover {
        background: #fafafa;
        border-color: var(--muted);
        color:#333;
    }

.btn-amber {
    background: linear-gradient(135deg,#d97706,#f59e0b);
    color: #fff;
    font-weight: 700;
}

    .btn-amber:hover {
        filter: brightness(.95);
        transform: translateY(-1px);
    }

.btn-send-otp {
    height: var(--input-h);
    padding: 0 18px;
    background: var(--p-l);
    border: 1.5px solid var(--p-b);
    border-radius: var(--radius);
    color: var(--p);
    font-weight: 600;
    font-size: .86rem;
    cursor: pointer;
    transition: all .15s;
    width:220px;
    max-width:220px;
}

    .btn-send-otp:hover {
        background: var(--p);
        color: #fff;
        border-color: var(--p);
    }

/* ── SMART FOOTER — normal when visible, fixed when scrolled past ── */
/* Default: normal flow (inline at bottom of form) */
.sticky-footer {
    position: relative;
    background: var(--surface);
    border-top: 2px solid var(--border);
    padding: 13px 28px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    transition: box-shadow .2s;
    z-index: 100;
}
    /* When sentinel (btn anchor) is OUT of view → fix it */
    .sticky-footer.is-fixed {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        box-shadow: 0 -6px 24px rgba(109,40,217,.14);
    }

.update-apply-btn2 {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}
    .update-apply-btn2:hover {
        color: #147a96;
    }
   
    /* Spacer div — same height as footer, holds layout space when footer is fixed */
    .footer-spacer {
        display: none;
        height: 68px;
    }

    .sticky-footer.is-fixed ~ .footer-spacer,
    .footer-spacer.active {
        display: block;
    }

/* ──────────────────── INFO BADGE ──────────────────── */
.info-badge {
    background: var(--p-l);
    border-left: 4px solid var(--p);
    border-radius: 0 8px 8px 0;
    padding: 11px 15px;
    font-size: .82rem;
    color: var(--p-d);
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

    .info-badge i {
        margin-top: 2px;
        flex-shrink: 0;
    }

/* ──────────────────── SKILL TAGS ──────────────────── */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--p-l);
    color: var(--p-d);
    border: 1px solid var(--p-b);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: .78rem;
    font-weight: 600;
}

    .skill-tag button {
        background: none;
        border: none;
        color: var(--p);
        cursor: pointer;
        padding: 0;
        font-size: .7rem;
    }

/* ════════════════════════════════════════════
       CHOOSE PROFILE SCREEN
    ════════════════════════════════════════════ */

/* Top intro bar */
.choose-intro {
    background: linear-gradient(170deg, #2a3b45 0%, #167e9c 50%, #467394 100%);
    padding: 22px 28px 20px;
    color: #fff;
}

    .choose-intro h2 {
        font-family: 'Syne',sans-serif;
        font-size: 1.4rem;
        font-weight: 800;
        margin: 0 0 5px;
        line-height:1.3;
    }

    .choose-intro p {
        font-size: 1.1rem;
        opacity: 1;
        margin: 0 0 14px;
    }
/* Two action buttons — RIGHT ALIGNED */
.choose-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-new-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 9px;
    padding: 10px 20px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s;
    backdrop-filter: blur(4px);
}

    .btn-new-profile:hover {
        background: rgba(255,255,255,.25);
    }

.btn-update-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg,#d97706,#f59e0b);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 10px 20px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s;
}

    .btn-update-profile:hover {
        filter: brightness(.93);
        transform: translateY(-1px);
    }

/* Profiles list */
.choose-body {
    padding: 22px 28px 100px;
}

.ep-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

    .ep-section-head h4 {
        font-weight: 700;
        font-size: .95rem;
        color: var(--text);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        
    }

        .ep-section-head h4 i {
            color: var(--p);
        }

    .ep-section-head .ep-hint {
        font-size: .75rem;
        color: var(--muted);
        background: var(--p-l);
        border: 1px solid var(--p-b);
        border-radius: 20px;
        padding: 3px 10px;
    }

/* Profile card — REDESIGNED */
.pc-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .pc-wrap {
        grid-template-columns: 1fr ; /* 2 boxes */
    }
}

.profile-card {
    border: 2px solid var(--border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .22s,box-shadow .22s,transform .15s;
    position: relative;
    overflow: hidden;
}

    .profile-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--border);
        transition: background .22s;
    }

    .profile-card:hover {
        border-color: var(--p-b);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(109,40,217,.1);
    }

    .profile-card.pc-selected {
        border-color: var(--p);
        box-shadow: 0 0 0 3px rgba(109,40,217,.12);
    }

        .profile-card.pc-selected::before {
            background: var(--p);
        }

/* Card inner layout */
.pc-inner {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 18px 18px 0;
}

/* Avatar column */
.pc-avatar-col {
    flex-shrink: 0;
    margin-right: 16px;
}

.pc-avatar {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg,var(--p-l),var(--p-b));
    border: 2px solid var(--p-b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--p);
    position: relative;
}

.pc-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ok);
    border: 2px solid #fff;
}

/* Info column */
.pc-info-col {
    flex: 1;
    min-width: 0;
}

.pc-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.pc-name-block {
}

.pc-badge {
    display: inline-block;
    border-radius: 50px;
    padding: 3px 10px;
    font-size: .68rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: .3px;
    background: linear-gradient(90deg,var(--amber-l),#fde68a);
    color: var(--amber);
    border: 1px solid #fcd34d;
    line-height:1.2;
}

.pc-name {
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text);
    line-height: 1.2;
}

.pc-headline {
    font-size: .78rem;
    color: var(--sub);
    margin-top: 2px;
}

.pc-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .2s;
    margin-top: 4px;
}

.pc-selected .pc-radio {
    border-color: var(--p);
    background: var(--p);
}

    .pc-selected .pc-radio::after {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #fff;
        display: block;
    }

/* Meta row */
.pc-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 12px;
    margin-bottom: 12px;
}

.pc-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .95rem;
    color: var(--sub);
}

    .pc-meta-item i {
        color: var(--p);
        width: 14px;
        text-align: center;
        font-size: .72rem;
    }

/* Card footer */
.pc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-top: 1px solid var(--border);
    background: var(--bg);
    margin-top: 4px;
}

.pc-view-link {
    font-size: .76rem;
    font-weight: 600;
    color: var(--p);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .pc-view-link:hover {
        text-decoration: underline;
    }

.pc-completion {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-bar-wrap {
    width: 80px;
    height: 5px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.pc-bar {
    height: 100%;
    background: linear-gradient(90deg,var(--p),var(--p-m));
    border-radius: 10px;
}

.pc-pct {
    font-size: .7rem;
    font-weight: 700;
    color: var(--p);
}

/* No profiles placeholder */
.no-profiles {
    text-align: center;
    padding: 32px 20px;
    border: 2px dashed var(--border);
    border-radius: 12px;
    background: var(--bg);
}

    .no-profiles i {
        font-size: 2.4rem;
        color: var(--p-b);
        margin-bottom: 10px;
    }

    .no-profiles p {
        font-size: .88rem;
        color: var(--muted);
        margin: 0;
    }

/* CONTINUE BAR — smart, same as sticky-footer */
.continue-bar {
    position: relative;
    background: var(--surface);
    border-top: 2px solid var(--border);
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 100;
    transition: box-shadow .2s;
}

    .continue-bar.is-fixed {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        box-shadow: 0 -6px 24px rgba(109,40,217,.14);
    }

.continue-hint {
    font-size: .78rem;
    color: var(--muted);
}

    .continue-hint strong {
        color: var(--text);
    }

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, #40507e, #8d49a3) !important;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s;
}

    .btn-continue:hover {
        filter: brightness(.93);
        transform: translateY(-1px);
    }

/* ════════════════════════════════════════════
       PROFILE FORM — jobs banner
    ════════════════════════════════════════════ */
.jobs-banner {
    background: linear-gradient(100deg, #2a3b45 0%, #167e9c 50%, #1b3548 100%);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    overflow: hidden;
    z-index:-1; 
}

    .jobs-banner::before {
        content: '';
        position: absolute;
        top: -40px;
        right: -40px;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: rgba(255,255,255,.04);
    }

.jb-left {
    position: relative;
    z-index: 1;
}

.jb-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(245,158,11,.2);
    border: 1px solid rgba(245,158,11,.35);
    color: #fcd34d;
    border-radius: 20px;
    padding: 3px 11px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.jb-title {
    font-family: 'Syne',sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 3px;
    line-height:1.3;
}

.jb-sub {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    margin: 0;
}

.jb-stats {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.jb-stat .num {
    font-family: 'Syne',sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: #fcd34d;
}

.jb-stat .lbl {
    font-size: .64rem !important;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
}

.jb-right {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.btn-view-jobs {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 8px;
    padding: 10px 18px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

    .btn-view-jobs:hover {
        background: rgba(255,255,255,.22);
    }

@media(max-width:640px) {
    .jobs-banner {
        flex-direction: column;
        padding: 16px;
    }

    .jb-right {
        width: 100%;
    }

    .btn-view-jobs {
        width: 100%;
        justify-content: center;
    }
}

/* ════════════════════════════════════════════
       CV SECTION
    ════════════════════════════════════════════ */
#cv-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.cv-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fafafa;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 13px 15px;
    cursor: pointer;
    transition: border-color .2s,background .2s;
    position: relative;
}

    .cv-card:hover {
        border-color: var(--p-b);
    }

    .cv-card.cv-sel {
        border-color: var(--p);
        background: var(--p-l);
    }

.cv-sel-badge {
    display: none;
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--p);
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.cv-card.cv-sel .cv-sel-badge {
    display: block;
}

.cv-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.cv-card.cv-sel .cv-radio {
    border-color: var(--p);
    background: var(--p);
}

    .cv-card.cv-sel .cv-radio::after {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #fff;
        display: block;
    }

.cv-ico {
    font-size: 1.9rem;
    color: #ef4444;
    flex-shrink: 0;
}

.cv-info {
    flex: 1;
    min-width: 0;
}

.cv-name {
    font-weight: 700;
    font-size: .88rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-meta {
    font-size: .72rem;
    color: var(--muted);
    margin-top: 2px;
}

.cv-acts {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.cv-act {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    cursor: pointer;
    transition: all .15s;
    border: none;
}

    .cv-act.view {
        background: #f0f4ff;
        color: var(--p);
        border: 1.5px solid var(--p-b);
    }

    .cv-act.dl {
        background: var(--ok-l);
        color: var(--ok);
        border: 1.5px solid #a7f3d0;
    }

    .cv-act.del {
        background: #fff0f0;
        color: var(--error);
        border: 1.5px solid #fca5a5;
    }

    .cv-act.view:hover {
        background: var(--p-l);
    }

    .cv-act.dl:hover {
        background: #bbf7d0;


    }

    .cv-act.del:hover {
        background: var(--error);
        color: #fff;
        border-color: var(--error);
    }

.drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    background: var(--bg);
    cursor: pointer;
    transition: border-color .2s;
}

    .drop-zone:hover {
        border-color: var(--p-b);
    }

    .drop-zone .dz-icon {
        font-size: 2rem;
        color: var(--p);
        margin-bottom: 9px;
    }

    .drop-zone p {
        font-size: .84rem;
        color: var(--sub);
        margin: 0;
    }

/* ════════════════════════════════════════════
       JOB PREFS
    ════════════════════════════════════════════ */
.back-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 14px;
}

.back-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: none;
    font-size: .78rem;
    font-weight: 600;
    color: var(--p);
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 6px;
    transition: background .15s;
}

    .back-link-btn:hover {
        background: var(--p-l);
    }

.job-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}

.job-tab {
    flex: 1;
    padding: 11px 10px;
    text-align: center;
    font-weight: 600;
    font-size: .86rem;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
}

    .job-tab.active {
        color: var(--p);
        border-bottom-color: var(--p);
    }

.check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.check-pill input {
    display: none;
}

.check-pill label {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 30px;
    border: 1.5px solid var(--border);
    font-size: .83rem;
    font-weight: 600;
    color: var(--sub);
    cursor: pointer;
    transition: all .2s;
    background: #fff;
    text-align:center;
}

.check-pill input:checked + label {
    background: var(--p);
    border-color: var(--p);
    color: #fff;
}

.input-prefix {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: var(--input-h);
}

.pfx-badge {
    background: var(--p-l);
    color: var(--p-d);
    font-weight: 700;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: .86rem;
    border-right: 1.5px solid var(--border);
    white-space: nowrap;
}

.input-prefix input {
    flex: 1;
    height: 100%;
    border: none;
    padding: 0 12px;
    font-size: 1.1rem;
    outline: none;
    color: var(--text);
    margin-bottom:0;
}

.input-prefix:focus-within {
    border-color: var(--p);
}

.form-sep {
    border: none;
    border-top: 1px solid var(--border);
    margin: 22px 0;
}

.sal-head {
    font-size: .86rem;
    font-weight: 700;
    color: var(--p);
    background: var(--p-l);
    border-left: 4px solid var(--p);
    border-radius: 0 7px 7px 0;
    padding: 8px 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}


:root {
    --p: #6c5ce7;
    --p-d: #5a4bd1;
    --p-m: #7c6ff0;
    --p-l: #f0edff;
    --p-b: #d8d2f7;
    --ok: #10b981;
    --amber: #f59e0b;
    --error: #ef4444;
    --text: #1a1a2e;
    --sub: #64748b;
    --muted: #94a3b8;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --card-bg: #ffffff;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #f4f6fb;
    margin: 0;
    padding: 0;
}

#step-success {
    width: 100%;
    background: #fff;
}

/* ══════════════════════════════════════
   SUCCESS CONFIRMATION — Compact & Subtle
══════════════════════════════════════ */
.applied-confirm {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdf4 100%);
    padding: 14px 0;
    border-bottom: 1px solid #d1fae5;
    animation: fadeSlideUp .5s ease both;
}

    .applied-confirm .d-flex {
        gap: 16px;
    }

.applied-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--ok), #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.applied-text .applied-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(16,185,129,.15);
    border: 1px solid rgba(16,185,129,.25);
    color: #047857;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: .64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 5px;
}

.applied-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    color: #065f46;
    margin: 0 0 2px;
    line-height:1.2;
}

.applied-text p {
    font-size: .76rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* ══════════════════════════════════════
   PROFILE STRENGTH — Big Hero Section
══════════════════════════════════════ */
.profile-score-section {
    background: linear-gradient(160deg, #fffcf2 0%, #fef7e6 35%, #fff8ec 70%, #fffdf5 100%);
    border-bottom: 2px solid #fde68a;
    padding: 40px 0 44px;
    position: relative;
    overflow: hidden;
    animation: fadeSlideUp .6s ease .15s both;
}

    .profile-score-section::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -60px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(245,158,11,.06) 0%, transparent 70%);
        pointer-events: none;
    }

.profile-score-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.score-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    flex-shrink: 0;
    background: conic-gradient(#f59e0b 0% 30%, #e5e7eb 30% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245,158,11,.18);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(245,158,11,.05);
    }
}

.score-ring .inner {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    color: #b45309;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.score-info {
    flex: 1;
}

.score-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.7rem;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 4px;
}

    .score-title span {
        color: #d97706 !important;
        font-weight: 800;
    }

.puc-label11 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .84rem;
    font-weight: 700;
    color: #92400e;
    background: rgba(245,158,11,.12);
    padding: 5px 14px;
    border-radius: 8px;
    margin: 8px 0 10px;
}

.score-sub {
    font-size: 1.2rem;
    color: #78716c;
    margin-top: 4px;
    line-height: 1.6;
}

    .score-sub strong {
        color: #44403c;
    }

.score-bar-wrap {
    height: 10px;
    background: #e7e5e4;
    border-radius: 10px;
    margin-top: 14px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 10px;
    width: 0%;
    animation: barFill 1.5s ease forwards .7s;
}

@keyframes barFill {
    to {
        width: 30%;
    }
}

/* ══════════════════════════════════════
   PROFILE UPDATE CTA — Large & Compelling
══════════════════════════════════════ */
.profile-cta-section {
    background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 45%, #f5f3ff 100%);
    border-bottom: 2px solid var(--p-b);
    padding: 44px 0;
    position: relative;
    overflow: hidden;
    animation: fadeSlideUp .6s ease .3s both;
}

    .profile-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 6px;
        background: linear-gradient(180deg, var(--p), var(--p-m), var(--p));
    }

.puc-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.puc-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--p), var(--p-m));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    box-shadow: 0 6px 20px rgba(108,92,231,.25);
}

.puc-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--p);
    margin-bottom: 3px;
}

.puc-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.7rem;
    color: var(--text);
    line-height: 1.2;
}

.puc-sub {
    font-size: 1.2rem;
    color: #57534e;
    line-height: 1.65;
    margin-bottom: 26px;
    max-width: 720px;
}

.puc-btns {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.puc-btn-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--p-d), var(--p));
    color: #fff !important;
    text-decoration: none !important;
    border: none;
    border-radius: 14px;
    padding: 16px 40px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 6px 24px rgba(108,92,231,.3);
}

    .puc-btn-now:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 32px rgba(108,92,231,.38);
        filter: brightness(1.06);
        color: #fff !important;
        text-decoration: none !important;
    }

.puc-btn-later {
    background: rgba(255,255,255,.7);
    border: 1.5px solid var(--p-b);
    border-radius: 14px;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sub);
    cursor: pointer;
    text-decoration: none !important;
    transition: all .2s;
}

    .puc-btn-later:hover {
        background: #fff;
        border-color: var(--p);
        color: var(--p);
        text-decoration: none !important;
    }

/* ══════════════════════════════════════
   ATS NOTICE
══════════════════════════════════════ */
.ats-section {
    padding: 32px 0;
    animation: fadeSlideUp .6s ease .4s both;
}

.ats-warn {
    background: linear-gradient(135deg, #fffbeb, #fef9e7, #fffdf5);
    border: 1.5px solid #fde68a;
    border-left: 6px solid #fbbf24;
    border-radius: 0 16px 16px 0;
    padding: 28px 30px;
}

.ats-warn-head {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #92400e;
    margin-bottom: 12px;
}

    .ats-warn-head i {
        font-size: 1.25rem;
        color: #d97706;
    }

.ats-warn p {
    font-size: 1.15rem;
    color: #78350f;
    margin: 0;
    line-height: 1.65;
}

.ats-warn strong {
    color: #92400e;
}

/* ══════════════════════════════════════
   BENEFITS GRID
══════════════════════════════════════ */
.benefits-section {
    padding: 40px 0 44px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    animation: fadeSlideUp .6s ease .5s both;
}

.benefits-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 28px;
    text-align: center;
}

.benefit-card {
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all .25s ease;
    height: 100%;
    flex-direction:column;
}

    .benefit-card:hover {
        border-color: var(--p-b);
        box-shadow: 0 6px 20px rgba(108,92,231,.07);
        transform: translateY(-2px);
    }

.benefit-ico {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.benefit-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 5px;
}

.benefit-sub {
    font-size: 1.02rem;
    color: var(--sub);
    line-height: 1.5;
}

.more-benefits-wrap {
    text-align: center;
    margin-top: 24px;
}

.more-benefits-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--p);
    cursor: pointer;
    border: none;
    background: none;
    padding: 8px 18px;
    border-radius: 10px;
    transition: all .2s;
}

    .more-benefits-link:hover {
        background: var(--p-l);
    }

/* ══════════════════════════════════════
   UPDATE BAR — Bottom
══════════════════════════════════════ */
.update-section {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff, #faf5ff);
    padding: 36px 0;
    border-bottom: 1px solid var(--p-b);
    animation: fadeSlideUp .6s ease .6s both;
}

.update-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.update-bar-text {
    flex: 1;
    min-width: 0;
}

    .update-bar-text h4 {
        font-family: 'Outfit', sans-serif;
        font-weight: 800;
        font-size: 1.45rem;
        color: var(--p-d);
        margin: 0 0 8px;
        line-height: 1.3;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .update-bar-text h4 i {
            color: var(--p);
            font-size: 1.15rem;
        }

    .update-bar-text p {
        font-size: 1.12rem;
        color: var(--sub);
        margin: 0;
        line-height: 1.6;
    }

.update-bar-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--p);
    color: #fff;
    text-decoration: none !important;
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .22s;
    box-shadow: 0 4px 16px rgba(108,92,231,.22);
}

    .btn-now:hover {
        background: var(--p-d);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(108,92,231,.32);
        color: #fff;
        text-decoration: none !important;
    }

.btn-later {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--sub);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px 22px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

    .btn-later:hover {
        background: var(--bg);
        border-color: var(--p-b);
        color: var(--p);
    }

/* Alert note */
.alert-note-section {
    padding: 16px 0;
    background: #fafbfc;
    border-top: 1px solid var(--border);
}

    .alert-note-section p {
        font-size: .8rem;
        color: var(--muted);
        text-align: center;
        margin: 0;
    }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media(max-width: 767px) {
    .profile-score-inner {
        flex-direction: column;
        text-align: center;
    }

    .score-title {
        font-size: 1.35rem;
    }

    .puc-title {
        font-size: 1.35rem;
    }

    .ats-warn-head {
        font-size: 1.18rem;
    }

    .update-bar-text h4 {
        font-size: 1.2rem;
    }

    .benefits-heading {
        font-size: 1.3rem;
    }

    .score-sub, .puc-sub, .ats-warn p, .update-bar-text p {
        font-size: 1.05rem;
    }

    .puc-btns {
        flex-direction: column;
        width: 100%;
    }

    .puc-btn-now, .puc-btn-later {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .update-bar {
        flex-direction: column;
        text-align: center;
    }

    .update-bar-text h4 {
        justify-content: center;
    }

    .update-bar-btns {
        width: 100%;
    }

    .btn-now, .btn-later {
        flex: 1;
        justify-content: center;
    }

    .profile-score-section {
        padding: 28px 0 32px;
    }

    .profile-cta-section {
        padding: 28px 0;
    }
}


/* MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(15,12,30,.55);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

    .modal-overlay.open {
        display: flex;
    }

.modal-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
    animation: mIn .25s ease;
}

@keyframes mIn {
    from {
        transform: translateY(20px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.modal-head {
    background: linear-gradient(120deg,#1e1b2e,#4c1d95);
    padding: 20px 22px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

    .modal-head h3 {
        font-family: 'Syne',sans-serif;
        font-size: 1rem;
        font-weight: 800;
        margin: 0;
        line-height:1.2;
    }

    .modal-head p {
        font-size: .76rem;
        opacity: .7;
        margin: 3px 0 0;
    }

.modal-close {
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
    transition: background .15s;
}

    .modal-close:hover {
        background: rgba(255,255,255,.28);
    }

.modal-body {
    padding: 20px 22px;
}

.modal-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

    .modal-benefit:last-child {
        border-bottom: none;
    }

.mb-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
}

.mb-title {
    font-weight: 700;
    font-size: .86rem;
    color: var(--text);
    margin-bottom: 3px;
}

.mb-desc {
    font-size: .78rem;
    color: var(--sub);
    line-height: 1.45;
}

.modal-footer {
    padding: 14px 22px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}




.tip-head {
    font-weight: 700;
    font-size: .92rem;
    color: var(--p);
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.tip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .tip-list li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: .82rem;
        color: var(--sub);
        line-height: 1.45;
    }

        .tip-list li i {
            color: var(--p);
            margin-top: 2px;
            flex-shrink: 0;
        }

            .tip-list li i.star {
                color: var(--amber);
            }

.sticky-footer.is-fixed {
    padding: 13px 158px;
}

.skill-tag-edit {
    background: none;
    border: none;
    color: var(--p);
    cursor: pointer;
    padding: 0;
    font-size: .65rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color .15s;
    opacity: .7;
}

    .skill-tag-edit:hover {
        opacity: 1;
        color: var(--p-d);
    }
@media(min-width:1400px) {
    .container {
        max-width: 1320px !important;
    }
}

@media(min-width:1600px) {
    .container {
        max-width: 1450px !important;
    }
}

@media(max-width:640px) {
    .choose-actions {
        justify-content: flex-start;
    }

    .pc-meta-grid {
        grid-template-columns: 1fr;
    }

    .continue-hint {
        display: none;
    }

    .sticky-footer {
        padding: 10px 14px;
        gap: 8px;
    }

    .continue-bar {
        padding: 10px 14px;
        gap: 8px;
    }

    .btn-continue {
        padding: 11px 18px;
        font-size: .85rem;
    }

    .sticky-footer .btn {
        font-size: .94rem;
        padding: 0 14px;
        height: 56px;
    }
    .main-wrap .container {
        padding: 0 !important;
    }
    /*.main-wrap .col-12 {
        padding: 0;
    }*/
}



@media(max-width:450px) {
    .sticky-footer {
        padding: 9px 12px;
    }

    .continue-bar {
        padding: 9px 12px;
    }

    .main-wrap {
        margin: 30px auto 60px;
        padding: 0 0px;
    }

    .otp-row {
        flex-wrap: wrap;
    }

    .btn-send-otp {
        width: 100%;
        max-width: 100%;
    }

    button.btn.btn-primary {
        width: 100%;
    }

    .form-control {
        height: 48px;
    }
    .sticky-footer .btn {
        font-size: .94rem;
        padding: 0 14px;
        height: 56px;
    }
}
/* has-fixed-footer — padding managed by JS spacer, no static padding needed */

/* ── FOOTER SENTINEL ── */
.footer-sentinel {
    display: block;
    height: 1px;
    width: 100%;
    visibility: hidden;
    pointer-events: none;
}

/* ════════════════════════════════════════
   SKILL INPUT — Advanced button
════════════════════════════════════════ */
/* ════════════════════════════════════════
   SKILL FIELD HEADER
════════════════════════════════════════ */
.skill-field-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

/* Advanced button — highlighted top right */
.skill-adv-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--p-d), var(--p-m));
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(109,40,217,.25);
}

    .skill-adv-btn:hover {
        filter: brightness(.9);
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(109,40,217,.35);
    }

.skill-adv-badge {
    background: rgba(255,255,255,.22);
    border-radius: 5px;
    padding: 1px 6px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .3px;
}

/* ════════════════════════════════════════
   SKILL TAGS — inline with % highlight
════════════════════════════════════════ */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--p-l);
    border: 1.5px solid var(--p-b);
    border-radius: 20px;
    padding: 5px 10px 5px 12px;
    font-size: .8rem;
    transition: border-color .15s;
}

    .skill-tag:hover {
        border-color: var(--p);
    }

.skill-tag-name {
    font-weight: 700;
    font-size: .8rem;
    color: var(--text);
    white-space: nowrap;
}

/* Inline mini bar */
.skill-tag-mini-bar {
    width: 36px;
    height: 5px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.skill-tag-mini-fill {
    height: 100%;
    border-radius: 10px;
}

/* % badge — highlighted */
.skill-tag-pct-badge {
    background: var(--p);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    border-radius: 50px;
    padding: 1px 6px;
    flex-shrink: 0;
    line-height: 1.4;
}

.skill-tag-remove {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
    font-size: .7rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color .15s;
}

    .skill-tag-remove:hover {
        color: var(--error);
    }

/* ════════════════════════════════════════
   SKILL MODAL
════════════════════════════════════════ */
.skill-modal-box {
    max-width: 500px;
}

.skill-modal-body {
    padding: 22px 24px;
}

/* Live preview */
.skill-live-preview {
    margin-top: 16px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
}

.slp-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 10px;
}

.slp-name {
    font-weight: 700;
    font-size: .88rem;
    color: var(--text);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slp-pct-badge {
    background: var(--p);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    border-radius: 6px;
    padding: 2px 9px;
    flex-shrink: 0;
    transition: background .2s;
}

.slp-bar-track {
    height: 8px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.slp-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width .35s ease, background .35s ease;
}

.slp-label {
    font-size: .72rem;
    color: var(--muted);
    font-weight: 600;
}

/* Cancel button */
.skill-modal-cancel {
    font-size: .85rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 9px 16px;
    color: var(--sub);
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all .15s;
}

    .skill-modal-cancel:hover {
        background: var(--bg);
        border-color: var(--muted);
    }
.iti.iti--allow-dropdown.iti--separate-dial-code {
    width: 100%;
}
.skill-tag-edit {
    background: none;
    border: none;
    color: var(--p);
    cursor: pointer;
    padding: 0;
    font-size: .65rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color .15s;
    opacity: .7;
}

    .skill-tag-edit:hover {
        opacity: 1;
        color: var(--p-d);
    }

/* NEW - large screens ke liye */
@media (min-width: 1400px) {
    .container, .nav-header-container {
        width: 100% !important;
        max-width: 1320px !important;
    }
    .sticky-footer.is-fixed {
        padding: 13px 75px;
    }
}

@media (min-width: 1600px) {
    .container, .nav-header-container {
        width: 100% !important;
        max-width: 1450px !important;
    }
}

@media (min-width: 1800px) {
    .container, .nav-header-container {
        width: 100% !important;
        max-width: 1600px !important;
    }
}

@media (max-width: 1200px) {
    .container, .nav-header-container {
        width: 100% !important;
        max-width: 1320px !important;
    }
    .sticky-footer.is-fixed {
        padding: 13px 45px;
    }
}

@media (max-width: 480px) {
    #step-profile .sticky-footer {
        padding-bottom: 56px;
    }
    .update-apply-btn2 {
        left: 50%;
        top: 65%;
        transform: translate(-28%, -50%);
        width: 100%;
    }
    .sticky-footer .btn {
        height: 48px;
    }
}


    
    .pc-delete-btn {
        background: #fff0f0;
        border: 1.5px solid #fca5a5;
        color: var(--error);
        width: 30px;
        height: 30px;
        border-radius: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .78rem;
        cursor: pointer;
        transition: all .15s;
        flex-shrink: 0;
        margin-left: 8px;
    }

    .pc-delete-btn:hover {
        background: var(--error);
        color: #fff;
        border-color: var(--error);
    }

    .custome-footer {
        z-index: 999;
    }

    .skill-modal-cancel {
        font-size: .85rem;
        border: 1.5px solid var(--border);
        border-radius: 8px;
        padding: 9px 16px;
        color: var(--sub);
        background: #fff;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        transition: all .15s;
    }

        .skill-modal-cancel:hover {
            background: var(--bg);
            border-color: var(--muted);
        }
    /* ========== FIX DROPDOWN - WORK AUTHORIZATION ========== */

    /* Make sure dropdown appears below */
    #step-job {
        overflow: visible !important;
        position: relative;
        z-index: 1;
    }

    .sec-body {
        overflow: visible !important;
        position: relative;
        z-index: 2;
    }

    #tab-work-content {
        overflow: visible !important;
        position: relative;
        z-index: 3;
    }

    .form-group {
        overflow: visible !important;
        position: relative;
        z-index: 10;
        margin-bottom: 30px;
    }

    /* Target the specific select */
    #inter1 {
        position: relative !important;
        z-index: 100 !important;
        background: white !important;
        display: block !important;
        width: 100% !important;
        cursor: pointer;
    }

        /* Dropdown options styling */
        #inter1 option {
            position: relative;
            background: white;
            color: #333;
            padding: 10px;
            z-index: 101;
        }

        /* When select is focused */
        #inter1:focus {
            position: relative;
            z-index: 1000;
        }

    /* Ensure no parent cuts off the dropdown */
    .card-wrap, .container, .row, .col-12, .col-xl-4, .col-lg-6, .col-md-6 {
        overflow: visible !important;
    }

    /* Fix for modal/dialog if any */
    .modal, .modal-content, .modal-body {
        overflow: visible !important;
    }
    /* ════════════════════════════════════════════
       CV SECTION
    ════════════════════════════════════════════ */
    #cv-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 16px;
    }

    .cv-card {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #fafafa;
        border: 2px solid var(--border);
        border-radius: var(--radius);
        padding: 13px 15px;
        cursor: pointer;
        transition: border-color .2s,background .2s;
        position: relative;
    }

        .cv-card:hover {
            border-color: var(--p-b);
        }

        .cv-card.cv-sel {
            border-color: var(--p);
            background: var(--p-l);
        }

    .cv-sel-badge {
        display: none;
        position: absolute;
        top: -8px;
        right: 10px;
        background: var(--p);
        color: #fff;
        font-size: .6rem;
        font-weight: 700;
        padding: 2px 9px;
        border-radius: 20px;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

    .cv-card.cv-sel .cv-sel-badge {
        display: block;
    }

    .cv-radio {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 2px solid var(--border);
        background: #fff;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .2s;
    }

    .cv-card.cv-sel .cv-radio {
        border-color: var(--p);
        background: var(--p);
    }

        .cv-card.cv-sel .cv-radio::after {
            content: '';
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #fff;
            display: block;
        }

    .cv-ico {
        font-size: 1.9rem;
        color: #ef4444;
        flex-shrink: 0;
    }

    .cv-info {
        flex: 1;
        min-width: 0;
    }

    .cv-name {
        font-weight: 700;
        font-size: .88rem;
        color: var(--text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cv-meta {
        font-size: .72rem;
        color: var(--muted);
        margin-top: 2px;
    }

    .cv-acts {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-shrink: 0;
    }

    .cv-act {
        width: 32px;
        height: 32px;
        border-radius: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .8rem;
        cursor: pointer;
        transition: all .15s;
        border: none;
    }

        .cv-act.view {
            background: #f0f4ff;
            color: var(--p);
            border: 1.5px solid var(--p-b);
        }

        .cv-act.dl {
            background: var(--ok-l);
            color: var(--ok);
            border: 1.5px solid #a7f3d0;
        }

        .cv-act.del {
            background: #fff0f0;
            color: var(--error);
            border: 1.5px solid #fca5a5;
        }

        .cv-act.view:hover {
            background: var(--p-l);
        }

        .cv-act.dl:hover {
            background: #bbf7d0;
        }

        .cv-act.del:hover {
            background: var(--error);
            color: #fff;
            border-color: var(--error);
        }

    .drop-zone {
        border: 2px dashed var(--border);
        border-radius: var(--radius);
        padding: 28px 20px;
        text-align: center;
        background: var(--bg);
        cursor: pointer;
        transition: border-color .2s;
    }

        .drop-zone:hover {
            border-color: var(--p-b);
        }

        .drop-zone .dz-icon {
            font-size: 2rem;
            color: var(--p);
            margin-bottom: 9px;
        }

        .drop-zone p {
            font-size: .84rem;
            color: var(--sub);
            margin: 0;
        }

    /* City Suggestions - Stable Positioning */
    .form-group {
        position: relative;
        z-index: 1;
    }

    #citySuggestions {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #ccc;
        border-radius: 8px;
        display: none;
        max-height: 200px;
        overflow-y: auto;
        z-index: 999999 !important; /* ✅ High z-index */
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin-top: 5px;
    }

    .suggestion-item {
        padding: 10px 15px;
        cursor: pointer;
        transition: background 0.2s;
        border-bottom: 1px solid #eee;
        font-size: 14px;
        background: white;
    }

        .suggestion-item:hover {
            background: #f0f9ff;
        }

        .suggestion-item:last-child {
            border-bottom: none;
        }

    #f-city {
        width: 100%;
        box-sizing: border-box;
        position: relative;
        z-index: 1;
    }

    /* Fix parent containers */
    .step-profile, .sec-body, .tab-content, .row, .col-lg-6, .form-group {
        overflow: visible !important;
    }


    label.lbl span {
        font-size: 22px;
    }


.modal-overlay.open{
    z-index:9999999;
}

.g_id_signin {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


.sec-body .g_id_signin,
.sec-body iframe {
    width: 100% !important;
    max-width: 100% !important;
}

.sec-body > div.g_id_signin {
    display: flex !important;
    justify-content: center;
}

.sec-body .g_id_signin > div,
.sec-body .g_id_signin iframe {
    width: 100% !important;
}

.d-felx.btntextbanjme {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.score-edit-btn {
    flex-shrink: 0;
    white-space: nowrap;
    align-self: flex-start;
    text-decoration: none;
    background: #d97706 !important;
    box-shadow: none !important;
}
@media (max-width: 575px) {
    .score-edit-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}