/* .wpja-job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
} */

/* .wpja-job-card {
    background: white;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;

} */

/* .wpja-job-card:hover {
    transform: translateY(-4px);
} */

/* .wpja-job-card h3 {
    margin-top: 0;
    color: #1a1a1a;
} */

/* .wpja-job-card p {
    margin: 8px 0;
    color: #555;
} */

/* .wpja-view-btn {
    background: transparent;
    color: #ce2029;
    border: 1px solid #ce2029;
    border-radius: 6px;
    padding: 6px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
} */

/* .wpja-view-btn:hover {
    background: rgba(206, 32, 41, 0.1);
        color: #ce2029;
} */






/* accordion */
/* .wpja-accordion {
  border: 1px solid #ccc;
  border-radius: 5px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  overflow: hidden;
} */

/* .wpja-accordion-title{
  background: linear-gradient(135deg, #ce2029 0%, #a82230 100%);
  color: white;
  padding: 35px 20px;
  text-align: center;
  overflow: hidden;
} */

/* .wpja-accordion-item {
  border-bottom: 1px solid #ddd;
} */

/* .wpja-accordion-header {
  background: #f4f4f4;
  padding: 20px 25px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  align-items: center;

} */

/* .header-text{
  font-size: 1.4rem;
  font-weight: 700;
  color: #ce2029;
} */

/* .job-count{
  background: #ce2029;
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
} */

/* .wpja-accordion-body {
  display: none;
  padding: 15px;
  background: #fff;
  border-top: 1px solid #ddd;
  flex-wrap: wrap;
  column-gap: .5%;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  padding: 5px 70px;
  min-width: 100%;
} */

/* .wpja-accordion-header.active {
  background: #e2e2e2;
} */


/* .wpja-job-count {
    font-weight: normal;
    font-size: 0.9em;
    margin-left: 5px;
} */

/* .wpja-accordion-icon {
    float: right;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: #ce2029;
} */

/* rotate when active */
/* .wpja-accordion-header.active .wpja-accordion-icon {
    transform: rotate(180deg);
} */

/* .wpja-accordion-right {
    float: right;
    font-size: 0.9em;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 5px;
} */

/* APPLY BTN */
/* .wpja-apply-btn {
  background: #ce2029;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-grow: 1;
} */

/* .wpja-apply-btn:hover {
  background: #a82230;
  transform: translateY(-2px);
} */





/* Icon */
/* .jb-icon{
  background: #f9f3f3;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #ce2029;
  font-size: 1.5rem;
} */

/* .jl-job-chevron{
  background: #ce2029;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  width: 32px;
  height: 32px;
} */

/* Work type */
/* .jl-job-type{
  background: #e6f7ff;
  color: #0066cc;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-top: 10px;
}

/* button actions */
/* .jl-job-actions{
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  gap: 10px;
}  */



/* for modal */

/* .wpja-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
} */

/* .wpja-modal-content {
  background-color: #fff;
  margin: 40px auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 700px;
  position: relative;
  max-height: 80vh;        
  overflow-y: auto;      
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
} */

/* .wpja-modal-close {
  color: #aaa;
  position: absolute;
  top: 10px; right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
} */




#wpja-apply-frame{
    padding: 40px !important;
}


/* MODAL CSS BASED ON MOCKUP */

.jl-header {
  background: linear-gradient(135deg, #ce2029 0%, #a82230 100%);
  color: white;
  text-align: center;
  padding: 35px 20px;
  position: relative;
  overflow: hidden;
}

  .jl-modal-open {
    overflow: hidden;
  }

  .jl-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  h2#modalJobTitle {
  margin: 0;
  }
  .jl-modal.active {
    opacity: 1;
    visibility: visible;
  }


  .jl-modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s ease;
  }

  .jl-modal-content.apply-content{
    overflow: hidden;
    border-radius: 20px;;
  }

  .jl-modal.active .jl-modal-content {
  transform: translateY(0);
  }

  .jl-modal-header {
  padding: 25px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  }

  .modal-header-apply{
      justify-content: end !important;
  }

  .jl-modal-title {
  font-size: 1.8rem;
  color: #2c3e50;
  }

  .jl-modal-close {
  font-size: 1.8rem;
  cursor: pointer;
  color: #777;
  transition: color 0.3s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  }

  .jl-modal-close:hover {
  color: #ce2029;
  background: rgba(206, 32, 41, 0.1);
  }

  .jl-modal-body {
  padding: 25px 25px 0 25px;
  }

  .jl-modal-body.apply-part{
    padding: 0px;
  }

  .jl-detail-item {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  }

  .jl-detail-item:last-child {
  margin-bottom: 0 !important;
  }

  .jl-detail-label {
  flex: 0 0 150px;
  font-weight: 600;
  color: #555;
  }

  .jl-detail-content {
  flex: 1;
  }

  .jl-modal-actions {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  justify-content: flex-end;
  position: sticky;
  bottom: 0;
  }

  .jl-modal-actions button {
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  }

  .jl-modal-close-btn {
  background: #f0f0f0 !important;
  border: 1px solid #ddd !important;
  color: #555 !important;
  }

  .jl-modal-close-btn:hover {
  background: #e6e6e6 !important;
  }

  .jl-modal-apply-btn {
  background: #ce2029;
  color: white;
  border: none;
  }

  .jl-modal-apply-btn:hover {
  background: #a82230;
  }


  /* Apply IFrame */
  #wpja-apply-frame{
    padding-right: 0px !important;
    padding-bottom: 60px !important;
    padding-top: 10px !important;
  }








