*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #393186;
  --primary-dark: #2a2565;
  --green:     #22c55e;
  --text-dark: #1a1a2e;
  --text-mid:  #444b5a;
  --text-soft: #6b7994;
  --border:    #e4e8f0;
  --bg:        #f4f6fb;
  --white:     #ffffff;
  --card-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.xt-new-clear-all {
  font-size: 11px;
  text-decoration: underline;
  color: var(--white);
 }

 .xt-drawer-filters{
      background: #1f1d1e05;
 }
/* ── SEARCH BANNER ── */
.xt-new-search-banner {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0 20px;
}

.xt-new-search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}
.xt-new-search-icon {
  display: flex; align-items: center; justify-content: center;
  padding: 0 14px; color: var(--primary);
  flex-shrink: 0;
}
.xt-new-search-box input[type="text"],
.xt-new-search-box select {
  flex: 1; border: none; outline: none; padding: 13px 12px;
  font-size: 14px; color: var(--text-dark); background: transparent;
}
.xt-new-search-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }
.xt-new-search-loc-icon { display: flex; align-items: center; padding: 0 12px; color: var(--primary); flex-shrink: 0; }
.xt-new-search-box .btn-search {
  background: var(--primary); color: #fff; border: none;
  padding: 0 32px; height: 50px; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: background .2s; white-space: nowrap; flex-shrink: 0;
}
.xt-new-search-box .xt-new-btn-search:hover { background: var(--primary-dark); }

/* ── MAIN LAYOUT ── */
.xt-new-main-wrap { max-width: 1340px; margin: 0 auto; padding: 24px 16px; }
/* .xt-new-three-col { display: flex; gap: 20px; align-items: flex-start; } */
.xt-new-three-col { display: flex; gap: 20px;}
/* ── LEFT SIDEBAR ── */
.xt-new-sidebar-left { width: 240px; flex-shrink: 0; }
.xt-new-filter-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,.2);
  overflow: hidden;
  margin-bottom: 16px;
}
.xt-new-filter-head {
  background:var(--brand-dark-500);
  border-radius:8px;
  padding: 12px 16px;
  margin:10px 10px 0px 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.xt-new-filter-head h3 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom:0px}
.xt-new-filter-head .clear-all { color: #fff; font-size: 12px; text-decoration: underline; cursor: pointer; }
.xt-new-filter-body { padding: 16px; }
.xt-new-filter-body .form-group { margin-bottom: 14px; }
.xt-new-filter-body label { display: block; font-size: 14px; color: #000; margin-bottom: 4px;margin-top: 4px;  font-weight: 500; }
.xt-new-form-group{
  margin-bottom:10px
}
.xt-new-filter-body select {
  width: 100%; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 4px; font-size: 13px; color: var(--text-dark);
  background: var(--white); outline: none; cursor: pointer;
}

.xt-new-filter-body .xt-new-text-input {
  width: 100%; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 4px; font-size: 13px; color: var(--text-dark);
  background: var(--white); outline: none;
}
.xt-new-filter-body .xt-new-text-input:focus { border-color: var(--primary); }


.xt-new-filter-body select:focus { border-color: var(--primary); }

/* browse jobs & top employers blocks */
.xt-new-side-block { background: var(--white); border-radius: 6px; box-shadow: 0 0 8px rgba(0,0,0,.2); padding: 16px; margin-bottom: 16px; }
.xt-new-side-block h3 { font-size: 16px; font-weight: 700; color: #000; margin-bottom: 12px; }
.xt-new-side-block ul { list-style: none; }
.xt-new-side-block ul li { margin-bottom: 8px; padding-left: 18px; position: relative; }
.xt-new-side-block ul li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 10px; height: 2px; background: var(--brand-dark-500);
}
.xt-new-side-block ul li a { font-size: 14px; color: var(--primary); text-decoration: none; }
.xt-new-side-block ul li a:hover { text-decoration: underline; }

/* ── CENTER CONTENT ── */
.xt-new-center-col { flex: 1; min-width: 0; }

.xt-new-results-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; background: var(--white);
  padding: 14px 18px; border-radius: 6px; box-shadow: 0 0 8px rgba(0,0,0,.2);
}
.xt-new-results-head-left { display: flex; align-items: center; gap: 10px; }
.xt-new-results-head h2 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 0; }
.xt-new-vacuancy-count { font-size: 12px; color: var(--text-soft); font-weight: 500; }
.xt-new-sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); }
.xt-new-sort-wrap select {
  border: 1px solid var(--border); border-radius: 4px; padding: 5px 8px;
  font-size: 13px; color: var(--text-dark); outline: none; cursor: pointer;
}

