/* ==============================================
   Supabase Jobs Sync - sjs-styles.css v3.5-mobile
   Vibrant colors - Full mobile - SVG icons - RTL
   ============================================== */

/* ---------- RESET ---------- */
.sjs-wrap *, .sjs-single * { box-sizing: border-box; }

/* ---------- VARIABLES ---------- */
:root {
  --sjs-purple:    #7c3aed;
  --sjs-purple-dk: #5b21b6;
  --sjs-purple-lt: #ede9fe;
  --sjs-purple-md: #ddd6fe;
  --sjs-green:     #059669;
  --sjs-green-lt:  #d1fae5;
  --sjs-green-dk:  #047857;
  --sjs-red:       #dc2626;
  --sjs-gray-50:   #f9fafb;
  --sjs-gray-100:  #f3f4f6;
  --sjs-gray-200:  #e5e7eb;
  --sjs-gray-300:  #d1d5db;
  --sjs-gray-400:  #9ca3af;
  --sjs-gray-500:  #6b7280;
  --sjs-gray-700:  #374151;
  --sjs-gray-900:  #111827;
  --sjs-white:     #ffffff;
  --sjs-radius:    14px;
  --sjs-radius-sm: 8px;
  --sjs-shadow:    0 2px 10px rgba(0,0,0,.07);
  --sjs-shadow-h:  0 6px 24px rgba(124,58,237,.18);
  --sjs-font:      'Segoe UI', Arial, sans-serif;
}

/* ---------- ICONS ---------- */
.sjs-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
}

/* ---------- WRAP ---------- */
.sjs-wrap, .sjs-single {
  font-family: var(--sjs-font);
  direction: rtl;
  color: var(--sjs-gray-700);
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 32px;
  overflow-x: hidden;
}

/* ---------- HERO ---------- */
.sjs-hero {
  text-align: center;
  padding: 32px 16px 24px;
}
.sjs-hero__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sjs-gray-900);
  margin: 0 0 6px;
  line-height: 1.2;
}
.sjs-hero__sub {
  font-size: .93rem;
  color: var(--sjs-gray-500);
  margin: 0;
}

/* ---------- FILTERS ---------- */
.sjs-filters {
  background: var(--sjs-white);
  border: 1.5px solid var(--sjs-purple-md);
  border-radius: var(--sjs-radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(124,58,237,.08);
}
.sjs-filter-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.sjs-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 140px;
}
.sjs-filter-label {
  font-size: .76rem;
  font-weight: 700;
  color: var(--sjs-purple);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.sjs-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--sjs-gray-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat left 11px center;
  padding: 9px 12px 9px 30px;
  border: 1.5px solid var(--sjs-purple-md);
  border-radius: var(--sjs-radius-sm);
  font-size: .9rem;
  color: var(--sjs-gray-700);
  font-family: var(--sjs-font);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  min-height: 42px;
}
.sjs-select:focus {
  outline: none;
  border-color: var(--sjs-purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.sjs-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  background: var(--sjs-gray-100);
  border: 1.5px solid var(--sjs-gray-200);
  border-radius: var(--sjs-radius-sm);
  color: var(--sjs-gray-500);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
  align-self: flex-end;
  min-height: 42px;
}
.sjs-filter-reset:hover {
  background: var(--sjs-gray-200);
  color: var(--sjs-gray-700);
  text-decoration: none;
}

/* ---------- COUNT ---------- */
.sjs-count {
  font-size: .86rem;
  color: var(--sjs-gray-500);
  margin: 0 0 14px;
}
.sjs-count strong {
  color: var(--sjs-purple);
  font-weight: 700;
}

/* ---------- CARD ---------- */
.sjs-card {
  background: var(--sjs-white);
  border: 1.5px solid var(--sjs-gray-200);
  border-right: 4px solid var(--sjs-purple);
  border-radius: var(--sjs-radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--sjs-shadow);
  transition: box-shadow .2s, transform .15s, border-color .15s;
  position: relative;
  overflow: hidden;
}
.sjs-card:hover {
  box-shadow: var(--sjs-shadow-h);
  transform: translateY(-2px);
  border-right-color: var(--sjs-purple-dk);
}

/* Card title */
.sjs-card__title {
  font-size: 1.07rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}
.sjs-card__title a {
  color: var(--sjs-gray-900);
  text-decoration: none;
  transition: color .15s;
}
.sjs-card__title a:hover {
  color: var(--sjs-purple);
}

/* Card meta - salary / city / area */
.sjs-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 8px;
  font-size: .86rem;
  color: var(--sjs-gray-500);
}
.sjs-card__salary {
  font-weight: 800;
  font-size: 1rem;
  color: var(--sjs-white);
  background: linear-gradient(135deg, var(--sjs-green), var(--sjs-green-dk));
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.sjs-card__age, .sjs-single__age {
  display: inline-flex;
  align-items: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--sjs-white);
  background: linear-gradient(135deg, #7c5cbf, #5a3fa0);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .01em;
  white-space: nowrap;
  gap: 3px;
}

.sjs-card__city {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #4b5563;
  font-weight: 500;
}
.sjs-card__city .sjs-icon { color: var(--sjs-purple); opacity: .8; }
.sjs-card__area {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--sjs-purple-lt), var(--sjs-purple-md));
  color: var(--sjs-purple-dk);
  border-radius: 20px;
  font-size: .76rem;
  font-weight: 700;
  border: 1px solid rgba(124,58,237,.15);
  white-space: nowrap;
}

