/* Smart Job Listing Pro - UI/UX Polish & Responsive Styles */

.sjl-search-hero {
  background: linear-gradient(90deg, #e8f0fe 0%, #fceabb 100%);
  padding: 32px 24px 24px 24px;
  border-radius: 16px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  text-align: center;
}
.sjl-search-hero h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.sjl-live-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 18px;
}
.sjl-stat {
  background: #fff;
  border-radius: 50px;
  padding: 12px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 110px;
}
.sjl-stat-icon {
  color: #0073aa;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
}
.sjl-stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}
.sjl-stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
}
.sjl-search-form.styled {
  background: #2d4373;
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.sjl-search-form.styled input[type="text"] {
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 1rem;
  width: 220px;
}
.sjl-search-form.styled select {
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 1rem;
  min-width: 160px;
}
.sjl-search-btn {
  background: #7eb36a;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.sjl-search-btn:hover {
  background: #5e944f;
}
.sjl-search-icon {
  color: #aaa;
  font-size: 1.2rem;
  margin-right: 4px;
}
.sjl-search-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.sjl-search-tag {
  background: #dde9f7;
  color: #2d4373;
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.17s;
}
.sjl-search-tag:hover {
  background: #b6d0ee;
}

/* Category Box UI */
.sjl-category-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 18px 18px 8px 18px;
  margin-bottom: 32px;
}
.sjl-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.sjl-category-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d4373;
}
.sjl-category-tabs {
  display: flex;
  gap: 6px;
}
.sjl-category-tabs button {
  background: #f3f3f3;
  color: #2d4373;
  border: none;
  border-radius: 4px 4px 0 0;
  padding: 5px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s;
}
.sjl-category-tabs button.active {
  background: #dde9f7;
  color: #0073aa;
}
.sjl-category-list-columns {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
}
.sjl-category-col {
  flex: 1 1 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sjl-category-col li {
  margin-bottom: 6px;
  font-size: 0.97rem;
}
.sjl-category-filter {
  color: #2d4373;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.13s;
}
.sjl-category-filter:hover {
  color: #0073aa;
  text-decoration: underline;
}
.sjl-cat-count {
  color: #888;
  font-size: 0.96em;
}

/* Job Listing List/Grid Toggle */
.sjl-toggle-group {
  margin-bottom: 12px;
}
.sjl-toggle-view {
  background: #f3f3f3;
  color: #2d4373;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 1.1rem;
  margin-left: 5px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.sjl-toggle-view.active, .sjl-toggle-view:hover {
  background: #dde9f7;
  color: #0073aa;
}

.sjl-job-listing-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sjl-job-listing-ul.sjl-grid-view {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.sjl-job-listing-ul.sjl-grid-view > li {
  max-width: 370px;
  min-width: 0;
  word-break: break-word;
  white-space: normal;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sjl-job-listing-ul.sjl-grid-view .sjl-job-title,
.sjl-job-listing-ul.sjl-grid-view .sjl-job-company {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.18;
}
.sjl-job-listing-ul.sjl-list-view > li {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.sjl-job-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: #f5f5f5;
  margin-right: 12px;
}
.sjl-job-badge {
  background: #ffe082;
  color: #a67c00;
  border-radius: 4px;
  font-size: 0.9rem;
  padding: 2px 8px;
  margin-left: 8px;
  font-weight: 600;
}
.sjl-job-company, .sjl-job-location {
  color: #888;
  font-size: 0.97rem;
  margin-left: 8px;
}

@media (max-width: 900px) {
  .sjl-job-listing-ul.sjl-grid-view {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .sjl-job-listing-ul.sjl-grid-view {
    grid-template-columns: 1fr;
  }
}

/* Responsive Styles */
@media (max-width: 900px) {
  .sjl-live-stats { flex-direction: column; gap: 12px; }
  .sjl-category-list-columns { flex-direction: column; gap: 0; }
  .sjl-job-listing-ul.sjl-grid-view > li { width: 100%; min-width: 0; }
}
@media (max-width: 600px) {
  .sjl-search-hero, .sjl-category-box { padding: 12px 4px; }
  .sjl-live-stats { flex-direction: column; gap: 8px; }
  .sjl-category-header { flex-direction: column; gap: 4px; align-items: flex-start; }
  .sjl-category-title { font-size: 1rem; }
  .sjl-category-tabs button { font-size: 0.93rem; padding: 4px 10px; }
  .sjl-job-listing-ul.sjl-grid-view > li, .sjl-job-listing-ul.sjl-list-view > li { padding: 10px 6px; }
}

/* Hide list/grid switch and icons on mobile */
@media (max-width: 600px) {
  .sjl-toggle-group,
  .sjl-toggle-group .fa,
  .sjl-toggle-view .fa,
  .sjl-toggle-view,
  .sjl-job-list-switch {
    display: none !important;
  }
  .sjl-filter-toggle-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #cecece;
    border-radius: 6px;
    padding: 7px 16px;
    font-size: 1.1rem;
    color: #1976d2;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
    gap: 7px;
    position: relative;
    z-index: 20;
  }
}

/* Restore job list box icons on all devices */
.sjl-job-listing-ul .fa,
.sjl-job-listing-ul .fas,
.sjl-job-listing-ul .far,
.sjl-job-listing-ul .fab {
  font-family: "Font Awesome 5 Free", "FontAwesome", Arial, sans-serif !important;
  font-weight: 900;
  font-style: normal;
  font-size: 1.11em;
  display: inline-block;
  vertical-align: middle;
  color: #1976d2;
  margin-right: 7px;
}

/* Modal and Apply Now Button */
.sjl-apply-modal-trigger {
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 11px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background 0.16s;
}
.sjl-apply-modal-trigger:hover {
  background: #005b8a;
}
.sjl-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.34);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sjl-modal-content {
  background: #fff;
  border-radius: 10px;
  padding: 32px 24px 24px 24px;
  min-width: 300px;
  max-width: 95vw;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  position: relative;
}
.sjl-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  color: #aaa;
  cursor: pointer;
  z-index: 2;
}
.sjl-modal-close:hover {
  color: #0073aa;
}
.sjl-modal-loading {
  text-align: center;
  color: #888;
  font-size: 1.1rem;
  padding: 32px 0;
}

/* --- Job Grid View Fix (High Specificity & Debug) --- */
#content .sjl-job-listing-ul.sjl-grid-view {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
#content .sjl-job-listing-ul.sjl-grid-view > li {
  max-width: 370px;
  min-width: 0;
  word-break: break-word;
  white-space: normal;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#content .sjl-job-listing-ul.sjl-grid-view .sjl-job-title,
#content .sjl-job-listing-ul.sjl-grid-view .sjl-job-company {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.18;
}
@media (max-width: 900px) {
  #content .sjl-job-listing-ul.sjl-grid-view {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  #content .sjl-job-listing-ul.sjl-grid-view {
    grid-template-columns: 1fr;
  }
}