/* wfh checkbox row */
.xt-new-filter-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.xt-new-filter-row label { font-size: 13px; color: var(--text-mid); cursor: pointer; display: flex; align-items: center; gap: 6px; }
.xt-new-filter-row input[type="checkbox"] { accent-color: var(--primary); width: 15px; height: 15px; }

/* ── JOB CARD ── */
  .xt-new-job-card {
  background: var(--white);
  border-radius: 8px;
  background:#1f1d1e00;
  box-shadow: 0 0 8px rgba(0,0,0,.2);
  border: 1.5px solid transparent;
  padding: 30px;
  margin-bottom: 20px;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
  position: relative;
}
.xt-new-job-card:hover { border-color: #58bde2; box-shadow: 0 4px 18px rgba(57,49,134,.13); }
.xt-new-job-card.featured-job { border-color: #f59e0b; }
.xt-new-featured-badge {
  position: absolute; top: 0; right: 18px;
  background: #f59e0b; color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 10px;
  border-radius: 0 0 6px 6px; letter-spacing: .5px; text-transform: uppercase;
}

.xt-new-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.xt-new-company-logo {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border);
  overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: #eef0f8;
}
.xt-new-company-logo img { width: 100%; height: 100%; object-fit: contain; }
.xt-new-logo-placeholder { font-size: 18px; font-weight: 700; color: var(--primary); }

.xt-new-card-meta { flex: 1; min-width: 0; }
.xt-new-company-name { font-size: 16px; font-weight: 600; color: var(--brand-500); margin-bottom: 2px; display: flex; align-items: center; gap: 6px; }
.xt-new-verified-icon { color: #f59e0b; font-size: 12px; }
.xt-new-company-loc { font-size: 14px; color: var(--text-soft); display: flex; align-items: center; gap: 4px; }
.xt-new-company-loc svg { flex-shrink: 0; }

.xt-new-job-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.xt-new-wfh-badge { font-size: 10px; background: #e0f7eb; color: #16a34a; padding: 2px 7px; border-radius: 10px; font-weight: 600;display:none; }
.xt-new-urgent-badge { font-size: 10px; background: #fee2e2; color: #dc2626; padding: 2px 7px; border-radius: 10px; font-weight: 600; }

.xt-new-job-details { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.xt-new-job-details span {
  font-size: 14px; color: #000;
  display: flex; align-items: center; gap: 5px;
}
.xt-new-job-details span svg { color: #9D9C9D; flex-shrink: 0; }

.xt-new-job-subtitle { font-size: 16px; color: var(--text-mid); margin-bottom: 10px; line-height: 22px; }

.xt-new-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--border); }
.xt-new-btn-apply {
  background: var(--primary); color: #fff; border: none;
  padding: 8px 22px; border-radius: 4px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.xt-new-btn-apply:hover { background: var(--primary-dark); }
.xt-new-btn-apply.applied { background: #9ca3af; cursor: default; }


/* ── PAGINATION ── */
.xt-new-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.xt-new-page-btn, .xt-new-page-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: none; border-radius: none; font-size: 13px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all .2s;
}
.xt-new-page-btn { background: var(--white); color: var(--primary); box-shadow: var(--card-shadow); gap: 5px; }
.xt-new-page-btn:hover { background: var(--brand-200); color: #fff; }
.xt-new-page-btn.disabled { opacity: .4; pointer-events: none; }
.xt-new-page-num { background: var(--white); color: var(--primary); box-shadow: var(--card-shadow); }
.xt-new-page-num:hover { background: var(--brand-200); color: #fff; }
.xt-new-page-num.active {
  background: var(--brand-200);
  color: var(--black-color) !important;
}
.xt-new-page-dots { color: var(--text-soft); font-size: 14px; display: flex; align-items: center; }

/* ── RIGHT SIDEBAR ── */
.xt-new-sidebar-right { width: 240px; flex-shrink: 0; }
.xt-new-ad-card {
  background: var(--white); border-radius: 6px; box-shadow: var(--card-shadow);
  overflow: hidden; margin-bottom: 16px;
}
.xt-new-ad-card img { width: 100%; display: block; }
.xt-new-ad-card-body { padding: 16px; }
.xt-new-ad-card-body h4 { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.xt-new-ad-card-body p { font-size: 12px; color: var(--text-soft); margin-bottom: 12px; line-height: 1.5; }
.xt-new-btn-post-job {
  display: block; background: #f97316; color: #fff; text-align: center;
  border-radius: 4px; padding: 8px 16px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background .2s;
}
.xt-new-btn-post-job:hover { background: #ea6c04; }

.xt-new-alert-card { background: var(--primary); border-radius: 6px; padding: 16px; margin-bottom: 16px; }
.xt-new-alert-card h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.xt-new-alert-card p { font-size: 12px; color: rgba(255,255,255,.8); margin-bottom: 12px; line-height: 1.5; }
.xt-new-alert-card .xt-new-alert-input-wrap { display: flex; gap: 6px; }
.xt-new-alert-card input {
  flex: 1; padding: 7px 10px; border: none; border-radius: 4px;
  font-size: 12px; outline: none;
}
.xt-new-alert-card .xt-new-btn-sub {
  background: var(--green); color: #fff; border: none; border-radius: 4px;
  padding: 7px 12px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap;
}

/* virtual career banner */
.xt-new-promo-banner {
  background: linear-gradient(135deg, #2a1a6e 0%, #1a0a4e 100%);
  border-radius: 6px; padding: 18px 16px; margin-bottom: 16px; text-align: center;
}
.xt-new-promo-banner .brand { font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.xt-new-promo-banner h4 { font-size: 16px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.xt-new-promo-banner .date { font-size: 11px; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.xt-new-promo-banner .xt-new-btn-reg {
  display: inline-block; background: #fff; color: var(--primary);
  border-radius: 4px; padding: 7px 18px; font-size: 12px; font-weight: 700;
  text-decoration: none; transition: background .2s;
}
.xt-new-promo-banner .xt-new-btn-reg:hover { background: var(--green); color: #fff; }

/* mobile float buttons */
.xt-new-float-btns {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); padding: 12px 16px; gap: 10px;
  border-top: 1px solid var(--border); z-index: 100; box-shadow: 0 -4px 12px rgba(0,0,0,.1);
}
.xt-new-float-btns button {
  flex: 1; padding: 10px; background: var(--primary); color: #fff;
  border: none; border-radius: 0px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.xt-new-float-btns button:last-child { background: var(--green); }


/* Job Card */
.xt-new-job-card {
  position: relative;
  transition: all 0.3s ease;
}

/* Hide button initially */
.xt-new-job-right .xt-apply-btn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* Show button when card is hovered */
.xt-new-job-card:hover .xt-new-job-right .xt-apply-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Optional: Card hover effect */
.xt-new-job-card:hover {
  border-color: #58BDE2;
  box-shadow: 0 8px 25px rgba(88, 189, 226, 0.15);
}
/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .xt-new-sidebar-right { width: 210px; }
  .xt-new-sidebar-left { width: 210px; }
}
@media (max-width: 900px) {
  .three-col { flex-direction: column; }
  .xt-new-sidebar-left, .xt-new-sidebar-right { width: 100%; }
  .xt-new-sidebar-left { order: 2; display: none; }
  .xt-new-sidebar-right { order: 3; }
  .xt-new-center-col { order: 1; }
  .xt-new-float-btns { display: flex; }
  body { padding-bottom: 64px; }
}


/* ==========================
 Technology Tags
========================== */

.xt-new-tech-stack{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:15px 0 0px;
}

.xt-new-tech-tag{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  background:var(--brand-50);
  border:1px solid #e4e8f2;
  border-radius:30px;
  color:var(--brand-700);
  font-size:12px;
  font-weight:500;
  line-height:1;
  transition:.25s;
}

.xt-new-tech-tag:hover {
  background: var(--brand-300);
  color: var(--black-color);
  border-color: var(--brand-200);
}

.xt-new-tech-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: .25s;
}

.xt-new-tech-more:hover{
  background: var(--brand-300);
  color: var(--black-color);
}

@media(max-width:767px){

.xt-new-tech-stack{
  gap:6px;
}

.xt-new-tech-tag,
.xt-new-tech-more{
  font-size:11px;
  padding:5px 10px;
}

}


/* Right Sidebar */
.xt-new-sidebar-right{
  width:210px;
  flex-shrink:0;
  position:sticky;
  top:115px;
  align-self:flex-start;
  height:fit-content;
  z-index:10;
}

/* Ad Box */
.xt-new-right-skyscraper{
  width:100%;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.xt-new-right-skyscraper img{
  width:100%;
  display:block;
}
/*==============================
 Top Companies
==============================*/

.xt-new-top-companies{
  margin-bottom:28px;
  padding-bottom:22px;
  border-bottom:1px solid #edf0f6;
}

.xt-new-top-companies h4{
  margin:0 0 16px;
  font-size:16px;
  font-weight:700;
  color:#222;
}

.xt-new-company-list{
  list-style:none;
  margin:0;
  padding:0;
}

.xt-new-company-list li{
  margin-bottom:10px;
}

.xt-new-company-list label{
  display:flex;
  align-items:center;
  cursor:pointer;
  transition:.25s;
}

.xt-new-company-list label:hover span{
  color:#393186;
}

.xt-new-company-list input{
  width:16px;
  height:16px;
  margin-right:12px;
  accent-color:#393186;
}

.xt-new-company-list span{
  flex:1;
  font-size:14px;
  font-weight:500;
  color:#333;
  transition:.25s;
}

.xt-new-company-list em{
  font-style:normal;
  color:#7b8794;
  font-size:13px;
}

.xt-new-view-more{
  display:inline-block;
  margin-top:0px;
  color:#393186;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  transition:.25s;
}

.xt-new-view-more:hover{
  color:#0f9d58;
  text-decoration:none;
}

.xt-new-job-card{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:30px;
}

.xt-new-job-left{
  flex:1;
}

.xt-new-job-right{
  width:170px;
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
  padding-top:0px;
}

/* Make the existing site button fit nicely */
.xt-new-job-right .btn{
  min-width:140px;
  height:42px;
  padding:0 22px;
  display:flex;
  align-items:center;
  justify-content:center;
}


.xt-new-company-logo{
  width:58px;
  height:58px;
  border:1px solid #e5e7eb;
  border-radius:4px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.xt-new-company-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:8px;
}


/* ══════════════════════════════════════════
   JOB SEARCH PAGE — RESPONSIVE
══════════════════════════════════════════ */

/* ── 1440px ── */
@media (max-width: 1599px) {
  .xt-new-main-wrap { padding: 20px 14px; }
  .xt-new-three-col { gap: 18px; }
  .xt-new-sidebar-left  { width: 220px; }
  .xt-new-sidebar-right { width: 200px; }
  .xt-new-job-card  { padding: 24px; gap: 22px; }
  .xt-new-job-title { font-size: 17px; }
}

/* ── 1366px ── */
@media (max-width: 1439px) {
  .xt-new-main-wrap { padding: 18px 12px; }
  .xt-new-three-col { gap: 16px; }
  .xt-new-sidebar-left  { width: 200px; }
  .xt-new-sidebar-right { width: 185px; }
  .xt-new-job-card  { padding: 22px; gap: 18px; }
  .xt-new-job-title { font-size: 16px; }
  .xt-new-company-name  { font-size: 15px; }
  .xt-new-job-details span { font-size: 13px; }
  .xt-new-filter-body label { font-size: 14px; }
  .xt-new-filter-body select { font-size: 12px; }
  .xt-new-side-block h3 { font-size: 15px; }
}

/* ── 1200px ── */
@media (max-width: 1365px) {
  .xt-new-main-wrap { padding: 16px 12px; }
  .xt-new-three-col { gap: 14px; }
  .xt-new-sidebar-left  { width: 185px; }
  .xt-new-sidebar-right { width: 170px; }
  .xt-new-job-card  { padding: 18px; gap: 14px; }
  .xt-new-job-right { width: 135px; }
  .xt-new-job-title { font-size: 15px; }
    .xt-new-job-right .btn {
  min-width:unset;
  height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  background: #000 !important;
  padding: 10px 20px !important;
}
  .xt-new-company-name  { font-size: 14px; }
  .xt-new-company-loc   { font-size: 13px; }
  .xt-new-job-details span { font-size: 12px; }
  .xt-new-job-details   { gap: 5px 12px; }
  .xt-new-filter-body label  { font-size: 13px; }
  .xt-new-filter-body select { font-size: 12px; padding: 6px 8px; }
  .xt-new-filter-head h3 { font-size: 13px; }
  .xt-new-side-block h3 { font-size: 14px; }
  .xt-new-side-block ul li a { font-size: 13px; }
  .xt-new-results-head  { padding: 12px 14px; }
  .xt-new-results-head h2 { font-size: 15px; }
  .xt-new-top-companies h4 { font-size: 14px; }
  .xt-new-company-list span { font-size: 13px; }
  .xt-new-company-list em   { font-size: 12px; }
  .xt-new-tech-tag  { font-size: 11px; padding: 4px 9px; }
  .xt-new-tech-more { font-size: 11px; padding: 4px 9px; }
  .xt-new-form-group { margin-bottom: 8px; }
}

/* ── 992px — hide right sidebar ── */
@media (max-width: 1199px) {
  .xt-new-sidebar-right { display: none; }
  .xt-new-three-col { gap: 14px; }
  .xt-new-sidebar-left { width: 200px; }
  .xt-new-job-card  { padding: 18px 16px; gap: 12px; }
  .xt-new-job-right { width: 130px; }
  .xt-new-job-right .btn {
  min-width:unset;
  height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  background: #000 !important;
  padding: 10px 20px !important;
}
  .xt-new-job-title { font-size: 15px; }
  .xt-new-job-details span { font-size: 12px; }
  .xt-new-job-details { gap: 5px 12px; }
  .xt-new-tech-tag  { font-size: 11px; padding: 4px 9px; }
  .xt-new-search-box input[type="text"],
  .xt-new-search-box select { font-size: 13px; }
  .xt-new-filter-body label  { font-size: 13px; }
  .xt-new-filter-body select { font-size: 12px; }
   /* .xt-drawer-filters{
      margin-top: 20px;
  }

  .xt-drawer-filters{
      margin-top: 50px;
  } */

  /* Job Category Drawer */
  .xt-drawer-categories{
      margin-top: 50px;
  }
  .xt-new-sidebar-left{
      top: 0px;               /* Adjust according to your mobile header height */
      height: calc(100vh - 70px);
  }
}

/* ── 768px — STACK / DRAWER layout ── */
@media (max-width: 991px) {

  /* ── THREE-COL STACK ── */
  .xt-new-three-col {
      flex-direction: column;
      gap: 0;
  }
  .xt-new-center-col  { order: 1; width: 100%; }
  .xt-new-sidebar-right { display: none; }

  /* ── LEFT SIDEBAR AS SLIDE-IN DRAWER ── */
  .xt-new-sidebar-left {
      position: fixed;
      top: 30px;
      left: -300px;
      width: 280px;
      max-width: 85vw;
      height: 100vh;
      overflow-y: auto;
      background: #fff;
      z-index: 1050;
      padding: 0 16px 100px;
      box-shadow: 4px 0 24px rgba(0,0,0,.18);
      transition: left 0.3s ease;
      order: 2;
  }
  .xt-new-sidebar-left.xt-drawer-open { left: 0; }

  /* Drawer close button (injected by JS) */
  .xt-drawer-close-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 0 14px;
      border-bottom: 1px solid #e4e8f0;
      margin-bottom: 16px;
  }
  .xt-drawer-close-row span {
      font-size: 15px;
      font-weight: 700;
      color: #1a1a2e;
  }
  .xt-drawer-close-btn {
      width: 34px;
      height: 34px;
      border: none;
      background: #f3f4f6;
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #444;
      line-height: 1;
  }

  /* Dim overlay */
  .xt-filter-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.45);
      z-index: 1049;
  }
  .xt-filter-overlay.active { display: block; }

  /* ── FLOAT BUTTONS (filter + sort) ── */
  .xt-new-float-btns { display: flex !important; }
  body { padding-bottom: 68px; }

  /* ── JOB CARD — stack vertically ── */
  .xt-new-job-card {
      flex-direction: column;
      padding: 16px;
      gap: 0;
      margin-bottom: 14px;
  }
  .xt-new-job-left { width: 100%; }
  .xt-new-job-right {
      width: 100%;
      padding-top: 14px;
      margin-top: 12px;
      border-top: 1px solid #e4e8f0;
      justify-content: flex-start;
  }
  .xt-new-job-right .btn {
      min-width: 150px;
      height: 42px;
      font-size: 14px;
  }

  /* ── SEARCH BOX stacks ── */
  .xt-new-search-box { flex-wrap: wrap; max-width: 100%; }
  .xt-new-search-box input[type="text"] {
      flex: 1 1 100%;
      border-bottom: 1px solid #e4e8f0;
  }
  .xt-new-search-box select { flex: 1 1 100%; border-bottom: 1px solid #e4e8f0; }
  .xt-new-search-divider { display: none; }
  .xt-new-search-box .btn-search {
      flex: 1 1 100%;
      height: 46px;
      border-radius: 0 0 6px 6px;
  }
  .xt-new-search-banner { padding: 16px 0 14px; }

  /* ── RESULTS HEAD ── */
  .xt-new-results-head {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      padding: 12px 14px;
  }
  .xt-new-results-head-left { flex-wrap: wrap; gap: 6px; }
  .xt-new-results-head h2  { font-size: 15px; }
  .xt-new-vacancy-count    { font-size: 12px; }

  /* ── MISC ── */
  .xt-new-main-wrap { padding: 14px 10px; }
  .xt-new-job-title { font-size: 16px; }
  .xt-new-job-details { gap: 6px 14px; }
  .xt-new-job-details span { font-size: 13px; }
  .xt-new-filter-row { margin-bottom: 12px; }

}

/* ── 576px ── */
@media (max-width: 767px) {
  .xt-new-main-wrap { padding: 12px 8px; }

  .xt-new-job-card  { padding: 14px; margin-bottom: 12px; }
  .xt-new-job-title { font-size: 15px; margin-bottom: 6px; }
  .xt-new-company-name { font-size: 13px; }
  .xt-new-company-loc  { font-size: 12px; }
  .xt-new-company-logo { width: 40px; height: 40px; }
  .xt-new-card-head { gap: 10px; margin-bottom: 8px; }

  .xt-new-job-details { gap: 5px 10px; }
  .xt-new-job-details span { font-size: 12px; }

  .xt-new-tech-stack { gap: 6px; margin-top: 10px; }
  .xt-new-tech-tag  { font-size: 11px; padding: 4px 9px; }
  .xt-new-tech-more { font-size: 11px; padding: 4px 9px; }

  .xt-new-results-head  { padding: 10px 12px; gap: 8px; }
  .xt-new-results-head h2 { font-size: 14px; }
  .xt-new-vacancy-count { font-size: 11px; }
  .xt-new-sort-wrap { font-size: 12px; }
  .xt-new-sort-wrap select { font-size: 12px; padding: 4px 6px; }

  .xt-new-job-right .btn { width: 100%; justify-content: center; }

  .xt-new-pagination { gap: 4px; margin-top: 18px; }
  .xt-new-page-btn, .xt-new-page-num {
      min-width: 32px; height: 32px;
      font-size: 12px; padding: 0 8px;
  }

  .xt-new-search-banner { padding: 12px 0; }
  .xt-new-search-box .btn-search { height: 42px; font-size: 13px; }

  .xt-new-float-btns { padding: 10px 12px; gap: 8px; }
  .xt-new-float-btns button { padding: 9px; font-size: 13px; }

  .xt-new-filter-row label { font-size: 12px; }
}

/* ── Mobile ── */
@media (max-width: 576px) {
  .xt-new-main-wrap { padding: 10px 6px; }

  .xt-new-job-card  { padding: 12px; margin-bottom: 10px; }
  .xt-new-job-title { font-size: 14px; margin-bottom: 5px; }
  .xt-new-company-name { font-size: 13px; }
  .xt-new-company-loc  { font-size: 11px; }
  .xt-new-company-logo { width: 36px; height: 36px; }
  .xt-new-card-head { gap: 8px; margin-bottom: 6px; }

  .xt-new-job-details { flex-direction: column; gap: 4px; }
  .xt-new-job-details span { font-size: 12px; }

  .xt-new-tech-stack { gap: 5px; }
  .xt-new-tech-tag  { font-size: 10px; padding: 4px 8px; }
  .xt-new-tech-more { font-size: 10px; padding: 4px 8px; }

  .xt-new-results-head  { padding: 10px; gap: 6px; }
  .xt-new-results-head h2 { font-size: 13px; }
  .xt-new-vacancy-count { font-size: 10px; }
  .xt-new-sort-wrap { font-size: 11px; flex-wrap: wrap; }
  .xt-new-sort-wrap select { font-size: 11px; width: 100%; }

  .xt-new-job-right { padding-top: 10px; margin-top: 8px; }
  .xt-new-job-right .btn {
      width: 100%; height: 38px; font-size: 13px;
      display: flex; align-items: center; justify-content: center;
  }

  .xt-new-pagination { gap: 3px; margin-top: 14px; }
  .xt-new-page-btn, .xt-new-page-num {
      min-width: 28px; height: 28px;
      font-size: 11px; padding: 0 6px;
  }

  .xt-new-float-btns { padding: 8px 10px; gap: 8px; }
  .xt-new-float-btns button { padding: 8px; font-size: 12px; }

  .xt-new-filter-row label { font-size: 11px; }
  .xt-new-filter-row input[type="checkbox"] { width: 13px; height: 13px; }
}

@media (max-width: 991px) {
/* The max-width:900px block above sets display:none — this cancels it */
.xt-new-sidebar-left {
  display: block !important;
}
}


/* Hide drawer header on Desktop */
.xt-drawer-close-row{
  display:none;
}
.verified-icon {
  width: 13px;
  height: 13px;
  margin-left: 4px;
  vertical-align: middle;
  display: inline-block;
}
/* Show only on Mobile */
@media (max-width:991px){

  .xt-drawer-close-row{
      display:flex;
      justify-content:space-between;
      align-items:center;
      padding:18px 0 14px;
      border-bottom:1px solid #e5e7eb;
      margin-bottom:16px;
  }

}


.xt-sticky-sidebar {
  position: sticky;
  top: 110px;
  align-self: flex-start;
}

/* ══════════════════════════════════════
   APPLY NOW BUTTON — consistent everywhere
══════════════════════════════════════ */

/* Base button, all sizes */
.xt-new-job-right .btn {
  background: var(--primary-color, #58BDE2) !important;
  color: #fff !important;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 4px;
  transition: background .2s;
}

/* Desktop only — hover reveal */
@media (min-width: 992px) {
  .xt-new-job-right .xt-apply-btn {
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
  }
  .xt-new-job-card:hover .xt-new-job-right .xt-apply-btn {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }
}

/* Mobile/tablet — always visible, no hover dependency */
@media (max-width: 991px) {
  .xt-new-job-right .xt-apply-btn {
      opacity: 1 !important;
      visibility: visible !important;
      transform: none !important;
  }
}
.xt-new-job-right .btn:hover {
  background: var(--brand-dark-500, #001645) !important;
}
.xt-new-job-right .btn {
  min-width:unset;
  height: unset;
  font-size: 14px !important;
  background: #000 !important;   /* ← turns the button black, breaks brand consistency */
  padding: 10px 20px !important;
}

.xt-new-job-right .btn {
  min-width: unset;
  height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  background: var(--primary-color, #58BDE2) !important;
  color: #fff !important;
  padding: 10px 20px !important;
}
/* Desktop-only hover reveal */
@media (min-width: 992px) {
  .xt-new-job-right .xt-apply-btn {
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
  }
  .xt-new-job-card:hover .xt-new-job-right .xt-apply-btn {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }
}

/* 1366px */
@media (max-width: 1366px) {
  .xt-new-job-right .btn { min-width: 140px; height: 42px; font-size: 14px; padding: 0 20px; }
}

/* 1199px */
@media (max-width: 1199px) {
  .xt-new-job-right { width: 130px; justify-content: flex-end; }
  .xt-new-job-right .btn { min-width: unset; height: 40px; font-size: 13px; padding: 0 16px; }
}

/* 992px — stack + always visible + left aligned */
@media (max-width: 991px) {
  .xt-new-job-right .xt-apply-btn {
      opacity: 1 !important;
      visibility: visible !important;
      transform: none !important;
  }
  .xt-new-job-right {
      width: 100%;
      padding-top: 14px;
      margin-top: 12px;
      border-top: 1px solid #e4e8f0;
      justify-content: flex-start;
  }
  .xt-new-job-right .btn {
      min-width: 150px;
      width: auto;
      height: 42px;
      font-size: 14px;
      padding: 0 22px;
  }
}

/* 767px — left aligned, full readable size */
@media (max-width: 767px) {
  .xt-new-job-right .btn {
      min-width: 140px;
      width: auto;
      height: 40px;
      font-size: 13px;
      padding: 0 18px;
  }
}

/* 567px — left aligned, compact but not tiny */
@media (max-width: 567px) {
  .xt-new-job-right {
      padding-top: 10px;
      margin-top: 8px;
  }
  .xt-new-job-right .btn {
      min-width: 130px;
      width: auto;
      height: 38px;
      font-size: 13px;
      padding: 0 16px;
  }
}

/* Keep Category Search + Clear All on ONE row at every width */
@media (max-width: 1365px) {
  .xt-new-sidebar-left { width: 250px; }

  .xt-new-filter-head {
      flex-wrap: nowrap;
      gap: 8px;
      padding: 12px 14px;
  }
  .xt-new-filter-head h3 {
      font-size: 13px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1 1 auto;
      min-width: 0;
  }
  .xt-new-filter-head .clear-all {
      font-size: 11px;
      white-space: nowrap;
      flex: 0 0 auto;
  }
}

@media (max-width: 1199px) {
  .xt-new-sidebar-left { width: 250px; }

  .xt-new-filter-head {
      flex-wrap: nowrap;
      gap: 8px;
      padding: 12px 14px;
  }
  .xt-new-filter-head h3 {
      font-size: 13px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1 1 auto;
      min-width: 0;
  }
  .xt-new-filter-head .clear-all {
      font-size: 11px;
      flex: 0 0 auto;
  }
}


/* Force sidebar to respect its width instead of growing with content */
.xt-new-sidebar-left {
  min-width: 0;
}

.xt-new-sidebar-left * {
  max-width: 100%;
  box-sizing: border-box;
}

/* These specifically tend to overflow */
.xt-tag-input-box,
.xt-new-filter-body select,
.xt-new-text-input,
.xt-new-side-block ul li a {
  max-width: 100%;
  word-break: break-word;
}

/* ===========================
 992px - 1199px
=========================== */
@media (min-width:992px) and (max-width:1199px){

  .xt-new-main-wrap{
      position: relative;
      overflow: hidden;        /* prevents sticky from escaping */
  }

  .xt-new-three-col{
      display:flex;
      align-items:flex-start;
  }

  .xt-new-sidebar-left{
      position:sticky;
      top:30px;
      align-self:flex-start;
      height:fit-content;
  }

  .xt-sticky-sidebar{
      position:static;
      height:auto;
      overflow:visible;
  }

  .xt-new-center-col{
      flex:1;
      min-width:0;
  }

  .xt-new-sidebar-right{
      display:none;
  }
}