/* Card date row */
/* venue_name chip in card list */
.sjs-card__venue {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #4b5563;
  font-weight: 500;
  font-size: .8rem;
}
/* building icon for venue_name - distinct from location pin */
.sjs-icon--building {
  color: var(--sjs-teal, #0d9488);
}
.sjs-card__venue .sjs-icon--building {
  color: var(--sjs-teal, #0d9488);
  opacity: .85;
}
.sjs-detail-item--venue .sjs-icon--building {
  color: var(--sjs-teal, #0d9488);
  opacity: .85;
}

/* venue_name in single job detail */
.sjs-detail-item--venue .sjs-venue-name {
  color: #374151;
  font-weight: 500;
}
.sjs-card__date {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-bottom: 10px;
  font-size: .84rem;
  color: #4b5563;
}
.sjs-card__date-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  background: var(--sjs-purple-lt);
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 500;
}
.sjs-card__date-item .sjs-icon { color: var(--sjs-purple); }

/* Description */
.sjs-card__desc {
  font-size: .86rem;
  color: var(--sjs-gray-500);
  margin: 0 0 6px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Employer */
.sjs-card__employer {
  font-size: .78rem;
  color: var(--sjs-gray-400);
  margin: 4px 0 0;
}

/* Card actions */
.sjs-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--sjs-gray-100);
  flex-wrap: wrap;
}
.sjs-card__ago {
  font-size: .76rem;
  color: var(--sjs-gray-400);
}

/* ---------- BUTTON ---------- */
.sjs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--sjs-purple), var(--sjs-purple-dk));
  color: var(--sjs-white);
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(124,58,237,.3);
  letter-spacing: .01em;
}
.sjs-btn:hover {
  background: linear-gradient(135deg, var(--sjs-purple-dk), #4c1d95);
  color: var(--sjs-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(124,58,237,.4);
}

/* ---------- ADS ---------- */
.sjs-ad-inline, .sjs-ad-mid, .sjs-ad-bottom {
  margin: 16px 0;
  min-height: 0;
}

/* ====================================================
   SINGLE JOB PAGE
   ==================================================== */

/* Breadcrumb */
.sjs-breadcrumb {
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 14px;
  padding: 7px 10px;
  background: #f9fafb;
  border: 1px solid #eef2ff;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}
.sjs-breadcrumb a {
  color: #6d28d9;
  text-decoration: none;
  font-weight: 600;
}
.sjs-breadcrumb a:hover {
  text-decoration: underline;
}
.sjs-breadcrumb-separator {
  color: #9ca3af;
}
.sjs-breadcrumb-current {
  color: #4b5563;
  font-weight: 500;
}

/* Single card */
/* Single page wrapper centering */
/* ── Site header bar (single job page) ─────────────── */
.sjs-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 16px;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.sjs-site-header__back {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #7c3aed;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
}
.sjs-site-header__back:hover { color: #5b21b6; }
.sjs-site-header__back svg { flex-shrink: 0; }
.sjs-site-header__logo { display: flex; align-items: center; }
.sjs-site-header__logo img { height: 36px; width: auto; object-fit: contain; }

.sjs-page-wrap {
  padding: 16px 16px 32px;
  background: #f3f4f6;
  min-height: 100vh;
}

.sjs-single__card {
  background: var(--sjs-white);
  border: 1.5px solid var(--sjs-gray-200);
  border-top: 4px solid var(--sjs-purple);
  border-radius: var(--sjs-radius);
  padding: 22px 24px 26px;
  box-shadow: var(--sjs-shadow);
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

/* Header */
.sjs-single__header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sjs-gray-100);
}
.sjs-single__area-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  background: linear-gradient(135deg, var(--sjs-purple-lt), var(--sjs-purple-md));
  color: var(--sjs-purple-dk);
  border-radius: 20px;
  font-size: .76rem;
  font-weight: 700;
  margin-bottom: 10px;
  border: 1px solid rgba(124,58,237,.15);
}
.sjs-single__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sjs-gray-900);
  margin: 0 0 6px;
  line-height: 1.25;
}
.sjs-single__employer {
  font-size: .88rem;
  color: var(--sjs-gray-500);
  margin: 0;
}

