section {
    display: flex;
    justify-content: center;
}

/* Layout Controls */
.job-controls {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 1rem;
margin: 1rem 2rem;
flex-wrap: wrap;
}

.job-controls input[type="range"] {
appearance: none;
width: 150px;
height: 6px;
background: #eee;
border-radius: 10px;
outline: none;
}

.job-controls input[type="range"]::-webkit-slider-thumb {
appearance: none;
width: 16px;
height: 16px;
background: #0066ff;
border-radius: 50%;
cursor: pointer;
}

#sliderValue {
font-size: 14px;
color: #333;
width: 40px;
}

.layout-toggle {
display: flex;
border: 1px solid #ccc;
border-radius: 8px;
overflow: hidden;
}

.layout-toggle button {
background: #fff;
border: none;
padding: 8px 12px;
cursor: pointer;
font-size: 16px;
color: #333;
}

.layout-toggle button.active {
background: #4d5c75;
color: #fff;
}

/* Job Listings */
.job-listings {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 24px;
padding: 2rem;
font-family: "Helvetica Neue", sans-serif;
transition: width 0.3s ease;
margin: auto;
}

.job-card {
background: white;
border-radius: 12px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
padding: 1.5rem;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 1rem;
transition: box-shadow 0.3s ease;
position: relative;
}

.job-card:hover {
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.job-card:first-child {
border-top: 4px solid #2548fa;
}

.job-category {
font-size: 14px;
color: #666;
margin-bottom: 0.5rem;
}

.job-title {
font-size: 20px;
font-weight: 700;
margin: 0.5rem 0;
color: #333;
}

.job-desc {
font-size: 14px;
color: #444;
line-height: 1.5;
flex-grow: 1;
}

.learn-more {
margin-top: 1rem;
color: #2548fa;
font-weight: 500;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.3em;
}

.learn-more .arrow {
transition: transform 0.3s ease;
}

.learn-more:hover .arrow {
transform: translateX(4px);
}

.job-meta {
display: flex;
gap: 1rem;
font-size: 13px;
color: #555;
border-top: 1px solid #eee;
padding-top: 0.75rem;
}

.job-meta i {
margin-right: 4px;
}

/* List View */
.job-listings.list {
display: flex;
flex-direction: column;
}

.job-listings.list .job-card {
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
gap: 2rem;
width: 100%; /* 👈 ini penting */
}

.job-listings.list .job-content {
flex: 1;
}

.job-listings.list .job-meta {
border-top: none;
padding-top: 0;
flex-direction: column;
align-items: flex-end;
white-space: nowrap;
margin-top: 0;
}

/* Responsive (Optional) */
@media (max-width: 768px) {
.job-listings.list .job-card {
flex-direction: column;
}

.job-listings.list .job-meta {
align-items: flex-start;
margin-top: 1rem;
}
}

/* Filter */
.job-filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 10px 0;

  }
  
  .filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .filter.fixed-top {
    position: fixed;
    top: 60px;
    right: 0;
    left: 0;
    width: unset;
    z-index: 1030;

    z-index: 1040;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .filters select {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    
    font-size: 14px;
    color: #555;
    
  }
  
  .search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 8px 12px;
    background-color: #fff;
    flex: 1;
    max-width: 300px;
  }
  
  .search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #555;
  }
  
  .search-icon {
    color: #999;
    font-size: 16px;
    margin-left: 6px;
  }
  


