/* Trang tuyển dụng */

.recruitment-form-file {
  margin-top: 20px;
}

.recruitment-form-file ul {
  background-color: #e0ecff;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-right: 10px;

  list-style: none; /* RẤT QUAN TRỌNG: Xóa dấu chấm mặc định */
  padding-left: 0; /* RẤT QUAN TRỌNG: Xóa padding mặc định của ul để item có thể căn lề */
  margin: 0; /* Tùy chọn: Xóa margin mặc định của ul */
}

.recruitment-form-file ul li {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;

  font-size: 18px;
  background-color: #ffffff;
  border: 1px solid #70a0cb;
  font-weight: 500;
  color: #005498;
  /* Để dấu chấm tùy chỉnh nằm trong border */
  position: relative; /* RẤT QUAN TRỌNG: Thiết lập ngữ cảnh định vị cho ::before */
  padding-left: 25px; /* RẤT QUAN TRỌNG: Tạo không gian cho dấu chấm bên trong border */
  /* Điều chỉnh giá trị này để có khoảng cách phù hợp giữa dấu chấm và nội dung */
}

.recruitment-form-file a {
  color: inherit; /* Kế thừa màu từ thẻ cha (văn bản thường) */
  text-decoration: none; /* Bỏ gạch chân */
}

.recruitment-form-file a:hover {
  color: #fff;
}

.recruitment-form-file ul li:hover {
  color: #ffffff; /* Màu của dấu chấm tùy chỉnh */
  background-color: #005498;
}

.recruitment-list {
  margin-top: 20px;
}

.recruitment-list-title {
  text-transform: uppercase;
}
.recruitment-list-menu ul {
  background-color: #e0ecff;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-right: 10px;

  list-style: none; /* RẤT QUAN TRỌNG: Xóa dấu chấm mặc định */
  padding-left: 0; /* RẤT QUAN TRỌNG: Xóa padding mặc định của ul để item có thể căn lề */
  margin: 0; /* Tùy chọn: Xóa margin mặc định của ul */
}

.recruitment-list-menu ul li {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;

  font-size: 18px;
  background-color: #ffffff;
  border: 1px solid #70a0cb;
  font-weight: 500;
  color: #005498;
  /* Để dấu chấm tùy chỉnh nằm trong border */
  position: relative; /* RẤT QUAN TRỌNG: Thiết lập ngữ cảnh định vị cho ::before */
  padding-left: 25px; /* RẤT QUAN TRỌNG: Tạo không gian cho dấu chấm bên trong border */
  /* Điều chỉnh giá trị này để có khoảng cách phù hợp giữa dấu chấm và nội dung */
}

.recruitment-list-menu ul li a {
  color: inherit; /* Thẻ a sẽ kế thừa màu chữ từ thẻ li cha của nó */
  /* Nếu li có màu #005498, a cũng sẽ có màu đó. */
  text-decoration: none; /* RẤT QUAN TRỌNG: Loại bỏ gạch chân mặc định */
  cursor: pointer; /* Đảm bảo con trỏ chuột vẫn hiển thị hình bàn tay khi di qua (mặc định của a) */
  /* Thuộc tính này thường không cần thiết vì đây là hành vi mặc định, nhưng nó giúp làm rõ ý định. */
}

/* Ẩn ::marker mặc định vì chúng ta sẽ tạo dấu chấm tùy chỉnh */
.recruitment-list-menu ul li::marker {
  content: none; /* Đảm bảo marker mặc định không hiển thị */
}

/* Tạo dấu chấm tùy chỉnh bằng ::before */
.recruitment-list-menu ul li::before {
  content: "•"; /* Nội dung của dấu chấm. Có thể dùng "•", "➤", hoặc ký tự Unicode khác */
  color: green; /* Màu của dấu chấm tùy chỉnh */
  position: absolute; /* Định vị tuyệt đối so với li */
  left: 10px; /* Vị trí của dấu chấm từ lề trái của border */
  top: 50%; /* Đặt dấu chấm ở giữa theo chiều dọc */
  transform: translateY(-50%); /* Căn giữa chính xác theo chiều dọc */
  font-size: 1.2em; /* Kích thước của dấu chấm, tương đối với font-size của li */
  line-height: 1; /* Đảm bảo chiều cao dòng không ảnh hưởng đến vị trí */
}

