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




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

.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: 4px 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: #0296a4;
  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;
}

/* Các hiệu ứng :hover và :active */
.cf7-career-form .wpcf7-submit:hover {
  background-color: #017c88;
  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;
}