/* --- Job Details UI Polish --- */
.sjl-job-single-outer {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.08);
    padding: 32px 24px;
    max-width: 900px;
    margin: 30px auto;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.sjl-job-single-outer h1 {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #222;
}
.sjl-job-single-outer .sjl-job-tabs {
    border-bottom: 1px solid #eee;
    margin-bottom: 18px;
}
.sjl-job-single-outer .sjl-job-tab {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 7px 7px 0 0;
    background: #f2f4f8;
    color: #444;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    margin-right: 2px;
    transition: background 0.2s;
}
.sjl-job-single-outer .sjl-job-tab-active {
    background: #fff;
    color: #1a73e8;
    border-bottom: 2px solid #1a73e8;
}
.sjl-job-single-outer .sjl-job-tab-content {
    padding: 16px 4px 10px 0;
    font-size: 1.08rem;
    color: #333;
    background: #f9fafd;
    border-radius: 0 0 8px 8px;
    margin-bottom: 18px;
}
.sjl-job-single-outer .button {
    background: #1a73e8;
    color: #fff;
    border: none;
    padding: 9px 24px;
    border-radius: 6px;
    font-size: 1.07rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.sjl-job-single-outer .button[disabled] {
    background: #b0b0b0;
    color: #fff;
    cursor: not-allowed;
}
.sjl-job-single-outer .sjl-apply-modal-trigger {
    margin-top: 16px;
}
.sjl-job-single-outer .sjl-job-meta,
.sjl-job-single-outer .sjl-job-summary {
    color: #666;
    font-size: 1.06rem;
    margin-bottom: 7px;
}
.sjl-job-single-outer .sjl-company-single-logo img,
.sjl-job-single-outer img[alt$='Logo'] {
    box-shadow: 0 1px 8px rgba(0,0,0,0.07);
    border-radius: 8px;
}
.sjl-job-single-outer .sjl-job-tab-content b {
    color: #1a73e8;
}
.sjl-job-single-outer .sjl-job-tab-content ul,
.sjl-job-single-outer .sjl-job-tab-content ol {
    margin-left: 18px;
}
.sjl-job-single-outer .sjl-job-tab-content {
    min-height: 60px;
}
.sjl-job-single-outer .fa,
.sjl-job-single-outer .fab {
    color: #1a73e8;
    font-size: 1.25em;
    margin-right: 3px;
}
.sjl-job-single-outer .sjl-job-pagination {
    text-align: center;
    margin-top: 24px;
}
.sjl-job-single-outer .sjl-job-pagination a {
    display: inline-block;
    padding: 7px 15px;
    background: #f2f4f8;
    color: #1a73e8;
    border-radius: 5px;
    margin: 0 2px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}
.sjl-job-single-outer .sjl-job-pagination a.active,
.sjl-job-single-outer .sjl-job-pagination a:hover {
    background: #1a73e8;
    color: #fff;
}

/* --- Single Job Page Responsive Styles --- */
.sjl-job-single-actions-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 18px 0;
  flex-wrap: wrap;
}
.sjl-job-single-info-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}
.sjl-job-single-deadline, .sjl-job-single-type {
  color: #333;
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sjl-job-single-actions-group {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 13px;
  margin-top: 14px;
}
.sjl-apply-btn, .sjl-share-btn {
  height: 34px;
  min-width: 88px;
  max-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.97rem;
  padding: 0 14px;
  border-radius: 5px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(25,118,210,0.04);
  line-height: 1.2;
  border: none;
  gap: 6px;
  transition: background 0.18s, color 0.18s;
  margin-right: 6px;
}
.sjl-apply-btn {
  background: #1976d2;
  color: #fff;
}
.sjl-apply-btn:disabled {
  background: #bdbdbd;
  color: #fff;
}
.sjl-share-btn {
  background: #f5f7fa;
  color: #1976d2;
}
.sjl-share-btn:active, .sjl-apply-btn:active {
  box-shadow: 0 1px 3px rgba(25,118,210,0.10);
}
.sjl-apply-btn i, .sjl-share-btn i {
  margin-right: 5px;
  font-size: 1.1em;
}
.sjl-apply-btn:hover {
  background: #1452a0;
  color: #fff;
}
.sjl-share-btn:hover {
  background: #eaf2fb;
  color: #1452a0;
}
@media (max-width: 600px) {
  .sjl-job-single-actions-group {
    width: 100%;
    flex-direction: row;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 4px;
    justify-content: flex-start;
    align-items: stretch;
  }
  .sjl-apply-btn, .sjl-share-btn {
    height: 32px;
    font-size: 0.94rem;
    padding: 0 8px;
    border-radius: 4.5px;
    min-width: 0;
    max-width: 100%;
    margin-right: 0;
  }
  .sjl-apply-btn i, .sjl-share-btn i {
    margin-right: 4px;
    font-size: 1em;
  }
}

.sjl-job-single-header-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}
.sjl-job-company-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}
.sjl-job-header-titles {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sjl-job-company-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 0px;
}
.sjl-job-company-name a {
  color: #1976d2;
  text-decoration: none;
}
.sjl-job-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: #222;
}
.sjl-job-single-info-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 1rem;
  color: #444;
}
.sjl-job-single-deadline, .sjl-job-single-type {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
}
.sjl-job-single-actions-group {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 13px;
  margin-top: 14px;
}
.sjl-apply-btn, .sjl-share-btn {
  height: 36px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding: 0 28px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(25,118,210,0.03);
  line-height: 1.2;
}
.sjl-share-btn {
  background: #f5f7fa;
  color: #1976d2;
  border: none;
  margin-right: 0;
  min-width: 120px;
}
.sjl-apply-btn {
  background: #1976d2;
  color: #fff;
  border: none;
  margin-right: 0;
  min-width: 120px;
}
.sjl-apply-btn:disabled {
  background: #bdbdbd;
  color: #fff;
}
.sjl-share-btn i, .sjl-apply-btn i {
  margin-right: 7px;
  font-size: 1.1em;
}
@media (max-width: 600px) {
  .sjl-job-single-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 8px;
  }
  .sjl-job-company-logo {
    width: 54px;
    height: 54px;
    margin-bottom: 2px;
  }
  .sjl-job-header-titles {
    gap: 0px;
  }
  .sjl-job-title {
    font-size: 1.08rem;
    margin-bottom: 1px;
  }
  .sjl-job-single-info-group {
    flex-direction: row;
    gap: 16px;
    font-size: 0.98rem;
    margin-bottom: 2px;
  }
  .sjl-job-single-actions-group {
    width: 100%;
    flex-direction: row;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 4px;
    justify-content: flex-start;
    align-items: stretch;
  }
  .sjl-apply-btn, .sjl-share-btn {
    height: 36px;
    min-width: 0;
    font-size: 0.97rem;
    padding: 0 10px;
    border-radius: 5px;
    flex: 1 1 0;
    margin: 0;
  }
  .sjl-share-btn i, .sjl-apply-btn i {
    margin-right: 6px;
    font-size: 1em;
  }
}

