
:root{
  --tz-blue:#2f70c3;
  --tz-dark:#2f5298;
  --tz-light:#e5f3fc;
}

/* FILTERS */
.tzadim-filters{
  display:flex;
  flex-wrap:nowrap;
  gap:12px;
  align-items:center;
  margin-bottom:22px;
}

.tzadim-input,
.tzadim-select{
  height:48px;
  border-radius:12px;
  border:1px solid #dbe7f5;
  padding:0 14px;
  font-size:15px;
  background:#fff;
  color:#1b1b1b !important;
  min-width:220px;
  box-sizing:border-box;
}

.tzadim-select option{
  color:#1b1b1b !important;
  background:#fff !important;
}

.tzadim-input:focus,
.tzadim-select:focus{
  border-color:var(--tz-blue);
  box-shadow:0 0 0 3px rgba(47,112,195,0.16);
  outline:none;
}

.tzadim-btn{
  height:48px;
  padding:0 22px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,var(--tz-blue),var(--tz-dark));
  color:#fff !important;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:0 10px 22px rgba(47,112,195,0.18);
}

/* MOBILE: stack */
@media(max-width:900px){
  .tzadim-filters{flex-wrap:wrap}
  .tzadim-input,.tzadim-select,.tzadim-btn{width:100%; min-width:0}
}

/* GRID */
.tzadim-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

@media(max-width:1024px){
  .tzadim-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:650px){
  .tzadim-grid{grid-template-columns:1fr}
}

/* CARD */
.tzadim-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #eee;
  box-shadow:0 8px 22px rgba(0,0,0,0.08);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tzadim-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(0,0,0,0.12);
  border-color:rgba(47,112,195,0.45);
}

.tzadim-card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 12px;
}

.tzadim-badge{
  background:var(--tz-light);
  color:var(--tz-dark);
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
}

.tzadim-type{
  color:var(--tz-blue);
  font-size:13px;
  font-weight:700;
}

.tzadim-link{
  color:inherit;
  text-decoration:none !important;
  display:block;
}

.tzadim-img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}

.tzadim-body{
  padding:14px 14px 16px;
  text-align:center;
}

.tzadim-title{
  font-size:18px;
  line-height:1.25;
  margin:0 0 8px;
  color:#1e2a3b;
}

.tzadim-date{
  font-size:14px;
  color:#6c7a8c;
  margin-bottom:12px;
}

.tzadim-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.tzadim-apply{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--tz-blue),var(--tz-dark));
  color:#fff !important;
  font-weight:800;
  min-width:110px;
}

.tzadim-salary{
  color:#111;
  font-weight:800;
  white-space:nowrap;
}

.tzadim-empty{
  grid-column:1/-1;
  padding:18px;
  background:var(--tz-light);
  border-radius:14px;
  color:#18324f;
  font-weight:700;
  text-align:center;
}

/* LOAD MORE */
.tzadim-loadmore-wrap{
  margin-top:18px;
  display:flex;
  justify-content:center;
}

.tzadim-loadmore{
  border:0;
  cursor:pointer;
  height:48px;
  padding:0 26px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--tz-blue),var(--tz-dark));
  color:#fff;
  font-weight:800;
  box-shadow:0 10px 22px rgba(47,112,195,0.18);
}

.tzadim-loadmore[disabled]{
  opacity:.65;
  cursor:not-allowed;
}


/* FIX load more button font + remove border */
.tzadim-loadmore{
    color:#ffffff !important;
    border:none !important;
    outline:none !important;
    box-shadow:0 10px 22px rgba(47,112,195,0.18);
}

.tzadim-loadmore:hover,
.tzadim-loadmore:focus,
.tzadim-loadmore:active{
    color:#ffffff !important;
    border:none !important;
    outline:none !important;
}


/* SINGLE JOB PAGE (no popup) */
.tzadim-job-page{
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 14px 40px;
}

.tzadim-job-hero{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
}

