/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/




/* 5 BUOC DESKTOP + TABLET (mặc định) */
.aixh-process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin: 0;
  padding: 0 3px; /* cho tablet đỡ sát mép */
}

.aixh-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;          /* cho phép co lại để chữ xuống hàng */
  text-align: center;
  font-family: inherit;
}

.aixh-step-circle {
  width: 58px;           /* đúng yêu cầu: 58 x 58 */
  height: 58px;
  line-height: 58px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #d9fff5;
  color: #00a89b;
  font-size: 22px;
  font-weight: 600;
}

.aixh-step-text {
  font-size: 15px;
  line-height: 1.4;
  color: #1a2c4a;
}

/* Mũi tên giữa các bước */
.aixh-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;          /* giữa vòng tròn 58px */
  right: -26px;
  width: 22px;
  height: 1px;
  background: #d3d7dd;
}

.aixh-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 24px;
  right: -26px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #d3d7dd;
}

/* TABLET: 768–1024px 
   - Vẫn 1 hàng 5 bước
   - Thu hẹp gap, cho chữ xuống hàng
*/
@media (max-width: 1024px) and (min-width: 768px) {
  .aixh-process-steps {
    gap: 16px;
  }

  .aixh-step {
    flex: 1 1 0;
  }

  .aixh-step-text {
    font-size: 14px;
  }

  .aixh-step-circle {
    margin-bottom: 8px;
  }

  .aixh-step:not(:last-child)::after {
    right: -20px;
    width: 18px;
  }

  .aixh-step:not(:last-child)::before {
    right: -20px;
  }
}

/* MOBILE: <= 767px
   - Xếp dọc
   - Vòng tròn trên, chữ dưới (giống hình mày gửi)
   - Không dùng mũi tên
*/
@media (max-width: 767px) {
  .aixh-process-steps {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 24px auto 32px;
  }

  .aixh-step {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .aixh-step-circle {
    margin: 0 auto 8px;
  }

  .aixh-step-text {
    font-size: 14px;
  }

  .aixh-step::before,
  .aixh-step::after {
    display: none; /* ẩn mũi tên */
  }
}

/* Mobile nhỏ hơn nữa nếu cần */
@media (max-width: 480px) {
  .aixh-process-steps {
    padding: 0 8px;
  }

  .aixh-step-text {
    font-size: 13px;
  }
}



/* ===== FORM CF7 TỔNG THỂ ===== */
.cf7-career-form {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	padding: 0px;
	margin-bottom: 2px !important;
	max-width: 720px;
}

.cf7-career-form .wpcf7-form {
  max-width: 720px;
  margin: 0 auto;
}


/* ===== LABEL ===== */
.cf7-career-form .cf7-field-label {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

/* ===== INPUT / SELECT / TEXTAREA ===== */
.cf7-career-form .cf7-input,
.cf7-career-form .wpcf7-text,
.cf7-career-form .wpcf7-email,
.cf7-career-form .wpcf7-tel,
.cf7-career-form select.wpcf7-select,
.cf7-career-form .wpcf7-textarea {
  width: 100%;
  margin-bottom: 2px !important;
  box-sizing: border-box;
  padding: 1px 14px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #111827;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.cf7-career-form .cf7-input::placeholder,
.cf7-career-form .wpcf7-textarea::placeholder {
  color: #9ca3af;
}

.cf7-career-form .cf7-input:focus,
.cf7-career-form .wpcf7-textarea:focus,
.cf7-career-form select.wpcf7-select:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.25);
}

/* ===== SELECT: VỊ TRÍ ỨNG TUYỂN ===== */
.cf7-career-form select.wpcf7-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #9ca3af 50%),
    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

/* ===== TEXTAREA: GHI CHÚ THÊM ===== */
.cf7-career-form .wpcf7-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== FILE CV: NÚT GIẢ + INPUT THẬT ẨN ===== */
.cf7-career-form span.wpcf7-form-control-wrap[data-name="file-cv"] {
  position: relative;
  display: block;
  margin-top: 4px;
}

/* input file thật – phủ toàn bộ vùng, nhưng ẩn */
.cf7-career-form input.wpcf7-file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* nút giả phía ngoài */
.cf7-career-form span.wpcf7-form-control-wrap[data-name="file-cv"]::before {
  content: "⤴  File PDF or DOC";
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #111827;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  white-space: nowrap;
}

/* ===== SUBMIT: NÚT TEAL + ICON SVG ===== */
.cf7-career-form .wpcf7-submit {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 8px;
  
  /* Padding cân bằng, hoàn hảo cho icon-ký-tự */
  padding: 1px 18px; 
  
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Sẽ tạo khoảng cách giữa "➤" và "Gửi hồ sơ..." */

  font-size: 15px;
  font-weight: 500;
  text-transform: unset;
  letter-spacing: unset;

  background-color: #009689;
  color: #ffffff; /* Icon "➤" sẽ tự động nhận màu trắng này */
  cursor: pointer;

  box-shadow: 0 8px 18px rgba(2, 150, 164, 0.5);

  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
}

/* --- ĐÃ XÓA --- */
/* Khối CSS cho .wpcf7-submit::before đã được xóa 
   vì chúng ta không còn dùng nó nữa */

/* Các hiệu ứng :hover và :active vẫn giữ nguyên */
.cf7-career-form .wpcf7-submit:hover {
  background-color: #009689;
  box-shadow: 0 10px 22px rgba(2, 150, 164, 0.65);
  transform: translateY(-1px);
}

.cf7-career-form .wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(2, 150, 164, 0.5);
}

