/* =========================================================
   IN SAI AI RECRUITER
   PREMIUM DARK MAROON UI
   Search + Talent Pool + Outreach

   IMPORTANT:
   - Existing class names preserved
   - JavaScript-dependent classes preserved
   - No HTML changes required
   - Deep maroon / charcoal visual system
   - White used selectively for readability
   - Green reserved for AI/status
   - Red reserved for remove/delete
========================================================= */


/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    /* -----------------------------------------------------
       MAIN BACKGROUNDS
    ----------------------------------------------------- */

    --bg: #160b0f;
    --bg-soft: #1d1014;
    --bg-deep: #11080b;
    --bg-surface: #241318;
    --bg-surface-2: #2b171d;

    --bg-white: #ffffff;
    --warm-white: #fffafa;


    /* -----------------------------------------------------
       CARDS
    ----------------------------------------------------- */

    --card: #241419;
    --card-soft: #29171d;
    --card-warm: #2d1a20;


    /* -----------------------------------------------------
       TEXT
    ----------------------------------------------------- */

    --text-dark: #fff8f8;
    --text: #eadfe1;
    --text-soft: #c7b7ba;
    --muted: #9c898e;
    --muted-light: #78676c;


    /* -----------------------------------------------------
       PRIMARY MAROON
    ----------------------------------------------------- */

    --primary: #9b2638;
    --primary-dark: #741b2a;
    --primary-deep: #54131f;
    --primary-light: #c04a5b;

    --maroon: #9b2638;
    --maroon-dark: #741b2a;
    --maroon-soft: #32171e;
    --maroon-light: #3b1b23;


    /* -----------------------------------------------------
       WINE
    ----------------------------------------------------- */

    --wine: #8f1734;
    --wine-soft: #30131c;


    /* -----------------------------------------------------
       RED — REMOVE / DANGER ONLY
    ----------------------------------------------------- */

    --red: #e0525f;
    --red-dark: #bd3543;
    --red-soft: #35151a;
    --red-light: #431a20;


    /* -----------------------------------------------------
       WARM ACCENT
    ----------------------------------------------------- */

    --peach: #c9794d;
    --peach-soft: #34201a;
    --peach-light: #44261d;


    /* -----------------------------------------------------
       GREEN — AI / STATUS
    ----------------------------------------------------- */

    --green: #24b889;
    --green-dark: #168564;
    --green-soft: #102b24;


    /* -----------------------------------------------------
       BORDERS
    ----------------------------------------------------- */

    --border: #3a2429;
    --border-light: #302024;
    --border-maroon: #71323e;
    --border-red: #713039;


    /* -----------------------------------------------------
       SHADOWS
    ----------------------------------------------------- */

    --shadow-sm:
        0 3px 12px rgba(0, 0, 0, 0.24);

    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.30);

    --shadow-lg:
        0 20px 55px rgba(0, 0, 0, 0.42);


    /* -----------------------------------------------------
       RADIUS
    ----------------------------------------------------- */

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
}


/* =========================================================
   BODY
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(155, 38, 56, 0.20),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 12%,
            rgba(116, 27, 42, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 50% 100%,
            rgba(155, 38, 56, 0.08),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #160b0f 0%,
            #13090c 55%,
            #10070a 100%
        );

    overflow-x: hidden;
    cursor: default;
}


/* =========================================================
   INPUT / EDITABLE AREAS
========================================================= */

input,
textarea {
    cursor: text;
}

select {
    cursor: pointer;
}

button {
    cursor: pointer;
}

a {
    cursor: pointer;
}


/* =========================================================
   ANIMATED BACKGROUND
========================================================= */

.background {
    position: fixed;
    inset: 0;
    z-index: -1;

    pointer-events: none;
    overflow: hidden;
}

.grid {
    position: absolute;
    inset: 0;

    opacity: 0.25;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 64px 64px;
}

.orb {
    position: absolute;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: 0.10;

    animation:
        floatingOrb 15s ease-in-out infinite;
}

.orb-one {
    background: #9b2638;

    top: -240px;
    right: -150px;
}

.orb-two {
    background: #641725;

    bottom: -240px;
    left: -160px;

    animation-delay: -7s;
}

@keyframes floatingOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(25px, 20px);
    }
}


/* =========================================================
   IN SAI — LARGE PROFESSIONAL NAVIGATION
   ========================================================= */

