html{
  overflow-x: unset !important;
}
.search-btn{
	margin-bottom: 9px;
    padding: 7px !important;
}
.choose-img{
	cursor:pointer;
}
.search-form{
	margin-top:20px;
	margin-bottom: 0px;
}
input[type="date"] {
    position: relative;
    
}
span{
	font-family:inherit !important;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}
.img-text{
	font-size: 30px;
    color: #fff;
    padding: 52px;
    font-weight: 800;
}
.card h5,.card h3,.card h6{
	/* letter-spacing: 0px; */
}
.card-body {
	text-align: left;
	line-height: 2;
	padding:0px !important;
	border: none;
}
.card-body .list-group{
	/* list-style:none; */
	margin:0 !important ;
	text-align:left !important ;
}
.card-body h3,.card-body h6{
	/* list-style:none; */
	text-align: center;
	padding-bottom: 25px;
	text-transform: capitalize;
	min-height: 73px;
}
.btn-brown{
	background: #ffffff !important;
}
.md-form{
	/* padding-bottom: 12px; */
}
.md-form label{
	/* display:inline !important; */
	justify-content: left !important;
}
.list-group-item input[type='checkbox']{
	display: inline-block;
}
.card input[type='file']{
	width: 100%;
}
.list-group-item{
	border:none  !important;
	border-top:1px solid #ccc  !important;
	text-align:left !important ;
	padding-top:35px !important;
	padding-bottom:35px !important;
	
}
.btn-brown,.btn-brown:hover{
	box-shadow:none !important;
	color:#fff  !important;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.text-left{
	float:left;
}
.text-right2{
	float:right;
}
.terms label{
	font-size:15px;
}
@media only screen and (max-width: 768px){
	.card-body .list-group{
		margin:0 !important; 
		padding:0 !important;
	}
	.card h5,.card h4{
		font-size: 16px;
	}
	.card-body{
		padding:0 !important;
	}
	.md-form {
		/* margin-bottom: 24px  !important; */
	}
	.first-md-form {
		/* margin-top: 52px !important; */
	}
	.list-group-item{
		padding:0px;
	}
	.text-left,.text-right2{
		float:none;
		text-align:left!important;
		margin-bottom: 12px !important;
	}
}

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
  width:60%;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.input-spin{
	position: absolute;
    top: 23%;
    right: 4%;
	display:none;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: #bf9463 !important; 
  color: #ffffff; 
}
.btn:hover{
    background-color: #bf9463 !important; 
}
.filters-sticky {
    position: sticky;
    top: 32px; /* Should be equal to or greater than header height */
    background-color: #ffffff;
    z-index: 1000;
    padding: 20px;
    /* margin: -15px; */
    /* margin-bottom: 20px; */
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
    /* border-bottom: 1px solid #e0e0e0; */
}

/* Header Navigation Styles */
.site-header,
#masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001; /* Higher than filters */
    background: #fff;
}

/* Adjust main content for fixed header */
.site-content {
    padding-top: 100px; /* Adjust this value based on your header height */
}

/* Adjust for WordPress admin bar */
.admin-bar .site-header,
.admin-bar #masthead {
    top: 32px;
}

.admin-bar .filters-sticky {
    top: 66px; /* 32px for admin bar + 100px for header */
}

/* Mobile responsiveness */
@media screen and (max-width: 782px) {
    .admin-bar .site-header,
    .admin-bar #masthead {
        top: 46px;
    }
    
    .admin-bar .filters-sticky {
        top: 146px; /* 46px for mobile admin bar + 100px for header */
    }
   
}

@media screen and (max-width: 600px) {
    .admin-bar .site-header,
    .admin-bar #masthead {
        top: 0;
    }
    
    .filters-sticky {
        top: -20px; /* Adjusted for smaller mobile header */
    }
    
    .admin-bar .filters-sticky {
        top: -29px;
    }
    
    .site-content {
        padding-top: 80px;
    }
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.filter-group {
    margin-right: 20px;
    margin-bottom: 10px;
}

.filter-label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}
.info-item i{
    color: #bf9463;
}
.checkbox-list {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.checkbox-item {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    display: block;
    width: 100%;
    transition: background-color 0.2s;
}

.checkbox-item:hover {
    background-color: #f5f5f5;
}

.checkbox-item:last-child {
    border-bottom: none;
}

.checkbox-item input[type="checkbox"] {
    /* margin-right: 10px; */
}

.checkbox-item span {
    /* display: inline-block; */
    vertical-align: middle;
    line-height: 1.4;
    margin-left: 9px;
}

.filter-submit {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.filter-submit:hover {
    background-color: #0056b3;
}

.job-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 10px;
    min-height: 420px; /* Add minimum height */
}

.job-card__header {
    display: flex;
    /* padding: 20px; */
    /* background: #fcf4e3; */
    height: 120px; /* Fixed height */
    margin: 0 auto;
    align-items: center;
    border-bottom: 1.5px solid gray;
    padding: 0 60px;
}

.logo-wrapper {
    width: 180px;
    height: 100px; /* Fixed height */
    /* margin-right: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.job-card__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 100%; /* Ensure image doesn't overflow */
}

.header-content {
    flex: 1;
}

.job-card__title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: #333;
}