.sjl-job-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 0;
}
.sjl-published {
  font-size: 0.97rem;
  color: #888;
  margin-bottom: 2px;
  text-align: left;
  width: 100%;
}
.sjl-share-print-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
  min-width: 0;
  max-width: none;
  flex: 1 1 0;
  padding: 0 8px;
  font-size: 0.97rem;
  border-radius: 5px;
  margin: 0;
  height: 40px;
  text-align: center;
  box-sizing: border-box;
}
.sjl-share-btn .sjl-share-text,
.sjl-print-btn .sjl-print-text {
  display: inline;
}
@media (max-width: 900px) {
  .sjl-job-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 600px) {
  .sjl-job-header-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 8px;
  }
  .sjl-published {
    margin-bottom: 4px;
    text-align: left;
    width: 100%;
  }
  .sjl-share-print-group {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }
  .sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
    padding: 0 6px;
    font-size: 0.97rem;
    border-radius: 5px;
    margin: 0;
    height: 38px;
    text-align: center;
  }
  .sjl-share-btn .sjl-share-text,
  .sjl-print-btn .sjl-print-text {
    display: none;
  }
}
@media (max-width:420px){
  .sjl-share-print-group {
    gap: 6px;
  }
}
/* --- End Custom Job Header Responsive Fix --- */

