.job-detail-page {
  --job-sticky-top: 0px;
  min-height: 650px;
  color: #263445;
  background: #f4f6f8;
}

.job-preview-bar {
  padding: 10px 0;
  border-bottom: 1px solid #f1d98e;
  color: #765a00;
  background: #fff4d6;
}

.job-preview-bar .container {
  display: flex;
  justify-content: space-between;
}

.job-preview-bar a {
  color: #008f40;
  font-weight: 600;
}

/* Breadcrumb */
.job-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 16px;
  color: #667488;
  font-size: 14px;
}

.job-breadcrumb a {
  color: #4b596c;
}

.job-breadcrumb a:hover {
  color: #00a84b;
}

.job-breadcrumb i {
  color: #a0abb8;
  font-size: 10px;
}

.job-breadcrumb span {
  overflow: hidden;
  max-width: 340px;
  color: #263445;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Khung thẻ chung */
.job-box {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid #e2e8ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 13px rgba(28, 47, 65, 0.04);
}

.job-box__title,
.job-content-section h2 {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 5px solid #00b14f;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.3;
}

.job-box__subtitle {
  margin: 0 0 14px;
  color: #4b596c;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Thẻ đầu trang */
.job-hero-card h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.4;
}

.job-salary {
  color: #009643;
  font-size: 20px;
  line-height: 28px;
}

.job-overview-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0;
}

.job-overview-grid > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.job-overview-grid svg {
  flex: 0 0 auto;
}

.job-overview-grid .box-header-job-list-info__item .path-custom {
  fill: #009643;
}

.job-overview-grid span {
  min-width: 0;
  color: #687078;
  font-size: 13px;
}

.job-overview-grid strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #212529;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Nút ứng tuyển / lưu */
.job-actions {
  display: flex;
  gap: 12px;
}

.job-actions form {
  margin: 0;
}

.job-btn-apply,
.job-btn-save,
.job-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.job-btn-apply {
  flex: 1;
  border: 0;
  color: #fff;
  background: #00b14f;
}

.job-btn-apply:hover,
.job-btn-apply:focus {
  color: #fff;
  background: #009643;
}

.job-btn-apply:disabled {
  color: #fff;
  background: #7fcfa2;
  opacity: 1;
}

.job-btn-save,
.job-btn-outline {
  border: 1px solid #00b14f;
  color: #00a84b;
  background: #fff;
}

.job-btn-save:hover,
.job-btn-outline:hover {
  color: #008b3f;
  background: #eafaf1;
}

.job-btn-save.is-saved {
  color: #fff;
  background: #00b14f;
}

/* Thanh tab ghim */
.job-sticky-tabs {
  position: sticky;
  top: var(--job-sticky-top);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 20px;
  padding: 0 16px 0 24px;
  border: 1px solid #e2e8ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 13px rgba(28, 47, 65, 0.06);
}

.job-sticky-tabs > a {
  padding: 15px 0 12px;
  border-bottom: 3px solid transparent;
  color: #667488;
  font-weight: 600;
  white-space: nowrap;
}

.job-sticky-tabs > a:hover,
.job-sticky-tabs > a.active {
  border-bottom-color: #00b14f;
  color: #008b3f;
}

.job-sticky-tabs .job-actions {
  margin-left: auto;
}

.job-sticky-tabs .job-btn-apply {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

#chi-tiet-tin,
#viec-lam-lien-quan {
  scroll-margin-top: calc(var(--job-sticky-top) + 70px);
}

/* Nội dung tin */
.job-content-card {
  padding: 28px;
}

.job-content-section {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #edf0f2;
}

.job-rich-content {
  color: #3a4859;
  line-height: 1.75;
}

.job-rich-content img {
  max-width: 100%;
  height: auto;
}