/* DateTime box */
.sjs-job-datetime {
  background: linear-gradient(135deg, var(--sjs-purple-lt), #f5f3ff);
  border: 1.5px solid rgba(124,58,237,.2);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sjs-datetime-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sjs-datetime-row .sjs-icon { color: var(--sjs-purple); margin-top: 2px; }
.sjs-datetime-row > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sjs-datetime-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--sjs-purple);
  opacity: .8;
  font-weight: 700;
}
.sjs-datetime-val {
  font-size: .97rem;
  font-weight: 700;
  color: var(--sjs-purple-dk);
}
.sjs-datetime-time .sjs-icon { color: var(--sjs-green); }
.sjs-datetime-time .sjs-datetime-label { color: var(--sjs-green-dk); }
.sjs-datetime-time .sjs-datetime-val { color: var(--sjs-green-dk); }

/* Details list */
.sjs-job-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px 18px;
  background: var(--sjs-gray-50);
  border-radius: 10px;
  border: 1.5px solid var(--sjs-gray-100);
}
.sjs-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: var(--sjs-gray-700);
}
.sjs-detail-item .sjs-icon { color: var(--sjs-purple); opacity: .75; }
.sjs-detail-label {
  font-size: .78rem;
  color: var(--sjs-gray-400);
  margin-left: 4px;
}

