/* ==========================================================================
   RECRUITER PORTAL STYLES - NILESH SOLANKI
   Executive candidate summary designed for talent acquisition & tech leads
   ========================================================================== */

.recruiter-body {
    background-color: #0b0f19;
    color: #f8fafc;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    line-height: 1.6;
}

/* Header & Breadcrumb */
.recruiter-header {
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.recruiter-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.recruiter-badge-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
}

.badge-recruiter-label {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: #67e8f9;
    padding: 4px 12px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Candidate Hero Snapshot */
.candidate-hero-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px;
    margin: 36px 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.candidate-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6e42 0%, #6366f1 50%, #06b6d4 100%);
}

.candidate-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 28px;
}

.candidate-identity {
    display: flex;
    gap: 24px;
    align-items: center;
}

.candidate-avatar {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    border: 2px solid rgba(255, 110, 66, 0.4);
    object-fit: cover;
    object-position: center 20%;
}

.candidate-names h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 4px;
}

.candidate-role-title {
    font-size: 18px;
    font-weight: 600;
    color: #ff6e42;
    margin-bottom: 8px;
}

.candidate-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #94a3b8;
}

/* Quick Recruiter Toolbar */
.recruiter-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-recruiter-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-action-primary {
    background: #ff6e42;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 110, 66, 0.3);
}

.btn-action-primary:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

.btn-action-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

.btn-action-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #6366f1;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Fast Facts Grid */
.candidate-facts-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fact-box {
    background: #162032;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 18px;
}

.fact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.fact-value {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

/* Executive Highlights */
.recruiter-grid-2col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    margin-bottom: 36px;
}

.recruiter-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.card-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-title-bar i {
    font-size: 20px;
    color: #ff6e42;
}

.card-title-bar h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

/* Competency Table */
.matrix-group {
    margin-bottom: 16px;
}

.matrix-group-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.matrix-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.matrix-pill {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    color: #cbd5e1;
}

.matrix-pill.highlight {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
}

/* Verification list */
.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #cbd5e1;
}

.checklist-item i {
    color: #10b981;
    margin-top: 3px;
}

/* Projects Table / Cards for Recruiters */
.recruiter-project-item {
    padding: 16px 20px;
    background: #162032;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 14px;
}

.project-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.project-item-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.project-item-links a {
    font-size: 13px;
    font-weight: 600;
    color: #38bdf8;
    margin-left: 12px;
}

.project-item-links a:hover {
    text-decoration: underline;
}

.project-item-desc {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 10px;
}

/* Print Styles */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 12pt;
    }

    .recruiter-header,
    .recruiter-toolbar,
    .no-print {
        display: none !important;
    }

    .candidate-hero-card,
    .recruiter-card,
    .fact-box,
    .recruiter-project-item,
    .education-card {
        background: #ffffff !important;
        border: 1px solid #cccccc !important;
        color: #000000 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }

    .candidate-names h1,
    .card-title-bar h3,
    .edu-institution,
    .exp-company {
        color: #000000 !important;
    }

    .candidate-role-title,
    .matrix-pill.highlight {
        color: #000000 !important;
        font-weight: bold !important;
    }
}

@media (max-width: 900px) {
    .candidate-facts-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .recruiter-grid-2col {
        grid-template-columns: 1fr;
    }
}
