body,
html {
  overflow-x: hidden;
  background: #fff;
}

.footer-top-2 {
  border-top-width: 0;
}
/* Breadcrumb */
.breadcrumb_intro .breadcrumb-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.5;
  font-family: Inter;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .breadcrumb_intro .breadcrumb-flex {
    margin-bottom: 8px;
  }

  body,
  html {
    background-color: #f3f4f6 !important;
  }
}

.breadcrumb_intro .breadcrumb-link {
  color: var(--Primary-JS, #f07e1d);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 21px */
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.breadcrumb_intro .breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb_intro .home-link svg {
  margin-top: -2px;
}

.breadcrumb_intro .breadcrumb-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 12px;
}

.breadcrumb_intro .breadcrumb-sep svg {
  width: 7px;
  height: 12px;
}

.breadcrumb_intro .breadcrumb-current {
  color: var(--gray-500, var(--gray-500, #6b7280));

  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 21px */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

:root {
  --primary-orange: #f07e1d;
  --text-dark: #333;
  --text-gray: #666;
  --bg-light: #f5f7fa;
  --border-color: #e5e7eb;
}

/* --- CMP-HEADER: Component Header --- */
.col-lg-8 {
  padding-left: 0;
  padding-right: 15px;
}

.col-lg-4 {
  padding-right: 0;
  position: sticky;
}

.cmp-header-container,
.cmp-white-box,
.cmp-rating-box {
  width: calc(100% + 2px);
  margin-left: -1px;
}
.cmp-header-container {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: visible; /* Để logo nổi lên trên được */
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 20px;
}

@media (max-width: 768px) {
  .cmp-header-container {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
  }

  .col-lg-8 {
    padding-right: 0;
  }

  .cmp-rating-box-header {
    padding: 16px !important;
  }
}

.cmp-banner {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 12px 12px 0 0; /* Chỉ bo góc trên */
}

.cmp-profile-row {
  display: flex;
  align-items: flex-end;
  margin-top: -20px; /* Kỹ thuật đè logo lên banner */
  position: relative;
  z-index: 2;
}

.cmp-logo-box {
  width: 100px;
  height: 100px;
  background: #fff;
  margin-top: 20px;
  border-radius: 12px;
  border: 3px solid var(--blue-50, #ebf5ff);
  margin-right: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmp-info-box {
  flex: 1;
  display: flex;
  justify-content: space-between; /* Tên bên trái, Nút bên phải */
  align-items: flex-end;
  padding-bottom: 5px;
}

.cmp-name-wrapper h1 {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 26px */
  text-transform: capitalize;
  margin: 0 0 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-xs-12 {
  padding-left: 0;
  padding-right: 0;
}

.cmp-actions {
  display: flex;
  gap: 10px;
}

.btn-cmp-outline {
  border: 1px solid var(--primary-orange);
  background: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  color: var(--Primary-JS-Primary-JS, #f07e1d);

  /* text-sm/font-medium */
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 21px */
  cursor: pointer;
}
.btn-cmp-outline:hover {
  border: 1px solid var(--Primary-JS-Primary-JS, #f07e1d);
  background: var(--orange-100, #feecdc);
}
.btn-cmp-fill {
  background: var(--primary-orange);
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  color: var(--white, var(--white, #fff));

  /* text-sm/font-medium */
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 21px */
  cursor: pointer;
}
.btn-cmp-fill:hover {
  background: var(--orange-500, #ff5a1f);
}
/* --- CMP-BOX: Style chung cho các khối trắng --- */
.cmp-white-box {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 24px;
  margin-bottom: 24px;
}

/* Chỉ hiện trên Mobile */
.mobile-only-tab {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only-tab {
    display: block;
    margin-bottom: 0px; /* Sát vào phần dưới */
  }

  .cmp-mobile-tabs {
    display: flex;
    width: 100%;
    padding: 0 15px;
    margin: 0;
    height: 45px;
    list-style: none;
    background: var(--blue-50, #ebf5ff);
    /* Nếu muốn nền cả thanh tab là màu xanh nhạt thì để background ở đây, 
           còn theo code bạn gửi thì background nằm ở từng item */
  }

  /* --- STYLE CHO TAB ITEM (Mặc định là INACTIVE) --- */
  .cmp-mobile-tabs .tab-item {
    flex: 1; /* Chia đều chiều rộng 50% - 50% */
    text-align: center;
    justify-content: center;
    cursor: pointer;

    /* Border bottom mặc định trong suốt để không bị giật layout khi hover */
    border-bottom: 2px solid transparent;

    /* -- Code bạn cung cấp cho trạng thái KHÔNG ACTIVE -- */
    background: var(--blue-50, #ebf5ff);
    color: var(--character-title-85, rgba(0, 0, 0, 0.85));

    /* Font settings */
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 21px */
    padding: 12px 16px;
    height: 45px;
  }

  /* --- STYLE KHI ACTIVE --- */
  .cmp-mobile-tabs .tab-item.active {
    /* -- Code bạn cung cấp cho trạng thái ACTIVE -- */
    border-bottom: 2px solid var(--Color-Primary---Emp, #4a5dff);
    background: var(--blue-50, #ebf5ff);
    color: var(--Color-Primary---Emp, #4a5dff);

    /* Font giữ nguyên */
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    padding: 12px 16px;
    height: 45px;
  }

  /* Ẩn sidebar gốc trên mobile */
  #sidebar-column {
    display: none;
  }

  .cmp-white-box,
  .cmp-white-box-tag,
  .cmp-rating-box-header,
  .cmp-sidebar-box,
  .cmp-rating-box,
  .cmp-sidebar-header {
    border-radius: 0 !important;
  }

  .cmp-white-box,
  .cmp-rating-box-body {
    padding: 16px !important;
  }

  .cmp-white-box {
    margin-bottom: 16px !important;
  }

  .cmp-title.info-company-title {
    margin-bottom: 16px;
  }

  .cmp-divider {
    margin: 16px -24px;
  }
}
.cmp-title {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
}
.cmp-title.info-company-title {
  margin-bottom: 24px;
}

/* 2. Tiêu đề khác (Giới thiệu, Quyền lợi, Hình ảnh...) */
.cmp-title.section-title {
  margin-bottom: 16px;
}
/* --- CMP-INFO: Component Info & Intro --- */
.cmp-grid-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.cmp-grid-info > :nth-child(5) {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .cmp-grid-info > :nth-child(5) {
    grid-column: auto;
  }
}
.cmp-info-item {
  display: flex;
  align-items: flex-start;
}
.cmp-icon-circle {
  width: 40px;
  height: 40px;
  background: #ebf5ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}
.cmp-text-group label {
  color: var(--Disable_button, #8c8c8c);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: block;
  margin-bottom: 4px;
}
.cmp-text-group span {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* CSS Website Link (Theo yêu cầu) */
.cmp-website-link {
  color: #333; /* var(--Text_primary) */
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
}
.cmp-website-link:hover {
  text-decoration: underline;
  color: unset;
}

/* CSS Lĩnh vực Popup (Tham khảo code bạn gửi) */
.field-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Thiết lập mặc định cho Desktop */
.field-wrapper-mobile {
  display: none;
}
.field-wrapper-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}
.field-text-item {
  white-space: nowrap;
}

/* Điều chỉnh khi ở Mobile */
@media (max-width: 768px) {
  .field-wrapper-desktop {
    display: none;
  }
  .field-wrapper-mobile {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
  }
  .field-text-item {
    font-size: 14px;
  }
}

.more-items-btn-new {
  padding: 2px 6px;
  border-radius: 4px;
  background-color: #f4f5f5;
  cursor: pointer;
  font-size: 12px;
  color: #434242;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: 500;
}

.hidden-items-popup-new {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 5px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  flex-direction: column;
  gap: 5px;
}

/* Hover để hiện popup (Desktop) */
@media (min-width: 769px) {
  .more-items-btn-new:hover .hidden-items-popup-new {
    display: flex;
  }
  .more-items-btn-new:hover {
    background-color: #f07e1d;
    color: #fff;
  }
}

/* Active class cho Mobile click */
.more-items-btn-new.active .hidden-items-popup-new {
  display: flex;
}

.hidden-items-popup-new span {
  font-size: 13px;
  color: #333;
  padding: 4px 8px;
  white-space: nowrap;
  display: block;
}
.hidden-items-popup-new span:hover {
  background-color: #f07e1d;
  border-radius: 4px;
  color: #fff;
}

/* Logic Intro 4 dòng */
.cmp-intro-text {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cmp-read-more {
  color: var(--primary-orange);
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
  display: inline-block;
}

/* --- CMP-SIDEBAR: Contact & Map --- */
.cmp-sidebar-sticky {
  position: -webkit-sticky; /* Cho Safari */
  position: sticky;
  z-index: 10;
}

.cmp-contact-list .item {
  display: flex;
  margin-bottom: 15px;
}
.cmp-social-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.cmp-social-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.cmp-map-frame {
  width: 100%;
  height: 200px;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cmp-logo-box {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .cmp-info-box {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .cmp-actions {
    margin-top: 15px;
    width: 100%;
    justify-content: center;
  }
  .cmp-grid-info {
    grid-template-columns: 1fr;
  }
}

/* --- CMP-SIDEBAR NEW STYLE --- */
.cmp-sidebar-box {
  background: #fff;
  border: 1px solid #e5e7eb; /* Màu viền chung */
  border-radius: 12px; /* Bo góc cả khối */
  margin-bottom: 24px;
  overflow: hidden; /* Để header không bị lòi ra khỏi bo góc */
}

/* Phần Tiêu đề (Header) */
.cmp-sidebar-header {
  background: #f9fafb; /* Màu nền xám nhạt theo yêu cầu */
  padding: 16px; /* Padding 16px */
  border-bottom: 1px solid #e5e7eb; /* Viền ngăn cách với body */
  border-radius: 12px 12px 0 0; /* Bo góc trên theo yêu cầu */
}

.cmp-sidebar-title {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
}

/* Phần Nội dung (Body) */
.cmp-sidebar-body {
  padding: 16px; /* Padding nội dung 16px */
}

/* Các item liên hệ */
.cmp-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}
.cmp-contact-item:last-child {
  margin-bottom: 0;
}

.cmp-icon-box {
  width: 40px;
  height: 40px;
  background: #f3f4f6; /* Màu nền icon xám xanh nhạt */
  border-radius: 50%; /* Tròn */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}
.cmp-icon-box img {
  max-width: 100%;
  height: auto;
}

.cmp-info-text {
  display: flex;
  flex-direction: column;
}
.cmp-label {
  color: var(--Disable_button, #8c8c8c);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 4px;
}
.cmp-value {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: capitalize;
}

/* Phần Chia sẻ */
.cmp-share-section {
  margin-top: 20px;
}
.cmp-share-label {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 12px;
  display: block;
}
.cmp-social-list {
  display: flex;
  gap: 12px;
}
.cmp-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px; /* Bo góc nhẹ cho nút social */
  background: #f9fafb;
  border: 1px solid #e5e7eb; /* Viền mỏng */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.cmp-social-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

/* --- CSS CHUNG --- */
.cmp-divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 24px -24px;
}

/* --- CSS TAGS --- */
.cmp-tag-section {
  margin-bottom: 0;
}

.cmp-tag-pill {
  background-color: #f3f4f6;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
  color: #434343;
  text-align: center;
  font-family: Inter;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
  box-sizing: border-box;
}
/* Chiều cao 1 tag = 20px (line-height) + 12px (padding) + 2px (border) = 34px */

.cmp-tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 5px;
  overflow: hidden;
  /* Tính toán: 2 dòng * 34px + 1 dòng gap 8px = 76px */
  max-height: 61px;
  transition: max-height 0.3s ease-out;
  position: relative;
}

.cmp-tag-container.expanded {
  max-height: 2000px; /* Đủ lớn để hiện hết */
}

/* --- CSS INTRO TEXT --- */
.cmp-intro-text {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}
.cmp-intro-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cmp-intro-text.expanded {
  display: block;
  overflow: visible;
}

/* --- BUTTON XEM THÊM / THU GỌN --- */
.cmp-btn-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #f07e1d;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  background: none;
  border: none;
  padding: 0;
}
.cmp-btn-hidden {
  display: none !important;
} /* Mặc định ẩn nút */

/* --- CSS CAROUSEL --- */
.cmp-image-gallery .cmp-image-item {
  border-radius: 12px;
  overflow: hidden;
}

.cmp-image-gallery .cmp-image-item img {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cmp-image-gallery {
  width: 100%;
  position: relative;
  padding-bottom: 10px;
  overflow: visible;
}
.cmp-image-gallery .owl-carousel {
  overflow: visible !important;
}
.cmp-image-gallery .owl-stage-outer {
  overflow: hidden;
  border-radius: 8px;
}
.cmp-image-item {
  background: #f0f0f0;
  height: 200px;
  position: relative;
  border-radius: 12px;
}
.cmp-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Force hiển thị nav/dots khi có class has-real-images */
.cmp-image-gallery.has-real-images .owl-nav,
.cmp-image-gallery.has-real-images .owl-dots,
.owl-carousel.has-real-images .owl-nav,
.owl-carousel.has-real-images .owl-dots {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Đảm bảo dots với class company-carousel-dots cũng hiển thị */
.owl-carousel.has-real-images .company-carousel-dots {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Đảm bảo nav buttons luôn hiển thị */
.has-real-images .owl-nav button.owl-prev,
.has-real-images .owl-nav button.owl-next {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.has-real-images .owl-nav button.owl-prev,
.has-real-images .owl-nav button.owl-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-70%);
  width: 32px !important;
  height: 32px !important;
  background: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0f0f0 !important;
  z-index: 50;
  margin: 0 !important;
  cursor: pointer !important;
}
.has-real-images .owl-nav button.owl-prev:hover,
.has-real-images .owl-nav button.owl-next:hover {
  background: #f9f9f9 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}
.has-real-images .owl-nav button.owl-prev {
  left: -18px !important;
}
.has-real-images .owl-nav button.owl-next {
  right: -18px !important;
}
.has-real-images .owl-nav button svg {
  width: 9px;
  height: 13px;
  display: block;
}
.has-real-images .owl-dots {
  text-align: center;
  margin-top: 15px;
  width: 100%;
  display: flex !important;
  justify-content: center;
  gap: 8px;
}
.has-real-images button.owl-dot span {
  width: 10px;
  height: 10px;
  background-color: #e5e7eb !important;
  display: block;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin: 0 !important;
}
.has-real-images button.owl-dot.active span {
  background-color: #c4c4c4 !important;
}

/* Map */
.cmp-map-wrapper {
  width: 100%;
  height: 180px;
  background: #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CSS điều chỉnh khung Map */
.cmp-map-direct {
  width: 100%;
  height: 250px; /* Chiều cao bản đồ */
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.cmp-map-direct iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Job section */
.job-section {
  margin-bottom: 24px;
}

.job-section-title {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 23.4px */
  text-transform: capitalize;
  margin: 0 0 16px 0;
}

/* Box bao quanh mỗi Job Item -> Tạo thành Card */
.job-card-item {
  background: #fff;
  border: 1px solid #e5e7eb; /* Viền mỏng màu xám */
  border-radius: 12px; /* Bo góc */
  padding: 20px; /* Khoảng cách nội dung */
  margin-bottom: 16px; /* Khoảng cách giữa các card */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Bóng nhẹ */
  transition: all 0.3s ease;
  position: relative;
}
.job-card-item:hover {
  border-color: #f07e1d; /* Hover viền cam */
  box-shadow: 0 4px 12px rgba(240, 126, 29, 0.1);
}

/* Nút Xem tất cả */
.btn-job-see-all {
  display: inline-flex; /* Dùng flex để căn giữa chữ trong khung cố định */
  align-items: center;
  justify-content: center;
  width: 104px; /* Width cố định */
  height: 37px; /* Height cố định */
  border: 1px solid #f07e1d;
  border-radius: 8px;
  color: #f07e1d;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  text-align: center;
  text-decoration: none;
}
.btn-job-see-all:hover {
  background: #f07e1d;
  color: #fff;
  text-decoration: none;
}

/* --- STYLE CHO TAGS (TỪ KHÓA / KỸ NĂNG) --- */
.cmp-white-box-tag {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.cmp-tag-title {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 23.4px */
  text-transform: capitalize;
  margin-bottom: 16px;
}

/* --- CSS CẤU TRÚC CHÍNH --- */
.cmp-rating-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 24px;
  padding: 0;
}

/* Header Box */
.cmp-rating-box-header {
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 16px 24px;
}

.cmp-rating-box-title {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 18px;
  font-weight: 700;
  text-transform: capitalize;
}

.cmp-rating-box-body {
  padding: 24px;
}

/* --- Layout Form / Stats --- */
.cmp-dashboard-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.cmp-col-form {
  flex: 1.5;
  min-width: 300px;
}

.cmp-col-stats {
  flex: 1;
  min-width: 250px;
}

/* --- FORM VIẾT ĐÁNH GIÁ --- */
.cmp-form-top-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.cmp-form-label {
  color: var(--character-title-85, rgba(0, 0, 0, 0.85));
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  margin-right: 16px;
}

.rating-input-group {
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.rating-input-group input {
  display: none;
}

.rating-input-group label {
  cursor: pointer;
  display: flex;
}
.rating-input-group label:hover svg path,
.rating-input-group label:hover ~ label svg path,
.rating-input-group input:checked ~ label svg path {
  fill: #faca15;
  stroke: #faca15;
}

/* Textarea */
.cmp-review-textarea {
  width: 100%;
  background: #fafafa !important;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 15px;
  font-size: 14px;
  color: #333;
  min-height: 100px;
  margin-bottom: 10px;
  resize: none;
  font-family: "Inter", sans-serif;
}

/* Placeholder */
.cmp-review-textarea::placeholder {
  color: #bfbfbf;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
}

/* Focus */
.cmp-review-textarea:focus,
textarea:focus {
  border-color: #f07e1d !important;
  outline: none !important;
  box-shadow: none !important;
}

.cmp-review-note {
  color: var(--character-title-85, rgba(0, 0, 0, 0.85));
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 16px;
}

.cmp-btn-submit {
  background: #f07e1d;
  border: none;
  border-radius: 6px;
  padding: 8px 24px;
  cursor: pointer;
  transition: 0.2s;
  color: var(--white, var(--white, #fff));
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px;
}

.cmp-btn-submit:disabled {
  background: #fcdcc4;
  cursor: not-allowed;
}

.cmp-btn-submit:not(:disabled):hover {
  background: #d66b15;
}

#stat-progress-container {
  margin-top: 12px;
}

/* --- THỐNG KÊ SAO --- */
.cmp-stats-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cmp-stats-stars {
  display: flex;
  gap: 2px;
}

.cmp-stats-score,
.cmp-stats-total {
  color: var(--Disable_button, #8c8c8c);
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
}

.cmp-stat-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}

.cmp-stat-label {
  color: var(--blue-600, #1c64f2);
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
}

.cmp-stat-bar-bg {
  flex: 1;
  height: 7px;
  background: #f3f4f6;
  border-radius: 2px;
  margin: 0 8px 0 12px;
  overflow: hidden;
}

.cmp-stat-bar-fill {
  height: 100%;
  background: #faca15;
  border-radius: 2px;
}

.cmp-stat-percent {
  width: 38px;
  text-align: right;
  color: var(--Disable_button, #8c8c8c);
  font-family: Inter;
  font-size: 14px;
}

/* --- LỌC REVIEW + TITLE --- */
.cmp-review-filter-box {
  border-radius: 8px;
  background: #f9fafb;
  padding: 16px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.cmp-list-title {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 16px;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 16px;
}

.cmp-filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cmp-filter-btn {
  background: #fff;
  padding: 6px 16px;
  border-radius: 6px;
  color: #434343;
  font-family: Inter;
  font-size: 14px;
  cursor: pointer;
  text-transform: capitalize;
}

.cmp-filter-btn:hover {
  background: var(--Primary-JS, #f07e1d);
  color: #fff;
  border-radius: 6px;
}

.cmp-filter-btn.active {
  border: 1px solid var(--Primary-JS, #f07e1d);
  background: #fff8f1;
  border-radius: 6px;
  color: #434343;
  text-align: center;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
}

/* --- REVIEW ITEM --- */
.cmp-review-container {
  border-top: 1px solid #e5e7eb;
  padding-top: 0;
}

.cmp-review-item {
  display: grid !important; /* Ép hiển thị grid */
  grid-template-columns: 48px 1fr; /* Cột 1: Avatar, Cột 2: Header */
  column-gap: 12px;
  row-gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
}

.cmp-review-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cmp-review-avatar {
  grid-column: 1;
  grid-row: 1;
  width: 48px;
  height: 48px;
  background: #ebf5ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cmp-review-avatar svg {
  width: 24px;
  height: 24px;
  color: #007bff;
}

.cmp-review-body {
  flex: 1;
}

.cmp-review-header {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.cmp-review-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cmp-review-stars-static {
  display: flex;
  gap: 2px;
}

.cmp-review-name {
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 8px;
}

.cmp-review-stars-static {
  display: flex;
  gap: 1px;
}

.cmp-review-date {
  color: var(--Text_secondnary, #bfbfbf);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: block;
}

.cmp-review-content {
  grid-column: 1 / 3;
  word-break: break-word;
  margin: 0;
  color: var(--Text_primary, #333);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Pagination */
.cmp-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 24px;
}

.cmp-page-btn {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  border: 1px solid var(--Neutral-5, #d9d9d9);
  background: var(--Neutral-1, #fff);
  cursor: pointer;
  color: var(--character-title-85, rgba(0, 0, 0, 0.85));
  text-align: center;

  /* Body/regular */
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 157.143% */
}

.cmp-page-btn:hover:not(:disabled) {
  background: #f5f5f5;
}

.cmp-page-btn.active {
  border-radius: 6px;
  border: 1px solid var(--Primary-6, #1890ff);
  background: var(--Neutral-1, #fff);
  color: var(--Primary-6, #1890ff);
  text-align: center;

  /* Body/medium */
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 157.143% */
}

.cmp-page-btn:disabled {
  color: #d9d9d9;
  border: 1px solid var(--Neutral-5, #d9d9d9);
  cursor: default;
}

/* Mobile */
@media (max-width: 768px) {
  .cmp-dashboard-wrapper {
    flex-direction: column;
    gap: 24px;
  }

  .cmp-col-stats {
    border-left: none;
    padding-left: 0;
  }
}

/* --- MOBILE RESPONSIVE FIX --- */
@media (max-width: 768px) {
  .job-section {
    margin-bottom: 16px;
    background-color: #fff;
  }

  .job-section-title {
    padding: 16px;
    margin: 0;
  }

  /* Biến nút thành full width 100% */
  .btn-job-see-all {
    width: calc(100% - 32px); /* Bắt buộc full width */
    max-width: 100%;
    margin: 0 16px 16px;
  }

  .has-real-images .owl-nav button.owl-prev {
    left: -10px !important;
  }
  .has-real-images .owl-nav button.owl-next {
    right: -10px !important;
  }
}

/* Dots/Pagination với class mới */
.owl-carousel .company-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.owl-carousel .company-carousel-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  outline: none;
}

.owl-carousel .company-carousel-dot span {
  display: none;
}

@media (max-width: 767px) {
  .owl-carousel .company-carousel-dots {
    display: flex !important;
  }
}

/* Kích thước ảnh mobile */
@media (max-width: 767px) {
  .cmp-image-gallery .cmp-image-item {
    height: 118px;
  }

  .cmp-image-gallery .cmp-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Căn giữa mũi tên với ảnh ở mobile */
  .cmp-image-gallery .owl-nav:not(.disabled) {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex !important;
    justify-content: space-between;
    pointer-events: none;
  }

  .cmp-image-gallery .owl-nav:not(.disabled) button {
    pointer-events: all;
    position: relative;
    background: rgba(255, 255, 255, 0.9) !important;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* Desktop navigation */
@media (min-width: 768px) {
  .cmp-image-gallery {
    position: relative;
  }

  .cmp-image-gallery .owl-nav button {
    background: rgba(255, 255, 255, 0.9) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Dots styling */
.company-carousel-dots {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.company-carousel-dot {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.company-carousel-dot:hover {
  opacity: 0.8;
}

/* Navigation Arrows */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

@media (max-width: 768px) {
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next {
    transform: translateY(-80%);
  }
}

.owl-carousel .owl-nav button.owl-prev {
  left: -16px;
}

.owl-carousel .owl-nav button.owl-next {
  right: -16px;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background: #f9fafb !important;
  border-color: #d1d5db !important;
}

.owl-carousel .owl-nav button span {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .owl-carousel .owl-nav.disabled {
    display: none !important;
  }

  .owl-carousel.has-real-images .owl-nav:not(.disabled),
  .cmp-image-gallery .owl-carousel.has-real-images .owl-nav:not(.disabled) {
    display: flex !important;
  }
}
