.job-container {
    width: 90%;         /* or max-width: 1200px; */
    margin: 0 auto;     /* centers the container */
    box-sizing: border-box; /* ensures padding doesn't break width */
}

.teambridge-filter-bar{
    padding:15px; 
    border:2px solid #AEAFB2; 
    border-radius:10px; 
    margin-bottom:20px;
    background-color: white;
}
.teambridge-filter{
    padding:6px; 
    min-width:150px;
    border: 2px solid #AEAFB2;
    border-radius:10px;
}
.teambridge-filter-container{
    display:flex; 
    flex-wrap:wrap;
    gap:15px;
}

.teambridge-filter-container input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    opacity: 1 !important;
    position: static !important;
    display: inline-block !important;
    margin-right: 6px
}

#teambridge-job-list{
    display:grid; 
    gap:20px; 
    grid-template-columns:repeat(auto-fill, minmax(400px,1fr));
    max-height:800px; 
    overflow-y:auto; 
    padding-right:10px;
    border: 2px solid #AEAFB2; 
    border-radius:10px; 
    padding:10px;
    background-color: #e5e5e5;
}

.teambridge-job-card{
    border: 2px solid #AEAFB2; 
    padding:20px;
    border-radius:10px; 
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
    background-color: white;
    position: relative;
}
.teambridge-job-card p {
    margin-bottom: 12px; /* increase spacing between paragraphs */
}
.teambridge-job-card-heading h2 {
    margin-top:0; 
    font-size:24px;
    margin-bottom: 24px; /* increase spacing between paragraphs */

}
.teambridge-job-card h2 > a {
    color: #E3392C;
    text-decoration: none;
}
.teambridge-job-card h2 > a:hover {
    color: #c12b23 !important; /* slightly darker red */
    text-decoration: none;
}
.teambridge-job-card-heading.hot-job {
    padding-right: 130px;
    margin-top:0; 
    font-size:24px;
    margin-bottom: 12px; /* increase spacing between paragraphs */
}
.hot-job-badge {
    position: absolute;
    top: 0;
    right: 0px; /* move slightly outside the card for diagonal effect */
    background: #E3392C; /* banner background color */
    color: #fff;
    font-weight: bold;
    padding: 5px 25px; /* adjust width and height of banner */
    text-align: center;
    font-size: 14px;
    border-radius: 0 8px 0 0; /* only top-right corner rounded */
    z-index: 10;
}
/* Triangle on the right side */
.hot-job-badge::before {
    content: "";
    position: absolute;
    left: 0px; /* move it outside the badge */
    top: 0;
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-right: 16px solid #fff; /* matches badge background */
    transform: rotate(180deg);
}


/* Dropdown container and button */
.dropdown {
    position: relative;
    display: inline-block;
    width: 200px;
    margin-right: 10px;
    margin-bottom: 15px;
}

/* Dropdown button */
.dropdown-button {
    width: 100%;
    padding: 8px;
    border: 2px solid #AEAFB2;
    border-radius: 10px;
    cursor: pointer;
    background-color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-button:hover {
    background-color: #AEAFB2;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 180px;
    overflow-y: auto;
    z-index: 100;
    padding: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Show content when dropdown is open */
.dropdown.open .dropdown-content {
    display: block;
}

/* Labels inside dropdown */
.dropdown-content label {
    display: flex;
    align-items: center;
    margin: 3px 0;
    cursor: pointer;
    font-size: 14px;
    position: relative;
}
/* Hover effect */
.dropdown-content label:hover {
  background: #f5f7fa;
  border-color: #bbb;
}


@media (max-width: 767px) {

  .teambridge-job-card {
      box-sizing: border-box;
      max-width: 90%;
      overflow: hidden;
    }
      

  .teambridge-job-card-heading h2 {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .teambridge-job-card-heading.hot-job {
    padding-top: 10px; /* remove desktop spacing */
  }
.hot-job-badge {
    margin-bottom: 0px;
}
  
}

.view-button{
   
                    background-color:#E3392C; 
                    color:#fff; 
                    border:none; 
                    padding:8px 15px; 
                    cursor:pointer; 
                    font-weight:bold;
                    border-radius:4px;
                    text-transform:uppercase;
                
}

.view-button:hover {
    background-color: #c12b23; /* slightly darker red */
}
.reset-filters-button {
    background-color:#E3392C; 
    color:#fff; 
    border:none; 
    padding:8px 15px; 
    font-size: 14px;
    cursor:pointer; 
    font-weight:bold;
    border-radius:4px;
    align-self:flex-end;  /* vertically center with dropdowns */
    margin-bottom:18px;
}
.reset-filters-button:hover {
    background-color: #c12b23; /* slightly darker red */
}
/*style='padding:15px; border:2px solid #AEAFB2; border-radius:10px; margin-bottom:20px;' style='padding:6px; min-width:150px;border: 2px solid #AEAFB2;border-radius:10px;''