/* Wrapper */
.hibob-jobs-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

/* Heading */
.hibob-heading {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #000000;
}

.hibob-subheading {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
}

/* Table container */
.hibob-jobs-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Single job row */
.hibob-job-row {
    display: grid;
    grid-template-columns: 3fr 1.5fr 1.5fr 2fr 2.5fr;
    align-items: center;
    padding: 10px 20px 10px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.hibob-job-row:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Columns */
.hibob-col {
    font-size: 15px;
    color: #334155;
}

/* Job title */
.hibob-title {
    font-weight: 700;
    color: #149CDA;
}

/* Posted */
.hibob-posted {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

/* Apply link */
.hibob-action a {
    color: #0ea5e9;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    text-align: right !important;
}

.hibob-action a:hover {
    text-decoration: none;
}

.hibob-col.hibob-action {
    text-align: right;
}

/* HiBob Location */
.hibob-col.hibob-location {
    font-weight: 600;
}

/* HiBob Workspace */
.hibob-col.hibob-workspace {
    font-weight: 600;
}

/* HiBob Posted Job Date */
.hibob-col.hibob-posted {
    font-weight: 500;
    color: black;
}

/* ================================
   FILTER BAR – FULL (5 FIELDS)
================================ */

.hibob-filters {
    display: grid;
    grid-template-columns: 2.5fr 1.4fr 1.4fr 1.4fr 1.4fr;
    gap: 14px;
    margin: 24px 0 32px;
}

.hibob-filters input,
.hibob-filters select {
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background-color: #fff;
    color: #374151;
    outline: none;
    appearance: none;
}

/* Placeholder */
.hibob-filters input::placeholder {
    color: #9ca3af;
}

/* Dropdown arrow */
.hibob-filters select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 36px;
    cursor: pointer;
}

/* Focus */
.hibob-filters input:focus,
.hibob-filters select:focus {
    border-color: #149CDA;
    box-shadow: 0 0 0 3px rgba(20, 156, 218, 0.12);
}

/* Search icon */
#hibob-search {
    padding-left: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M21 21l-4.35-4.35M17 11a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
}

/* Mobile */
@media (max-width: 900px) {
    .hibob-filters {
        grid-template-columns: 1fr;
    }
}

/* ================================
   EXISTING META (kept as-is)
================================ */

.hibob-meta {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

/* Mobile */
@media (max-width: 900px) {
    .hibob-job-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }

    .hibob-action {
        margin-top: 6px;
    }
}

/* =====================================================
   ✅ ADDITIONS (DO NOT REMOVE ABOVE CODE)
   Fix layout + Employment column styling
===================================================== */

/* Override grid to support 6 columns */
@media (min-width: 901px) {
    .hibob-job-row {
        grid-template-columns: 3fr 1.5fr 1.5fr 1.5fr 2fr 2.5fr;
    }
}

/* Employment Type column */
.hibob-col.hibob-employment {
    font-weight: 600;
    color: #334155;
}





/* ================================
   DEPARTMENT GROUP HEADER
================================ */

.hibob-department-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 14px;
    font-weight: 700;
    color: #000;
}

.hibob-department-title {
    font-size: 16px;
}

.hibob-department-count {
    background: #0ea5e9;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    line-height: 1;
}

/* ================================
   FIX: Department Count Badge
================================ */

.hibob-department-count {
    min-width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}