.job-card__company {
    color: #333;
    font-size: 1.2rem;
    text-align: left;
    margin-top: 15px;
    font-weight: 500;
}

.job-card__company i {
    display: none; /* Remove company icon */
}

.job-card__body {
    padding: 20px;
    flex: 1; /* Make body flex grow */
    display: flex;
    flex-direction: column;
}
.job-card__body .fa {
    color: #BF9463;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    /* margin: 0 auto; */
    /* margin-left: 20px; */
    margin-bottom: 10px;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center; /* Changed from flex-start to center */
    gap: 8px;
    color: #000;
    min-height: 24px;
}

.info-item i {
    color: #bf9463;
    width: 16px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.info-item span {
    flex: 1;
    line-height: 1.4;
    display: flex;
    align-items: anchor-center;
}

.job-card__note {
    margin-top: auto; /* Push note to bottom of body */
    padding: 0 19px;
    text-align: center;
    /* background: #fff7e6; */
    border-radius: 4px;
    font-size: 1rem;
    word-spacing: 1px;
    margin-bottom: 15px;
    color: #808080;
    min-height: 112px;
}

.job-card__footer {
    padding: 15px 0px;
    background: linear-gradient(0, #bf9463, #00000000);
    /* border-top: 1px solid #e9ecef; */
    margin-top: auto; /* Ensure footer stays at bottom */
}

.footer-actions {
    display: flex;
    justify-content: space-between;
    gap: 0px;
    padding: 0 12px;
    /* align-items: unset; */
    position: relative; /* Add this */
}

.share-btn {
    padding: 0px 9px;
    padding-left: 7px;
    background: transparent;
    border: 0px solid #808080;
    border-radius: 7px;
    cursor: pointer;
    /* display: flex; */
    align-items: center;
    margin-right: 12px;
    box-shadow: 0 2px 10px rgb(0 0 0);
    /* gap: 5px; */
    /* position: relative; */
}
.share-btn i.fa.fa-share-alt {
    font-size: 19px;
}
.btn-apply {
    padding: 8px 20px;
    background: #007bff;
    color: #808080 !important;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.btn-apply:hover {
    background: #0056b3;
    /* box-shadow: 0 2px 10px rgb(0 0 0) !important; */
}
			
.info-item {
    display: flex;
    align-items: anchor-center; /* Changed from center to flex-start */
    gap: 8px;
    color: gray;
    min-height: 24px; /* Added to ensure consistent row height */
    padding: 4px 0;
}

.info-item i {
    color: #000;
    /* width: 14px; */
    margin-top: 3px; /* Added to align icon with text */
    font-size: 24px;
}

.info-item span {
    flex: 1;
    line-height: 1.4; /* Added for better text alignment */
}

/* Style for Job ID */
.job-id {
    /* border: 1px solid #ddd; */
    /* padding: 0px 17px; */
    /* border-radius: 4px; */
    /* background: #f8f9fa; */
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin-left: 10px;
}

/* Add loading state styles */
.job-cards.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
    min-height: 400px;
}

.job-cards.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #bf9463;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Add styles for share popup */
.share-popup {
    display: none;
    position: absolute;
    background: white;
    padding: 12px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    right: 0;
    bottom: 100%;
    margin-bottom: 8px;
    z-index: 1000;
}

.share-popup.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    min-width: 150px;
}

@media screen and (max-width: 480px) {
    .share-popup.active {
        grid-template-columns: repeat(2, 1fr); /* Change to 2 columns on mobile */
        width: 120px; /* Fixed width for better control */
    }

    .share-popup a {
        padding: 6px;
        font-size: 16px;
    }
}

.share-popup a {
    color: #666;
    font-size: 18px;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
}

.share-popup a:hover {
    background-color: #f0f0f0;
}