.sjl-job-title-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}
.sjl-job-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 0;
}
.sjl-published {
  font-size: 0.97rem;
  color: #888;
  margin-bottom: 2px;
  text-align: left;
  width: 100%;
}
.sjl-share-print-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
  min-width: 0;
  max-width: none;
  flex: 1 1 0;
  padding: 0 8px;
  font-size: 0.97rem;
  border-radius: 5px;
  margin: 0;
  height: 40px;
  text-align: center;
  box-sizing: border-box;
}
.sjl-share-btn .sjl-share-text,
.sjl-print-btn .sjl-print-text {
  display: inline;
}
@media (max-width: 900px) {
  .sjl-job-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 600px) {
  .sjl-job-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .sjl-job-header-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 8px;
  }
  .sjl-published {
    margin-bottom: 4px;
    text-align: left;
    width: 100%;
  }
  .sjl-share-print-group {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }
  .sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
    padding: 0 6px;
    font-size: 0.97rem;
    border-radius: 5px;
    margin: 0;
    height: 38px;
    text-align: center;
  }
  .sjl-share-btn .sjl-share-text,
  .sjl-print-btn .sjl-print-text {
    display: none;
  }
}
@media (max-width:420px){
  .sjl-share-print-group {
    gap: 6px;
  }
}
/* --- End Custom Job Header Responsive Fix --- */