/* ===== THÔNG BÁO CF7 ===== */
.cf7-career-form .wpcf7-response-output {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
}

@media (max-width: 767px) {
.cf7-career-form {
	padding: 0 19px;
	}
}




/* ===== BẢNG GIÁ ===== */
.aixh-ps-table-wrap {
  width: 100%;
  overflow-x: auto;
}

/* Bảng chính */
.aixh-ps-table {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important; /* xoá border ngoài của theme */=
}

/* Reset border cho TẤT CẢ ô trong bảng này */
.aixh-ps-table th,
.aixh-ps-table td {
  text-align: left;
  padding: 15px;
  white-space: nowrap;
  border: 0 !important;
  text-transform: unset !important;
  letter-spacing: normal !important;
  font-size: 1.0em !important;
}

/* CHỈ DÒNG 1 (thead) có line ở dưới */
.aixh-ps-table thead tr th,
.aixh-ps-table thead tr td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Dòng 2: “Giá / tháng” bình thường, không line */
.aixh-ps-table tbody th {
  font-weight: 400;
}

/* Mobile vẫn là bảng, chỉ cần kéo ngang */
@media (max-width: 767px) {
  .aixh-ps-table {
    min-width: 640px;
  }
}





/* ==== FORM FLAT SUBSCRIBE ==== */

.form-flat {
  width: 100%;                 /* ăn hết khu vực chứa */
  margin: 0 auto;
  display: flex;
  justify-content: center;     /* canh giữa khối form */
}

/* bỏ <br> phá layout ngang */
.form-flat p br {
  display: none;
}

/* Hàng input + nút */
.form-flat p {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  justify-content: center;
}

/* Chiều cao & bo góc dùng chung cho cả input + nút */
.form-flat input[type="email"],
.form-flat .wpcf7-submit.button {
  min-height: 52px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

/* Ô email – chiếm hết phần còn lại */
.form-flat input[type="email"] {
  flex: 1 1 auto;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  padding: 0 18px;
  background-color: #ffffff;
  color: #111827;
  outline: none;
  box-shadow: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.form-flat input[type="email"]::placeholder {
  color: #9ca3af;
}

.form-flat input[type="email"]:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.25);
}

/* Nút submit – teal, cùng chiều cao với input */
.form-flat .wpcf7-submit.button {
  flex: 0 0 auto;
  padding: 0 32px;
  border: none;
  background-color: #009689 !important;
  color: #ffffff !important;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(2, 150, 164, 0.55);
  cursor: pointer;
}

.form-flat .wpcf7-submit.button:hover {
  background-color: #008578 !important;
  box-shadow: 0 14px 34px rgba(2, 150, 164, 0.7);
}

/* Cho hàng form làm mốc để định vị spinner */
.form-flat p {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  position: relative;              /* THÊM DÒNG NÀY */
}

/* Đưa spinner ra khỏi flex-flow, overlay nhẹ bên phải nút */
.form-flat .wpcf7-spinner {
  position: absolute;
  right: 8px;                      /* chỉnh xa/gần nút tuỳ ý */
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  pointer-events: none;
}


/* Mobile: ép nút xuống dòng, full width, giữ chiều cao đẹp */
@media (max-width: 640px) {
  .form-flat p {
    flex-direction: column;
    align-items: stretch;
	gap: 4px;
  }

  .form-flat .wpcf7-submit.button {
    width: 100%;
  }
}