.job-rich-content p:last-child,
.job-rich-content ul:last-child {
  margin-bottom: 0;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tags span,
.job-tags a {
  padding: 6px 12px;
  border-radius: 6px;
  color: #3a4859;
  background: #f0f3f5;
  font-size: 14px;
}

.job-tags--benefit {
  margin-top: 14px;
}

.job-tags--benefit span {
  color: #008b3f;
  background: #eafaf1;
}

.job-tags--benefit i {
  margin-right: 6px;
  font-size: 12px;
}

.job-tags--link a:hover {
  color: #008b3f;
  background: #eafaf1;
}

.job-overview-tags {
  display: grid;
  gap: 12px;
}

.job-overview-tags__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.job-overview-tags__label {
  flex: 0 0 120px;
  padding-top: 6px;
  color: #4b596c;
  font-weight: 600;
}

.job-place-time h3 {
  margin: 0 0 8px;
  color: #263445;
  font-size: 15px;
  font-weight: 700;
}

.job-place-time ul {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.job-place-time ul:last-child {
  margin-bottom: 0;
}

.job-place-time li {
  display: flex;
  gap: 10px;
  color: #3a4859;
}

.job-place-time li i {
  width: 16px;
  margin-top: 5px;
  color: #00a84b;
  font-size: 13px;
  text-align: center;
}

.job-content-footer .job-actions {
  max-width: 420px;
}

.job-deadline-text {
  margin: 14px 0;
  color: #4b596c;
}

.job-report-note {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #4b596c;
  background: #f2f4f6;
  font-size: 14px;
}

.job-report-note i {
  margin-top: 3px;
  color: #3b82f6;
}

.job-related-list {
  display: grid;
  gap: 14px;
}

/* Cột phải */
.job-company-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: #263445;
}

.job-company-head:hover {
  color: #00a84b;
}

.job-company-logo {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid #e2e8ee;
  border-radius: 10px;
  background: #fff;
}

.job-company-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.job-company-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.job-company-facts {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.job-company-facts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

.job-company-facts i {
  width: 18px;
  margin-top: 3px;
  color: #8a97a8;
  text-align: center;
}

.job-company-facts span {
  flex: 0 0 auto;
  color: #718096;
}

.job-company-facts strong {
  min-width: 0;
  color: #263445;
  font-weight: 600;
}

.job-clamp-2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.job-company-card .job-btn-outline {
  width: 100%;
}

.job-info-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.job-info-list li > i {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #00a84b;
  background: #eafaf1;
}

.job-info-list span {
  display: flex;
  flex-direction: column;
  color: #718096;
  font-size: 13px;
}

.job-info-list strong {
  color: #263445;
  font-size: 15px;
  font-weight: 600;
}

.job-safety-card {
  border-color: #d5f2e1;
  background: #f5fdf8;
  color: #3a4859;
  font-size: 14px;
  line-height: 1.65;
}

.job-safety-card .job-box__title {
  padding-left: 0;
  border-left: 0;
  font-size: 18px;
}

.job-safety-card .job-box__title i {
  margin-right: 8px;
  color: #00a84b;
}

.job-share__copy {
  display: flex;
  margin-bottom: 14px;
  border: 1px solid #dbe2e8;
  border-radius: 8px;
  background: #f7f9fa;
}

.job-share__copy input {
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border: 0;
  color: #4b596c;
  background: transparent;
  outline: none;
}

.job-share__copy button {
  flex: 0 0 auto;
  width: 44px;
  border: 0;
  border-left: 1px solid #dbe2e8;
  color: #00a84b;
  background: transparent;
}

.job-share__social {
  display: flex;
  gap: 10px;
}

.job-share__social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8ee;
  border-radius: 50%;
  color: #4b596c;
  font-size: 17px;
  transition: all 0.2s ease;
}

.job-share__social a:hover {
  border-color: #00b14f;
  color: #00b14f;
  background: #eafaf1;
}

@media (max-width: 767.98px) {
  .job-overview-grid {
    flex-direction: column;
  }

  .job-box,
  .job-content-card {
    padding: 18px;
  }

  .job-sticky-tabs {
    gap: 18px;
    overflow-x: auto;
    padding: 0 12px;
  }

  .job-sticky-tabs .job-actions {
    display: none;
  }

  .job-overview-tags__row {
    flex-direction: column;
    gap: 6px;
  }

  .job-overview-tags__label {
    flex-basis: auto;
    padding-top: 0;
  }

  .job-breadcrumb span {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .job-hero-card h1 {
    font-size: 20px;
  }

  .job-actions {
    flex-direction: column;
  }

  .job-sticky-tabs .job-actions {
    flex-direction: row;
  }

  .job-actions .job-btn-apply {
    flex: none;
  }

  .job-actions form,
  .job-actions .job-btn-save {
    width: 100%;
  }
}

.job-apply-modal .modal-content {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}
.job-apply-modal .modal-header {
  align-items: flex-start;
  padding: 20px 28px;
}
.job-apply-modal .modal-title {
  font-size: 22px;
  font-weight: 700;
}
.job-apply-modal .modal-body {
  padding: 20px 28px;
}
.job-apply-modal .modal-footer {
  background: #fff;
  padding: 14px 28px;
}
.apply-cv-option {
  align-items: center;
  border: 1px solid #dce2e6;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  margin: 10px 0;
  padding: 13px 16px;
}
.apply-cv-option:has(input:checked) {
  border-color: #00b14f;
  background: #f2fff8;
}
.apply-cv-option input {
  height: 19px;
  width: 19px;
}
.apply-cv-option span,
.apply-cv-option strong,
.apply-cv-option small {
  display: block;
}
.apply-cv-option small {
  color: #00a047;
  margin-top: 2px;
}
.apply-upload-box {
  align-items: center;
  border: 1px dashed #aeb8c0;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 14px 0 18px;
  padding: 20px;
  text-align: center;
}
.apply-upload-box > i {
  color: #a8b0b7;
  font-size: 30px;
}
.apply-upload-box > span {
  color: #818a92;
  font-size: 14px;
}
.apply-upload-box > em {
  font-style: normal;
}
.apply-upload-box.has-file {
  background: #f2fff8;
  border-color: #00b14f;
}
.apply-upload-box.has-file > i,
.apply-upload-box.has-file > span {
  color: #00a047;
}
.apply-notice {
  background: #fbfcfd;
  border: 1px solid #e2e7ea;
  border-radius: 8px;
  color: #4d5861;
  line-height: 1.65;
  padding: 16px;
}
.apply-notice h6 {
  font-weight: 700;
}
@media (max-width: 575.98px) {
  .job-apply-modal .modal-header,
  .job-apply-modal .modal-body,
  .job-apply-modal .modal-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}