.share-popup .fa-facebook:hover { color: #4267B2; }
.share-popup .fa-linkedin:hover { color: #0077b5; }
.share-popup .fa-whatsapp:hover { color: #25D366; }
.share-popup .fa-twitter:hover { color: #1DA1F2; }
.share-popup .fa-envelope:hover { color: #EA4335; }
.share-popup .fa-link:hover { color: #007bff; }
.share-popup .fa-check { color: #28a745; }
.job-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 14px;
  background: #fff;
  /* border: none; */
}


.job-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 32px;
  padding: 0px;
  position: relative;
  box-shadow: 0px 0px 9px 9px rgb(108 108 108 / 8%);
  display: flex;
  flex-direction: column;
  gap: 0px;
  transition: transform 0.2s;
}

.job-card:hover {
  transform: translateY(-4px);
}

.job-card__logo {
  width: 100%;
  /* height: 100%; */
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 6px;
  /* border: 1px solid #ddd; */
}

.job-card__title {
  font-size: 20px;
  font-weight: ;
  color: #222;
  margin: 0;
}

.job-card__location {
  color: #777;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-card__location i {
  color: #999;
}

.job-card__meta {
  font-size: 13px;
  color: #666;
  background: #f4f4f4;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.note {
  background-color: #fffbe6;
  padding: 8px;
  border-left: 4px solid #ffcc00;
  font-size: 13px;
  margin-top: 8px;
}

.job-card__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.btn-brown {
  background-color: #8B4513;
  color: white;
  padding: 5px 8px !important;
  border: none;
  border-radius: 11px !important;
  font-size: 14px !important;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 10px rgb(0 0 0) !important;
}

.btn-brown:hover {
  background-color: #5c2e0e;
}

.share-btn {
  background: #fff;
  /* margin-right: -51px; */
  /* justify-content: space-between; */
  /* border: none; */
  cursor: pointer;
  /* float: right; */
  /* font-size: 18px; */
  color: #808080;
  /* align-items: flex-start; */
}

.share-btn:hover {
  color: #bf9463;
}

.share-popup {
  position: absolute;
  bottom: 110%;
  left: 0;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: none;
  z-index: 10;
}


.share-popup a {
  color: #444;
  font-size: 16px;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-right: 20px;
    margin-bottom: 10px;
}
.card.job-listing{
  border: none !important;
}
.radio-label input[type="radio"] {
    margin-right: 8px;
}

.radio-label span {
    user-select: none;
}

.filter-group {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.additional-filters{
  display: none;;
}
.additional-filters.show {
  /* display: flex; */
  /* gap: 20px; */
  flex-wrap: wrap;
}
.filter-toggle-btn {
    background: #bf9463;
    color: white;
    padding: 2px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-toggle-btn:hover {
    background: #a67d52;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.filter-toggle-btn i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.filter-toggle-btn.active {
    background: #8b5e3b;
}

.filter-toggle-btn.active i {
    transform: rotate(180deg);
}

.additional-filters {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    width: 100%;
    margin-top: 0;
}

.additional-filters.show {
    max-height: 1000px;
    opacity: 1;
    margin-top: 20px;
    /* display: flex; */
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-list {
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease-out;
    transition-delay: 0.1s;
}

.additional-filters.show .checkbox-list {
    transform: translateY(0);
    opacity: 1;
    /* align-items: self-start; */
    text-align: left;
    width: 100%;
}

.job-cards .alert {
    grid-column: 1 / -1;  /* Make alert span full width */
    width: 100%;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 16px;
}

.job-cards .alert-danger {
    background-color: #fff2f2;
    border: 1px solid #ffcccc;
    color: #dc3545;
}

/* Add responsive breakpoints */
@media screen and (max-width: 1200px) {
  .job-cards {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
  }
}

@media screen and (max-width: 768px) {
  .job-cards {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    padding: 16px;
  }

  .job-card {
    padding: 16px;
  }

  .job-card__title {
    font-size: 18px;
  }

  .job-card__meta {
    padding: 10px;
  }
   .filter-toggle-btn{
      margin-left: 0px;
    }
}

@media screen and (max-width: 480px) {
  .job-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .job-card {
    padding: 0;
    min-height: auto;
  }

  .job-card__header {
    padding: 10px;
    height: 100px; /* Smaller height for mobile */
  }

  .logo-wrapper {
    width: 180px;
    height: 100px; /* Smaller height for mobile */
    margin-right: 10px;
  }

  .job-card__logo {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
  }

  .job-card__title {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .job-card__company {
    font-size: 14px;
    margin-top: 5px;
  }

  .job-card__body {
    padding: 10px;
  }

  .info-row {
    margin-bottom: 5px;
    gap: 5px;
  }

  .info-item {
    padding: 2px 0;
    min-height: 20px;
    align-items: anchor-center;
    gap: 7px;
  }

  .info-item i {
    font-size: 14px;
    width: 12px;
    
  }

  .info-item span {
    font-size: 12px;
  }

  .job-card__note {
    padding: 8px;
    font-size: 11px;
    margin-bottom: 8px;
  }

  .job-card__footer {
    padding: 8px;
  }

  .footer-actions {
    gap: 24px;
    justify-content: center;
  }

  .job-id {
    /* padding: 2px 8px; */
    font-size: 12px;
    margin-left: 0px;
    /* padding-left: 0; */
  }

  .share-btn {
    padding: 4px 8px;
    font-size: 12px;
    margin-right: 0px;
    /* padding: 0px 9px; */
    padding-left: 5px;
    padding-bottom: 2px;
  }

  .btn-apply {
    padding: 4px 10px;
    font-size: 12px;
    gap: 4px;
  }

  .btn-apply i {
    font-size: 12px;
  }
  .footer-actions {
    padding: 0 0px;
  }
}

/* Mobile filter styles */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    background: #bf9463;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.mobile-filter-toggle i {
    transition: transform 0.3s ease;
}

.mobile-filter-toggle.active i {
    transform: rotate(180deg);
}

@media screen and (max-width: 768px) {
    .filter-toggle-btn {
        display: none;
    }

    .mobile-filter-toggle {
        display: flex;
    }

    .mobile-filters {
        display: none;
    }

    .mobile-filters.show {
        display: block;
    }
    
    .mobile-filters.show .additional-filters {
        max-height: 1000px;
        opacity: 1;
        margin-top: 20px;
    }
}