.job-search-wrapper{
  margin: 50px 0px;
}

.job-filter-row {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}
.job-filter-input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd !important;
  border-radius: 4px;
}
.job-card {
  display: flex;
  background: #f4f4f4;
  border: none;
  padding: 20px 40px;
  border-radius: 6px;
  margin-bottom: 15px;
  justify-content: space-between;
  align-items: center;
  column-gap: 20px;
  width: 100%;
}
.job-title{ margin: unset !important; }
.job-title a {
  text-decoration: none !important;
  color: #22343c;
  font-size: 24px;
  font-family: "Monograph", sans-serif;
}
.job-meta {
  margin-top: 8px;
  font-size: 14px;
  color: #777;
  display: flex;
  gap: 20px;
}
.job-card-content{ width: 75%; }
.job-icon{ font-size: 17px; margin-right: 6px; }
.job-actions{
  width: 25%;
  display: flex;
  align-items: end;
  flex-direction: column;
  row-gap: 10px;
}
.job-view-btn {
  background: #37b296;
  color: #fff !important;
  padding: 10px 27px;
  font-size: 16px !important;
  border-radius: 20px;
  text-decoration: none !important;
  transition: 0.3s;
  font-family: "Monograph", Sans-serif !important;
}
.job-view-btn:hover { background: #22343c; }
.job-pagination{
  text-align: center;
  margin: 50px 0px 100px 0px;
}
.job-pagination a{
  margin-right: 5px;
  text-decoration: none !important;
  font-weight: bold;
  background: #37b296;
  padding: 8px 12px;
  color: #fff;
  border-radius: 4px;
}
.job-pagination a:hover{
  background: #22343c;
  color: #fff;
}
.no-jobs-found{
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  margin: 50px 0px;
}

.job-spinner{
  margin-top: 30px;
  width:40px;
  height:40px;
  border:4px solid #e0e0e0;
  border-top:4px solid #37b296;
  border-radius:50%;
  display:inline-block;
  animation: jobSpin 0.8s linear infinite;
}

@keyframes jobSpin{
  0%{ transform:rotate(0deg); }
  100%{ transform:rotate(360deg); }
}






/* single job page */
.job-header-wrapper{
  margin: 100px 0px 0px 0px;
}
.job-inner-header{
  max-width: 1200px;
  margin: auto;
  padding: 0px 20px;
}
.job-inner-header .job-single-title{
  font-size:32px;
  margin: 0px;
  color: #22343c !important;
}
.job-company-name{
  font-size: 18px;
  font-weight: 600;
}
.job-single-wrapper {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 50px auto 100px auto;
  padding: 0 20px;
}

.job-left {
  flex: 2;
}

.job-right {
  flex: 1;
  background: #fff;
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 8px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.job-section-title {
  font-size: 24px !important;
  margin-bottom: 20px;
  color: #22343c !important;
}

.job-content ol{
  padding: unset !important;
  margin-bottom: 15px;;
}
.job-content ul{
  margin-bottom: 15px;
}

.job-content p {
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.job-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-meta-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.job-meta-list .icon {
  width: 40px;
  height: 40px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #37b296;
  font-size: 16px;
}

.job-meta-list strong {
  display: block;
  font-size: 14px;
  color: #111;
}

.job-meta-list span {
  font-size: 14px;
  color: #777;
}

.apply-btn {
  display: block;
  margin-top: 25px;
  text-align: center;
  background: #37b296;
  color: #fff !important;
  padding: 14px;
  border-radius: 6px;
  text-decoration: none Im !important;
  font-weight: 600;
}
.related-jobs-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.job-description{
  margin-top: 10px;
}
.related-job-card {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
}

.related-job-card h4 {
    margin: 0 0 10px;
}




/* single page popup styles */

.apply-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding-top: 50px;
  z-index: 9999;
}

.apply-popup {
  background: #fff;
  width: 100%;
  max-width: 1000px;
  padding: 50px;
  border-radius: 10px;
  position: relative;
}
.apply-form{
  margin-top: 30px;
}
.apply-popup-close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
}

.apply-title {
  color: #37b296 !important;
  margin-bottom: 5px;
}

.apply-subtitle {
  margin-bottom: 30px;
  color: #555;
}
.file-row{
  margin: 20px 0px;
}
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row > div {
  flex: 1;
}

.apply-form label {
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  color: #22343c !important;
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.submit-btn {
  background: #37b296 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 25px !important;
  cursor: pointer !important;
  margin-top: 20px;
}






@media (max-width: 768px) {
  .job-search-wrapper {
    margin: 50px 10px;
  }
  .job-filter-row {
    flex-direction: column;
  }
  .job-card {
    flex-direction: column;
    row-gap: 20px;
    padding: 20px;
  }
  .job-card-content{
    width: 100%;
  }
  .job-actions {
    width: 100%;
    flex-direction: column;
    align-items: start;
  }
  .job-single-wrapper {
    flex-direction: column;
  }
  .job-right {
    position: static;
    top: auto;
    margin-top: 30px;
  }
  .job-meta{
    flex-direction: column-reverse;
    gap: 10px;
  }

}