/* Job Filter Styling */
.job-filter-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.filter-section {
    padding: 40px 20px 30px 20px;
}

.filter-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
    text-align: center;
}

/* Desktop flikar */
.desktop-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.mobile-filter {
    display: none;
}

.filter-tab {
    background: #fff;
    border: 2px solid #8B1874;
    color: #8B1874;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.filter-tab:hover {
    background: #4a4f54;
    color: #fff;
    border-color: #4a4f54;
}

.filter-tab.active {
    background: #8B1874;
    color: #fff;
}

/* Mobil dropdown */
@media (max-width: 768px) {
    .desktop-filter {
        display: none;
    }
    
    .mobile-filter {
        display: block;
        margin-bottom: 30px;
    }
    
    #job-category-select {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        font-weight: 600;
        border: 2px solid #8B1874;
        border-radius: 4px;
        background: #fff;
        color: #333;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238B1874' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        padding-right: 40px;
    }
}

/* Laddning */
.filter-loading {
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 18px;
    color: #666;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Resultat */
.jobs-results {
    /* margin-top borttagen för kant-i-kant layout */
}

.jobs-results .jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .jobs-results .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .jobs-results .jobs-grid {
        grid-template-columns: 1fr;
    }
}

/* Padding i mobil/tablet för jobblistningar */
@media (max-width: 1024px) {
    .job-filter-wrapper {
        padding: 0 20px;
    }
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}
