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

/*************** ADD CUSTOM CSS HERE.   ***************/


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


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


}
/* Background form */
.uacf7-form-wrapper-container {

  padding: 28px 32px;
  border-radius: 8px;
}

/* 2 cột */
.uacf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.uacf7-col-6 {
  min-width: 0;
}

/* Label */
.uacf7-form-wrapper-container label.form-lien-he {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #fff !important;
  margin-bottom: 6px;
}

/* Input, select, textarea */
.uacf7-form-wrapper-container .wpcf7-form-control.wpcf7-text,
.uacf7-form-wrapper-container .wpcf7-form-control.wpcf7-tel,
.uacf7-form-wrapper-container .wpcf7-form-control.wpcf7-email,
.uacf7-form-wrapper-container .wpcf7-form-control.wpcf7-select,
.uacf7-form-wrapper-container .wpcf7-form-control.wpcf7-textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  padding: 9px 12px !important;
  font-size: 14px !important;
  background: #fff !important;
  color: #222 !important;
  outline: none !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
}

.uacf7-form-wrapper-container .wpcf7-form-control:focus {
  border-color: #d4a800 !important;
}

/* Textarea */
.uacf7-form-wrapper-container .wpcf7-form-control.wpcf7-textarea {
  resize: vertical !important;
  min-height: 120px !important;
}

/* Checkbox group */
.uacf7-form-wrapper-container .wpcf7-checkbox {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 20px !important;
  margin: 8px 0 16px !important;
}

.uacf7-form-wrapper-container .wpcf7-list-item {
  margin: 0 !important;
}

.uacf7-form-wrapper-container .wpcf7-list-item label {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #222 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.uacf7-form-wrapper-container input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: #d4a800 !important;
  flex-shrink: 0 !important;
}

/* submitgroup */
/* XÓA HẾT CÁI CŨ, CHỈ GIỮ CÁI NÀY */
.uacf7-form-wrapper-container .contact-submit {
  display: flex !important;
  align-items: flex-start !important;
  height: auto !important;
  min-height: unset !important;
  padding: 0 !important;
}

.uacf7-form-wrapper-container .contact-submit input[type="submit"] {
  background: transparent !important;
  background-image: none !important;
  animation: none !important;
	margin-top: -2px !important;
}

