/* Patrizia AG Jobs Filter Styles */

/* Reset Button */
.pjobs-filter-reset {
    margin-bottom: 20px;
}

.pjobs-reset-btn {
    background-color: #b91c2c;
    color: white;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pjobs-reset-btn:hover {
    background-color: #a01825;
}

/* Location Filter */
.pjobs-filter-location {
    margin-bottom: 30px;
}

/* Worker Sub Type Filter */
.pjobs-filter-workerSubType {
    margin-bottom: 30px;
}

/* Job Family Filter */
.pjobs-filter-jobFamily {
    margin-bottom: 30px;
}

/* Department Filter */
.pjobs-filter-department {
    margin-bottom: 30px;
}

/* Time Type Filter */
.pjobs-filter-tType {
    margin-bottom: 30px;
}

.pjobs-filter-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.pjobs-location-list,
.pjobs-workerSubType-list,
.pjobs-jobFamily-list,
.pjobs-department-list,
.pjobs-tType-list {
    border-left: 3px solid #b91c2c;
    padding-left: 15px;
}

.pjobs-location-item,
.pjobs-workerSubType-item,
.pjobs-jobFamily-item,
.pjobs-department-item,
.pjobs-tType-item {
    margin-bottom: 8px;
}

.pjobs-location-item label,
.pjobs-workerSubType-item label,
.pjobs-jobFamily-item label,
.pjobs-department-item label,
.pjobs-tType-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: color 0.2s ease;
}

.pjobs-location-item label:hover,
.pjobs-workerSubType-item label:hover,
.pjobs-jobFamily-item label:hover,
.pjobs-department-item label:hover,
.pjobs-tType-item label:hover {
    color: #333;
}

.pjobs-location-checkbox,
.pjobs-workerSubType-checkbox,
.pjobs-jobFamily-checkbox,
.pjobs-department-checkbox,
.pjobs-tType-checkbox {
    margin-right: 8px;
    accent-color: #b91c2c;
}

.pjobs-expand-btn {
    background: none;
    border: none;
    color: #b91c2c;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.pjobs-expand-btn:hover {
    color: #a01825;
}

/* Job Listing */
.pjobs-listing {
    margin-top: 30px;
}

.pjobs-count {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-weight: bold;
}

.pjobs-list {
    /* Container for job items */
}

.pjobs-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #e5e5e5;
    transition: background-color 0.2s ease;
}

.pjobs-item:hover {
    background-color: #f9f9f9;
}

.pjobs-item-header {
    flex: 1;
}

.pjobs-item-title {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
}

.pjobs-item-title a {
    color: #b91c2c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pjobs-item-title a:hover {
    color: #a01825;
    text-decoration: underline;
}

.pjobs-item-meta {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.pjobs-req-id {
    font-weight: bold;
}

.pjobs-location {
    font-style: italic;
}

.pjobs-item-arrow {
    color: #b91c2c;
    font-size: 18px;
    font-weight: bold;
    margin-left: 20px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pjobs-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pjobs-item-arrow {
        margin-left: 0;
        margin-top: 10px;
        align-self: flex-end;
    }
    
    .pjobs-filter-title {
        font-size: 14px;
    }
    
    .pjobs-location-item label {
        font-size: 13px;
    }
}