.sjl-job-header-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}
.sjl-job-header-actions .sjl-published {
  font-size: 0.97rem;
  color: #888;
  margin-right: 0;
  white-space: nowrap;
  order: 2;
}
.sjl-share-print-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  order: 1;
}
.sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
  min-width: 120px;
  max-width: 160px;
  flex: 1 1 0;
  padding: 0 14px;
  font-size: 1rem;
  border-radius: 5px;
  margin: 0;
  height: 44px;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .sjl-share-print-group {
    width: 100%;
  }
  .sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
    min-width: 0;
    max-width: none;
    flex: 1 1 0;
    padding: 0 10px;
    font-size: 0.97rem;
    border-radius: 5px;
    margin: 0;
    height: 40px;
    text-align: left;
    width: 32%;
    box-sizing: border-box;
  }
  .sjl-share-print-group .sjl-apply-btn {
    margin-right: 2%;
  }
  .sjl-share-print-group .sjl-share-btn {
    margin-right: 2%;
  }
}
@media (max-width:420px){
  .sjl-job-header-actions {
    gap: 5px;
  }
  .sjl-share-print-group {
    gap: 10px;
  }
}

.sjl-job-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .sjl-job-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 8px;
  }
  .sjl-job-header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 8px;
    justify-content: flex-start;
  }
  .sjl-job-header-actions .sjl-published {
    font-size: 0.97rem;
    color: #888;
    margin-right: 8px;
    white-space: nowrap;
  }
  .sjl-share-print-group {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: auto;
  }
  .sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
    min-width: 0;
    padding: 0 10px;
    font-size: 0.97rem;
    border-radius: 5px;
    margin: 0;
    height: 40px;
    flex: 1 1 0;
  }
  .sjl-share-btn .sjl-share-text,
  .sjl-print-btn .sjl-print-text {
    display: none;
  }
}
@media (max-width:420px){
  .sjl-job-header-actions {
    gap: 5px;
  }
  .sjl-share-print-group {
    gap: 10px;
  }
}

.sjl-share-print-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
  width: 100%;
}
@media (max-width: 600px) {
  .sjl-share-print-group {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }
}
@media (max-width:420px){
  .sjl-share-print-group {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .sjl-job-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 8px;
  }
  .sjl-job-header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 8px;
    justify-content: flex-start;
  }
  .sjl-job-header-actions .sjl-published {
    font-size: 0.97rem;
    color: #888;
    margin-right: 8px;
    white-space: nowrap;
  }
  .sjl-share-print-group {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: auto;
  }
  .sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
    min-width: 0;
    padding: 0 10px;
    font-size: 0.97rem;
    border-radius: 5px;
    margin: 0;
    height: 40px;
    flex: 1 1 0;
  }
  .sjl-share-btn .sjl-share-text,
  .sjl-print-btn .sjl-print-text {
    display: none;
  }
}
@media (max-width:420px){
  .sjl-job-header-actions {
    gap: 5px;
  }
  .sjl-share-print-group {
    gap: 10px;
  }
}

/* Custom SVG icons for job list meta */
.sjl-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: middle;
  margin-right: 7px;
  fill: #1976d2;
}

