/* ======================================================
   GLOBAL RESET (Scoped)
====================================================== */
.jnx-body {
  /*background: #f5f7ff !important;*/
  background: linear-gradient(180deg, #f6f8ff 0%, #eef1fb 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e2d61;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.jnx-body * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* ======================================================
   HEADER
====================================================== */
.jnx-header {
	position:sticky;
	top: 0;
	z-index:999;
  min-height: 77px;
  background: #ffffff;
  box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
  padding: 18px 16px;
}

.jnx-header-inner {
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.jnx-brand {
    line-height: 0;
}

.jnx-logo {
  line-height: 0;
  text-decoration: none;
}

.jnx-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  background: transparent;
  padding: 10px 14px;
  border-radius: 50px;
  border: 1px solid #00000042;
  width: 250px;
}

.jnx-search i {
  color: #64748b;
}

.jnx-search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 14px;
}

.jnx-search:focus-within  {
    box-shadow: 0px 0px 10px #726be2;
}


.jnx-no-results {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    color: #b30000;
}

.jnx-no-results p{
    margin: 0 !important;
}

/* ======================================================
   LAYOUT
====================================================== */
.jnx-wrapper {
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
}

/* Main content should grow */
.jnx-wrapper,
.jnx-wrap {
  flex: 1;
}

/* Footer stays at bottom */
.jnx-footer {
  margin-top: auto;
}

/* ======================================================
   SIDEBAR FILTERS
====================================================== */
.jnx-sidebar {
    position: sticky;
    background: #fff;
    padding: 15px;
    top: 100px;
    bottom: 0;
    overflow: hidden;
    height: fit-content;
    border-radius: 12px;
    box-shadow: rgba(50, 50, 105, .15) 0px 2px 5px 0px, rgba(0, 0, 0, .05) 0px 1px 1px 0px;
}

.jnx-filter-header {
     display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.5;
    border-left: 5px solid #6366f1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #fff;
    font-weight: 700;
    padding: 11px 12px;
    border-radius: 10px;
}

.jnx-filters-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: block;
    scrollbar-width: thin; /* auto | thin */
    scrollbar-color: #6366f1 transparent;
}

.jnx-filters-scroll::-webkit-scrollbar {
  height: 6px;   /* 👈 reduce this (default ~12px) */
}

.jnx-filters-scroll::-webkit-scrollbar-track {
  background: transparent; /* or #eef1fb */
}

.jnx-filters-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #4f46e5, #9333ea);
  border-radius: 10px;
}


.jnx-filter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

#jnx-clear {
    border: none;
    font-size: 14px;
    padding: 3px 12px;
    background: #fff;
    color: #3a3ed8;
    cursor: pointer;
    border-radius: 5px;
}

.jnx-filter-group {
  /*margin-bottom: 22px;*/
  margin-bottom: 12px;
  /*padding-bottom: 12px;*/
  /*border-bottom: 1px dashed #e5e7eb;*/
}

.jnx-filter-group:not(:last-of-type) {
  padding-bottom: 12px;
  border-bottom: 1px dashed #e5e7eb;
}


.jnx-filter-group h5 {
  font-size: 14px;
  display: flex;
  color: #1e2d61;
  align-items: center;
  gap: 8px;
  /*margin-bottom: 12px;*/
  margin-bottom: 5px;
}

.jnx-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 18px;
  font-size: 14px;
  cursor: pointer;
  /*margin-bottom: 8px;*/
  margin-bottom: 5px;
}

.jnx-check input {
  display: none;
}

.jnx-box {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 2px solid #c7d2fe;
  position: relative;
}

.jnx-check input:checked + .jnx-box {
   background: linear-gradient(135deg, #4f46e5, #9333ea);
    border: 2px solid #4f46e5;
  color: #fff;
}

.jnx-check input:checked + .jnx-box::after {
    content: "\f14a";
    position: absolute;
    font-family: "Font Awesome 6 Free";
    top: -6px;
    border-radius: 0;
    left: -1px;
    color: #fff;
    border: transparent;
    font-size: 16px;
}

.jnx-apply-filter {
padding: 10px 10px;
    border-radius: 7px;
    border: none;
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #FFFFF5;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    margin-top: 20px;
}

.jnx-apply-filter:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(99,102,241,.35);
}

