/* Tagbin Naukri portal - page-owned styles.
   Loaded AFTER dashboard.css, dashboard_home.css and pipeline.css, which give
   the glass shell, the rail, the wizard cards, inputs, chips and buttons. Only
   what those sheets do not have is defined here, all under .nk-* names. */

/* ---------- Rail: a brand tile for Tagbin next to the HireXA mark ---------- */
.nk-rail-brand {
    width: 52px; height: 52px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
    color: #FFFFFF; font: 700 15px/1 'Inter', sans-serif; letter-spacing: 0.02em;
    box-shadow: inset 0 0 12px rgba(255,255,255,0.18);
}
.nk-rail-label {
    font: 600 10px/12px 'Inter', sans-serif; color: #64748B; text-align: center;
    letter-spacing: 0.06em; text-transform: uppercase; margin-top: -8px;
}

/* The shared profile widget also mounts the notification bell. Its feed API
   lives on the recruiter app, not here, so the bell stays hidden. */
.hxa-bell { display: none !important; }

/* ---------- Top-nav extras ---------- */
.nk-topnav-right { display: flex; align-items: center; gap: 12px; }
.nk-env {
    display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px;
    border-radius: 999px; font: 600 12px/1 'Inter', sans-serif;
    background: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.7); color: #334155;
}
.nk-env .nk-dot { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; }
.nk-env.is-ok .nk-dot { background: #22C55E; }
.nk-env.is-warn .nk-dot { background: #F59E0B; }
.nk-env.is-test .nk-dot { background: #8B5CF6; }

/* ---------- Locked company field ---------- */
.pjd-input.pjd-input-locked.nk-locked {
    color: #0F172A; font-weight: 600; cursor: not-allowed;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
}
.nk-lock-note { display: inline-flex; align-items: center; gap: 6px; }
.nk-lock-note svg { width: 12px; height: 12px; }

/* ---------- Step 2: Naukri details card ---------- */
.nk-details-card { gap: 16px; }
.nk-details-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nk-details-title { margin: 0; font: 600 20px/28px 'Inter', sans-serif; color: #0F172A; }
.nk-details-sub { margin: 0; font: 400 13px/20px 'Inter', sans-serif; color: #64748B; }
.nk-badge {
    display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
    font: 600 12px/1 'Inter', sans-serif; white-space: nowrap;
}
.nk-badge-test { background: #EDE9FE; color: #6D28D9; }
.nk-badge-live { background: #DCFCE7; color: #15803D; }
.nk-badge-grey { background: #E2E8F0; color: #475569; }
.nk-badge-amber { background: #FEF3C7; color: #B45309; }
.nk-badge-red { background: #FEE2E2; color: #B91C1C; }
.nk-badge-blue { background: #DBEAFE; color: #1D4ED8; }

.nk-skills-wrap { display: flex; flex-direction: column; gap: 8px; }
.nk-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 8px; }
.nk-chip {
    display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
    background: #E0F2FE; color: #0369A1; font: 500 12px/1 'Inter', sans-serif;
}
.nk-chip button { all: unset; cursor: pointer; display: inline-flex; color: #0369A1; opacity: 0.7; }
.nk-chip button:hover { opacity: 1; }
.nk-chip svg { width: 12px; height: 12px; }
.nk-count { font: 500 12px/16px 'Inter', sans-serif; color: #64748B; }
.nk-count.is-over { color: #B91C1C; }

.nk-band {
    display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px;
    background: rgba(255,255,255,0.45); border: 1px solid rgba(203,213,225,0.6);
}
.nk-band-label { font: 600 12px/16px 'Inter', sans-serif; color: #64748B; text-transform: uppercase; letter-spacing: 0.04em; }
.nk-band-value { font: 600 15px/22px 'Inter', sans-serif; color: #0F172A; }
.nk-band-hint { font: 400 12px/18px 'Inter', sans-serif; color: #64748B; }

.nk-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nk-switch-row .pjd2-field-hint { flex: 1 1 auto; }

.nk-save-state { font: 500 12px/16px 'Inter', sans-serif; color: #64748B; min-height: 16px; text-align: right; }
.nk-save-state.is-saving { color: #1D4ED8; }
.nk-save-state.is-saved { color: #15803D; }
.nk-save-state.is-error { color: #B91C1C; }

/* ---------- Step 3: publish + post ---------- */
.nk-pub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 1100px) { .nk-pub-grid { grid-template-columns: 1fr; } }
.nk-pub-card { gap: 18px; }
.nk-pub-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nk-pub-head h2 { margin: 0; font: 600 20px/28px 'Inter', sans-serif; color: #0F172A; }
.nk-pub-ic {
    width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
}
.nk-pub-ic svg { width: 20px; height: 20px; }
.nk-pub-ic.is-hx { background: rgba(176,219,255,0.6); color: #007EE8; }
.nk-pub-ic.is-nk { background: #FEF3C7; color: #B45309; }
.nk-kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 16px; }
.nk-kv dt { margin: 0; font: 600 13px/20px 'Inter', sans-serif; color: #64748B; }
.nk-kv dd { margin: 0; font: 500 14px/20px 'Inter', sans-serif; color: #0F172A; word-break: break-word; }
.nk-kv dd .nk-chips { margin-top: 2px; }
.nk-problems { margin: 0; padding: 12px 14px 12px 30px; border-radius: 12px; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; font: 500 13px/20px 'Inter', sans-serif; }
.nk-ok-note { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; font: 500 13px/20px 'Inter', sans-serif; }
.nk-warn-note { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; font: 500 13px/20px 'Inter', sans-serif; }
.nk-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.nk-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; cursor: pointer;
    background: rgba(255,255,255,0.45); border: 1px solid rgba(203,213,225,0.8); color: #334155;
    font: 600 14px/1 'Inter', sans-serif; box-shadow: inset 0 0 12px #FFFFFF;
}
.nk-btn-ghost:hover { background: rgba(255,255,255,0.7); }
.nk-btn-ghost:disabled, .pjd-btn-next:disabled { opacity: 0.55; cursor: not-allowed; }
.nk-btn-ghost svg { width: 15px; height: 15px; }
.nk-btn-danger { color: #B91C1C; border-color: #FECACA; }
.nk-pub-link { display: flex; align-items: center; gap: 10px; }
.nk-pub-link a { font: 500 14px/20px 'Inter', sans-serif; color: #007EE8; text-decoration: none; word-break: break-all; }
.nk-pub-link a:hover { text-decoration: underline; }
.nk-spin {
    width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); border-top-color: #FFFFFF;
    animation: nk-rot 0.8s linear infinite; display: inline-block;
}
.nk-btn-ghost .nk-spin { border-color: rgba(51,65,85,0.3); border-top-color: #334155; }
@keyframes nk-rot { to { transform: rotate(360deg); } }

/* ---------- Jobs page ---------- */
.nk-jobs-wrap { display: flex; flex-direction: column; gap: 20px; }
.nk-jobs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nk-jobs-toolbar h2 { margin: 0; font: 600 22px/30px 'Inter', sans-serif; color: #0F172A; }
.nk-table-card { padding: 0 !important; overflow: hidden; }
.nk-table { width: 100%; border-collapse: collapse; font-family: 'Inter', sans-serif; }
.nk-table th {
    text-align: left; padding: 14px 18px; font: 600 12px/16px 'Inter', sans-serif; color: #64748B;
    text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid rgba(203,213,225,0.6);
    background: rgba(255,255,255,0.35);
}
.nk-table td { padding: 14px 18px; font: 500 14px/20px 'Inter', sans-serif; color: #0F172A; border-bottom: 1px solid rgba(203,213,225,0.45); vertical-align: top; }
.nk-table tr:last-child td { border-bottom: 0; }
.nk-table tr.nk-row { cursor: pointer; }
.nk-table tr.nk-row:hover td { background: rgba(255,255,255,0.35); }
.nk-role { font-weight: 600; }
.nk-sub { display: block; font: 400 12px/18px 'Inter', sans-serif; color: #64748B; }
.nk-row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.nk-mini {
    all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 8px;
    background: rgba(255,255,255,0.55); border: 1px solid rgba(203,213,225,0.8); color: #334155; font: 600 12px/1 'Inter', sans-serif;
}
.nk-mini:hover { background: #FFFFFF; }
.nk-mini.is-primary { background: linear-gradient(180deg,#0B90F3 0%,#007EE8 100%); color: #FFF; border-color: #8AC9FF; }
.nk-mini.is-danger { color: #B91C1C; }
.nk-mini:disabled { opacity: 0.5; cursor: not-allowed; }
.nk-expand td { background: rgba(255,255,255,0.25); }
.nk-applies { width: 100%; border-collapse: collapse; }
.nk-applies th { padding: 8px 12px; font: 600 11px/14px 'Inter', sans-serif; color: #64748B; text-transform: uppercase; letter-spacing: 0.05em; text-align: left; background: transparent; border-bottom: 1px solid rgba(203,213,225,0.5); }
.nk-applies td { padding: 10px 12px; font: 500 13px/18px 'Inter', sans-serif; border-bottom: 1px solid rgba(203,213,225,0.35); }
.nk-empty { padding: 40px 18px; text-align: center; font: 500 14px/22px 'Inter', sans-serif; color: #64748B; }
.nk-empty strong { display: block; font-size: 16px; color: #0F172A; margin-bottom: 4px; }

/* ---------- Login ---------- */
.nk-login-shell { min-height: var(--app-vh, 100vh); display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; z-index: 1; }
.nk-login-card {
    width: 440px; max-width: 100%; display: flex; flex-direction: column; gap: 22px; padding: 36px 36px 32px;
    background: rgba(255,255,255,0.35); box-shadow: inset 0 0 22.6px #FFFFFF, 0 24px 60px -30px rgba(15,23,42,0.25);
    border-radius: 24px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font-family: 'Inter', sans-serif;
}
.nk-login-brand { display: flex; align-items: center; gap: 12px; }
.nk-login-brand img { height: 28px; }
.nk-login-brand .nk-rail-brand { width: 40px; height: 40px; border-radius: 12px; font-size: 12px; }
.nk-login-brand-x { color: #94A3B8; font-weight: 600; }
.nk-login-title { margin: 0; font: 600 28px/34px 'Inter', sans-serif; color: #0F172A; letter-spacing: -0.01em; }
.nk-login-sub { margin: 0; font: 400 14px/22px 'Inter', sans-serif; color: #475569; }
.nk-login-sub strong { color: #0F172A; }
.nk-login-form { display: flex; flex-direction: column; gap: 16px; }
.nk-login-form .pjd-field label { font: 600 13px/18px 'Inter', sans-serif; color: #0F172A; }
.nk-login-submit { width: 100%; justify-content: center; }
.nk-login-error { display: none; padding: 10px 14px; border-radius: 12px; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; font: 500 13px/20px 'Inter', sans-serif; }
.nk-login-error.show { display: block; }
.nk-login-foot { margin: 0; font: 400 12px/18px 'Inter', sans-serif; color: #64748B; text-align: center; }
.nk-login-foot a { color: #007EE8; text-decoration: none; }

/* ---------- Applicants modal (jobs page) ---------- */
.nk-count-btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(255,255,255,0.55); border: 1px solid rgba(203,213,225,0.7); font: 600 14px/18px 'Inter', sans-serif; color: #0F172A; }
.nk-count-btn:hover { background: #FFFFFF; border-color: #8AC9FF; color: #007EE8; }
.nk-count-btn svg { width: 14px; height: 14px; }
.nk-modal-bg { position: fixed; inset: 0; z-index: 1200; background: rgba(15,23,42,0.45); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.nk-modal-bg.hidden { display: none; }
.nk-modal { width: min(1240px, 100%); height: min(860px, calc(100vh - 48px)); display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(244,248,255,0.95) 100%); border: 1px solid rgba(255,255,255,0.9); border-radius: 24px; box-shadow: 0 30px 80px rgba(15,23,42,0.25); overflow: hidden; }
.nk-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 26px 16px; border-bottom: 1px solid rgba(203,213,225,0.55); }
.nk-modal-heading h2 { margin: 0; font: 600 22px/28px 'Inter', sans-serif; color: #0F172A; }
.nk-modal-heading p { margin: 4px 0 0; font: 400 13px/18px 'Inter', sans-serif; color: #64748B; }
.nk-modal-tools { display: flex; align-items: center; gap: 10px; }
.nk-modal-tools .pjx-close { position: static; }
.nk-modal-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 340px 1fr; }
.nk-app-list { border-right: 1px solid rgba(203,213,225,0.55); overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,0.35); }
.nk-app-card { all: unset; cursor: pointer; display: block; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent; background: rgba(255,255,255,0.6); transition: border-color .15s, background .15s; }
.nk-app-card:hover { background: #FFFFFF; }
.nk-app-card.is-active { background: #FFFFFF; border-color: #8AC9FF; box-shadow: 0 6px 18px rgba(0,126,232,0.12); }
.nk-app-card .nk-app-name { display: block; font: 600 14px/20px 'Inter', sans-serif; color: #0F172A; }
.nk-app-card .nk-app-meta { display: block; font: 400 12px/18px 'Inter', sans-serif; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nk-app-card .nk-app-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nk-app-detail { overflow-y: auto; padding: 22px 26px 30px; }
.nk-app-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nk-app-top h3 { margin: 0; font: 600 24px/30px 'Inter', sans-serif; color: #0F172A; }
.nk-app-top .nk-app-role { margin: 4px 0 0; font: 400 14px/20px 'Inter', sans-serif; color: #475569; }
.nk-app-top .nk-actions { align-items: center; }
.nk-contact { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; }
.nk-contact a, .nk-contact span { display: inline-flex; align-items: center; gap: 7px; font: 500 14px/20px 'Inter', sans-serif; color: #0F172A; text-decoration: none; }
.nk-contact a:hover { color: #007EE8; }
.nk-contact svg { width: 16px; height: 16px; color: #64748B; flex: none; }
.nk-app-section { margin-top: 22px; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.9); box-shadow: 0 4px 16px rgba(15,23,42,0.05); }
.nk-app-section h4 { margin: 0 0 12px; font: 600 12px/16px 'Inter', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #64748B; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nk-app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 20px; }
.nk-app-grid dt { font: 500 11px/16px 'Inter', sans-serif; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.04em; }
.nk-app-grid dd { margin: 2px 0 0; font: 500 14px/20px 'Inter', sans-serif; color: #0F172A; overflow-wrap: anywhere; }
.nk-app-grid dl { margin: 0; }
.nk-ai-head { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.nk-ai-score { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font: 700 22px/1 'Inter', sans-serif; color: #0F172A; background: conic-gradient(var(--nk-ring, #22C55E) calc(var(--nk-pct, 0) * 1%), #E2E8F0 0); position: relative; flex: none; }
.nk-ai-score::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #FFFFFF; }
.nk-ai-score span { position: relative; }
.nk-ai-score small { position: relative; font: 600 10px/1 'Inter', sans-serif; color: #94A3B8; margin-top: 2px; }
.nk-ai-summary { font: 400 14px/22px 'Inter', sans-serif; color: #334155; margin: 0; }
.nk-skill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.nk-skill-row .nk-label { width: 100%; font: 500 11px/16px 'Inter', sans-serif; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.04em; }
.nk-chip.is-ok { background: #DCFCE7; color: #15803D; }
.nk-chip.is-miss { background: #FEE2E2; color: #B91C1C; }
.nk-app-empty { height: 100%; display: grid; place-items: center; text-align: center; padding: 40px; font: 500 14px/22px 'Inter', sans-serif; color: #64748B; }
.nk-app-empty strong { display: block; font-size: 17px; color: #0F172A; margin-bottom: 6px; }
.nk-app-empty p { max-width: 420px; margin: 0; }
.nk-raw { margin-top: 10px; }
.nk-raw summary { cursor: pointer; font: 500 12px/18px 'Inter', sans-serif; color: #007EE8; }
.nk-raw pre { margin: 8px 0 0; padding: 12px; border-radius: 12px; background: #0F172A; color: #E2E8F0; font: 400 12px/18px ui-monospace, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow: auto; }
@media (max-width: 900px) {
    .nk-modal-body { grid-template-columns: 1fr; grid-template-rows: 200px 1fr; }
    .nk-app-list { border-right: 0; border-bottom: 1px solid rgba(203,213,225,0.55); }
}
.nk-work { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.nk-work-row { font: 400 13px/18px 'Inter', sans-serif; color: #334155; padding: 8px 12px; border-radius: 10px; background: rgba(241,245,249,0.8); }
.nk-work-row strong { font-weight: 600; color: #0F172A; }

/* ---------- Applicants page + applicant detail page ---------- */
.nk-crumbs { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nk-crumb { font: 500 14px/20px 'Inter', sans-serif; color: #64748B; text-decoration: none; white-space: nowrap; }
.nk-crumb:hover { color: #007EE8; }
.nk-crumb-sep { color: #CBD5E1; font: 500 14px/20px 'Inter', sans-serif; }
.nk-toolbar-sub { margin: 4px 0 0; font: 400 13px/18px 'Inter', sans-serif; color: #64748B; }
.nk-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.nk-stat { padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.9); min-width: 110px; }
.nk-stat span { display: block; font: 500 11px/14px 'Inter', sans-serif; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.05em; }
.nk-stat strong { display: block; margin-top: 2px; font: 600 16px/22px 'Inter', sans-serif; color: #0F172A; }
.nk-table-scroll { overflow-x: auto; }
.nk-table-applicants th, .nk-table-applicants td { white-space: nowrap; }
.nk-table-applicants td:nth-child(5) { white-space: normal; min-width: 180px; max-width: 260px; }
.nk-table-applicants td a { color: #0F172A; text-decoration: none; }
.nk-table-applicants td a:hover { color: #007EE8; }
.nk-muted { color: #94A3B8; }

.nk-cand-head { padding: 22px 26px !important; }
.nk-cand-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nk-cand-top h2 { margin: 0; font: 600 26px/32px 'Inter', sans-serif; color: #0F172A; }
.nk-cand-top p { margin: 6px 0 0; font: 400 14px/20px 'Inter', sans-serif; color: #475569; }
.nk-cand-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nk-cand-top .nk-actions { align-items: center; }
.nk-cand-top .nk-btn-ghost { text-decoration: none; }
.nk-detail-grid { display: grid; grid-template-columns: minmax(380px, 520px) 1fr; gap: 20px; align-items: start; }
.nk-detail-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.nk-kv-card { padding: 18px 20px !important; }
.nk-kv-card h3 { margin: 0 0 10px; font: 600 12px/16px 'Inter', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #64748B; }
.nk-kv { width: 100%; border-collapse: collapse; font-family: 'Inter', sans-serif; }
.nk-kv th, .nk-kv td { padding: 9px 10px; border-bottom: 1px solid rgba(203,213,225,0.45); vertical-align: top; text-align: left; font: 500 13px/19px 'Inter', sans-serif; }
.nk-kv tbody tr:last-child th, .nk-kv tbody tr:last-child td { border-bottom: 0; }
.nk-kv th { width: 42%; color: #64748B; font-weight: 500; }
.nk-kv td { color: #0F172A; overflow-wrap: anywhere; }
.nk-kv-grid th { width: auto; font: 600 11px/14px 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; color: #64748B; }
.nk-kv .nk-chips { gap: 5px; }
.nk-resume-card { padding: 0 !important; overflow: hidden; position: sticky; top: 0; max-height: calc(var(--app-vh, 100vh) - 140px); display: flex; flex-direction: column; min-width: 0; }
.nk-resume-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(203,213,225,0.5); }
.nk-resume-head h3 { margin: 0; font: 600 16px/22px 'Inter', sans-serif; color: #0F172A; }
.nk-resume-pages { overflow-y: auto; padding: 16px; background: rgba(226,232,240,0.45); display: flex; flex-direction: column; gap: 16px; min-height: 320px; }
.nk-resume-note { font: 500 12px/16px 'Inter', sans-serif; color: #64748B; text-align: center; }
.nk-resume-page { width: 100%; background: #FFFFFF; border-radius: 6px; box-shadow: 0 6px 20px rgba(15,23,42,0.12); overflow: hidden; }
.nk-resume-page img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; pointer-events: none; }
@media (max-width: 1100px) {
    .nk-detail-grid { grid-template-columns: 1fr; }
    .nk-resume-card { position: static; max-height: none; }
}
/* The pipeline card styles turn every descendant table into a grid; these are real tables. */
.nk-kv-card { display: block !important; }
.nk-kv, .pjd-card .nk-kv { display: table !important; table-layout: fixed; width: 100%; }
.nk-kv thead { display: table-header-group !important; }
.nk-kv tbody { display: table-row-group !important; }
.nk-kv tr { display: table-row !important; }
.nk-kv th, .nk-kv td { display: table-cell !important; }
.nk-kv th { width: 36%; }
.nk-kv-grid th { width: auto; }
.nk-kv-card h3 { margin-bottom: 10px; }
.nk-detail-grid { grid-template-columns: minmax(440px, 640px) 1fr; }
@media (max-width: 1100px) { .nk-detail-grid { grid-template-columns: 1fr; } }
.nk-btn-ghost.is-danger { color: #B91C1C; }
.nk-btn-ghost.is-danger:hover { background: #FEE2E2; }
/* Primary mini button: hover darkens, it never goes white-on-white. */
.nk-mini.is-primary:hover { background: linear-gradient(180deg,#0A84E0 0%,#0070D0 100%); color: #FFF; border-color: #5FB3FF; }
.nk-table-applicants td .nk-row-actions { gap: 8px; }
/* Download button inside the shared resume viewer header (portal only). */
.hx-rv .nk-rv-download { display: inline-flex; align-items: center; gap: 7px; margin-right: 12px; padding: 8px 14px; border-radius: 999px; background: linear-gradient(180deg,#0B90F3 0%,#007EE8 100%); color: #FFF; font: 600 13px/16px 'Inter', sans-serif; text-decoration: none; border: 1px solid #8AC9FF; flex: none; }
.hx-rv .nk-rv-download:hover { background: linear-gradient(180deg,#0A84E0 0%,#0070D0 100%); color: #FFF; }
.hx-rv .nk-rv-download svg { width: 15px; height: 15px; }

/* ---------- i-buttons: what a button does, and what it costs ---------- */
.nk-btn-wrap { display: inline-flex; align-items: center; gap: 8px; }
.nk-info { position: relative; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #94A3B8; color: #64748B; background: rgba(255,255,255,0.7); font: 700 11px/1 'Inter', sans-serif; cursor: help; flex: none; user-select: none; }
.nk-info:hover, .nk-info:focus-visible { border-color: #007EE8; color: #007EE8; outline: none; }
.nk-info::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: max-content; max-width: 300px; padding: 10px 12px; border-radius: 10px; background: #0F172A; color: #F8FAFC; font: 400 12px/18px 'Inter', sans-serif; text-align: left; white-space: normal; box-shadow: 0 10px 30px rgba(15,23,42,0.25); opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 50; }
.nk-info::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); border: 6px solid transparent; border-top-color: #0F172A; opacity: 0; transition: opacity .12s; z-index: 50; }
.nk-info:hover::after, .nk-info:focus-visible::after, .nk-info:hover::before, .nk-info:focus-visible::before { opacity: 1; }
.pjd-footer .nk-info { margin-left: 4px; }
.nk-btn-ghost:disabled, .nk-mini:disabled { opacity: 0.5; cursor: not-allowed; }

/* Resume viewer on this portal: the whole page is readable (watermark stays). */
.hx-rv.nk-full-view .hx-rv-veil { display: none !important; }
.hx-rv.nk-full-view .hx-rv-lenshint { display: none !important; }

/* ---------- Hover info cards on buttons (jobs list) ---------- */
.nk-tip { position: relative; display: inline-flex; }
.nk-tip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: max-content; max-width: 280px; padding: 10px 12px; border-radius: 10px; background: #0F172A; color: #F8FAFC; font: 400 12px/18px 'Inter', sans-serif; text-align: left; white-space: normal; box-shadow: 0 10px 30px rgba(15,23,42,0.25); opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 60; }
.nk-tip::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); border: 6px solid transparent; border-top-color: #0F172A; opacity: 0; transition: opacity .12s; z-index: 60; }
.nk-tip:hover::after, .nk-tip:focus-within::after, .nk-tip:hover::before, .nk-tip:focus-within::before { opacity: 1; }
.nk-table td .nk-tip:last-child::after { left: auto; right: 0; transform: none; }
.nk-table td .nk-tip:last-child::before { left: auto; right: 24px; transform: none; }
