/* Định dạng chung cho form */
.wpcf7-form {
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    gap: 10px; 
}

/* Ô nhập liệu */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    flex: 1; /* Tự động giãn ra */
    min-width: 200px; /* Đảm bảo không quá nhỏ */
    height: 35px; /* Giảm chiều cao */
    padding: 5px 10px; /* Giảm khoảng cách bên trong */
    font-size: 14px; /* Cỡ chữ vừa phải */
    border: 1px solid #ccc; /* Viền nhẹ */
    border-radius: 4px; /* Bo góc nhẹ */
}

/* Nút gửi */
.wpcf7-form-control.wpcf7-submit {
    background: #d80019 !important; /* Màu nền đỏ */
    color: white !important; /* Chữ màu trắng */
    border: none !important;
    height: 40px; /* Giảm chiều cao */
    padding: 5px 15px; /* Giảm padding */
    font-size: 14px; /* Cỡ chữ vừa phải */
    font-weight: bold;
    border-radius: 4px; /* Bo góc nhẹ */
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap; /* Giữ nút trên một dòng */
}

/* Hover - khi rê chuột vào */
.wpcf7-form-control.wpcf7-submit:hover {
    background: darkred !important;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .wpcf7-form {
        flex-direction: column; /* Xếp chồng dọc trên mobile */
        gap: 15px;
    }

    .wpcf7-form-control.wpcf7-submit {
        width: 20%; /* Nút rộng 100% trên mobile */
    }
}
/***************/

.form-cf7-popup .wpcf7-form {
	display: unset!important;
}
.form-cf7-popup input[type=tel]{
	margin-top:20px;
}
.form-cf7-popup input[type=tel], .form-cf7-popup input[type=text]{
	box-shadow:unset;	
}
.form-cf7-popup .wpcf7-form-control.wpcf7-submit {
	width:unset;
}
.title-dktv h3 {
	color: #B02523;
  margin: 0;
	font-weight:900;
	position: relative;
	font-size:25px;
}
.title-dktv h3::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -12px;
    width: 50px;
    height: 45px;
    border-top: 1px solid #B02523;
    border-left: 1px solid #B02523;
    border-top-left-radius: 10px;
}


.phongvt-dktvmp .wpcf7-form {
    display:unset;
}
.phongvt-dktvmp .wpcf7-form-control.wpcf7-submit {
	width:unset;
}
.phongvt-dktvmp input[type=tel], .phongvt-dktvmp input[type=text]{
	box-shadow:unset;	
}
span.text-count-review {
    display: none;
}


@media only screen and (max-width: 767px) {
.phongvt-ftcf7 {
  display: flex;
  gap: 5px;
	margin-top:10px;
}
.phongvt-ftcf7 .wpcf7-form-control.wpcf7-submit {
	width:unset;
	height:35px;
	padding: 2px 10px;
  }
}