/* JOB CONTAINER */
.jl-job {
  background: white;
  border: 2px solid #eaeaea;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.jl-job:hover {
  border-color: #ce2029;
  box-shadow: 0 8px 20px rgba(168, 34, 48, 0.1);
  background-color: #fff8f8;
  transform: translateY(-3px);
}

.jl-job-icon {
  background: #f9f3f3;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #ce2029;
  font-size: 1.5rem;
}

.jl-job-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2c3e50;
  padding-right: 40px;
}

.jl-job-desc {
  color: #555;
  font-size: 0.95rem;
  flex-grow: 1;
  padding-right: 40px;
  margin-bottom: 15px;
}

.jl-job-type {
  background: #e6f7ff;
  color: #0066cc;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-block;
  margin-top: 10px;
}

.jl-job-chevron {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: #ce2029;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

.jl-job-chevron a{
  color: white !important;
}

.jl-job:hover .jl-job-chevron {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.jl-job-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  gap: 10px;
}

.jl-view-details {
  background: transparent;
  color: #ce2029 !important;
  border: 1px solid #ce2029;
  border-radius: 6px;
  padding: 6px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.jl-view-details:hover {
  background: rgba(206, 32, 41, 0.1);
}

.jl-apply-button {
  background: #ce2029;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-grow: 1;
}

.jl-apply-button:hover {
  background: #a82230;
  transform: translateY(-2px);
}









/* JL BODY */
.jl-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 20px auto;
}

.jl-location {
  border-top: 1px solid #eaeaea;
  padding: 0;
  position: relative;
  transition: all 0.3s ease;
}

.jl-location:hover {
  background-color: #f9f9f9;
}


.jl-location.active {
  background-color: #fff8f8;
}

.jl-location-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  transition: background-color 0.5s ease;
}

.jl-location:hover .jl-location-header {
  background-color: rgba(206, 32, 41, 0.05);
}

.jl-location-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ce2029;
}

.jl-job-count {
  background: #ce2029;
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.jl-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: #ce2029;
}

.jl-location.active .jl-arrow {
  transform: rotate(180deg);
}

.jl-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.jl-dropdown.open {
  max-height: 900px;
  transition: max-height 0.6s ease;
}

.jl-carousel-container {
  position: relative;
  margin-top: 5px;
  overflow: hidden;
  padding: 10px 0;
}

.jl-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  padding-bottom: 10px;
}


.jl-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  padding: 5px 70px;
 }


 .jl-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #eaeaea;
  color: #a82230;
}

.jl-carousel-arrow:hover {
  background: #a82230;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.jl-carousel-arrow.left {
  left: 15px;
}

.jl-carousel-arrow.right {
  right: 15px;
}

.jl-carousel-arrow i {
  font-size: 1.2rem;
}

.jl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  position: relative;
}

.jl-pagination-dots {
  display: flex;
  gap: 6px;
  margin: 0 10px;
}

.jl-dot {
  width: 12px;
  height: 12px;
  background: #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.jl-dot.active {
  background: #a82230;
  transform: scale(1.2);
}


.jl-page-indicator {
  position: absolute;
  right: 0;
  background: #f0f0f0;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 768px) {
  .jl-carousel-slide {
      grid-template-columns: 1fr;
      grid-template-rows: repeat(2, 1fr);
  }

  .jl-carousel-arrow {
      top: 25%;
  }

  .jl-job {
      padding: 15px;
  }

  .jl-job-title,
  .jl-job-desc {
      padding-right: 35px;
  }

  .jl-job-chevron {
      top: 15px;
      right: 15px;
      width: 28px;
      height: 28px;
  }

  .jl-location-title {
      font-size: 1.2rem;
  }

  .jl-header h1 {
      font-size: 2rem;
  }

  .jl-header p {
      font-size: 1rem;
  }

  .jl-page-indicator {
      position: relative;
      background: none;
      padding: 0;
      margin-left: 10px;
  }

  .jl-carousel-arrow {
      /* width: 35px;
      height: 35px; */
      display: none !important;
  }

  /* .jl-carousel-arrow.left {
      left: 5px;
  }

  .jl-carousel-arrow.right {
      right: 5px;
  } */

  .jl-carousel-slide {
      padding: 5px 10px;
  }

  .jl-detail-item {
      flex-direction: column;
      gap: 5px;
  }

  .jl-detail-label {
      flex: 0 0 auto;
  }

  .jl-modal-actions {
      flex-direction: column;
  }


}

@media (max-width: 480px) {
  .jl-location-title{
    width: 150px;
  }
  .jl-modal-close{
    display: none !important;
  }
  #wpja-apply-frame{
    padding: 0px !important;
  }
  .jl-location-title {
      font-size: 14px;
  }
  .jl-job-count {
      font-size: 12px;
  }

  .jl-location-header {
      padding: 15px;
  }
  .jl-career-container {
      padding: 0;
  }
  .jl-carousel-slide {
      grid-template-columns: 1fr !important;
      grid-template-rows: repeat(1, 1fr) !important;
  }
  .jl-pagination {
      flex-wrap: wrap;
      gap: 5px;
  }

  .jl-page-indicator {
      position: static;
      width: 100%;
      text-align: center;
      margin-top: 5px;
  }

  .jl-carousel-arrow {
      display: none;
  }

  .jl-job-title {
      font-size: 1rem;
  }

  .jl-job-desc {
      font-size: 0.9rem;
  }

  .jl-job-actions {
      flex-direction: column;
  }
}