/* ======================================================
   MAIN CONTENT
====================================================== */
.jnx-main-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  line-height: 1.8;
  /*background: #08102f;*/
  /*padding: 10px 10px;*/
  /*border-radius: 5px;*/
  margin-bottom: 20px;
  background: linear-gradient(135deg, #0f172a, #020617);
  border-left: 5px solid #6366f1;
  border-radius: 10px;
  padding: 14px 20px;
}

.jnx-main-header h2 {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}


.jnx-main-header span {
    color: #bdc2d6;
    font-weight: 500;
    font-size: 12px;
}

.jnx-job-count {
  font-size: 14px;
  color: #555;
}

.jnx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
  line-height: normal;
  align-items: flex-start;
}



.jnx-grid.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ======================================================
   JOB CARD
====================================================== */
.jnx-card {
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.jnx-card:hover {
  /*box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);*/
    transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
}


.jnx-card-header {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 10px;
}

.jnx-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    /*background: linear-gradient(135deg, #4f46e5, #9333ea);*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 17px;
    background: linear-gradient(135deg, #6366f1, #9333ea);
    box-shadow: 0 8px 20px rgba(99,102,241,.35);
}

.jnx-card .jnx-icon {
  transition: transform 0.25s ease;
}

.jnx-card:hover .jnx-icon {
  transform: scale(1.10);
}

.jnx-title {
 font-size: 18px;
 color: #1e2d61;
 line-height: normal;
  margin: 0;
  transition: all 0.25s ease;
}

.jnx-title a{
    color: #4f46e5;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.jnx-card .jnx-title a {
  transition: all 0.25s ease;
}

.jnx-card:hover .jnx-title a {
 text-decoration:underline;
}

.jnx-company {
    font-size: 14px;
    margin-top: 3px !important;
    margin-bottom: 0 !important;
    color: #6b7280;
    font-weight: 500;
}

.jnx-meta {
  list-style: none;
  padding: 0 !important;
  margin: 14px 0;
}

.jnx-meta li {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-start;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    /*color: #1e2d61;*/
    color: #334155;
    /*margin-bottom: 10px;*/
}

.jnx-meta i {
    /*color: #0a2246;*/
    color: #666;
    /*background: #0b0a2712;*/
    padding: 5px 5px;
    display: flex;
    width: 25px;
    justify-content: center;
    align-items: center;
    border-radius: 7px;
}

.jnx-tags {
    margin-top: 10px;
}

.jnx-tags span {
display: inline-block;
background: #0b0a2712;
    color: #0a2246;
    padding: 4px 7px 6px 7px;
    line-height: 1;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 400;
    margin-right: 5px;
}

/* ======================================================
   SINGLE JOB PAGE
====================================================== */
.jnx-hero {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.job-content-start{
    background: #fff;
    color: #000;
}

.job-content-start p {
    margin: 1px 0 !important;
}

.jnx-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-weight: 700;
    padding: 5px 7px;
    width: fit-content !important;
    font-size: 14px;
    text-decoration: none;
    background: #ffffff;
    vertical-align: middle;
    margin-bottom: 12px;
    border-radius: 7px;
    transition: box-shadow 0.25s;
}

.jnx-back:hover {
    box-shadow: 0 0 0 2px #000000, 0 0 0 4px #ffffff;
}

.jnx-job-title {
    font-size: 25px;
    margin-top: 7px;
    margin-bottom: 15px;
    color: #fff;
}

.jnx-job-meta {
display: flex;
    column-gap: 15px;
    row-gap: 5px;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 14px;
    color: #e6e4f6;
}

.jnx-job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

#jnx-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
	margin-top: 38px;
}

#jnx-pagination a {
    width: fit-content !important;
    padding: 7px 12px;
    line-height: 1;
    background: linear-gradient(135deg, #6366f1, #9333ea);
    box-shadow: 0 8px 20px rgba(99, 102, 241, .35);
	transition:box-shadow 0.25s;
}