/* WhatsApp button */
.sjs-wa-btn,
button.sjs-wa-btn,
button.sjs-wa-btn--disabled {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 14px 20px !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  margin-bottom: 20px !important;
  transition: background .15s, transform .1s, box-shadow .15s !important;
  letter-spacing: .01em !important;
  border: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  font-family: var(--sjs-font) !important;
  box-sizing: border-box !important;
}
.sjs-wa-btn {
  background: linear-gradient(135deg, #25d366, #1ebe5a) !important;
  color: var(--sjs-white) !important;
  box-shadow: 0 3px 10px rgba(37,211,102,.3) !important;
  cursor: pointer !important;
}
.sjs-wa-btn:hover {
  background: linear-gradient(135deg, #1ebe5a, #16a34a) !important;
  color: var(--sjs-white) !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 16px rgba(37,211,102,.4) !important;
}

/* Description */
.sjs-single__desc { margin: 0 0 16px; }
.sjs-single__desc-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--sjs-gray-700);
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--sjs-purple-lt);
}
.sjs-single__desc-body {
  font-size: .9rem;
  color: var(--sjs-gray-500);
  line-height: 1.7;
  white-space: pre-wrap;
}
.sjs-single__posted {
  font-size: .78rem;
  color: var(--sjs-gray-400);
  margin: 12px 0 0;
}

/* ── Expired job notice ────────────────────────────────────────────────────── */
.sjs-expired-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  border: 1.5px solid #f59e0b;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: .93rem;
  font-weight: 700;
  color: #92400e;
  direction: rtl;
}
.sjs-expired-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ====================================================
   MOBILE max 600px
   ==================================================== */