.tnc-btn-wrapper {
display: inline-block;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  background-size: 200% auto;
  background-image: linear-gradient(to right, #0b1a51 0%, #d1a112 51%, #0b1a51 100%);
  animation: anim-wave_effect-alert 5s ease-in-out infinite;
  background-size: 400% 400%;
 border-radius: 4px !important;
  height: 50px;

}

.tnc-btn-wrapper input[type="submit"] {
  display: block !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  color: #fff !important;
  cursor: pointer !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@keyframes anim-wave_effect-alert {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== WRAP ===== */
.ttda-wrap {
  font-family: UTM AVO, Arial, sans-serif;
  position: relative;
}
 
/* ===== TOP ===== */
.ttda-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.8333vw;
  margin-bottom: 2.1875vw;
  border-bottom: 1px solid #d9d9d9;
}
.ttda-heading {
  font-family: UTM AVOBOLD, Arial, sans-serif;
  font-size: 1vw;
  font-weight: bold;
  margin: 0;
  color: #000;
}
 
/* ===== BUTTON ===== */
.ttda-btn {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 5px !important;
  font-family: UTM AVO, Arial, sans-serif !important;
  font-size: 0.8333vw !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase !important;
  color: #b30e14 !important;
  cursor: pointer !important;
  transition: letter-spacing 0.3s ease !important;
}
.ttda-btn:hover {
  letter-spacing: 2.5px !important;
}
 
/* ===== GRID 6 CỘT ===== */
.ttda-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9375vw 1.5625vw;
  align-items: start;
}
 
/* ===== COLUMN POSITIONING ===== */
.ttda-col-1-3  { grid-column: 1 / 4; }
.ttda-col-4-6  { grid-column: 4 / 7; }
.ttda-col-1-2  { grid-column: 1 / 3; }
.ttda-col-2-3  { grid-column: 3 / 5; }
.ttda-col-4-5  { grid-column: 5 / 6; }
.ttda-col-5-6  { grid-column: 6 / 7; }
.ttda-col-1-1s { grid-column: 1 / 2; }
.ttda-col-1m   { grid-column: 2 / 3; }
 
/* ===== ROW SPAN ===== */
.ttda-row-span-2 {
  grid-row: span 2;
}
 
/* ===== SECTION TITLE ===== */
.ttda-title {
  font-family: UTM AVOBOLD, Arial, sans-serif;
  font-size: 0.7291vw;
  font-weight: bold;
  color: #000;
  padding-top: 1vw;
  padding-bottom: 0.2vw;
}
 
/* ===== CELL ===== */
.ttda-cell {
  display: flex;
  flex-direction: column;
  gap: 0.4167vw;
}
 
/* ===== LABEL ===== */
.ttda-cell label {
  display: block;
  font-family: UTM AVO, Arial, sans-serif;
  color: #000;
  line-height: normal;
  font-size: 13px;
  font-weight: 500;
}
 
/* ===== CF7 SPAN WRAP FIX ===== */
.ttda-wrap .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
 

/* ===== INPUT ===== */
.ttda-wrap input[type="text"],
.ttda-wrap input[type="email"],
.ttda-wrap input[type="tel"] {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 1.9791vw !important;
  padding: 0 0.4167vw !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 0.2083vw !important;
  background: #f9f9f9 !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: UTM AVO, Arial, sans-serif !important;
  font-size: 0.7291vw !important;
  line-height: normal !important;
  color: #000 !important;
}
 
/* ===== TEXTAREA ===== */
.ttda-wrap textarea {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 6.1979vw !important;
  padding: 0.4167vw !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 0.2083vw !important;
  background: #f9f9f9 !important;
  outline: none !important;
  box-shadow: none !important;
  resize: vertical !important;
  font-family: UTM AVO, Arial, sans-serif !important;
  font-size: 0.7291vw !important;
  line-height: normal !important;
  color: #000 !important;
}
 
/* ===== INPUT FOCUS ===== */
.ttda-wrap input[type="text"]:focus,
.ttda-wrap input[type="email"]:focus,
.ttda-wrap input[type="tel"]:focus,
.ttda-wrap textarea:focus {
  border-color: #aaa !important;
  background: #fff !important;
}
 
/* ===== CF7 ERROR ===== */
.ttda-wrap .wpcf7-not-valid-tip {
  display: block !important;
  font-size: 0.5729vw !important;
  color: #b30e14 !important;
  font-style: italic !important;
  font-family: UTM AVO, Arial, sans-serif !important;
  margin-top: 2px !important;
}
.ttda-wrap .wpcf7-not-valid {
  border-color: #b30e14 !important;
}
 
/* ===== CF7 SUCCESS/FAIL MSG ===== */
.ttda-wrap .wpcf7-response-output {
  margin: 0.5vw 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 0.7291vw !important;
  font-family: UTM AVO, Arial, sans-serif !important;
  color: #b30e14 !important;
  text-align: right !important;
}
.ttda-wrap .wpcf7-mail-sent-ok {
  color: #0a7c42 !important;
}
 
/* ===== RESPONSIVE 1440px ===== */
@media (max-width: 1440px) {
  .ttda-heading { font-size: 0.7291vw; }
  .ttda-top { padding-bottom: 0.7291vw; margin-bottom: 1.6667vw; }
}
 
/* ===== RESPONSIVE 1024px ===== */
@media (max-width: 1024px) {
  .ttda-heading { font-size: 1.5625vw; }
  .ttda-btn     { font-size: 1.5625vw !important; }
  .ttda-title   { font-size: 1.3vw; }
  .ttda-cell label { font-size: 1.3vw; }
  .ttda-wrap input[type="text"],
  .ttda-wrap input[type="email"],
  .ttda-wrap input[type="tel"] {
    height: 3.5vw !important;
    font-size: 1.3vw !important;
  }
  .ttda-wrap textarea {
    height: 10vw !important;
    font-size: 1.3vw !important;
  }
  .ttda-wrap .wpcf7-not-valid-tip {
    font-size: 1vw !important;
  }
}
 
/* ===== RESPONSIVE 768px ===== */
@media (max-width: 768px) {
  .ttda-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ttda-col-1-3,
  .ttda-col-4-6  { grid-column: 1 / 3; }
  .ttda-col-1-2,
  .ttda-col-2-3,
  .ttda-col-4-5,
  .ttda-col-5-6  { grid-column: span 1; }
  .ttda-col-1-1s { grid-column: 1 / 2; }
  .ttda-col-1m   { grid-column: 2 / 3; }
  .ttda-row-span-2 { grid-row: span 1; }
  .ttda-heading  { font-size: 3vw; }
  .ttda-btn      { font-size: 3.5vw !important; }
  .ttda-title    { font-size: 2.5vw; }
  .ttda-cell label { font-size: 2.5vw; }
  .ttda-wrap input[type="text"],
  .ttda-wrap input[type="email"],
  .ttda-wrap input[type="tel"] {
    height: 6vw !important;
    font-size: 2.5vw !important;
  }
  .ttda-wrap textarea {
    height: 18vw !important;
    font-size: 2.5vw !important;
  }
  .ttda-wrap .wpcf7-not-valid-tip {
    font-size: 1.8vw !important;
  }
}
 
/* ===== RESPONSIVE 576px ===== */
@media (max-width: 576px) {
  .ttda-grid {
    grid-template-columns: 1fr;
  }
  .ttda-col-1-3,
  .ttda-col-4-6,
  .ttda-col-1-2,
  .ttda-col-2-3,
  .ttda-col-4-5,
  .ttda-col-5-6,
  .ttda-col-1-1s,
  .ttda-col-1m   { grid-column: 1 / 2; }
  .ttda-row-span-2 { grid-row: span 1; }
  .ttda-top .ttda-btn { display: none; }
  .ttda-heading  { font-size: 5vw; }
  .ttda-btn      { font-size: 4.2667vw !important; }
  .ttda-title    { font-size: 3.7333vw; padding-top: 3vw; }
  .ttda-cell label { font-size: 3.7333vw; }
  .ttda-wrap input[type="text"],
  .ttda-wrap input[type="email"],
  .ttda-wrap input[type="tel"] {
    height: 10vw !important;
    font-size: 3.7333vw !important;
    border-radius: 1vw !important;
  }
  .ttda-wrap textarea {
    height: 25vw !important;
    font-size: 3.7333vw !important;
    border-radius: 1vw !important;
  }
  .ttda-wrap .wpcf7-not-valid-tip {
    font-size: 3vw !important;
  }
  .ttda-wrap .wpcf7-response-output {
    font-size: 3.7333vw !important;
  }
}
 
/* Dịch title section 2 và 4 sang trái */
.ttda-col-4-6.ttda-title {
  margin-left: -34%;
}
.ttda-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.8333vw;
  margin-bottom: 2.1875vw;
  border-bottom: 1px solid #d9d9d9;
}
.ttda-top .ttda-heading {
  flex: 0 0 90%;
}
.ttda-top .wpcf7-submit,
.ttda-top input[type="submit"] {
  flex: 0 0 10%;
  text-align: right;
}
@media (max-width: 576px) {
  /* Bỏ margin-left âm trên mobile */
  .ttda-col-4-6.ttda-title {
    margin-left: 0 !important;
  }

  /* Hiện lại nút GỬI trên mobile (bỏ display:none) */
  .ttda-top .ttda-btn {
    display: block !important;
  }

  /* Reset flex heading/submit về auto trên mobile */
  .ttda-top .ttda-heading {
    flex: 0 1 auto;
  }
}
.ttda-btn-top,
.ttda-btn-bottom {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 1px !important;
  font-family: UTM AVO, Arial, sans-serif !important;
  font-size: 15px !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase !important;
  color: #b30e14 !important;
  cursor: pointer !important;
  transition: letter-spacing 0.3s ease !important;
}
.ttda-btn-top:hover,
.ttda-btn-bottom:hover {
  letter-spacing: 2.5px !important;
}

/* Desktop: trên hiện dưới ẩn */
.ttda-btn-top { display: inline-block !important; }
.ttda-btn-bottom-wrap { display: none; }

/* Mobile: trên ẩn dưới hiện */
@media (max-width: 576px) {
  .ttda-btn-top { display: none !important; }
  .ttda-btn-bottom-wrap { display: block; }
}
.ttda-btn-bottom-wrap {
  text-align: center;

  margin-left: 20px;

}