.navbar {
    height: 140px;
    min-height: 140px;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

.logo-icon {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.logo-name {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.logo-subtitle {
    font-size: 9px;
    letter-spacing: 1.2px;
    margin-top: 5px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar nav a {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px 25px;

    font-size: 16px;
    font-weight: 700;

    min-height: 52px;

    border-radius: 14px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   ACTIVE TAB
   ========================================================= */

.navbar nav a.active {
    padding: 16px 25px;
}


/* =========================================================
   READY STATUS
   ========================================================= */

.status {
    padding: 11px 20px;
    min-height: 42px;

    display: flex;
    align-items: center;
    gap: 9px;

    border-radius: 24px;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #a52c40,
            #641725
        );

    color: white;

    font-size: 19px;

    box-shadow:
        0 8px 22px rgba(155, 38, 56, 0.30);
}

.logo-name {
    color: #fff5f6;

    font-size: 17px;
    font-weight: 850;

    letter-spacing: -0.3px;
}

.logo-subtitle {
    margin-top: 2px;

    color: #a99398;

    font-size: 8px;
    font-weight: 750;

    letter-spacing: 1.8px;
}


/* =========================================================
   NAVIGATION
========================================================= */

nav {
    display: flex;
    gap: 5px;

    position: absolute;
    left: 50%;

    transform: translateX(-50%);
}

nav a {
    position: relative;

    padding: 9px 15px;

    border-radius: 9px;

    text-decoration: none;

    color: #a8969b;

    font-size: 12px;
    font-weight: 700;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

nav a:hover {
    color: #ffffff;

    background:
        rgba(155, 38, 56, 0.16);

    transform:
        translateY(-1px);
}

nav a.active {
    color: #ffffff;

    background:
        rgba(155, 38, 56, 0.20);

    box-shadow:
        inset 0 0 0 1px
        rgba(192, 74, 91, 0.16);
}

nav a.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 18px;
    height: 2px;

    transform:
        translateX(-50%);

    border-radius: 99px;

    background:
        #c04a5b;
}


/* =========================================================
   AI STATUS
========================================================= */

.nav-status {
    display: flex;
    align-items: center;

    gap: 8px;

    padding: 7px 12px;

    border-radius: 20px;

    color: #42c99e;

    background:
        rgba(36, 184, 137, 0.08);

    border:
        1px solid rgba(36, 184, 137, 0.20);

    font-size: 10px;
    font-weight: 800;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--green);

    box-shadow:
        0 0 12px rgba(36, 184, 137, 0.55);

    animation:
        statusPulse 1.8s infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.75);
    }
}


/* =========================================================
   MAIN
========================================================= */

main {
    width:
        min(1120px, calc(100% - 40px));

    margin:
        auto;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    text-align: center;

    padding:
        70px 0 55px;

    animation:
        heroAppear 0.7s ease both;
}

@keyframes heroAppear {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 8px 14px;

    border:
        1px solid rgba(192, 74, 91, 0.28);

    border-radius: 999px;

    color:
        #e08b98;

    background:
        rgba(155, 38, 56, 0.12);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 1.25px;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   HERO HEADING
========================================================= */

.hero h1 {
    margin-top: 24px;

    color:
        #fff8f8;

    font-size:
        clamp(45px, 6vw, 68px);

    line-height: 1;

    letter-spacing: -3px;

    font-weight: 850;

    border: none !important;
    outline: none !important;

    box-shadow: none !important;

    caret-color:
        transparent !important;

    cursor:
        default !important;

    user-select:
        none;
}

.hero h1::before,
.hero h1::after {
    content: none !important;
    display: none !important;
}

.hero h1 span {
    background:
        linear-gradient(
            100deg,
            #d25b6c,
            #a52c40,
            #e0808e
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-text {
    max-width: 690px;

    margin:
        22px auto 30px;

    color:
        #ad9b9f;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   SEARCH BOX
========================================================= */

.search-container {
    width:
        min(860px, 100%);

    height: 64px;

    margin:
        auto;

    display:
        flex;

    align-items:
        center;

    padding:
        6px 7px 6px 20px;

    background:
        rgba(39, 20, 26, 0.95);

    border:
        1px solid #4b2930;

    border-radius:
        16px;

    box-shadow:
        0 15px 42px rgba(0, 0, 0, 0.30);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.search-container:focus-within {
    border-color:
        rgba(192, 74, 91, 0.65);

    box-shadow:
        0 18px 48px
        rgba(0, 0, 0, 0.36),

        0 0 0 4px
        rgba(155, 38, 56, 0.10);

    transform:
        translateY(-1px);
}

.search-icon {
    margin-right:
        13px;

    color:
        #c04a5b;

    font-size:
        21px;
}

.search-container input {
    flex: 1;

    min-width: 0;

    padding: 10px;

    outline: none;
    border: none;

    background: transparent;

    color:
        #f6eaec;

    font-size:
        13px;

    caret-color:
        #c04a5b;

    cursor:
        text;
}

.search-container input::placeholder {
    color:
        #806e73;
}

.search-container button {
    height: 50px;

    padding:
        0 23px;

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    border:
        none;

    border-radius:
        12px;

    background:
        linear-gradient(
            135deg,
            #a52c40,
            #6f1928
        );

    color:
        white;

    font-size:
        12px;

    font-weight:
        800;

    cursor:
        pointer;

    box-shadow:
        0 8px 22px
        rgba(155, 38, 56, 0.28);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.search-container button:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 28px
        rgba(155, 38, 56, 0.38);
}

.search-container button:active {
    transform:
        translateY(0);
}


/* =========================================================
   SEARCH HINT
========================================================= */

.search-hint {
    margin-top:
        13px;

    color:
        #817176;

    font-size:
        10px;
}

.search-hint button {
    margin-left:
        5px;

    padding:
        6px 10px;

    border:
        1px solid #43272d;

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, 0.025);

    color:
        #9b898e;

    cursor:
        pointer;

    transition:
        0.2s ease;
}

.search-hint button:hover {
    color:
        #df8491;

    border-color:
        rgba(192, 74, 91, 0.40);

    background:
        rgba(155, 38, 56, 0.10);

    transform:
        translateY(-1px);
}


/* =========================================================
   SECTIONS
========================================================= */

.section,
.filters-section,
.results-section {
    margin-bottom:
        48px;
}

.section-header,
.results-header {
    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    margin-bottom:
        17px;
}

.section-label {
    margin-bottom:
        6px;

    color:
        #c04a5b;

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        1.8px;
}

.section-header h2,
.results-header h2 {
    color:
        #f5e9eb;

    font-size:
        21px;

    letter-spacing:
        -0.5px;
}

.live-label {
    display:
        flex;

    align-items:
        center;

    gap:
        7px;

    color:
        #39bd92;

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        1px;
}


/* =========================================================
   CATEGORY GRID
========================================================= */

.categories {
    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        12px;
}


/* =========================================================
   CATEGORY GROUP
========================================================= */

.category-group {
    min-width:
        0;

    animation:
        categoryAppear 0.55s ease both;
}

.category-group:nth-child(1) {
    animation-delay: 0.05s;
}

.category-group:nth-child(2) {
    animation-delay: 0.10s;
}

.category-group:nth-child(3) {
    animation-delay: 0.15s;
}

.category-group:nth-child(4) {
    animation-delay: 0.20s;
}

.category-group:nth-child(5) {
    animation-delay: 0.25s;
}

.category-group:nth-child(6) {
    animation-delay: 0.30s;
}

.category-group:nth-child(7) {
    animation-delay: 0.35s;
}

.category-group:nth-child(8) {
    animation-delay: 0.40s;
}

@keyframes categoryAppear {

    from {
        opacity: 0;
        transform:
            translateY(12px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


/* =========================================================
   CATEGORY CARD
========================================================= */

.category {
    width:
        100%;

    min-height:
        82px;

    padding:
        14px;

    display:
        flex;

    align-items:
        center;

    gap:
        11px;

    position:
        relative;

    overflow:
        hidden;

    border:
        1px solid #3a2429;

    border-radius:
        13px;

    background:
        linear-gradient(
            145deg,
            #28151b,
            #211117
        );

    color:
        #dfd2d5;

    font-size:
        12px;

    font-weight:
        750;

    cursor:
        pointer;

    box-shadow:
        0 5px 18px
        rgba(0, 0, 0, 0.20);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.category::after {
    content:
        "";

    position:
        absolute;

    width:
        130px;

    height:
        130px;

    top:
        -85px;

    right:
        -75px;

    background:
        radial-gradient(
            circle,
            rgba(155, 38, 56, 0.20),
            transparent 70%
        );

    transition:
        0.3s ease;
}

.category:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(192, 74, 91, 0.40);

    background:
        linear-gradient(
            145deg,
            #30171e,
            #251219
        );

    box-shadow:
        0 14px 30px
        rgba(0, 0, 0, 0.30);
}

.category:hover::after {
    transform:
        scale(1.25);
}

.category.selected {
    border-color:
        rgba(192, 74, 91, 0.60);

    background:
        linear-gradient(
            145deg,
            #3a1a22,
            #28141a
        );

    box-shadow:
        0 10px 28px
        rgba(155, 38, 56, 0.16);
}


/* =========================================================
   CATEGORY ICON
========================================================= */

.category-icon {
    width:
        37px;

    height:
        37px;

    flex:
        0 0 37px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        10px;

    background:
        rgba(155, 38, 56, 0.16);

    color:
        #d05b6b;

    font-size:
        17px;

    transition:
        0.25s ease;
}

.category:hover .category-icon {
    transform:
        scale(1.08);

    background:
        rgba(155, 38, 56, 0.25);

    box-shadow:
        0 5px 18px
        rgba(155, 38, 56, 0.16);
}


/* =========================================================
   SUBCATEGORY PANEL
========================================================= */

.subcategory-panel {
    margin-top:
        8px;

    max-height:
        0;

    overflow:
        hidden;

    opacity:
        0;

    padding:
        0;

    border-radius:
        11px;

    background:
        #211117;

    transform:
        translateY(-5px);

    transition:
        max-height 0.4s ease,
        opacity 0.25s ease,
        padding 0.35s ease,
        transform 0.35s ease;
}

.subcategory-panel.open {
    max-height:
        600px;

    opacity:
        1;

    padding:
        13px;

    transform:
        translateY(0);

    border:
        1px solid #3b252b;

    box-shadow:
        0 15px 34px
        rgba(0, 0, 0, 0.28);
}

.subcategory-section {
    margin-bottom:
        11px;
}

.subcategory-section:last-child {
    margin-bottom:
        0;
}

.subcategory-title {
    margin-bottom:
        7px;

    color:
        #96858a;

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        1.1px;

    text-transform:
        uppercase;
}

.subcategory-list {
    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        5px;
}

.subcategory-list button {
    min-height:
        30px;

    padding:
        6px 8px;

    border:
        1px solid #3a272c;

    border-radius:
        7px;

    background:
        #29171d;

    color:
        #a9969b;

    font-size:
        8px;

    text-align:
        left;

    cursor:
        pointer;

    transition:
        0.2s ease;
}

.subcategory-list button:hover {
    color:
        #e18a96;

    background:
        #351921;

    border-color:
        rgba(192, 74, 91, 0.38);

    transform:
        translateX(2px);
}


/* =========================================================
   FILTER PANEL
========================================================= */

.filters-section {
    padding:
        22px;

    border:
        1px solid #3c272d;

    border-radius:
        15px;

    background:
        linear-gradient(
            145deg,
            rgba(40, 21, 27, 0.96),
            rgba(30, 15, 20, 0.96)
        );

    box-shadow:
        0 12px 34px
        rgba(0, 0, 0, 0.27);
}

.filters {
    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        16px;
}

.filter label {
    display:
        block;

    margin-bottom:
        7px;

    color:
        #bba9ad;

    font-size:
        10px;

    font-weight:
        750;
}

.filter select,
.filter input {
    width:
        100%;

    height:
        40px;

    padding:
        0 11px;

    outline:
        none;

    border:
        1px solid #443036;

    border-radius:
        8px;

    background:
        #211117;

    color:
        #dfd2d5;

    font-size:
        10px;

    transition:
        0.2s ease;
}

.filter select:hover,
.filter input:hover {
    border-color:
        rgba(192, 74, 91, 0.40);

    background:
        #27141a;
}

.filter select:focus,
.filter input:focus {
    border-color:
        rgba(192, 74, 91, 0.65);

    background:
        #2a151b;

    box-shadow:
        0 0 0 3px
        rgba(155, 38, 56, 0.10);
}

.filter select option {
    background:
        #211117;

    color:
        #f1e5e7;
}


/* =========================================================
   SKILL MULTISELECT (Technical + Soft)
========================================================= */

.filter-skills {
    grid-column:
        1 / -1;
}

.filter-skills label {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        10px;
}

.skill-summary {
    color:
        var(--primary-light);

    font-size:
        9px;

    font-weight:
        500;

    text-transform:
        none;

    letter-spacing:
        normal;
}

.skill-picker {
    display:
        flex;

    flex-direction:
        column;

    gap:
        12px;

    padding:
        13px 14px;

    border:
        1px solid #443036;

    border-radius:
        10px;

    background:
        #211117;
}

.skill-group-label {
    color:
        #938187;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        0.6px;

    text-transform:
        uppercase;

    margin-bottom:
        7px;
}

.skill-chip-row {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        7px;
}

.skill-chip {
    padding:
        6px 12px;

    border-radius:
        999px;

    border:
        1px solid #443036;

    background:
        rgba(255, 255, 255, 0.02);

    color:
        #c7b7ba;

    font-size:
        10px;

    font-weight:
        600;

    cursor:
        pointer;

    transition:
        0.2s ease;
}

.skill-chip:hover {
    border-color:
        rgba(192, 74, 91, 0.45);

    background:
        rgba(155, 38, 56, 0.08);

    color:
        #eadfe1;
}

.skill-chip.selected {
    background:
        linear-gradient(135deg, var(--primary), var(--wine));

    border-color:
        var(--primary-light);

    color:
        #fff8f8;
}


/* =========================================================
   SEARCH INSIGHTS (charts built from live results)
========================================================= */

.insights-panel {
    display:
        grid;

    grid-template-columns:
        1.4fr 1fr;

    gap:
        16px;

    margin-bottom:
        22px;
}

@media (max-width: 850px) {

    .insights-panel {
        grid-template-columns:
            1fr;
    }
}

.insight-card {
    padding:
        18px 20px;

    border:
        1px solid #3c272d;

    border-radius:
        13px;

    background:
        #241419;

    box-shadow:
        var(--shadow-sm);
}

.insight-title {
    color:
        #bba9ad;

    font-size:
        10px;

    font-weight:
        750;

    letter-spacing:
        0.4px;

    text-transform:
        uppercase;

    margin-bottom:
        10px;
}

.insight-legend {
    display:
        flex;

    justify-content:
        center;

    gap:
        12px;

    margin-top:
        10px;

    font-size:
        9px;

    color:
        #9c898e;
}

.insight-legend span {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        5px;
}

.insight-legend i {
    display:
        inline-block;

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;
}


/* =========================================================
   LOCATION NOTE
========================================================= */

.location-note {
    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    margin-top:
        15px;

    padding:
        9px 11px;

    border:
        1px solid #38262b;

    border-radius:
        9px;

    background:
        rgba(255, 255, 255, 0.018);

    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}

.location-note:hover {
    border-color:
        rgba(192, 74, 91, 0.28);

    background:
        rgba(155, 38, 56, 0.05);
}

.location-icon {
    width:
        25px;

    height:
        25px;

    flex:
        0 0 25px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        7px;

    background:
        rgba(155, 38, 56, 0.16);

    color:
        #c95a6b;

    font-size:
        14px;
}

.location-note strong {
    display:
        block;

    color:
        #bba8ad;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        0.25px;
}

.location-note p {
    margin-top:
        2px;

    color:
        #847277;

    font-size:
        8px;

    line-height:
        1.4;
}


/* =========================================================
   SOURCES
========================================================= */

.sources {
    display:
        flex;

    align-items:
        center;

    gap:
        18px;

    margin-top:
        20px;

    padding-top:
        17px;

    border-top:
        1px solid #352428;
}

.source-title {
    color:
        #938187;

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        1px;
}

.checkbox {
    display:
        flex;

    align-items:
        center;

    gap:
        5px;

    color:
        #9b898e;

    font-size:
        9px;
}

.checkbox input {
    accent-color:
        #a52c40;

    cursor:
        pointer;
}


/* =========================================================
   RESULTS
========================================================= */

.results-header h2 span {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        25px;

    height:
        22px;

    margin-left:
        6px;

    padding:
        0 7px;

    border-radius:
        999px;

    background:
        rgba(155, 38, 56, 0.18);

    color:
        #df7583;

    font-size:
        10px;
}

.search-status {
    color:
        #918086;

    font-size:
        10px;
}


/* =========================================================
   LOADING
========================================================= */

.loading {
    display:
        flex;

    align-items:
        center;

    gap:
        13px;

    padding:
        18px;

    border:
        1px solid #3c272d;

    border-radius:
        13px;

    background:
        #241419;

    color:
        #e4d7da;

    box-shadow:
        var(--shadow-sm);

    animation:
        loadingAppear 0.3s ease both;
}

@keyframes loadingAppear {

    from {
        opacity: 0;
        transform:
            translateY(7px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

.loading p {
    margin-top:
        4px;

    color:
        #88767b;

    font-size:
        9px;
}

.loader {
    width:
        25px;

    height:
        25px;

    flex:
        0 0 25px;

    border:
        3px solid
        rgba(192, 74, 91, 0.14);

    border-top-color:
        #c04a5b;

    border-radius:
        50%;

    animation:
        spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform:
            rotate(360deg);
    }
}

.hidden {
    display:
        none;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    padding:
        55px 20px;

    text-align:
        center;

    border:
        1px dashed #493136;

    border-radius:
        15px;

    background:
        rgba(38, 20, 26, 0.72);

    animation:
        emptyAppear 0.5s ease both;
}

@keyframes emptyAppear {

    from {
        opacity: 0;
        transform:
            translateY(10px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

.empty-icon {
    width:
        48px;

    height:
        48px;

    margin:
        0 auto 13px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        14px;

    background:
        rgba(155, 38, 56, 0.17);

    color:
        #d36372;

    font-size:
        21px;

    animation:
        emptyFloat 2.5s ease-in-out infinite;
}

@keyframes emptyFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-5px);
    }
}

.empty-state h3 {
    color:
        #e7dadd;

    font-size:
        14px;
}

.empty-state p {
    margin-top:
        6px;

    color:
        #89777c;

    font-size:
        9px;
}


/* =========================================================
   CANDIDATE CARDS
========================================================= */

.candidate-card {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    padding:
        18px;

    margin-bottom:
        10px;

    border:
        1px solid #3b282d;

    border-radius:
        13px;

    background:
        linear-gradient(
            145deg,
            #28151b,
            #211117
        );

    box-shadow:
        0 5px 18px
        rgba(0, 0, 0, 0.20);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;

    animation:
        candidateAppear 0.4s ease both;
}

.candidate-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(192, 74, 91, 0.36);

    box-shadow:
        0 14px 32px
        rgba(0, 0, 0, 0.30);
}

@keyframes candidateAppear {

    from {
        opacity: 0;
        transform:
            translateY(10px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

.candidate-main {
    display:
        flex;

    align-items:
        center;

    gap:
        12px;
}

.avatar {
    width:
        43px;

    height:
        43px;

    flex:
        0 0 43px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        11px;

    background:
        linear-gradient(
            135deg,
            #a52c40,
            #681827
        );

    color:
        white;

    font-size:
        12px;

    font-weight:
        850;

    box-shadow:
        0 6px 18px
        rgba(155, 38, 56, 0.25);
}

.candidate-name {
    color:
        #f1e4e6;

    font-size:
        12px;

    font-weight:
        800;
}

.candidate-role {
    max-width:
        600px;

    margin-top:
        4px;

    color:
        #9b898e;

    font-size:
        9px;

    line-height:
        1.5;
}

.skills {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        5px;

    margin-top:
        7px;
}

.skill {
    padding:
        4px 7px;

    border-radius:
        999px;

    background:
        rgba(155, 38, 56, 0.15);

    color:
        #c98a93;

    font-size:
        8px;
}

.candidate-actions {
    display:
        flex;

    align-items:
        center;

    gap:
        13px;

    flex-shrink:
        0;
}

.match {
    color:
        #35bd92;

    font-size:
        10px;

    font-weight:
        850;
}

.source {
    margin-top:
        3px;

    color:
        #78676c;

    font-size:
        8px;
}


/* =========================================================
   VIEW PROFILE BUTTON
========================================================= */

.view-button {
    padding:
        8px 12px;

    border:
        1px solid #65333d;

    border-radius:
        8px;

    background:
        rgba(155, 38, 56, 0.13);

    color:
        #d1848e;

    text-decoration:
        none;

    font-size:
        8px;

    font-weight:
        800;

    transition:
        0.2s ease;
}

.view-button:hover {
    background:
        rgba(155, 38, 56, 0.24);

    border-color:
        #87404d;

    color:
        #efb0b8;

    transform:
        translateY(-2px);
}


/* =========================================================
   ADD TO TALENT POOL
========================================================= */

.add-talent-button {
    appearance:
        none;

    -webkit-appearance:
        none;

    display:
        inline-flex !important;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

    margin-top:
        16px !important;

    padding:
        11px 18px !important;

    min-height:
        40px;

    border:
        1px solid #9b2638 !important;

    border-radius:
        9px !important;

    background:
        linear-gradient(
            135deg,
            #a52c40,
            #701a29
        ) !important;

    color:
        #ffffff !important;

    font-family:
        inherit !important;

    font-size:
        12px !important;

    font-weight:
        700 !important;

    line-height:
        1 !important;

    white-space:
        nowrap;

    cursor:
        pointer;

    box-sizing:
        border-box;

    box-shadow:
        0 7px 20px
        rgba(155, 38, 56, 0.25);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.add-talent-button span {
    font-size:
        16px;

    font-weight:
        400;

    line-height:
        1;
}

.add-talent-button:hover {
    background:
        linear-gradient(
            135deg,
            #b33449,
            #801c2d
        ) !important;

    border-color:
        #c04a5b !important;

    transform:
        translateY(-2px);

    box-shadow:
        0 11px 27px
        rgba(155, 38, 56, 0.34);
}

.add-talent-button:active {
    transform:
        translateY(0);

    box-shadow:
        0 4px 12px
        rgba(155, 38, 56, 0.20);
}

.add-talent-button:focus-visible {
    outline:
        2px solid
        rgba(192, 74, 91, 0.55);

    outline-offset:
        2px;
}

.add-talent-button:disabled {
    opacity:
        0.55 !important;

    cursor:
        default;

    transform:
        none;

    box-shadow:
        none;
}


/* =========================================================
   TALENT POOL
========================================================= */

.talent-pool-section {
    padding:
        38px 0 52px;

    min-height:
        500px;

    animation:
        pageSectionAppear 0.55s ease both;
}

@keyframes pageSectionAppear {

    from {
        opacity: 0;
        transform:
            translateY(16px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

.talent-pool-section .section-label {
    margin-bottom:
        7px;
}

.talent-pool-header {
    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        20px;

    margin-bottom:
        20px;
}

.talent-pool-header h1 {
    margin:
        0;

    color:
        #f4e8ea;

    font-size:
        29px;

    line-height:
        1.15;

    letter-spacing:
        -0.8px;

    font-weight:
        800;

    cursor:
        default;

    user-select:
        none;
}

.talent-pool-header p {
    max-width:
        650px;

    margin-top:
        6px;

    color:
        #948187;

    font-size:
        10px;

    line-height:
        1.5;

    cursor:
        default;
}

.talent-pool-count {
    padding:
        7px 12px;

    border-radius:
        999px;

    border:
        1px solid #65333d;

    background:
        rgba(155, 38, 56, 0.15);

    color:
        #d27b87;

    font-size:
        9px;

    font-weight:
        800;

    white-space:
        nowrap;
}


/* =========================================================
   TALENT POOL LIST
========================================================= */

.talent-pool-list {
    display:
        grid;

    gap:
        10px;
}


/* =========================================================
   TALENT POOL CARD
========================================================= */

.talent-pool-card {
    position:
        relative;

    padding:
        17px 18px;

    border-radius:
        13px;

    border:
        1px solid #3b282d;

    background:
        linear-gradient(
            135deg,
            #28151b 0%,
            #211117 100%
        );

    box-shadow:
        0 6px 20px
        rgba(0, 0, 0, 0.22);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;

    overflow:
        hidden;

    animation:
        talentCardAppear 0.45s ease both;

    cursor:
        default;
}

.talent-pool-card:nth-child(1) {
    animation-delay:
        0.04s;
}

.talent-pool-card:nth-child(2) {
    animation-delay:
        0.08s;
}

.talent-pool-card:nth-child(3) {
    animation-delay:
        0.12s;
}

.talent-pool-card:nth-child(4) {
    animation-delay:
        0.16s;
}

.talent-pool-card:nth-child(5) {
    animation-delay:
        0.20s;
}

@keyframes talentCardAppear {

    from {
        opacity: 0;
        transform:
            translateY(12px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


/* MAROON ACCENT */

.talent-pool-card::before {
    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    width:
        3px;

    height:
        100%;

    background:
        linear-gradient(
            180deg,
            #a52c40,
            #c04a5b
        );

    opacity:
        0;

    transition:
        opacity 0.25s ease;
}

.talent-pool-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(192, 74, 91, 0.34);

    box-shadow:
        0 14px 32px
        rgba(0, 0, 0, 0.30);
}

.talent-pool-card:hover::before {
    opacity:
        1;
}


/* =========================================================
   TALENT POOL NAME
========================================================= */

.talent-pool-card h3 {
    margin:
        0 0 8px;

    max-width:
        100%;

    color:
        #eadde0;

    font-size:
        13px;

    line-height:
        1.35;

    font-weight:
        800;

    overflow-wrap:
        anywhere;

    cursor:
        default;

    user-select:
        none;
}


/* =========================================================
   TALENT POOL INFORMATION
========================================================= */

.talent-pool-card p {
    margin:
        4px 0;

    color:
        #9b898e;

    font-size:
        9px;

    line-height:
        1.5;

    overflow-wrap:
        anywhere;

    cursor:
        default;
}

.talent-pool-card p strong {
    color:
        #c0adb1;

    font-weight:
        800;

    cursor:
        default;
}


/* =========================================================
   PROFILE LINK
========================================================= */

.talent-pool-card a {
    display:
        inline-block;

    margin-top:
        4px;

    color:
        #c96b79;

    font-size:
        9px;

    font-weight:
        700;

    text-decoration:
        none;

    transition:
        0.2s ease;

    cursor:
        pointer;
}

.talent-pool-card a:hover {
    color:
        #e49ba5;

    text-decoration:
        underline;
}


/* =========================================================
   REMOVE BUTTON
========================================================= */

.talent-pool-card-actions {
    margin-top:
        11px;

    padding-top:
        10px;

    border-top:
        1px solid #342428;
}


/* RED REMOVE BUTTON */

.remove-talent-button {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        5px;

    min-height:
        31px;

    padding:
        0 11px;

    border:
        1px solid rgba(224, 82, 95, 0.24);

    border-radius:
        7px;

    background:
        rgba(224, 82, 95, 0.08);

    color:
        #df6a75;

    font-family:
        inherit;

    font-size:
        8px;

    font-weight:
        800;

    cursor:
        pointer;

    transition:
        0.2s ease;
}

.remove-talent-button:hover {
    background:
        #bd3543;

    border-color:
        #bd3543;

    color:
        #ffffff;

    transform:
        translateY(-1px);

    box-shadow:
        0 6px 17px
        rgba(189, 53, 67, 0.20);
}

.remove-talent-button:active {
    transform:
        translateY(0);
}


/* =========================================================
   EMPTY TALENT POOL
========================================================= */

.talent-pool-empty {
    padding:
        45px 20px;

    text-align:
        center;

    border-radius:
        14px;

    border:
        1px dashed #493136;

    background:
        rgba(38, 20, 26, 0.70);

    animation:
        emptyAppear 0.5s ease both;

    cursor:
        default;
}

.talent-pool-empty-icon {
    width:
        44px;

    height:
        44px;

    margin:
        0 auto 11px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        12px;

    background:
        rgba(155, 38, 56, 0.17);

    color:
        #d36372;

    font-size:
        19px;
}

.talent-pool-empty h2 {
    color:
        #e4d7da;

    font-size:
        13px;

    font-weight:
        800;
}

.talent-pool-empty p {
    max-width:
        430px;

    margin:
        5px auto 0;

    color:
        #89777c;

    font-size:
        9px;

    line-height:
        1.5;
}


/* =========================================================
   OUTREACH
========================================================= */

.outreach-section {
    padding:
        38px 0 52px;

    min-height:
        500px;

    animation:
        pageSectionAppear 0.55s ease both;
}

.outreach-section > h1 {
    margin:
        0;

    color:
        #f4e8ea;

    font-size:
        29px;

    line-height:
        1.15;

    letter-spacing:
        -0.8px;

    font-weight:
        800;

    cursor:
        default;

    user-select:
        none;
}

.outreach-section > p {
    max-width:
        680px;

    margin-top:
        6px;

    color:
        #948187;

    font-size:
        10px;

    line-height:
        1.5;

    cursor:
        default;
}


/* =========================================================
   OUTREACH CARD
========================================================= */

.outreach-card {
    margin-top:
        20px;

    padding:
        21px;

    border-radius:
        15px;

    border:
        1px solid #3d282e;

    background:
        linear-gradient(
            135deg,
            #28151b 0%,
            #211117 100%
        );

    box-shadow:
        0 11px 34px
        rgba(0, 0, 0, 0.27);

    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    animation:
        outreachCardAppear 0.55s ease both;
}

@keyframes outreachCardAppear {

    from {
        opacity: 0;
        transform:
            translateY(15px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

.outreach-card:hover {
    border-color:
        rgba(192, 74, 91, 0.28);

    box-shadow:
        0 16px 42px
        rgba(0, 0, 0, 0.32);
}

.outreach-card h2 {
    margin:
        0;

    color:
        #eadde0;

    font-size:
        14px;

    font-weight:
        800;

    cursor:
        default;
}

.outreach-card p {
    margin-top:
        6px;

    color:
        #968389;

    font-size:
        9px;

    line-height:
        1.6;

    cursor:
        default;
}


/* =========================================================
   EMAIL FIELDS
========================================================= */

.outreach-card input,
.outreach-card textarea {
    font-family:
        inherit;

    cursor:
        text;
}

.outreach-card input:focus,
.outreach-card textarea:focus {
    outline:
        none;

    border-color:
        rgba(192, 74, 91, 0.65);

    box-shadow:
        0 0 0 3px
        rgba(155, 38, 56, 0.10);
}


/* =========================================================
   COMMON EMAIL FIELDS
========================================================= */

.email-field,
.outreach-field {
    margin-top:
        14px;
}

.email-field label,
.outreach-field label {
    display:
        block;

    margin-bottom:
        6px;

    color:
        #b6a4a9;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        0.2px;

    cursor:
        default;
}


/* =========================================================
   EMAIL INPUTS
========================================================= */

.email-field input,
.outreach-field input,
.email-field textarea,
.outreach-field textarea {
    width:
        100%;

    border:
        1px solid #443036;

    border-radius:
        9px;

    background:
        #211117;

    color:
        #eadde0;

    font-size:
        10px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.email-field input:focus,
.outreach-field input:focus,
.email-field textarea:focus,
.outreach-field textarea:focus {
    background:
        #28151b;
}

.email-field input,
.outreach-field input {
    height:
        38px;

    padding:
        0 11px;
}

.email-field textarea,
.outreach-field textarea {
    min-height:
        180px;

    padding:
        11px;

    line-height:
        1.6;

    resize:
        vertical;
}


/* =========================================================
   SENDER / RECIPIENT ROWS
========================================================= */

.email-meta,
.outreach-meta {
    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        12px;

    margin-top:
        14px;
}

.email-meta-item,
.outreach-meta-item {
    padding:
        10px 11px;

    border:
        1px solid #38262b;

    border-radius:
        9px;

    background:
        rgba(255, 255, 255, 0.018);

    cursor:
        default;
}

.email-meta-item span,
.outreach-meta-item span {
    display:
        block;

    margin-bottom:
        3px;

    color:
        #817076;

    font-size:
        8px;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        0.8px;
}

.email-meta-item strong,
.outreach-meta-item strong {
    display:
        block;

    color:
        #c1afb3;

    font-size:
        9px;

    font-weight:
        700;

    overflow-wrap:
        anywhere;

    cursor:
        default;
}


/* =========================================================
   EMAIL SUBJECT
========================================================= */

.email-subject,
.outreach-subject {
    margin-top:
        14px;
}

.email-subject label,
.outreach-subject label {
    display:
        block;

    margin-bottom:
        6px;

    color:
        #b6a4a9;

    font-size:
        9px;

    font-weight:
        800;

    cursor:
        default;
}

.email-subject input,
.outreach-subject input {
    width:
        100%;

    height:
        38px;

    padding:
        0 11px;

    border:
        1px solid #443036;

    border-radius:
        9px;

    background:
        #211117;

    color:
        #eadde0;

    font-family:
        inherit;

    font-size:
        10px;

    cursor:
        text;
}


/* =========================================================
   EMAIL PREVIEW
========================================================= */

.email-preview {
    margin-top:
        18px;

    border:
        1px solid #3c292e;

    border-radius:
        11px;

    background:
        #1d1014;

    overflow:
        hidden;

    box-shadow:
        0 5px 18px
        rgba(0, 0, 0, 0.18);
}

.email-preview-header {
    padding:
        10px 12px;

    border-bottom:
        1px solid #342429;

    background:
        #241319;

    cursor:
        default;
}

.email-preview-header span {
    color:
        #8f7c82;

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        1px;

    text-transform:
        uppercase;
}

.email-preview-body {
    padding:
        17px;

    color:
        #cdbdc0;

    font-size:
        10px;

    line-height:
        1.7;

    white-space:
        pre-wrap;

    overflow-wrap:
        anywhere;

    background:
        #1d1014;

    cursor:
        default;
}


/* =========================================================
   OUTREACH ACTIONS
========================================================= */

.outreach-actions {
    display:
        flex;

    align-items:
        center;

    justify-content:
        flex-end;

    gap:
        9px;

    margin-top:
        15px;
}

.outreach-actions button {
    min-height:
        35px;

    padding:
        0 13px;

    border-radius:
        8px;

    font-family:
        inherit;

    font-size:
        9px;

    font-weight:
        800;

    cursor:
        pointer;

    transition:
        0.2s ease;
}

.outreach-actions button:hover {
    transform:
        translateY(-1px);
}


/* =========================================================
   PRIMARY OUTREACH
========================================================= */

.outreach-primary {
    border:
        1px solid #9b2638;

    background:
        linear-gradient(
            135deg,
            #a52c40,
            #6f1928
        );

    color:
        white;

    box-shadow:
        0 7px 20px
        rgba(155, 38, 56, 0.24);
}

.outreach-primary:hover {
    box-shadow:
        0 11px 27px
        rgba(155, 38, 56, 0.34);
}


/* =========================================================
   SECONDARY OUTREACH
========================================================= */

.outreach-secondary {
    border:
        1px solid #453137;

    background:
        #241419;

    color:
        #aa989d;
}

.outreach-secondary:hover {
    color:
        #df8792;

    border-color:
        rgba(192, 74, 91, 0.35);

    background:
        #2b161d;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width:
        min(1120px, calc(100% - 40px));

    margin:
        30px auto;

    padding:
        22px 0;

    display:
        flex;

    justify-content:
        space-between;

    border-top:
        1px solid #352428;

    color:
        #76656a;

    font-size:
        9px;

    cursor:
        default;
}


/* =========================================================
   TAB / PAGE TRANSITION SUPPORT
========================================================= */

.talent-pool-section,
.outreach-section,
.results-section {
    will-change:
        opacity,
        transform;
}


/* =========================================================
   BUTTON POLISH
========================================================= */

button {
    font-family:
        inherit;
}

button:not(:disabled) {
    -webkit-tap-highlight-color:
        transparent;
}

button:active {
    transform:
        translateY(0);
}


/* =========================================================
   IMPORTANT CURSOR FIX
========================================================= */

.navbar,
.hero,
.section,
.filters-section,
.results-section,
.candidate-card,
.talent-pool-section,
.talent-pool-card,
.talent-pool-empty,
.outreach-section,
.outreach-card,
.email-preview,
footer {
    cursor:
        default;
}


/* =========================================================
   KEEP ACTUAL INTERACTIVE ELEMENTS CLICKABLE
========================================================= */

button,
a,
select {
    cursor:
        pointer;
}

input,
textarea {
    cursor:
        text;
}


/* =========================================================
   PREVENT TEXT SELECTION ON BUTTONS
========================================================= */

button {
    user-select:
        none;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline:
        2px solid
        rgba(192, 74, 91, 0.65);

    outline-offset:
        2px;
}


/* =========================================================
   AI MATCH SCORE
========================================================= */

.candidate-match {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        58px;

    padding:
        6px 9px;

    border:
        1px solid rgba(36, 184, 137, 0.20);

    border-radius:
        9px;

    background:
        rgba(36, 184, 137, 0.07);
}

.match-label {
    color:
        #718e83;

    font-size:
        7px;

    font-weight:
        900;

    letter-spacing:
        0.9px;
}

.match-score {
    margin-top:
        2px;

    color:
        #36bd91;

    font-size:
        13px;

    font-weight:
        900;
}


/* =========================================================
   NO CURSOR ON TALENT POOL / OUTREACH CONTENT
========================================================= */

.talent-pool-section,
.talent-pool-section h1,
.talent-pool-section h2,
.talent-pool-section h3,
.talent-pool-section p,
.talent-pool-section span,
.outreach-section,
.outreach-section h1,
.outreach-section h2,
.outreach-section h3,
.outreach-section p,
.outreach-section span {
    cursor:
        default;
}


/* =========================================================
   BUTTONS REMAIN CLICKABLE
========================================================= */

.talent-pool-section button,
.outreach-section button {
    cursor:
        pointer;
}


/* =========================================================
   LINKS REMAIN CLICKABLE
========================================================= */

.talent-pool-section a,
.outreach-section a {
    cursor:
        pointer;
}


/* =========================================================
   INPUTS / TEXTAREAS NEED TEXT CURSOR
========================================================= */

.outreach-section input,
.outreach-section textarea {
    cursor:
        text;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .categories {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .filters {
        grid-template-columns:
            repeat(2, 1fr);
    }

    nav {
        position:
            static;

        transform:
            none;

        margin-left:
            auto;

        margin-right:
            20px;
    }

    .email-meta,
    .outreach-meta {
        grid-template-columns:
            1fr;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .navbar {
        width:
            calc(100% - 20px);

        height:
            64px;

        padding:
            0 14px;
    }

    nav {
        display:
            none;
    }

    .nav-status {
        display:
            none;
    }

    main {
        width:
            calc(100% - 24px);
    }

    .hero {
        padding-top:
            50px;
    }

    .hero h1 {
        font-size:
            42px;

        letter-spacing:
            -2px;
    }

    .hero-text {
        font-size:
            12px;
    }

    .search-container {
        height:
            auto;

        flex-wrap:
            wrap;

        padding:
            8px;
    }

    .search-container input {
        height:
            46px;
    }

    .search-container button {
        width:
            100%;

        justify-content:
            center;
    }

    .categories,
    .filters {
        grid-template-columns:
            1fr;
    }

    .subcategory-list {
        grid-template-columns:
            1fr;
    }

    .candidate-card {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .candidate-actions {
        width:
            100%;

        justify-content:
            space-between;

        flex-wrap:
            wrap;
    }

    .sources {
        flex-wrap:
            wrap;
    }

    footer {
        flex-direction:
            column;

        gap:
            8px;
    }


    /* -----------------------------------------------------
       TALENT POOL MOBILE
    ----------------------------------------------------- */

    .talent-pool-section,
    .outreach-section {
        padding-top:
            32px;
    }

    .talent-pool-header {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            10px;
    }

    .talent-pool-header h1,
    .outreach-section > h1 {
        font-size:
            27px;
    }

    .talent-pool-header p,
    .outreach-section > p {
        font-size:
            9px;
    }

    .talent-pool-card {
        padding:
            14px;
    }

    .talent-pool-card h3 {
        font-size:
            12px;
    }

    .talent-pool-card p {
        font-size:
            9px;
    }


    /* -----------------------------------------------------
       OUTREACH MOBILE
    ----------------------------------------------------- */

    .outreach-card {
        padding:
            16px;
    }

    .outreach-card h2 {
        font-size:
            13px;
    }

    .outreach-actions {
        justify-content:
            stretch;
    }

    .outreach-actions button {
        flex:
            1;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .logo-name {
        font-size:
            15px;
    }

    .logo-subtitle {
        font-size:
            7px;
    }

    .logo-icon {
        width:
            36px;

        height:
            36px;
    }

    .hero h1 {
        font-size:
            36px;

        letter-spacing:
            -1.8px;
    }

    .section-header,
    .results-header {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            8px;
    }
}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        scroll-behavior:
            auto !important;

        transition-duration:
            0.01ms !important;
    }
}

/* =========================================================
   IN SAI — NAVBAR + LOGO SIZE ONLY
   ORIGINAL CSS ABOVE IS PRESERVED
   ========================================================= */

/* Balanced navbar: slightly larger, but not oversized */
.navbar {
    height: 108px;
    min-height: 108px;
    padding: 0 28px;

    border: 1px solid rgba(155, 38, 56, 0.55);
    border-radius: 16px;
}

/* Make the actual In SAI image larger.
   !important is required because index.html currently gives
   the image inline width/height values. */
.navbar .logo img,
.navbar .logo > img {
    width: 235px !important;
    height: 70px !important;
    max-width: none !important;
    max-height: 70px !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
}

/* Keep the logo vertically centered */
.navbar .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Slightly increase the three navigation tabs */
.navbar nav,
nav {
    gap: 7px;
}

.navbar nav a,
nav a {
    padding: 12px 19px;
    min-height: 46px;
    font-size: 14px;

    /* Subtle maroon border around each navigation tab */
    border: 1px solid rgba(155, 38, 56, 0.32);
    border-radius: 11px;
}

/* Stronger border for the selected tab */
.navbar nav a.active,
nav a.active {
    border: 1px solid rgba(192, 74, 91, 0.75);
    background: rgba(155, 38, 56, 0.20);
}

/* Keep the existing underline */
nav a.active::after {
    bottom: 3px;
}


/* =========================================================
   TABLET — LOGO / NAV ONLY
   ========================================================= */

@media (max-width: 900px) {

    .navbar {
        height: 100px;
        min-height: 100px;
    }

    .navbar .logo img,
    .navbar .logo > img {
        width: 215px !important;
        height: 64px !important;
        max-height: 64px !important;
    }

    .navbar nav a,
    nav a {
        padding: 11px 16px;
        min-height: 44px;
        font-size: 13px;
    }
}


/* =========================================================
   MOBILE — LOGO ONLY
   Existing mobile functionality remains untouched
   ========================================================= */

@media (max-width: 600px) {

    .navbar .logo img,
    .navbar .logo > img {
        width: 185px !important;
        height: 58px !important;
        max-height: 58px !important;
    }
}
/* =========================================================
   IN SAI — CANDIDATE ACTION BUTTON POLISH
   View Profile + Add to Talent Pool
   APPEND ONLY — DO NOT REMOVE EXISTING CSS
========================================================= */

/* Keep both candidate buttons together in one professional row */
.candidate-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

/* VIEW PROFILE — secondary button */
.candidate-actions .view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 14px;

    border: 1px solid #65333d;
    border-radius: 8px;

    background: rgba(155, 38, 56, 0.10);
    color: #d1848e;

    font-size: 9px;
    font-weight: 800;

    text-decoration: none;
    white-space: nowrap;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.candidate-actions .view-button:hover {
    background: rgba(155, 38, 56, 0.20);
    border-color: #87404d;
    color: #efb0b8;
    transform: translateY(-1px);
}


/* =========================================================
   ADD TO TALENT POOL — PROFESSIONAL PRIMARY BUTTON
========================================================= */

.candidate-actions .add-talent-button {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    margin-top: 0 !important;

    min-height: 38px;
    height: 38px;

    padding: 0 15px !important;

    border: 1px solid #9b2638 !important;
    border-radius: 8px !important;

    background: linear-gradient(
        135deg,
        #a52c40,
        #701a29
    ) !important;

    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 9px !important;
    font-weight: 800 !important;

    line-height: 1 !important;

    white-space: nowrap;

    cursor: pointer;

    box-sizing: border-box;

    box-shadow:
        0 5px 15px rgba(155, 38, 56, 0.20);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* If the button contains an icon/span */
.candidate-actions .add-talent-button span {
    font-size: 14px;
    line-height: 1;
}

/* Hover */
.candidate-actions .add-talent-button:hover {
    background: linear-gradient(
        135deg,
        #b33449,
        #801c2d
    ) !important;

    border-color: #c04a5b !important;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(155, 38, 56, 0.30);
}

/* Press */
.candidate-actions .add-talent-button:active {
    transform: translateY(0);

    box-shadow:
        0 3px 9px rgba(155, 38, 56, 0.20);
}


/* =========================================================
   CANDIDATE CARD — KEEP ACTIONS ON RIGHT
========================================================= */

.candidate-card {
    align-items: center;
}

.candidate-actions {
    margin-left: auto;
}


/* =========================================================
   MOBILE — STACK ONLY WHEN NEEDED
========================================================= */

@media (max-width: 700px) {

    .candidate-actions {
        width: 100%;
        margin-left: 0;

        display: flex;
        justify-content: flex-start;

        flex-wrap: wrap;
        gap: 8px;
    }

    .candidate-actions .view-button,
    .candidate-actions .add-talent-button {
        min-height: 36px;
        height: 36px;
    }
}

/* =========================================================
   IN SAI AI RECRUITER
   FINAL UI FIX
   Cursor + Results Buttons + Search Status
========================================================= */


/* =========================================================
   1. NORMAL MOUSE CURSOR
   ========================================================= */

/* Keep the normal mouse cursor visible everywhere */
html,
body,
main,
section,
div,
header,
footer,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
label {
    cursor: default !important;
}

/* Text fields should show the text cursor */
input,
textarea,
[contenteditable="true"] {
    cursor: text !important;
}

/* Selects, links and clickable elements */
select,
a,
button,
.category,
.clickable,
[role="button"] {
    cursor: pointer !important;
}

/* Explicit: Search / Talent Pool / Outreach tabs must always show a pointer */
.navbar nav a,
#searchNav,
#talentPoolNav,
#outreachNav {
    cursor: pointer !important;
}


/* =========================================================
   2. REMOVE ARTIFICIAL / BLINKING CARETS
   ========================================================= */

/*
   The heading should NOT behave like an editable field.
   This removes the blinking text caret from headings.
*/

.hero h1,
.hero h1 span,
.section-header h1,
.section-header h2,
.results-header h1,
.results-header h2,
.results-header span,
.section-label,
.search-status {
    caret-color: transparent !important;
    cursor: default !important;
}


/* =========================================================
   3. SEARCH INPUT
   ========================================================= */

.search-container input {
    cursor: text !important;
    caret-color: #c04a5b !important;
    color: #f6eaec !important;
    background: transparent !important;
}

.search-container input::placeholder {
    color: #806e73 !important;
}


/* =========================================================
   4. RESULTS HEADER
   ========================================================= */

.results-header {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px;
    margin-bottom: 20px !important;
}


/* Left side: CANDIDATES + Search results */
.results-header > div:first-child {
    min-width: 0;
}


/* Search results title */
.results-header h2 {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap;
    gap: 6px;

    color: #f5e9eb !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;

    white-space: nowrap;
}


/* Number badge */
.results-header h2 span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 48px !important;
    height: 32px !important;

    margin-left: 5px !important;
    padding: 0 12px !important;

    border-radius: 999px !important;

    background: rgba(155, 38, 56, 0.25) !important;
    border: 1px solid rgba(155, 38, 56, 0.20);

    color: #d86a7b !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    caret-color: transparent !important;
}


/* =========================================================
   5. RIGHT-SIDE RESULT CONTROLS
   ========================================================= */

/*
   This catches the container holding:
   Search
   Refresh
   Ready to search
*/

.results-header > div:last-child,
.results-header .actions,
.results-header .action-buttons,
.results-header .header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 14px !important;

    flex-shrink: 0;
}


/* =========================================================
   6. SEARCH + REFRESH BUTTONS
   ========================================================= */

/*
   Force proper appearance even if another generic
   button rule is overriding them.
*/

.results-header button {
    appearance: none !important;
    -webkit-appearance: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;

    height: 52px !important;
    min-width: 110px !important;

    padding: 0 20px !important;

    border: 1px solid rgba(192, 74, 91, 0.28) !important;
    border-radius: 13px !important;

    background:
        linear-gradient(
            145deg,
            rgba(49, 27, 33, 0.98),
            rgba(35, 19, 24, 0.98)
        ) !important;

    color: #f6eaec !important;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    white-space: nowrap !important;

    cursor: pointer !important;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.20) !important;

    transition:
        background 0.20s ease,
        border-color 0.20s ease,
        transform 0.20s ease,
        box-shadow 0.20s ease !important;
}


/* =========================================================
   7. BUTTON ICONS
   ========================================================= */

.results-header button i,
.results-header button svg,
.results-header button .icon {
    color: #d66a7a !important;

    width: 16px;
    height: 16px;

    flex-shrink: 0;
}


/* =========================================================
   8. BUTTON HOVER
   ========================================================= */

.results-header button:hover {
    background:
        linear-gradient(
            145deg,
            rgba(65, 29, 38, 1),
            rgba(45, 21, 28, 1)
        ) !important;

    border-color: rgba(192, 74, 91, 0.60) !important;

    color: #ffffff !important;

    transform: translateY(-2px) !important;

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.30),
        0 0 0 3px rgba(155, 38, 56, 0.07) !important;
}


.results-header button:hover i,
.results-header button:hover svg,
.results-header button:hover .icon {
    color: #ed8b99 !important;
}


/* =========================================================
   9. BUTTON ACTIVE
   ========================================================= */

.results-header button:active {
    transform: translateY(0) !important;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.25) !important;
}


/* =========================================================
   10. FOCUS
   ========================================================= */

.results-header button:focus {
    outline: none !important;
}


.results-header button:focus-visible {
    outline: 2px solid rgba(192, 74, 91, 0.55) !important;
    outline-offset: 2px !important;
}


/* =========================================================
   11. READY TO SEARCH
   ========================================================= */

.search-status {
    display: inline-flex !important;
    align-items: center !important;

    min-height: 40px;

    color: #a89499 !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    white-space: nowrap;

    caret-color: transparent !important;
}


/* =========================================================
   12. SEARCH STATUS DOT
   ========================================================= */

.search-status::before {
    content: "";

    width: 7px;
    height: 7px;

    margin-right: 8px;

    border-radius: 50%;

    background: #6d5a60;

    box-shadow:
        0 0 0 3px rgba(109, 90, 96, 0.10);

    flex-shrink: 0;
}


/* =========================================================
   13. SEARCH RESULTS CARD
   ========================================================= */

.results-section {
    margin-top: 28px !important;
}


.empty-state {
    min-height: 170px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px 25px !important;

    border: 1px dashed rgba(155, 38, 56, 0.38) !important;
    border-radius: 16px !important;

    background:
        linear-gradient(
            145deg,
            rgba(38, 20, 26, 0.82),
            rgba(28, 14, 19, 0.82)
        ) !important;
}


/* =========================================================
   14. GENERAL BUTTON SAFETY
   ========================================================= */

/*
   Prevent browser/default button styles from turning
   the text black.
*/

button {
    font-family: inherit;
}

button,
button span,
button i,
button svg {
    cursor: pointer;
}


/* =========================================================
   15. DO NOT HIDE THE MOUSE POINTER
   ========================================================= */

* {
    /* Important:
       DO NOT use cursor: none anywhere.
    */
}

body {
    cursor: default !important;
}


/* =========================================================
   16. DESKTOP RESULT HEADER
   ========================================================= */

@media (min-width: 901px) {

    .results-header {
        min-height: 64px;
    }

    .results-header > div:last-child,
    .results-header .actions,
    .results-header .action-buttons,
    .results-header .header-actions {
        flex-wrap: nowrap !important;
    }

    .results-header button {
        min-width: 110px !important;
    }
}


/* =========================================================
   17. TABLET
   ========================================================= */

@media (max-width: 900px) {

    .results-header {
        align-items: flex-start !important;
    }

    .results-header h2 {
        font-size: 24px !important;
    }

    .results-header > div:last-child,
    .results-header .actions,
    .results-header .action-buttons,
    .results-header .header-actions {
        gap: 8px !important;
    }

    .results-header button {
        height: 46px !important;
        min-width: 96px !important;
        padding: 0 15px !important;
        font-size: 13px !important;
    }

    .search-status {
        font-size: 11px !important;
    }
}


/* =========================================================
   18. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .results-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

    .results-header h2 {
        font-size: 22px !important;
    }

    .results-header > div:last-child,
    .results-header .actions,
    .results-header .action-buttons,
    .results-header .header-actions {
        width: 100% !important;

        justify-content: flex-start !important;

        flex-wrap: wrap !important;
    }

    .results-header button {
        flex: 0 0 auto !important;
    }

    .search-status {
        width: 100%;
    }
}

/* =========================================================
   SEARCH RESULT CARD — UNSTYLED ELEMENTS
   (candidate-avatar/info/actions were missing rules)
========================================================= */

.candidate-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    color: var(--warm-white);
    background: linear-gradient(135deg, var(--primary), var(--wine));
    border: 1px solid var(--border-maroon);
}

.candidate-info {
    min-width: 0;
}

.candidate-company,
.candidate-location,
.candidate-experience {
    color: var(--text-soft);
    font-size: 13px;
    margin-top: 4px;
}

.candidate-skills {
    color: var(--peach);
    font-size: 12.5px;
    margin-top: 6px;
    line-height: 1.5;
}

.candidate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.profile-button,
.talent-pool-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-maroon);
    background: var(--card-soft);
    color: var(--text);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.profile-button:hover,
.talent-pool-button:hover {
    background: var(--maroon-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

.talent-pool-button.in-talent-pool {
    background: var(--green-soft);
    border-color: var(--green);
    color: var(--green);
}

.talent-pool-button:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}


/* =========================================================
   GITHUB INSIGHTS
   Same maroon/wine/peach system as the rest of the app.
   Green is reserved for AI/status, used here as the accent
   since GitHub Insights is an AI-assisted lookup.
========================================================= */

.github-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--green);
    background: var(--green-soft);
    color: var(--green);
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.github-button:hover {
    background: var(--green-dark);
    color: var(--warm-white);
    border-color: var(--green);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(36, 184, 137, 0.28);
}

.github-button:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.github-button.github-active {
    border-color: var(--green);
    background: var(--green-soft);
    color: var(--green);
}

.github-result {
    width: 100%;
    margin-top: 16px;
}

.github-panel {
    border: 1px solid var(--border-maroon);
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.github-panel-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.github-avatar,
.github-match-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    border: 1px solid var(--border-maroon);
}

.github-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--wine));
    color: var(--warm-white);
    font-size: 21px;
    font-weight: 700;
}

.github-identity {
    min-width: 0;
}

.github-name {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.github-username {
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px;
}

.github-profile-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--green);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.github-profile-link:hover {
    text-decoration: underline;
}

.github-field {
    margin-top: 15px;
}

.github-field-label {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
    font-weight: 700;
}

.github-field-value {
    color: var(--text);
    line-height: 1.5;
    font-size: 13px;
}

.github-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.github-stat {
    padding: 11px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    min-width: 0;
}

.github-stat span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 5px;
}

.github-stat strong {
    display: block;
    color: var(--text-dark);
    font-size: 13px;
    word-break: break-word;
}

.github-stat a {
    color: var(--green);
    text-decoration: none;
}

.github-stat a:hover {
    text-decoration: underline;
}

.github-language-list {
    color: var(--text);
    font-size: 13px;
    line-height: 1.6;
}

.github-project-list {
    display: grid;
    gap: 9px;
}

.github-project {
    border: 1px solid var(--border);
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    padding: 11px;
}

.github-project-name {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
}

.github-project-name a {
    color: var(--green);
    text-decoration: none;
}

.github-project-name a:hover {
    text-decoration: underline;
}

.github-project-description {
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.5;
    margin-top: 5px;
}

.github-project-stars {
    color: var(--muted);
    font-size: 11px;
    margin-top: 6px;
}

.github-insight-note {
    color: var(--muted-light);
    font-size: 11px;
    line-height: 1.5;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.github-loading {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-soft);
    font-size: 13px;
}

.github-spinner {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--border);
    border-top-color: var(--green);
    animation: talentReachGithubSpin .75s linear infinite;
}

@keyframes talentReachGithubSpin {
    to {
        transform: rotate(360deg);
    }
}

.github-not-found-title,
.github-error-title {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
}

.github-not-found-text,
.github-error-text {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    margin-top: 6px;
}

.github-error {
    border-color: var(--border-red);
}

.github-error .github-error-title {
    color: var(--red);
}

.github-matches-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.github-matches-header strong {
    color: var(--text-dark);
    font-size: 14px;
}

.github-matches-header span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.github-matches-list {
    display: grid;
    gap: 10px;
}

.github-match {
    border: 1px solid var(--border);
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.github-match-main {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}

.github-match-avatar {
    width: 44px;
    height: 44px;
}

.github-match-info {
    min-width: 0;
}

.github-match-name {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
}

.github-match-username {
    color: var(--green);
    font-size: 11px;
    margin-top: 2px;
}

.github-match-meta {
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px;
}

.github-match-bio {
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.45;
    margin-top: 5px;
}

.github-match-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.github-check-button,
.github-verify-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid;
}

.github-check-button {
    border-color: var(--border-maroon);
    color: var(--primary-light);
    background: var(--maroon-soft);
}

.github-check-button:hover {
    background: var(--maroon-light);
}

.github-verify-button {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-soft);
}

.github-verify-button:hover {
    background: var(--green-dark);
    color: var(--warm-white);
}

@media (max-width: 700px) {

    .github-panel {
        padding: 13px;
    }

    .github-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .candidate-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =========================================================
   IN SAI — READABILITY / CONTRAST PATCH
   Brightens muted text so labels, headings and body copy
   are clearly legible on the dark maroon background.
   APPEND ONLY — nothing above this is changed.
========================================================= */

:root {
    --muted: #baa7ac;
    --muted-light: #9d8a8f;
    --text-soft: #e3d5d8;
}

/* Small maroon "eyebrow" labels (SAVED CANDIDATES, REFINE
   TALENT POOL, etc.) were dark red on dark maroon — brighten
   and bump the size slightly. */
.section-label {
    color: #ff92a2 !important;
    font-size: 11px !important;
    letter-spacing: 1.6px;
}

/* Filter labels (Region, State, City, Role, ...) */
.filter label {
    color: #e6d7da !important;
    font-size: 11px !important;
}

/* Filter inputs/selects — brighter text, still dark field */
.filter select,
.filter input {
    color: #f5ecee !important;
    font-size: 12px !important;
}

.filter select option {
    color: #f5ecee !important;
}

/* "Talent Pool  4" heading — force full white */
.results-header h2 {
    color: #ffffff !important;
}

.results-header h2 span {
    color: #ffd7dd !important;
    background: rgba(155, 38, 56, 0.42) !important;
}

/* Status text next to the heading ("Loading candidates...") */
.search-status {
    color: #d8c6ca !important;
}

/* Hero subtitle under "Your Talent Pool." */
.hero-text {
    color: #cdb9bd !important;
}

/* Section intro paragraphs */
.talent-pool-header p,
.outreach-section > p {
    color: #bfabb0 !important;
}

/* Empty-state / helper copy */
.empty-state p,
.talent-pool-empty p,
.loading p {
    color: #b09da2 !important;
}

.empty-state h3,
.talent-pool-empty h2 {
    color: #ffffff !important;
}

/* Candidate card secondary text */
.candidate-role,
.candidate-company,
.candidate-location,
.candidate-experience,
.source {
    color: #cdbcc0 !important;
}

.candidate-name {
    color: #ffffff !important;
}

/* Footer */
footer {
    color: #ab989d !important;
}

/* View Profile / secondary buttons — brighter label text */
.view-button {
    color: #f0b4bd !important;
}


/* =========================================================
   IN SAI — LOGO SWAP (photo logo replaces the ✦ mark)
   The photo logo already contains the "In SAI" wordmark and
   tagline, so it needs more horizontal room than the old
   icon + text pairing did.
========================================================= */

.navbar .logo img {
    width: 260px !important;
    height: 76px !important;
    max-height: 76px !important;
}

@media (max-width: 900px) {
    .navbar .logo img {
        width: 220px !important;
        height: 64px !important;
        max-height: 64px !important;
    }
}

@media (max-width: 600px) {
    .navbar .logo img {
        width: 170px !important;
        height: 50px !important;
        max-height: 50px !important;
    }
}