/* 420px and smaller screen sizes */
@media (max-width:420px){
  /* Share */
  #sjl-job-section .sjl-job-header-actions .sjl-share-btn{
    transform:translateX(160px) translateY(-40px);
    width:100px;
  }
  /* Apply open */
  #sjl-apply-open{
    min-height:43px;
    width:150px !important;
    margin-right:0px;
  }
  /* Job header actions */
  #sjl-job-section .sjl-job-header-actions{
    height:61px;
    width:157px;
  }
  /* Print */
  #sjl-job-section .sjl-job-header-actions .sjl-print-btn{
    transform:translateX(-104px) translateY(7px);
    visibility:hidden;
  }
  /* Division */
  #sjl-job-section .sjl-job-summary-grid > div{
    padding-bottom:0px !important;
    padding-top:0px !important;
  }
}

@media (max-width:420px){
  /* Span Tag */
  .sjl-job-title-row div span{
    position:relative;
    left:-200px;
  }
  /* Share print group */
  #sjl-job-section div .sjl-share-print-group{
    position:relative;
    align-items:baseline;
  }
}

@media (max-width: 600px) {
  .sjl-job-header-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 8px;
  }
  .sjl-job-header-actions .sjl-published {
    order: 1;
    margin-right: 0;
    margin-bottom: 4px;
    text-align: left;
    width: 100%;
  }
  .sjl-share-print-group {
    order: 2;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }
  .sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
    padding: 0 10px;
    font-size: 0.97rem;
    border-radius: 5px;
    margin: 0;
    height: 40px;
    text-align: left;
  }
}

/* --- Modern Job Header --- */
.sjl-modern-job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30,80,180,0.07);
  padding: 24px 28px 18px 28px;
  margin-bottom: 30px;
}
.sjl-job-logo-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8fc;
  border-radius: 10px;
  width: 72px;
  height: 72px;
  box-shadow: 0 1px 6px rgba(30,80,180,0.04);
}
.sjl-job-logo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1.5px solid #e6e9ee;
}
.sjl-job-title-wrap {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.sjl-job-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #1976d2;
  margin: 0 0 3px 0;
  line-height: 1.15;
  word-break: break-word;
}
.sjl-job-company-name {
  font-size: 1.13rem;
  font-weight: 600;
  color: #2361a7;
  margin: 0;
}
.sjl-job-header-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-left: 24px;
}
.sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 20px;
  height: 40px;
  min-width: 110px;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(30,80,180,0.04);
  cursor: pointer;
}
.sjl-apply-btn {
  background: #1976d2;
  color: #fff;
}
.sjl-apply-btn:hover {
  background: #1452a0;
}
.sjl-share-btn {
  background: #f3f6fa;
  color: #1976d2;
}
.sjl-share-btn:hover {
  background: #e0e8f3;
  color: #0c57b3;
}
.sjl-print-btn {
  background: #f3f6fa;
  color: #1976d2;
}
.sjl-print-btn:hover {
  background: #e0e8f3;
  color: #0c57b3;
}
@media (max-width: 900px) {
  .sjl-modern-job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 12px 10px 12px;
  }
  .sjl-job-header-actions {
    margin-left: 0;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .sjl-modern-job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 6px 6px 6px;
  }
  .sjl-job-header-actions {
    flex-direction: row;
    gap: 8px;
    margin-left: 0;
  }
  .sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
    font-size: 0.97rem;
    height: 36px;
    min-width: 85px;
    padding: 7px 10px;
  }
}
@media (max-width: 420px) {
  .sjl-modern-job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 4px 2px 2px 2px;
  }
  .sjl-job-header-actions {
    gap: 5px;
  }
  .sjl-apply-btn {
    min-width: 80px;
    padding: 7px 8px;
  }
  .sjl-share-btn {
    min-width: 60px;
    padding: 7px 8px;
  }
}

.apply-btn {
  background: #1976d2;
  color: #fff;
  border: none;
  font-weight: 600;
}
.apply-btn:hover {
  background: #1452a0;
  color: #fff;
}