@media (max-width: 600px) {

  .sjs-wrap, .sjs-single {
    padding: 0 10px 28px;
    overflow-x: hidden;
    max-width: 100%;
  }

  .sjs-hero {
    padding: 20px 8px 16px;
  }
  .sjs-hero__title {
    font-size: 1.5rem;
    word-break: keep-all;
  }
  .sjs-hero__sub {
    font-size: .86rem;
  }

  .sjs-filters {
    padding: 14px 12px;
  }
  .sjs-filter-row {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .sjs-filter-group {
    min-width: 100%;
    width: 100%;
    flex: none;
  }
  .sjs-select {
    font-size: .95rem;
    min-height: 46px;
    padding: 10px 12px 10px 30px;
  }
  .sjs-filter-reset {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    font-size: .9rem;
  }

  .sjs-count { font-size: .82rem; }

  .sjs-card {
    padding: 15px 13px 13px;
    border-right-width: 3px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
  .sjs-card__title {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .sjs-card__meta {
    gap: 5px 8px;
    margin-bottom: 7px;
  }
  .sjs-card__salary {
    font-size: .93rem;
    padding: 2px 9px;
  }
  .sjs-card__area {
    font-size: .74rem;
    padding: 2px 8px;
  }
  .sjs-card__date {
    gap: 4px 8px;
    margin-bottom: 8px;
  }
  .sjs-card__date-item {
    font-size: .8rem;
    padding: 2px 7px;
  }
  .sjs-card__desc {
    font-size: .84rem;
    -webkit-line-clamp: 3;
  }
  .sjs-card__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
  }
  .sjs-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: .95rem;
    border-radius: 9px;
    min-height: 46px;
  }
  .sjs-card__ago {
    text-align: center;
    font-size: .74rem;
  }

  .sjs-single__card {
    padding: 18px 13px 20px;
    border-radius: 10px;
  }
  .sjs-single__title {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  .sjs-job-datetime {
    padding: 12px 13px;
    gap: 8px;
    border-radius: 10px;
  }
  .sjs-datetime-val {
    font-size: .9rem;
  }
  .sjs-job-details {
    padding: 12px 13px;
    gap: 8px;
    border-radius: 8px;
  }
  .sjs-detail-item {
    font-size: .88rem;
  }
  .sjs-wa-btn {
    padding: 14px 16px;
    font-size: .97rem;
    border-radius: 9px;
    min-height: 52px;
  }
  .sjs-single__desc-body {
    font-size: .88rem;
  }
  .sjs-breadcrumb {
    font-size: 11px;
    gap: 4px;
    padding: 5px 8px;
  }
}

/* ====================================================
   MOBILE max 400px (very small screens)
   ==================================================== */
@media (max-width: 400px) {
  .sjs-hero__title { font-size: 1.3rem; }
  .sjs-card { padding: 13px 11px; }
  .sjs-card__meta { gap: 4px 6px; }
  .sjs-card__salary { font-size: .88rem; }
  .sjs-btn { padding: 11px 16px; font-size: .9rem; }
}


/* ====================================================
   SINGLE JOB - MOBILE FULL SCREEN (max 768px)
   Makes the single job page feel like an app screen
   ==================================================== */
@media (max-width: 768px) {

  /* Wrapper: edge-to-edge, no bottom waste */
  .sjs-single {
    padding: 0 12px 24px;
    max-width: 480px;
    margin: 0 auto;
    overflow-x: hidden;
  }

  /* Breadcrumb: compact, side padding */
  .sjs-breadcrumb {
    font-size: 11px;
    gap: 4px;
    padding: 5px 8px;
    margin-bottom: 12px;
  }

  /* Main card: edge-to-edge, no outer border-radius */
  .sjs-single__card {
    border-radius: var(--sjs-radius);
    border: 1.5px solid var(--sjs-gray-200);
    border-top: 4px solid var(--sjs-purple);
    box-shadow: var(--sjs-shadow);
    padding: 18px 16px 22px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  /* HEADER: title + area tag */
  .sjs-single__header {
    padding: 16px 14px 14px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--sjs-gray-100);
    background: var(--sjs-white);
  }
  .sjs-single__area-tag {
    margin-bottom: 8px;
    font-size: .78rem;
    padding: 4px 12px;
  }
  .sjs-single__title {
    font-size: 1.28rem;
    line-height: 1.3;
    margin: 0 0 4px;
  }
  .sjs-single__employer {
    font-size: .84rem;
    margin: 0;
  }

  /* DATETIME: 2-column grid (date left, time right) */
  .sjs-job-datetime {
    border-radius: 12px;
    border: 1.5px solid rgba(124,58,237,.2);
    padding: 12px 14px;
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: linear-gradient(135deg, var(--sjs-purple-lt), #f5f3ff);
  }
  .sjs-datetime-row {
    gap: 8px;
    padding: 14px 14px;
    align-items: center;
  }
  .sjs-datetime-row.sjs-datetime-date {
    border-left: 1px solid rgba(124,58,237,.18);
  }
  .sjs-datetime-label {
    font-size: .67rem;
    letter-spacing: .04em;
  }
  .sjs-datetime-val {
    font-size: .92rem;
    font-weight: 800;
  }

  /* DETAILS: salary + city in a row */
  .sjs-job-details {
    border-radius: 10px;
    border: 1.5px solid var(--sjs-gray-100);
    padding: 12px 14px;
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 8px;
    background: var(--sjs-gray-50);
  }
  .sjs-detail-item {
    font-size: .95rem;
    font-weight: 600;
    padding: 3px 0;
    gap: 6px;
  }
  .sjs-detail-label {
    display: none;
  }

  /* WHATSAPP BUTTON: full width, bold, prominent */
  .sjs-wa-btn {
    border-radius: 10px;
    margin: 0 0 14px;
    padding: 17px 20px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
    gap: 10px;
  }

  /* AD after WA button */
  .sjs-ad-inline {
    margin: 0;
    padding: 6px 14px;
    background: var(--sjs-gray-50);
    border-bottom: 1px solid var(--sjs-gray-100);
    min-height: 0;
  }

  /* DESCRIPTION */
  .sjs-single__desc {
    margin: 0;
    padding: 14px 0 10px;
  }
  .sjs-single__desc-title {
    font-size: .9rem;
    font-weight: 800;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--sjs-purple-lt);
    color: var(--sjs-gray-900);
  }
  .sjs-single__desc-body {
    font-size: .9rem;
    line-height: 1.75;
    color: var(--sjs-gray-700);
  }

  /* POSTED DATE */
  .sjs-single__posted {
    padding: 6px 0 0;
    font-size: .75rem;
    color: var(--sjs-gray-400);
    margin: 0;
  }

  /* Bottom ad */
  .sjs-ad-mid, .sjs-ad-bottom {
    margin: 0;
    padding: 0;
    min-height: 0;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .sjs-single__title { font-size: 1.15rem; }
  .sjs-datetime-val { font-size: .86rem; }
  .sjs-wa-btn { font-size: .98rem; padding: 15px 14px; }
  .sjs-job-details { grid-template-columns: 1fr; }
}

/* ── Android App Link Button ─────────────────────────────────────────────────── */
.sjs-app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    margin: 8px 0;
    background: #2563eb;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
}
.sjs-app-btn:hover {
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.sjs-app-btn:active {
    transform: translateY(0);
}

.sjs-app-fallback {
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
    margin: 4px 0 12px;
}
.sjs-app-fallback a {
    color: #2563eb;
    text-decoration: underline;
}
.sjs-app-fallback a:hover {
    color: #1d4ed8;
}


/* ── Expired Job Banner ───────────────────────────────────────────────────── */
.sjs-expired-banner {
    background: #fef3c7;
    border: 1.5px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 18px;
    margin: 0 auto 16px;
    max-width: 560px;
    font-size: 1rem;
    font-weight: 600;
    color: #92400e;
    text-align: center;
    direction: rtl;
}
.sjs-expired-banner a {
    display: inline-block;
    margin-right: 10px;
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

/* ── Pagination ──────────────────────────────────────────────────────────── */
.sjs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 24px auto 8px;
    padding: 0 16px;
    direction: rtl;
}
.sjs-page-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #7c3aed;
    color: #fff;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s;
}
.sjs-page-btn:hover {
    background: #5b21b6;
    color: #fff;
}
.sjs-page-info {
    font-size: 0.9rem;
    color: #6b7280;
}

/* ---------- APP PROMO BLOCK ---------- */
.sjs-app-promo {
  margin-top: 20px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  border: 1px solid #e0e7ff;
  text-align: center;
}

.sjs-app-promo-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.sjs-app-promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 14px;
  color: #374151;
}

.sjs-app-promo-list li {
  margin: 5px 0;
}

.sjs-app-download-btn {
  display: inline-block;
  background: #10b981;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.sjs-app-download-btn:hover {
  background: #059669;
}

/* ---------- EXPIRY STATUS BADGE ---------- */
.sjs-expiry {
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.sjs-expiry.active {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.sjs-expiry.expired {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
/* ── Multi-shift styles (v4.1) ───────────────────────────────────── */

/* Job card: shift badge */
.sjs-shifts-badge {
  color: #1a73e8;
  font-weight: 600;
}

/* Single job: shifts section */
.sjs-shifts-section {
  margin: 16px 0;
  padding: 14px 16px;
  background: #f0f7ff;
  border-radius: 8px;
  border: 1px solid #cce0ff;
}
.sjs-shifts-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1a3c6e;
}
.sjs-shifts-hint {
  font-size: 12px;
  color: #5a7fa5;
  margin: 0 0 10px;
  font-weight: 400;
}

/* Shift selection chips */
.sjs-shift-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* Rate badge inside shift chip */
.sjs-chip-rate {
  font-size: 0.78em;
  font-weight: 700;
  color: #7c3aed;
  margin-right: 4px;
  letter-spacing: 0;
}
.sjs-shift-chip[aria-pressed="true"] .sjs-chip-rate {
  color: #ddd6fe;
  opacity: 1;
}

/* Salary placeholder (multi-shift, before selection) */
.sjs-salary-placeholder span {
  font-style: italic;
  opacity: 0.6;
  font-size: 0.88em;
}

/* Salary display (shown after chip selection) */
#sjs-salary-display {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 8px;
  padding: 8px 14px !important;
}
#sjs-salary-display span {
  color: #15803d;
  font-weight: 700;
  font-size: 1.15em;
}
#sjs-salary-display strong {
  color: #15803d;
  font-size: 1.3em;
  font-weight: 800;
}