#jnx-pagination .current {
    background: darkgray !important;
    color: #fff;
    opacity: 1 !important;
    cursor: not-allowed;
	transition:box-shadow 0.25s;
}
#jnx-pagination a:hover,
#jnx-pagination .current:hover{
    box-shadow: 0 0 0 1px #fff, 0 0 0 2.5px #9333ea;
}
/* ======================================================
   FOOTER
====================================================== */
.jnx-footer {
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #eef2ff;
    padding: 20px 15px;
}

.jnx-footer-copy {
  font-size: 15px;
  text-align: center;
}

.footer-copyright-text p{
    font-size: 15px;
    margin-bottom: 0 !important;
}

.important-section-link a {
    text-decoration: none;
    font-size: 14px;
    color: #dbdb05;
    font-weight: 500;
    transition: color 0.25s;
}

.important-section-link a:hover {
    color: #7e7e09;
}

main.jnx-main {
    border-radius: 12px;
    box-shadow: rgba(50, 50, 105, .15) 0px 2px 5px 0px, rgba(0, 0, 0, .05) 0px 1px 1px 0px;
    padding: 15px;
    background: #fff;
        height: fit-content;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 1024px) {
  .jnx-wrapper {
    grid-template-columns: 1fr;
  }
  .jnx-main-header{
      margin-bottom: 30px;
  }
  
  .jnx-sidebar-single{
      order: 2;
  }
  
  .jnx-main{
      order: 1;
  }
  
  .mobile-tablet-box {
    display: inline-flex;
    gap: 20px;
    min-width: 700px;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
  .mobile-tablet-box-filter-group{
     border-bottom: none !important;
     padding: 0 !important;
  }
  
    .jnx-sidebar{
      position: relative;
      top: auto;
  }
}

@media (max-width: 768px) {
  .jnx-search {
    width: 180px;
  }

  .jnx-job-title {
    font-size: 22px;
  }

}





/* ------------------------------------
   Single Job Sidebar – Recent Jobs
------------------------------------ */

.jnx-recent-jobs {
list-style: none;
    padding-left: 0px !important;
    margin-top: -7px !important;
}

.jnx-recent-jobs li a:before {
    content: "\f017";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
}

.jnx-recent-jobs li {
  margin: 0;
}

.jnx-recent-jobs a {
    display: block;
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 400;
    color: #1e293b;
    text-decoration: none;
    transition: background .2s ease;
}

.jnx-recent-jobs a:hover {
  background: #f1f5f9;
  color: #2563eb;
}








/* ======================================================
   Global Scrollbar – Job Pages Only
====================================================== */

/* Chrome, Edge, Safari */
html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: #eef1fb;
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #4f46e5, #9333ea);
  border-radius: 10px;
  border: 2px solid #eef1fb;
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #4338ca, #7e22ce);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #6366f1 #eef1fb;
}


/* ======================================================
   header design
====================================================== */

/* Full width heading bar */
.jobnexus-full-heading {
    width: 100%;
    background: #00000014;
    padding: 12px 10px;
    border-radius: 7px;
    border-left: 6px solid #000;
    margin: 20px 0;
}

/* Heading text */
#jobnexus-full-heading-text.jobnexus-full-heading-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-align: left;
}





/* ======================================================
   apply link btn design
====================================================== */


/* Wrapper (optional but clean) */
.jobnexus-apply-wrapper {
    margin-top: 35px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    /* width: fit-content; */
    justify-content: center;
}

/* Apply Button Style */
#jobnexus-apply-btn.jobnexus-apply-link {
    padding: 12px 26px;
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #fff;
    text-decoration: none;
    width: fit-content !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 7px;
    transition: all .3s ease;
    box-shadow: 0 6px 18px rgba(37, 99, 235, .35);
}

/* Hover Effect */
#jobnexus-apply-btn.jobnexus-apply-link:hover {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px  #4f46e5;
}

/* Active (Click) Effect */
#jobnexus-apply-btn.jobnexus-apply-link:active {
    transform: scale(0.97);
}