.tzadim-job-hero-left{
  background: var(--tz-light);
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(47,112,195,0.25);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.tzadim-job-topline{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-start;
  margin-bottom: 10px;
  flex-wrap:wrap;
}

.tzadim-job-chip{
  background:#fff;
  border:1px solid rgba(47,112,195,0.25);
  color: var(--tz-blue);
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
}

.tzadim-job-h1{
  margin: 4px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  color: #0f2340;
}

.tzadim-job-icons{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.tzadim-job-iconrow{
  display:flex;
  align-items:center;
  gap:10px;
  color:#0f2340;
  font-weight:700;
}

.tzadim-ico{
  width: 26px;
  height: 26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(47,112,195,0.12);
  border-radius: 8px;
}

.tzadim-job-icoval{
  font-weight:800;
}

.tzadim-job-hero-right{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  background:#fff;
  display:flex;
}

.tzadim-job-hero-img{
  width:100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  display:block;
}

.tzadim-job-card{
  background:#fff;
  border-radius: 18px;
  border:1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  padding: 18px;
}

/* Make WPJM content look clean */
.tzadim-job-card ul{
  margin: 10px auto;
  padding: 0 18px 0 0;
}
.tzadim-job-card li{
  margin: 6px 0;
}

/* Ensure WPJM application button matches */
.tzadim-job-card .application .application_button,
.tzadim-job-card .job_application .application_button,
.tzadim-job-card input[type="submit"],
.tzadim-job-card button[type="submit"]{
  background: linear-gradient(135deg,var(--tz-blue),var(--tz-dark)) !important;
  color:#fff !important;
  border:none !important;
  border-radius:16px !important;
  padding: 12px 22px !important;
  font-weight: 800 !important;
}

/* Responsive */
@media(max-width:900px){
  .tzadim-job-hero{
    grid-template-columns: 1fr;
  }
  .tzadim-job-hero-right{
    order: -1;
  }
  .tzadim-job-h1{
    font-size: 20px;
  }
}

/* CARD equal height + footer bottom */
.tzadim-card{ display:flex; flex-direction:column; }
.tzadim-link{ display:flex; flex-direction:column; height:100%; }
.tzadim-body{ display:flex; flex-direction:column; flex:1; }
.tzadim-footer{ margin-top:auto; justify-content:center; }

/* Locations line */
.tzadim-locs{
  font-size:13px;
  color:#6c7a8c;
  margin: 0 0 12px;
  font-weight:700;
}

/* Apply button: centered, at bottom */
.tzadim-apply{
  width:100%;
  text-align:center;
  min-width:0;
}

/* Share buttons */
.tzadim-share{
  display:flex;
  gap:8px;
  align-items:center;
}
.tzadim-share-btn{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(47,112,195,0.25);
  background:#fff;
  color: var(--tz-dark);
  font-weight:900;
  font-size:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
  padding:0;
}
.tzadim-share-btn:hover{ border-color: rgba(47,112,195,0.55); }
.tzadim-share-copy{ line-height:1; }

/* Icon-only filter button */
.tzadim-btn-icon{
  width:56px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}

/* Multi select */
.tzadim-multi{
  position:relative;
  min-width:220px;
  flex: 0 0 auto;
}
.tzadim-multi-trigger{
  width:100%;
  height:48px;
  border-radius:12px;
  border:1px solid #dbe7f5;
  padding:0 14px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:15px;
  cursor:pointer;
}
.tzadim-multi-panel{
  position:absolute;
  top: calc(100% + 8px);
  right:0;
  left:0;
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:14px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  padding:10px;
  max-height: 280px;
  overflow:auto;
  display:none;
  z-index: 50;
}
.tzadim-multi.is-open .tzadim-multi-panel{ display:block; }

.tzadim-check{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:10px;
  cursor:pointer;
  user-select:none;
}
.tzadim-check:hover{ background: rgba(47,112,195,0.08); }
.tzadim-check input{ width:16px; height:16px; }

/* Search icon white */
.tzadim-btn-icon {
  color: #fff !important;
}
.tzadim-btn-icon svg {
  fill: #fff !important;
}


/* Search (filter) icon button - force icon visible */
.tzadim-btn.tzadim-btn-icon{
  color:#ffffff !important;
  font-size:18px !important;
  line-height:1 !important;
}
.tzadim-btn.tzadim-btn-icon *{
  color:#ffffff !important;
  fill:#ffffff !important;
  stroke:#ffffff !important;
}


/* Force white search icon */
.tzadim-search-btn {
  background-color: #2f5298;
  color: #ffffff !important;
  position: relative;
}
.tzadim-search-btn svg,
.tzadim-search-btn i {
  color: #ffffff !important;
  fill: #ffffff !important;
}