.recruitment-list-menu ul li:hover {
  color: #ffffff; /* Màu của dấu chấm tùy chỉnh */
  background-color: #005498;
}

/* Trang nhóm tin tức */

.recruitment-list-detail {
  min-height: 0; /* Đảm bảo min-height không giới hạn nó nếu có */
  overflow: hidden; /* Quan trọng để chứa các float con nếu có, hoặc để tự căn chỉnh */
}

.group-recruitment-title {
  font-weight: 650;
  padding-top: 3px;
  padding-left: 10px;
  width: 100%;
  height: 30px;
  color: #ffffff;
  background-color: #0aaf50;
}

.recruitment-child-title-pic {
  display: block;
  margin-bottom: 15px;
  width: 100%; /* Luôn full chiều ngang của div cha */
}

.recruitment-child-title-pic img {
  width: 100%; /* Luôn full chiều ngang của div cha */
  height: 150px; /* Chiều cao cố định là 100px */
  object-fit: cover; /* Quan trọng: Tự động cắt ảnh để lấp đầy kích thước định sẵn */
  display: block; /* Vẫn giữ display: block để loại bỏ khoảng trống dưới ảnh */
}

.recruitment-child-excerpt {
  text-align: justify;
  margin-top: 10px;
  padding-right: 20px;
}

.recruitment-child-title {
  font-weight: 600;
}

.group-recruitment-detail {
  padding-top: 10px;
  padding-left: 10px;
  background-color: #f2f2f2;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.recruitment-child-title-sub {
  font-weight: 600;
}

.job-container {
  margin-top: 10px;
}

/* --- Container bọc ngoài cho bảng --- */
.job-table-container {
  width: 100%;
  overflow-x: auto; /* Giúp bảng có thể cuộn ngang trên màn hình nhỏ */
}

/* --- Cấu trúc bảng chung --- */
table {
  width: 100%;
  border-collapse: separate; /* THAY ĐỔI TỪ collapse */
  border-spacing: 1px 0; /* THÊM DÒNG NÀY */
  background-color: #fff; /* THÊM DÒNG NÀY */
  font-family: Arial, sans-serif;
  font-size: 14px;
}

/* --- Định dạng chung cho các ô header và ô dữ liệu --- */
th,
td {
  padding: 12px 15px; /* Khoảng cách bên trong mỗi ô */
  text-align: left; /* Căn chữ về bên trái */
}

/* --- Header của bảng (dòng màu xanh) --- */
thead th {
  background-color: #2980b9; /* Màu xanh dương như trong hình */
  color: #ffffff; /* Chữ màu trắng */
  font-weight: bold; /* In đậm chữ */
}

/* --- Định dạng cho các dòng dữ liệu --- */
tbody tr:nth-child(even) {
  background-color: #f2f2f2; /* Tạo hiệu ứng màu xen kẽ (zebra-striping) */
}

/* --- Định dạng riêng cho các cột đặc biệt --- */
.col-stt {
  text-align: center; /* Căn giữa cho cột STT */
  width: 5%; /* Giảm độ rộng cột STT */
}

td a {
  color: #2980b9;
  text-decoration: none; /* Bỏ gạch chân của link */
  font-weight: bold;
}

td a:hover {
  text-decoration: underline; /* Thêm lại gạch chân khi di chuột qua link */
}

/* --- Bố cục tổng thể & Font chữ --- */
.application-form-container {
  max-width: 650px;
  margin: 40px auto;
  padding: 30px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-header h2 {
  font-size: 24px;
  margin-bottom: 25px;
  text-align: center;
  color: #2c3e50;
  font-weight: 600;
}

/* --- Bố cục một cột hiện đại --- */
.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block; /* Label nằm trên một dòng riêng */
  margin-bottom: 8px;
  color: #34495e;
  font-weight: 600;
  font-size: 14px;
}

