.input-search-job {
    width: 500px;
}

.box-button-find .btn {
    white-space: nowrap;
}

.banner-superior,
.banner-inferior {
    width: 100%;
    height: auto;
    border-radius: 15px !important;
    object-fit: cover !important;
    display: block !important;
}

.card-job-top {
    display: flex;
    align-items: center !important;
}

.card-job-top--image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-job-top--image figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jobs-detail-panel {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow-y: auto;
    max-height: 920px;
    padding: 30px 30px;
    scrollbar-color: #D3D3D3 #fff;
}


.job-detail {
    display: none;
}

.job-detail.active {
    display: block;
}

.card-job.active {
    background: #EEF4FD;
    border-left: 3px solid #2563eb;
}

.list-recent-jobs {
    max-height: 920px;
    overflow-y: auto;
    overflow-x: visible;
    padding: 8px;
    margin: -8px;
    scrollbar-color: #D3D3D3 #fff;
}

.job-modal-overlay,
.job-modal-sheet {
    display: none;
}

@media (max-width: 991px) {
    .cab-sec-movil{
        display: none;
    }
    .cat-sec-movil{
        border-top: solid 3px #064DAB;
    }

    /* Ocultar panel derecho */
    .jobs-detail-panel {
        display: none;
    }

    .job-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 100000;
    }

    .job-modal-overlay.active {
        display: block;
    }

    .job-modal-sheet {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        background: #fff;
        border-radius: 20px 20px 0 0;
        z-index: 100001;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transition: transform 0.3s ease;
        padding: 0;
        transform: translateY(100%);
    }

    .job-modal-sheet.active {
        transform: translateY(0);
    }

    /* Handle bar */
    .job-modal-handle {
        width: 40px;
        height: 4px;
        background: #dee2e6;
        border-radius: 4px;
        margin: 12px auto 20px;
        flex-shrink: 0;
    }

    .job-modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
        background: #f0f0f0;
        border: none;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #444;
        line-height: 1;
        z-index: 9;
    }

    /* Contenido scrolleable del modal */
    #jobModalContent {
        overflow-y: auto;
        overflow-x: visible !important;
        flex: 1;
        padding: 0 20px 32px;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        box-sizing: border-box;
    }

    #jobModalContent::-webkit-scrollbar {
        width: 6px;
    }

    #jobModalContent::-webkit-scrollbar-track {
        background: transparent;
    }

    #jobModalContent::-webkit-scrollbar-thumb {
        background-color: #d9d9d9;
        border-radius: 10px;
    }

    #jobModalContent::-webkit-scrollbar-thumb:hover {
        background-color: #c4c4c4;
    }

    #jobModalContent img {
        max-width: 100%;
        height: auto;
    }

    #jobModalContent * {
        box-sizing: border-box;
    }

    #jobModalContent [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #jobModalContent .employers-header-2 {
        flex-wrap: wrap;
        gap: 12px;
        padding-bottom: 0 !important;
    }

    #jobModalContent .heading-image-rd img {
        width: 70px !important;
        margin: 0 !important;
    }

    #jobModalContent .heading-main-info {
        width: 100%;
    }

    #jobModalContent .head-info-profile {
        flex-wrap: wrap;
        gap: 6px;
    }

    #jobModalContent .btn-default {
        width: 100%;
        text-align: center;
        display: block;
        box-sizing: border-box;
    }

    #jobModalContent .content-single ul li {
        word-break: break-word;
    }

    .list-recent-jobs {
        max-height: none;
        overflow-y: visible;
        padding: 8px;
        margin: -8px;
    }

    #jobModalContent .ad-gallery {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    #jobModalContent .ad-gallery-thumbnails {
        display: block !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-bottom: 12px !important;
        margin-top: 10px !important;
        box-sizing: border-box !important;

        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x pan-y !important;
    }

    /* Las miniaturas */
    #jobModalContent .ad-gallery-thumb {
        display: inline-block !important;
        width: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
        height: 70px !important;
        margin-right: 8px !important;
        /* Separación física */
        border-radius: 6px !important;
        vertical-align: top !important;
        cursor: pointer;

        -webkit-user-drag: none !important;
        user-select: none !important;
    }

    #jobModalContent .ad-gallery-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: inherit !important;
        pointer-events: none !important;
    }

    #jobModalContent .ad-gallery-thumbnails::-webkit-scrollbar {
        display: none !important;
    }

    .lg-container {
        z-index: 100005 !important;
    }

}

.bsc-searchbar-section {
    background: #fff;
    border-bottom: 1px solid #eef1f8;
    padding: 16px 0;
}

.bsc-searchbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.bsc-searchbar-left {
    flex-shrink: 0;
}

.bsc-searchbar-right {
    flex-shrink: 0;
}


/* Dropdown categorías */
.cat-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: #fff;
    border: 1px solid #e0e6f7;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(5, 38, 78, .13);
    min-width: 240px;
    z-index: 9999999999999999 !important;
    padding: 8px 0;
    overflow: hidden;
}

.property-filters {
    background: #fff;
    padding: 18px 0;
    border-bottom: 1px solid #e9ecef;
}

.property-filters-wrap {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all .3s ease;
}

.filter-item i {
    font-size: 16px;
}

.filter-item:hover,
.filter-item.active {
    background: #064dab;
    color: #fff;
    transform: translateY(-2px);
}

.header.sticky-bar {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    width: 100% !important;
    z-index: 99999 !important;
}

.bsc-detalle-anuncio,
.bsc-detalle-anuncio *,
#jobModalContent,
#jobModalContent * {
    font-family: 'Arimo', sans-serif !important;
}

@media (max-width: 991px) {
    .bsc-caracteristicas-row {
        margin-left: 20px !important;
    }
}