/* ─────────────────────────────────────────────
   CAREERS SEARCH
───────────────────────────────────────────── */
.careers-search-container {
    position: relative;
    margin-top: 16px;
}

.careers-search-input-wrapper {
    display: flex;
    align-items: center;
}

.careers-search-input {
    flex: 1;
    padding: 4px 8px 4px 20px !important;
    border: none;
    background: transparent url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8' stroke='%230e3a60' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21 21L16.65 16.65' stroke='%230e3a60' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 4px center;
    font-size: 1rem;
    color: rgb(81, 95, 113);
    outline: none;
}

.careers-search-input::placeholder {
    color: rgb(81, 95, 113);
}

.careers-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    z-index: 10000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.careers-search-grid {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.careers-search-card {
    padding: 14px 16px;
    border: 1px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.careers-search-card:hover {
    background: #f5f8ff;
}

.careers-search-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a3a6b;
    margin: 6px 0 4px 0;
}

.careers-search-card-meta {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

.careers-search-no-results {
    padding: 20px;
    text-align: center;
    color: #777;
    font-size: 0.95rem;
}

/* ─────────────────────────────────────────────
   TYPE BADGE
───────────────────────────────────────────── */
.careers-type-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.careers-type-badge--career {
    background: #1a3a6b;
}

.careers-type-badge--internship {
    background: #dc1f34;
}

/* ─────────────────────────────────────────────
   MODAL META ROWS
───────────────────────────────────────────── */
.careers-modal-meta-row {
    font-size: 0.95rem;
    color: #1a3a6b;
    margin: 6px 0;
}

/* ─────────────────────────────────────────────
   MODAL
───────────────────────────────────────────── */
.careers-modal-container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.careers-modal-exit {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a3a6b;
    border-radius: 50%;
    width: 36px;
    height: 36px;
}

.careers-modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a3a6b;
    margin: 12px 0 6px 0;
}

.careers-modal-date {
    font-size: 0.9rem;
    color: #777;
    margin: 0 0 16px 0;
}

.careers-modal-excerpt {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-top: 16px;
}