.form-row label span.required {
  font-weight: normal;
  color: #95a5a6;
  font-size: 0.9em;
}

/* --- Giao diện các ô nhập liệu --- */
.form-control input[type="text"],
.form-control input[type="email"],
.form-control input[type="fax"],
.form-control input[type="tel"],
.form-control select,
.form-control textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 15px;
  color: #495057;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Hiệu ứng khi focus (nhấp vào) --- */
.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

/* --- Giao diện phần upload file --- */
.form-control input[type="file"] {
  font-size: 14px;
}

.file-uploads .delete-link {
  color: #e74c3c;
  text-decoration: none;
  font-size: 13px;
  margin-left: 15px;
}
.file-uploads .delete-link:hover {
  text-decoration: underline;
}

.file-uploads .file-note {
  font-size: 13px;
  color: #7f8c8d;
  margin-top: 10px;
}

/* --- Giao diện các nút bấm --- */
.form-buttons {
  margin-top: 30px;
  display: flex; /* Sắp xếp các nút trên cùng 1 hàng */
  gap: 15px; /* Tạo khoảng cách giữa các nút */
}

.form-buttons button {
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.form-buttons button:hover {
  transform: translateY(-2px); /* Hiệu ứng nhấc lên nhẹ khi di chuột */
}

/* Nút chính - Gửi */
.form-buttons button[type="submit"] {
  background-color: #3498db;
  color: white;
  flex-grow: 1; /* Nút Gửi sẽ lớn hơn */
}
.form-buttons button[type="submit"]:hover {
  background-color: #2980b9;
}

/* Nút phụ - Làm lại */
.form-buttons button[type="reset"] {
  background-color: #ecf0f1;
  color: #34495e;
}
.form-buttons button[type="reset"]:hover {
  background-color: #bdc3c7;
}
/* --- Tinh chỉnh nhỏ cho form Bootstrap --- */

/* Đảm bảo label và input có cùng kích thước font */
.form-label {
  font-size: 0.95rem;
}

/* Đổi màu chữ "(cần thiết)" một chút cho dịu mắt */
.form-label small.text-muted {
  font-weight: normal;
}
.btn {
  margin-left: 10px;
}

.thank-you {
  text-align: center;
}
/* --- Khung chứa nội dung chính --- */
.thank-you-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 40px 50px;
  max-width: 550px;
  /* Canh giữa theo chiều ngang */
  margin: 40px auto;
  animation: fadeIn 0.5s ease-in-out;
}

/* --- Biểu tượng dấu tick --- */
.success-icon {
  width: 80px;
  height: 80px;
  background-color: #eaf7f0;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: #2ecc71;
}

/* --- Tiêu đề và nội dung --- */
.thank-you-container h1 {
  font-size: 28px;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
}

.thank-you-container p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #5a687b;
}

/* --- Nút bấm quay về trang chủ --- */
.back-home-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #3498db;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-home-btn:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

/* --- Hiệu ứng xuất hiện --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.recruitment-detail-title {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 25px;
  font-weight: 600;
}

.recruitment-detail table {
  width: 100%;
}

.recruitment-detail table tr td {
  background-color: #fff;
  padding: 5px 12px;
}

.recruitment-apply {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.recruitment-apply-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #005498;
  color: #fff;
  height: 50px;
  width: 200px;
}

.recruitment-apply a {
  color: inherit; /* Thẻ a sẽ kế thừa màu chữ từ thẻ li cha của nó */
  /* Nếu li có màu #005498, a cũng sẽ có màu đó. */
  text-decoration: none; /* RẤT QUAN TRỌNG: Loại bỏ gạch chân mặc định */
  cursor: pointer; /* Đảm bảo con trỏ chuột vẫn hiển thị hình bàn tay khi di qua (mặc định của a) */
}

.recruitment-other-title {
  color: #005498;
}

.apply-form {
  margin-top: 20px;
}
