.job-title-dropdown {
    position: relative;
    width: 100%;
    font-family: system-ui, sans-serif;
}

.job-title-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    cursor: pointer;
    color: #fff;
}

.job-title-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(18px);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    display: none;
    z-index: 999;
}

.job-title-panel.open {
    display: block;
}

.job-title-search {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    border: none;
}

.job-title-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 10px;
}

.job-title-item {
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
}

.job-title-item:hover {
    background: rgba(255,255,255,0.18);
}


/* ✅ Jobs hero must allow dropdown */
.jobs-hero,
.jobs-search-bar,
.jobs-search-item {
    overflow: visible !important;
}

/* ✅ Job title dropdown layer */
.job-title-dropdown {
    position: relative !important;
    z-index: 1000 !important;
}

/* ✅ Dropdown panel must float above glass */
.job-title-panel {
    position: absolute !important;
    top: calc(100% + 8px);
    left: 0;
    z-index: 9999 !important;

    display: none;
}

/* ✅ When open */
.job-title-panel.open {
    display: block !important;
}

/* ✅ Fix glass overlay blocking clicks */
.jobs-hero::before,
.jobs-hero::after {
    pointer-events: none !important;
}