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

/*************** ADD CUSTOM CSS HERE.   ***************/
/* Container chính cho Form Our Team */
.team-cf7-form {
  background-color: #f7f4f0; /* Nền kem nhạt */
  padding: 40px;
  max-width: 750px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Cấu trúc dòng và cột */
.team-cf7-form .team-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
}

.team-cf7-form .team-form-row.align-center {
  align-items: flex-end;
}

.team-cf7-form .team-form-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Nhãn (Label) */
.team-cf7-form label {
  font-size: 14px;
  color: #65503e; /* Mã màu chủ đạo #65503e */
  margin-bottom: 6px;
  font-weight: 400;
}

/* Ô nhập liệu (Input, Select, Textarea) */
.team-cf7-form input[type="text"],
.team-cf7-form input[type="email"],
.team-cf7-form input[type="tel"],
.team-cf7-form select,
.team-cf7-form textarea {
  width: 100%;
  background-color: #f9f8f6;
  border: 1px solid #65503e !important; /* Mã màu viền #65503e */
  border-radius: 0px;
  padding: 2px 12px;
  font-size: 14px;
  color: #333;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.team-cf7-form input[type="text"]:focus,
.team-cf7-form input[type="email"]:focus,
.team-cf7-form input[type="tel"]:focus,
.team-cf7-form select:focus,
.team-cf7-form textarea:focus {
  border-color: #4a3a2c !important;
  background-color: #ffffff;
}

/* Khung Message */
.team-cf7-form textarea {
  height: 120px;
  resize: vertical;
}

/* Styling cho Checkbox Join our mailing list */
.team-cf7-form .team-checkbox-col {
  justify-content: flex-end;
  padding-bottom: 10px;
}

.team-cf7-form .wpcf7-list-item {
  margin: 0;
}

.team-cf7-form .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #65503e;
}

.team-cf7-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 1px solid #65503e;
  appearance: none;
  -webkit-appearance: none;
  background-color: #f9f8f6;
  cursor: pointer;
  position: relative;
  margin: 0;
}

.team-cf7-form input[type="checkbox"]:checked {
  background-color: #65503e;
}

.team-cf7-form input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: #fff;
  font-size: 13px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Styling cho Khung Upload File (Attach your resume) */
.team-cf7-form .team-file-upload-box {
  border: 1px dashed #65503e;
  background-color: #f2f0eb;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.team-cf7-form .team-file-upload-box .upload-title {
  font-size: 16px;
  color: #2c221a;
  margin: 0 0 6px 0;
}

.team-cf7-form .team-file-upload-box .upload-subtitle {
  font-size: 13px;
  color: #555;
  margin: 0 0 16px 0;
}

/* Nút Browse file tùy chỉnh */
.team-cf7-form .custom-file-button {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #ccc;
  color: #333;
  padding: 8px 24px;
  font-size: 13px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.team-cf7-form .custom-file-button:hover {
  border-color: #65503e;
  background-color: #fafafa;
}

/* Ẩn input file mặc định của trình duyệt nhưng giữ chức năng chọn file */
.team-cf7-form input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Nút Submit (Send) */
.team-cf7-form .submit-row {
  margin-top: 10px;
}

.team-cf7-form input[type="submit"] {
  background-color: #65503e; /* Mã màu chủ đạo #65503e */
  color: #ffffff;
  border: none;
  border-radius: 0;
  padding: 3px 36px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.team-cf7-form input[type="submit"]:hover {
  background-color: #4a3a2c;
}

/* Responsive cho điện thoại */
@media (max-width: 600px) {
  .team-cf7-form {
    padding: 20px 15px;
  }
  
  .team-cf7-form .team-form-row {
    flex-direction: column;
    gap: 15px;
  }

  .team-cf7-form .team-checkbox-col {
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}