/* Styles for job search filters and listing */
.common-hero .main-heading .pages-intro{align-items:center;gap:7px}
.common-hero .main-heading .pages-intro a,.common-hero .main-heading .pages-intro p{line-height:28px;margin:0}
.common-hero .main-heading .pages-intro span{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1}
.common-hero .main-heading .pages-intro span i{display:inline-flex;align-items:center;line-height:1}
.job-card-actions .icon-btn i,.job-actions .icon-btn i{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.job-search-layout{--bs-gutter-x:24px;align-items:flex-start}
.job-filter-column,.job-results-column{min-width:0}
.job-filter-column .filters-panel{position:sticky;top:96px}
.mobile-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 18px;border-radius:12px;font-weight:700}
.mobile-filter-toggle i,.mobile-filter-toggle svg{display:block;line-height:1}
.filters-panel{background:#fff;border:1px solid #eee;padding:22px;border-radius:18px;box-shadow:0 15px 40px rgba(15,23,42,0.06)}
.filters-title{font-size:20px;margin-bottom:14px;letter-spacing:.01em}
.filters-header{margin-bottom:12px}
.filters-header-actions{display:flex;align-items:center;gap:12px}
.job-filter-drawer-close{display:none;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#f1f5f9;color:#334155;align-items:center;justify-content:center;font-size:18px;line-height:1;cursor:pointer;transition:background-color .18s ease,color .18s ease}
.job-filter-drawer-close:hover{background:#e2e8f0;color:#111827}
.job-filter-drawer-close i,.job-filter-drawer-close svg{display:block;line-height:1}
.filters-grid{display:grid;grid-template-columns:repeat(1,1fr);gap:14px}
/* @media(min-width:768px){.filters-grid{grid-template-columns:repeat(2,1fr)}} */
@media(min-width:1200px){.filters-grid{grid-template-columns:repeat(1,1fr)}}
.filter-group{border-radius:10px;margin-bottom:10px;border:1px solid #e5e7eb;overflow:hidden;background:#fafbff}
.filter-title{font-weight:600;cursor:pointer;padding:8px 16px;background:#f8f9fb;color:#111;display:flex;justify-content:space-between;align-items:center}
.filter-title .chev{color:#64748b;transition:transform .2s ease}
.filter-group.active .filter-title .chev{transform:rotate(180deg)}
.filter-body{padding:8px 14px 12px;display:none}
.filter-group.active .filter-body{display:block}
.filters-panel label{margin:0;font-size:14px;color:#344054}
.filter-option{display:flex!important;align-items:flex-start;gap:10px;width:100%;padding:7px 8px;border-radius:8px;line-height:20px;cursor:pointer;transition:background-color .18s ease,color .18s ease}
.industry-option.is-hidden{display:none!important}
.filter-option:hover{background:#eef4ff;color:#000000}
.filter-option input{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0 0;accent-color:#000000}
.filter-option span{display:block;min-width:0;overflow-wrap:anywhere}
.filter-option input:checked+span{color:#000000;font-weight:600}
.filters-panel input.form-control{border-radius:999px;border:1px solid #d1d5db}
.filters-panel .industry-list{max-height:260px;overflow-y:auto;overflow-x:hidden;padding-right:8px}
.filters-panel .industry-list::-webkit-scrollbar{width:6px}
.filters-panel .industry-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:20px}
.inputInconInside{position:relative}
.inputInconInside #inputIndustry{height:44px;border-radius:999px;padding:8px 16px;font-size:14px}
.addIndustry .bootstrap-tagsinput{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 10px}
.industry-tag{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:6px 9px;border:1px solid #c7d2fe;border-radius:999px;background:#eef4ff;color:#000000;font-size:12px;line-height:16px}
.industry-tag span{min-width:0;max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.industry-tag .removeIndustry{width:18px;height:18px;border:0;border-radius:50%;background:#dbe7ff;color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;line-height:1;padding:0;cursor:pointer}
.industry-tag .removeIndustry:hover{background:#bfdbfe}
.filters-actions{margin-top:18px}
.filters-actions .btn-block{width:100%}
.filter-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px;margin-bottom:0;width:100%}
.filter-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:5px 8px;border-radius:999px;background:#eef4ff;color:#000000;font-size:14px;border:1px solid #c7d2fe;box-shadow:0 3px 10px rgba(37,99,235,.06)}
.filter-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filter-chip-remove{width:18px;height:18px;border:0;border-radius:50%;background:#dbe7ff;color:#1d4ed8;cursor:pointer;font-size:16px;line-height:1;display:inline-flex;align-items:center;justify-content:center;padding:0}
.filter-chip-remove:hover{background:#dbeafe}
.job-card{border-radius:18px;background:#fff;border:1px solid rgba(59,130,246,0.16);box-shadow:0 18px 40px rgba(59,130,246,0.08);padding:20px}
.job-card-top h5{font-size:20px;margin-bottom:6px}
.job-card-top p{margin:0;color:#64748b}
.job-badge{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;background:rgba(59,130,246,0.08);color:#E02938;font-size:13px;font-weight:600}
.job-card-actions{display:inline-flex;align-items:center;gap:10px}
.icon-btn{width:36px;height:36px;border-radius:50%;border:1px solid #d1d5db;background:#fff;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}
.icon-btn:hover{background:#eff6ff;color:#E02938;border-color:#bfdbfe}
.job-card-body{border-top:1px solid #eef2ff;padding-top:18px}
.meta-row{display:flex;flex-wrap:wrap;gap:16px;align-items:center;font-size:14px;color:#475569;margin-bottom:0px}
.meta-row span{display:inline-flex;align-items:center;gap:8px}
.meta-row strong{color:#111827}
.job-location-row{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:10px}
.job-location-icon{flex:0 0 auto;margin-top:4px}
.job-location-content{display:flex;align-items:flex-start;gap:8px;min-width:0}
.job-remote-label{flex:0 0 auto;white-space:nowrap}
.job-location-list{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 0;min-width:0}
.job-location-item{display:inline!important;min-width:0;overflow-wrap:anywhere}
.job-location-separator{display:inline!important;color:#475569;white-space:pre}
.job-card-footer{text-align:right}
.job-card-footer .btn{border-radius:999px;padding:10px 20px}
.job-card-footer .btn-outline-primary{color:#E02938;border-color:#dbeafe;background:#fff}
.job-card-footer .btn-outline-primary:hover{background:#eff6ff}
.job-results-header{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:22px;padding:20px 28px;border:1px solid #e5e7eb;border-radius:16px;background:#f8fbff}
.job-results-header .result-count{font-weight:600;color:#111827}
.popup-overlay{display:none;position:fixed;inset:0;background:rgba(15,23,42,0.65);z-index:1100;align-items:center;justify-content:center;padding:24px}
.popup-overlay.show{display:flex}
.popup{display:none;background:#fff;border-radius:18px;max-width:520px;width:100%;box-shadow:0 30px 60px rgba(15,23,42,0.18);overflow:hidden}
.popup.active{display:block}
.popup-header{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid #e5e7eb}
.popup-header h5{margin:0;font-size:18px;color:#0f172a}
.popup-close{background:transparent;border:none;font-size:24px;line-height:1;color:#475569;cursor:pointer}
.popup-body{padding:22px}
@media(max-width:1199px){
  .filters-grid{grid-template-columns:repeat(1,1fr)}
  .job-search-layout{--bs-gutter-x:20px}
  .job-results-column{width:100%}
  .job-results-header{flex-direction:column;align-items:flex-start;gap:12px}
}

.job-listing{background:transparent}
#pagination-container{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:24px 0 40px}
#pagination-container a{min-width:40px;height:40px;padding:0 12px;border:1px solid #dbeafe;border-radius:10px;background:#fff;color:#E02938;font-weight:600;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:0 6px 16px rgba(37,99,235,.06);transition:background-color .18s ease,border-color .18s ease,color .18s ease}
#pagination-container a:hover{background:#eff6ff;border-color:#bfdbfe}
#pagination-container a.active{background:#E02938;border-color:#E02938;color:#fff}
#pagination-container a.disabled{opacity:.45;pointer-events:none;box-shadow:none}
.job-modal .modal-dialog{max-width:620px}
.job-modal .modal-content{border:0;border-radius:14px;box-shadow:0 24px 70px rgba(15,23,42,.22);overflow:hidden;background:#fff}
.job-modal .modal-header{position:relative;justify-content:center;padding:20px 56px;border-bottom:1px solid #e5e7eb}
.job-modal .modal-title{font-size:24px;line-height:32px;font-weight:800;color:#111827;text-align:center}
.job-modal .close{position:absolute;right:18px;top:16px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;margin:0;border:0;background:transparent!important;color:#9ca3af;opacity:1;font-size:32px;font-weight:300;line-height:1;text-shadow:none;box-shadow:none;cursor:pointer}
.job-modal .close span{display:block;line-height:1}
.job-modal .close:hover{color:#111827}
.job-modal .modal-body{padding:32px 38px 36px}
.job-modal .modal-body label{display:block;margin:8px 0 8px;font-size:17px;line-height:24px;color:#111827;font-weight:600}
.job-modal .form-control{border:1px solid #d1d5db;min-height:50px;padding:11px 16px;font-size:16px;box-shadow:none}
.job-modal textarea.form-control{min-height:110px;resize:vertical}
.job-modal .modal-helper{font-size:18px;line-height:26px;font-weight:800;color:#111827;margin:0 0 8px}
.job-modal .report-option{display:flex!important;align-items:center;gap:12px;margin:0 0 15px!important;font-size:16px!important;line-height:24px;color:#111827;font-weight:500!important}
.job-modal .report-option input{width:20px;height:20px;margin:0;accent-color:#c93036}
.job-modal .modal-footer{justify-content:center;gap:12px;padding:22px 28px 28px;border-top:1px solid #e5e7eb;background:#fbfcfe}
.job-modal .modal-footer .btn{min-width:130px;height:52px;font-size:17px;font-weight:700;border:0;box-shadow:0 8px 18px rgba(15,23,42,.14)}
.job-modal .modal-footer .btn-danger{background:#c93036;color:#fff}
.job-card-wrap{display:flex;flex-direction:column;gap:12px}
.job-list-header{font-weight:600;color:#666;padding:12px 16px;border-bottom:1px solid #eee}
.job-list-header .col{flex:1;padding:0 8px}
.job-row{display:block}
.job-row .card{display:flex;flex-direction:row;align-items:flex-start;padding:18px;border-radius:10px;border:1px solid #ececec;background:#fff;box-shadow:0 6px 18px rgba(28,39,49,0.04)}
.job-row .card .meta{flex:1}
.job-row .card .meta h5{margin:0 0 6px;font-size:18px}
.job-row .card .meta .meta-line{font-size:13px;color:#6b7280;margin:6px 0}
.job-row .card .aside{min-width:140px;text-align:right}
.job-row .card .aside .job-type{display:inline-block;padding:6px 10px;border-radius:20px;background:#f3f6fb;color:#2b6cb0;font-size:13px;border:1px solid #d7e3f6}
.job-row .card .aside .job-btn{display:inline-block;margin-top:8px;padding:6px 12px;border-radius:20px;border:1px solid #2b6cb0;color:#2b6cb0;background:transparent;font-size:13px}

@media(max-width:991px){
  .job-card-footer{text-align:left}
  .job-row .card{flex-direction:column}
  .job-row .card .aside{text-align:left;margin-top:10px}
  .job-list-header{display:none}
}

/* Mobile filter overlay when toggled */
.filters-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:9999;overflow-y:auto;overflow-x:hidden;align-items:flex-start;justify-content:center;padding:20px 16px;transition:opacity .2s ease;opacity:0;pointer-events:none;}
.filters-overlay.show{display:flex;opacity:1;pointer-events:auto}
.filters-overlay .filters-panel{width:100%;max-width:420px;margin:0 auto;padding:22px;max-height:calc(100vh - 60px);overflow-y:auto;box-shadow:0 20px 45px rgba(15,23,42,0.18);border-radius:20px;background:#fff;}
.filters-overlay .job-filter-drawer-close{display:inline-flex}
@media(min-width:1200px){
  .filters-overlay{display:none!important}
}

/* small utilities */
.muted{color:#6c757d}

/* Search strip */
.search-strip{background:#fff;padding:22px 0;border:1px solid #e5e7eb;border-radius:24px;box-shadow:0 18px 50px rgba(15,23,42,0.08);margin-bottom:28px}
.job-search-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.search-field{flex:0 1 auto;min-width:0;position:relative}
.search-field:nth-child(1){flex:1 1 auto}
.search-field:nth-child(2),.search-field:nth-child(3){flex:1 1 280px;min-width:220px}
.search-field:nth-child(4){flex:0 0 auto;min-width:160px}
.search-icon{position:absolute;left:18px;top:50%;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;transform:translateY(-50%);color:#667085;font-size:14px;line-height:1;pointer-events:none;z-index:10}
.search-icon svg{display:block;width:14px;height:14px}
.search-input{height:56px;border-radius:16px;border:1px solid #d1d5db;background:#fff;padding-left:46px;color:#667085;box-shadow:inset 0 1px 2px rgba(15,23,42,0.08);width:100%;margin:0}
.search-input::placeholder{color:#667085;opacity:1}
.search-input:disabled{color:#667085;background:#e9e9e9;opacity:1;-webkit-text-fill-color:#667085}
.search-field + .search-field .search-input,.search-field + .search-field .find-jobs{border-left:0}
.search-field select.search-input{padding-left:16px;color:#667085;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23667085'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:calc(100% - 16px) center;background-size:12px 12px}
.search-input:focus{border-color:#E02938;box-shadow:0 0 0 0.15rem rgba(37,99,235,0.18)}
.find-jobs{height:56px;border-radius:16px;padding:0 30px;font-weight:700;letter-spacing:.02em;white-space:nowrap;margin:0;border:none;box-shadow:none}
.find-jobs:hover{opacity:.95}

@media(max-width:1024px){
  .job-search-form{flex-wrap:wrap;gap:10px}
  .search-field:nth-child(1){flex:1 1 100%}
  .search-field:nth-child(2),.search-field:nth-child(3){flex:1 1 calc(50% - 5px);min-width:180px}
  .search-field:nth-child(4){flex:1 1 100%}
  .search-field .search-input,.find-jobs{border-radius:14px}
  .search-field + .search-field .search-input,.search-field + .search-field .find-jobs{border-left:1px solid #d1d5db}
  .find-jobs{width:100%}
}
@media(min-width:768px) and (max-width:1199px){
  .filters-overlay{padding:28px}
  .filters-overlay .filters-panel{max-width:560px;padding:26px;max-height:calc(100vh - 56px)}
  .filters-overlay .filters-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .filters-overlay .filter-group{margin-bottom:0}
  .job-card{padding:22px 24px}
  .job-results-header{padding:18px 22px}
}
@media(max-width:767px){
  .job-page .container{padding-right:14px;padding-left:14px}
  .job-search-layout{--bs-gutter-x:0}
  .mobile-filter-toggle{width:100%}
  .job-card{padding:16px;border-radius:14px}
  .job-card-top{gap:12px!important}
  .job-card-top h5{font-size:18px;line-height:25px}
  .job-card-actions{gap:7px}
  .icon-btn{width:34px;height:34px}
  .job-results-header{padding:16px 18px;border-radius:14px}
  .filters-overlay{padding:10px}
  .filters-overlay .filters-panel{max-width:none;max-height:calc(100vh - 20px);padding:18px;border-radius:16px}
  .filters-header{position:sticky;top:-18px;z-index:5;padding:14px 0 12px;background:#fff}
  .job-search-form{gap:8px}
  .search-field:nth-child(2),.search-field:nth-child(3){flex:1 1 100%}
  .search-input{padding-left:18px;height:48px}
  .search-field:first-child .search-input{padding-left:46px}
  .search-field:first-child .search-icon{left:18px;top:50%}
  .find-jobs{height:48px}
  .job-location-content{flex-direction:row;flex-wrap:wrap;gap:4px 8px;width:100%}
  .job-location-list{display:inline-flex;flex:1 1 220px;flex-direction:row;flex-wrap:wrap;gap:4px 0;width:auto}
  .job-location-item{display:inline!important;width:auto}
  .job-location-separator{display:inline!important}
}
@media(max-width:420px){
  .job-card-top>div:first-child{width:100%}
  .job-card-top>div:last-child{width:100%;justify-content:flex-start!important}
  .job-badge{white-space:normal}
  .job-location-row{gap:8px}
  .job-location-content{min-width:0}
}