/* Hours badge in salary row */
#sjs-hours-val {
  display: block;
  font-size: 0.78em;
  font-weight: 500;
  color: #166534;
  margin-top: 2px;
  opacity: 0.85;
}
.sjs-shift-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 20px;
  border: 2px solid #7c3aed;
  background: #fff;
  color: #7c3aed;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s, border-color .15s;
  font-family: inherit;
  line-height: 1;
  direction: ltr;
}
.sjs-shift-chip:hover {
  background: #ede9fe;
  border-color: #5b21b6;
  color: #5b21b6;
}
.sjs-shift-chip.active,
.sjs-shift-chip[aria-pressed="true"] {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
  box-shadow: 0 2px 8px rgba(124,58,237,.3);
}

/* Disabled WhatsApp button */
.sjs-wa-btn--disabled {
  background: linear-gradient(135deg, #9ca3af, #6b7280) !important;
  color: var(--sjs-white) !important;
  box-shadow: 0 3px 10px rgba(107,114,128,.30) !important;
  cursor: not-allowed !important;
  pointer-events: none;
  opacity: .82;
}
.sjs-wa-btn--disabled:hover {
  background: linear-gradient(135deg, #9ca3af, #6b7280) !important;
  box-shadow: 0 3px 10px rgba(107,114,128,.30) !important;
  transform: none !important;
  color: var(--sjs-white) !important;
}

/* Salary filter */
.sjs-filter-group select option {
  font-family: inherit;
}

@media (max-width: 480px) {
  .sjs-shifts-section { padding: 12px; }
  .sjs-shift-chip { font-size: 13px; padding: 7px 12px; }
}


/* ===== New fields: job-type badge, requirements, total pay ===== */

.sjs-single__job-type-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  background: linear-gradient(135deg, #fef9c3, #fde68a);
  color: #92400e;
  border-radius: 20px;
  font-size: .76rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-right: 6px;
  border: 1px solid rgba(234,179,8,.2);
}

.sjs-multishift-date {
  margin: 0 0 8px;
  padding: 12px 16px;
  background: var(--sjs-card-bg, #fff);
  border-radius: 12px;
  border: 1px solid var(--sjs-border, #e5e7eb);
}

.sjs-single__requirements {
  margin-top: 0;
  padding: 16px 20px;
  background: var(--sjs-card-bg, #fff);
  border-radius: 14px;
  border: 1px solid var(--sjs-border, #e5e7eb);
}

.sjs-requirements-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sjs-req-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--sjs-text, #1f2937);
}

.sjs-req-label {
  color: var(--sjs-text-muted, #6b7280);
  min-width: 100px;
}

.sjs-req-val {
  font-weight: 600;
}

.sjs-total-pay {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(34,197,94,.2);
  margin-top: 4px;
}

.sjs-total-pay .sjs-detail-label {
  color: #166534;
  font-weight: 600;
}

.sjs-total-pay strong {
  color: #15803d;
  font-size: 1.05rem;
}


/* ── Load More Button ──────────────────────────────────────────────────────────── */
.sjs-load-more-wrap {
    text-align: center;
    margin: 24px 0 16px;
    padding: 0 16px;
}

.sjs-load-more-btn {
    display: inline-block;
    background: #7c3aed;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
    max-width: 400px;
    font-family: inherit;
}

.sjs-load-more-btn:hover:not(:disabled) {
    background: #6d28d9;
    transform: translateY(-1px);
}

.sjs-load-more-btn:disabled {
    opacity: 0.65;
    cursor: default;
}

/* -- Estimated note in total-pay label -- */
.sjs-estimated-note {
	    font-size: 0.72em;
	    font-weight: 400;
	    color: #6b7280;
	    opacity: 0.85;
	    margin-right: 2px;
}
}