.job-header-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 20px;
}
.job-header-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.job-logo-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbfc;
  border-radius: 8px;
  border: 1.5px solid #e6e9ee;
}
.job-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
}
.job-title-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5px; /* Reduce vertical gap between title and company name */
}
.job-title {
  font-size: 1.45rem; /* Slightly larger */
  font-weight: 700;
  color: #222;
  margin-bottom: 0;
}
.job-company-name {
  font-size: 1.13rem; /* Slightly larger */
  color: #1976d2;
  font-weight: 600;
  margin-top: 0;
}
.job-actions-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.job-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid #d6e0ea;
  background: #fff;
  color: #1976d2;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.18s;
  min-width: 44px;
  min-height: 38px;
  box-shadow: 0 2px 6px rgba(30,80,180,0.04);
  white-space: nowrap;
}
.job-btn i { font-size: 1.15em; }
.apply-btn {
  background: #1976d2;
  color: #fff;
  border: none;
  font-weight: 600;
}
.apply-btn:hover { background: #1452a0; }
.share-btn:hover, .print-btn:hover {
  background: #f0f6fa;
  color: #1452a0;
  border-color: #b6cbe0;
}
.print-btn { padding: 8px 14px; }
@media (max-width: 600px) {
  .job-header-row {
    gap: 0.5rem;
  }
  .job-header-main {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .job-title {
    font-size: 1.05rem;
  }
  .job-actions-row {
    flex-direction: row;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
    justify-content: flex-start;
  }
  .print-btn {
    display: none !important;
  }
}
@media (max-width: 420px) {
  .job-header-main {
    gap: 6px;
  }
  .job-title {
    font-size: 0.98rem;
  }
  .job-actions-row {
    gap: 5px;
    margin-top: 6px;
  }
}

/* --- MODERN, COMPACT JOB HEADER BUTTONS --- */
.job-actions-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.job-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid #d6e0ea;
  background: #fff;
  color: #1976d2;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
  min-width: 44px;
  min-height: 38px;
  box-shadow: 0 2px 6px rgba(25,118,210,0.04);
  white-space: nowrap;
}
.job-btn i { font-size: 1.15em; }
.apply-btn {
  background: #1976d2;
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 8px 22px;
}
.apply-btn:hover { background: #1452a0; }
.share-btn, .print-btn {
  background: #fff;
  color: #1976d2;
  border: 1.5px solid #d6e0ea;
  padding: 8px 16px;
  min-width: 44px;
  min-height: 38px;
}
.share-btn:hover, .print-btn:hover {
  background: #f0f6fa;
  color: #1452a0;
  border-color: #b6cbe0;
}
.print-btn { padding: 8px 12px; }
@media (max-width: 600px) {
  .job-header-row { gap: 0.5rem; }
  .job-header-main { gap: 10px; }
  .job-title { font-size: 1.05rem; }
  .job-actions-row { gap: 8px; margin-top: 8px; width: 100%; justify-content: flex-start; }
  .print-btn { display: none !important; }
}
@media (max-width: 420px) {
  .job-header-main { gap: 6px; }
  .job-title { font-size: 0.98rem; }
  .job-actions-row { gap: 5px; margin-top: 6px; }
}

/* --- Reduce gap between job title and company name --- */
.job-title-group { gap: 0.5px; }
.job-title { font-size: 1.18rem; font-weight: 700; color: #222; margin-bottom: 0; }
.job-company-name { font-size: 1.05rem; color: #1976d2; font-weight: 600; margin-top: 0; }
/* Remove old/unused button styles */
.sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
  all: unset;
}

/* --- Compact Modern Job Header Buttons (Short Version) --- */
.job-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.job-btn, .apply-btn, .share-btn, .print-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 6px;
  min-width: 44px;
  min-height: 38px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(25,118,210,0.04);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
  border: 1.5px solid #d6e0ea;
  background: #fff;
  color: #1976d2;
  padding: 8px 16px;
}
.apply-btn {
  background: #1976d2;
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 8px 22px;
}
.apply-btn:hover { background: #1452a0; }
.share-btn:hover, .print-btn:hover {
  background: #f0f6fa;
  color: #1452a0;
  border-color: #b6cbe0;
}
.print-btn { padding: 8px 12px; }
.job-btn i, .apply-btn i, .share-btn i, .print-btn i { font-size: 1.15em; }
@media (max-width: 600px) {
  .job-actions-row { gap: 8px; }
  .print-btn { display: none !important; }
}
@media (max-width: 420px) {
  .job-actions-row { gap: 5px; }
}
/* Reduce gap between job title and company name */
.job-title-group { gap: 0.5px; }
.job-title { font-size: 1.18rem; font-weight: 700; color: #222; margin-bottom: 0; }
.job-company-name { font-size: 1.05rem; color: #1976d2; font-weight: 600; margin-top: 0; }
/* Remove old/unused button styles */
.sjl-apply-btn, .sjl-share-btn, .sjl-print-btn { all: unset; }

/* --- RESTORED MODERN JOB HEADER BUTTONS --- */
.sjl-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1976d2;
  color: #fff;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 10px 0 0;
  transition: background 0.18s, color 0.18s;
  vertical-align: middle;
  gap: 7px;
  font-size: 1.08rem;
  border: none;
  box-shadow: 0 2px 6px rgba(25,118,210,0.04);
  white-space: nowrap;
}
.sjl-apply-btn i {
  font-size: 1.13em;
  margin-right: 6px;
  display: inline-block;
}
.sjl-apply-btn:hover {
  background: #1452a0;
  color: #fff;
}
.sjl-share-btn, .sjl-print-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #1976d2;
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.06rem;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  border: 1.5px solid #d6e0ea;
  margin-right: 8px;
  gap: 7px;
  white-space: nowrap;
}
.sjl-share-btn:hover, .sjl-print-btn:hover {
  background: #f0f6fa;
  color: #1452a0;
  border-color: #b6cbe0;
}
@media (max-width: 600px) {
  .sjl-apply-btn, .sjl-share-btn, .sjl-print-btn {
    width: auto;
    min-width: 44px;
    min-height: 38px;
    font-size: 1.01rem;
    padding: 7px 10px;
  }
}
/* --- Application form container --- */
.sjl-apply-form-container {
  border: 1.5px solid #e0e6ef;
  background: #fafbfc;
  border-radius: 10px;
  padding: 22px 16px 18px 16px;
  margin: 32px 0 36px 0;
  box-shadow: 0 1px 8px rgba(80,110,160,0.06);
  width: 100%;
  max-width: 100%;
}

.sjl-apply-form {
  padding: 20px 22px 18px 22px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(80,110,160,0.06);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.sjl-apply-form .form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.sjl-apply-form .form-group label {
  font-size: 1.01rem;
  font-weight: 500;
  margin-bottom: 7px;
  color: #1976d2;
}
.sjl-apply-form .form-group input[type="text"],
.sjl-apply-form .form-group input[type="email"],
.sjl-apply-form .form-group input[type="tel"],
.sjl-apply-form .form-group input[type="file"],
.sjl-apply-form .form-group textarea {
  padding: 9px 13px;
  border: 1.5px solid #e0e6ef;
  border-radius: 5px;
  font-size: 1rem;
  background: #fafbfc;
  margin-bottom: 0;
  margin-top: 0;
}
.sjl-apply-form .form-group input[type="file"] {
  padding: 5px 4px;
  background: #f5f7fa;
}
.sjl-apply-form .form-group.form-terms {
  margin-bottom: 18px;
  margin-top: 2px;
}
.sjl-apply-form .form-group.form-terms label {
  font-weight: 400;
  color: #444;
  font-size: 0.98em;
  margin-bottom: 0;
}
.sjl-apply-form .form-submit-row {
  margin-top: 18px;
  text-align: center;
}
.sjl-apply-form .form-submit-row button {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}
.sjl-apply-form-container {
  border: 1.5px solid #e0e6ef;
  background: #fafbfc;
  border-radius: 10px;
  padding: 22px 16px 18px 16px;
  margin: 32px 0 36px 0;
  box-shadow: 0 1px 8px rgba(80,110,160,0.06);
  width: 100%;
  max-width: 100%;
}
.sjl-job-summary-grid {
  margin-bottom: 38px !important;
  margin-top: 0 !important;
}
