/*
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.   ***************/

body {
    font-size: 16px;
    line-height: 1.5;
}

h1,
.banner h1 {
    font-size: 1.9em;
    line-height: 1.3;
    font-weight: bold !important;
    margin: 0 0 10px;
}
h2,
.banner h2 {
    font-size: 1.7em;
    line-height: 1.3;
    font-weight: bold !important;
    margin: 0 0 10px;
}
h3,
.banner h3 {
    font-size: 1.48em;
    line-height: 1.3;
    font-weight: bold !important;
    margin: 0 0 10px;
}
h4 {
    font-size: 1.36em;
    line-height: 1.3;
    font-weight: bold !important;
    margin: 0 0 10px;
}
h5 {
    font-size: 1.2em;
    line-height: 1.3;
    font-weight: bold !important;
    margin: 0 0 10px;
}
h6 {
    font-size: 1em;
    line-height: 1.3;
    font-weight: bold !important;
    margin: 0 0 10px;
    opacity: 1;
}
p {
	margin: 0 0 10px;
}
/*.text h1,*/
/*.text h2,*/
/*.text h3,*/
/*.text h4,*/
/*.text h5,*/
/*.text h6 {*/
/*font-size: inherit;*/
/*}*/
b, strong {
    font-weight: 700;
}

.wpcf7-form .btn-submit {
    position: relative;
    text-align: center;
}
.wpcf7-form input.wpcf7-submit {
    border: none;
    text-transform: none;
    margin: 0;
}
.wpcf7-form .wpcf7-spinner {
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    margin: 0;
}

/* Step */

.wpcf7-list-item {
    display: block;
    background: #f3f3f3;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 12px;
}
.cf7-next,
.cf7-prev,
.wpcf7-submit {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    margin-top: 10px;
}

.cf7-next,
.wpcf7-submit {
    background: var(--fs-color-primary);
}

.cf7-prev {
    background: #ddd;
}

.cf7-steps {
    position: relative;
}
.title-form {
    text-align: center;
    font-size: 1.5em;
    color: var(--fs-color-primary);
}
.cf7-steps .title-content {
    margin-bottom: 15px;
}
.wpcf7-form label {
    font-size: 1em;
    color: var(--fs-color-primary);
	font-weight: 500;
}
.wpcf7-form .check-radio-style1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}
.wpcf7-form .check-radio-style1 .wpcf7-list-item {
    position: relative;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
}
.wpcf7-form .check-radio-style1 label {
	font-size: 14px;
    font-weight: 400;
    color: #000000;
    margin: 0;
}
.wpcf7-form .check-radio-style1 input {
    margin: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    opacity: 0;
    cursor: pointer;
}
.wpcf7-form .check-radio-style1 .wpcf7-list-item-label {
    display: block;
    background: #f4f5f5;
    padding: 9px 15px 9px 48px;
    border-radius: 8px;
	position: relative;
}
.wpcf7-form .cf7-step.step-custom-bg .check-radio-style1 .wpcf7-list-item .wpcf7-list-item-label {
	background: #F5F5F5;
}
.wpcf7-form .cf7-step.step-custom-bg .check-radio-style1 .wpcf7-list-item:nth-child(2) .wpcf7-list-item-label {
	background: #F0F0F0;
}
.wpcf7-form .cf7-step.step-custom-bg .check-radio-style1 .wpcf7-list-item:nth-child(3) .wpcf7-list-item-label {
	background: #ECECEC;
}
.wpcf7-form .cf7-step.step-custom-bg .check-radio-style1 .wpcf7-list-item:nth-child(4) .wpcf7-list-item-label {
	background: #E8E8E8;
}
.wpcf7-form .cf7-step.step-custom-bg .check-radio-style1 .wpcf7-list-item:nth-child(5) .wpcf7-list-item-label {
	background: #E4E4E4;
}
.wpcf7-form .cf7-step.step-custom-bg .check-radio-style1 .wpcf7-list-item:nth-child(6) .wpcf7-list-item-label {
	background: #dfdfdf;
}
.wpcf7-form .cf7-step.step-custom-bg .check-radio-style1 .wpcf7-list-item:nth-child(7) .wpcf7-list-item-label {
	background: #d5d5d5;
}
.wpcf7-form .cf7-step.step-custom-bg .check-radio-style1 .wpcf7-list-item:nth-child(8) .wpcf7-list-item-label {
	background: #c9c9c9;
}
.wpcf7-form .cf7-step.step-custom-bg .check-radio-style1 .wpcf7-list-item:nth-child(9) .wpcf7-list-item-label {
	background: #bdbdbd;
}
.wpcf7-form .cf7-step.step-custom-bg .check-radio-style1 .wpcf7-list-item:nth-child(10) .wpcf7-list-item-label {
	background: #b5b4b4;
}

.wpcf7-form .check-radio-style1 input:checked ~ .wpcf7-list-item-label {
    background: var(--fs-color-primary) !important;
    color: #ffffff !important;
}
.wpcf7-form .check-radio-style1 .wpcf7-list-item-label:before {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	top: calc(50% - 10px);
	left: 15px;
	background-color: transparent;
	border: 2px #a7a8a9 solid;
	border-radius: 50%;
}
.wpcf7-form .check-radio-style1 input:checked ~ .wpcf7-list-item-label:before {
	background: var(--fs-color-secondary);
	border-color: var(--fs-color-secondary);
}
.wpcf7-form .check-radio-style1 .wpcf7-list-item-label:after {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	top: calc(50% - 8px);
	left: 16px;
	background-image: url('/wp-content/uploads/2026/04/ico-checklist-green.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	filter: brightness(0) invert(1);
   -webkit-filter: brightness(0) invert(1);
	opacity: 0;
}
.wpcf7-form .check-radio-style1 input:checked ~ .wpcf7-list-item-label:after {
	opacity: 1;
}
.wpcf7-form .check-radio-style2 {
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.wpcf7-form .check-radio-style2 .wpcf7-list-item {
    position: relative;
    flex-basis: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    background: none;
    border-radius: 0;
}
.wpcf7-form .check-radio-style2 label {
    font-weight: 400;
    margin: 0;
    display: block;
    /*background: #f3f3f3;*/
    /*padding: 9px;*/
    /*border-radius: 10px;*/
}
.wpcf7-form .check-radio-style2 input {
    margin: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    opacity: 0;
    cursor: pointer;
}
.wpcf7-form .check-radio-style2 .wpcf7-list-item-label {
    font-weight: 400;
    margin: 0;
    display: block;
    background: #f3f3f3;
    padding: 9px;
    border-radius: 10px;
    position: relative;
}
.wpcf7-form .check-radio-style2 .wpcf7-list-item-label:before {
    content: "";
    position: absolute;
    width: 60px;
    height: 30px;
    cursor: pointer;
    top: 5px;
    right: 5px;
    background-color: #ccc;
    border-radius: 99px;
    -webkit-transition: .4s;
    transition: .4s;
}
.wpcf7-form .check-radio-style2 .wpcf7-list-item-label:after {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    right: 37px;
    top: 8px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
.wpcf7-form .check-radio-style2 input:checked ~ .wpcf7-list-item-label:before {
    background-color: var(--fs-color-primary);
}
.wpcf7-form .check-radio-style2 input:checked ~ .wpcf7-list-item-label:after {
    -webkit-transform: translateX(28px);
    -ms-transform: translateX(28px);
    transform: translateX(28px);
}
.cf7-navigation {
	display: flex;
	align-items: center;
	padding-top: 20px;
}
.wpcf7-form button.cf7-next,
.wpcf7-form button.cf7-prev {
    text-transform: none;
    min-height: auto;
    padding: 5px 25px;
    background: none;
    border-radius: 0;
    color: var(--fs-color-primary);
    margin: 0;
    border-radius: 99px;
}
.wpcf7-form button.cf7-next {
    background: var(--fs-color-secondary);
	color: #ffffff;
}

.wpcf7-form select {
    border: none;
    border-radius: 10px;
    background-color: #f3f3f3;
    box-shadow: none;
}
.wpcf7-form input.wpcf7-submit {
	width: 100%;
    padding: 5px 25px;
    border-radius: 99px;
    height: auto;
    margin-top: 0 !important;
    color: #ffffff;
    background-color: var(--fs-color-secondary);
    text-transform: none;
    border: none;
	margin: 0;
}
.wpcf7-form input, .wpcf7-form textarea,
.wpcf7-form select  {
    border-radius: 8px;
    background-color: transparent;
	border-color: #D9DAD9;
    outline: none !important;
    box-shadow: none !important;
    margin-bottom: 15px;
}
.wpcf7 .wpcf7-form input[type="file"] {
    padding: 8px 10px;
}
.tabs-form.tabbed-content .nav {
    padding: 15px;
    background-color: #f3f3f3;
    border-radius: 15px;
}
.tabs-form.tabbed-content .nav li {
    flex-basis: 50%;
    max-width: 50%;
}
.tabs-form.tabbed-content .nav li a {
    display: block;
    text-align: center;
    font-weight: 400 !important;
    color: var(--fs-color-base) !important;
    border-radius: 10px !important;
}

.wpcf7-form .step-referral-ability .check-radio-style1 {
    flex-direction: row;
    gap: 5px;
	border: none;
	margin: 0;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item {
	width: 9.090909%;
	text-align: center;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item-label {
    padding: 9px 0;
	background: #eaeaeb;
	border-radius: 8px;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item:nth-child(3) .wpcf7-list-item-label {
	background: #fff2f5;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item:nth-child(4) .wpcf7-list-item-label {
    background: #ffe5eb;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item:nth-child(5) .wpcf7-list-item-label {
    background: #ffd1db;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item:nth-child(6) .wpcf7-list-item-label {
    background: #ffd1db;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item:nth-child(7) .wpcf7-list-item-label {
    background: #ffb8c8;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item:nth-child(8) .wpcf7-list-item-label {
	background: #b8eed4;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item:nth-child(9) .wpcf7-list-item-label {
    background: #94e6be;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item:nth-child(10) .wpcf7-list-item-label {
	background: #59d89b;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item:nth-child(11) .wpcf7-list-item-label {
    background: #00c365;
}
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item-label:before,
.wpcf7-form .step-referral-ability .check-radio-style1 .wpcf7-list-item-label:after {
    display: none;
}
.cf7-step-subtitles p {
	display: flex;
    flex-direction: row;
	gap: 5px;
	margin: 10px 0 15px;
}
.cf7-step-subtitles span {
	display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    padding: 15px 6px;
    border-right: none;
    text-align: center;
    background: #eaeaeb;
    border-radius: 8px;
}

/*.tabs-form .tabbed-content .nav li.active a {*/
/*font-weight: 400 !important;*/
/*color: var(--fs-color-base) !important;*/
/*}*/
.tabs-form.tabbed-content .tab-panels {
    padding: 15px 0 0;
}
.step-error-msg {
    color: #e53935;
    margin-bottom: 15px;
    margin-top: -16px;
}

/* range slider */
.range-slider {
    position: relative;
    margin-bottom: 1em;
    padding-bottom: 25px;
}
.range-slider label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}
/* track nền */
.range-slider::before {
    content: "";
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
}
/* track active */
.range-track {
    position: absolute;
    top: 0;
    height: 6px;
    background: var(--fs-color-primary);
    border-radius: 10px;
}
/* input range */
.range-slider input[type=range] {
    position: absolute;
    width: 100%;
    height: 40px;
    top: 65px;
    appearance: none;
    background: none;
    pointer-events: none;
    margin: 0;
}
/* thumb */
.range-slider input[type=range]::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 2px solid var(--fs-color-primary);
    border-radius: 50%;
    pointer-events: auto;
    cursor: pointer;
}
.range-value {
    text-align: center;
    margin-top: 0;
    padding: 6px;
    border-radius: 10px;
    background-color: #f3f3f3;
    font-weight: 400;
}
.title-primary {
    padding: 8px;
    background-color: var(--fs-color-primary);
    color: #ffffff;
	text-align: center;
	border-radius: 99px;
    margin-bottom: 15px;
}
.title-primary h3,
.title-primary h4,
.title-primary h6 {
    color: #ffffff;
	text-transform: none;
}
.col-inner-custom1 {
    padding: 15px 15px 15px 15px;
    background-color: rgb(238, 238, 231);
    color: var(--fs-color-primary);
    margin-bottom: 30px;
}



.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 9999;
}

.popup-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  width: calc(100% - 30px);
  max-width: 680px;
  height: calc(100vh - 100px);
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
	border-radius: 20px;
	overflow: hidden;
}

.close-popup {
  	position: absolute;
    top: 0px;
    color: #000000;
    z-index: 99;
    right: 0;
    margin: 0;
    font-size: 20px;
    padding: 25px;
    min-height: auto;
    line-height: 1;
}

.popup-body {
  flex: 1;
}

body.no-scroll {
  overflow: hidden;
}
.button-popup-form {
	position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 29px 0;
    background: var(--fs-color-primary);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
    z-index: 9999;
}
.button-popup-form button {
	margin: 0 auto;
	color: #ffffff;
	padding: 4px 5px;
	max-width: 75% !important;
	border-radius: 99px;
	background: var(--fs-color-secondary);
}

.form-khao-sat {
    margin: 0 auto;
	padding: 40px;
    height: calc(100vh - 100px);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
}
.form-khao-sat .form-logo {
	text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px #C98784 solid;
}
.cf7-steps {
    flex: 1;
    position: relative;
    overflow: hidden;
	transform: none !important;
}
.cf7-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 0 0 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.35s ease;
    pointer-events: none;
}
.cf7-step.prev {
    opacity: 0;
    transform: translateX(-100%);
}
.cf7-step.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.cf7-steps .cf7-step .row {
	width: auto;
    margin: 0 -15px;
}

body.home .btn-thank-page,
body:not(.home) .btn-home-page {
	display: none;
}
body:not(.home) .btn-thank-page {
	display: block;
}
.progress-bar {
  transition: width 0.4s ease;
}

/* Container giới hạn chiều rộng cho mobile */
.app {
	max-width: 480px;
	margin: 0 auto;
	height: 100vh;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	position: relative;
	box-shadow: 0 0 40px rgba(0,0,0,0.08);
}

/* Thanh tiến độ */
.progress-wrap {
	padding: 10px 15px;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
    flex: 1;
}
.progress-info {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	margin-bottom: 8px;
	font-weight: 500;
	letter-spacing: 0.3px;
	display: none;
}
.progress-track {
	height: 5px;
	background: #f0ebe1;
	border-radius: 10px;
	overflow: hidden;
}
.progress-bar {
	height: 100%;
	background: #2c6c48;
	border-radius: 10px;
	transition: width 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
	width: 0%;
}

/* Vùng chứa slides */
.slides-container {
	flex: 1;
	position: relative;
	overflow: hidden;
}

.col-bg-logo > .col-inner {
	display: flex;
    align-items: center;
}
.col-bg-logo > .col-inner .img.image-logo-left {
	width: 100px !important;
	margin: 0;
}
.large-6 .res-text {
	font-size: 1em;
}
.header-part {
	padding: 30px;
	background: #F4EFEA;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 30px;
}
.header-part-primary {
	background: #335041;
	text-align: center;
}
.wpcf7 .header-part p {
	margin-bottom: 10px;
}
.wpcf7 .header-part p:last-of-type {
	margin-bottom: 0;
}
.primary-color {
	color: var(--fs-color-primary) !important;
}
form.wpcf7-form {
	margin: 0;
}
.footer-wrapper {
	display: none;
}
/* .row-info p {
	max-width: 290px;
	margin-left: auto;
	margin-right: auto;
} */
.banner-full {
	padding-top: 0 !important;
	height: 100%;
	min-height: 275px;
}

@media only screen and (max-width: 767px) {
	.form-khao-sat {
		padding: 15px 10px;
	}
	.form-logo img {
		max-width: 110px;
	}
	.cf7-step {
		padding: 15px 0 0 0;
	}
	.popup-content,
	.form-khao-sat {
		height: calc(100vh - 40px);
	}
	.wpcf7-form .check-radio-style1 {
		margin-bottom: 15px;
	}
	.cf7-navigation {
		padding-top: 10px;
	}
	.col-bg-logo > .col-inner .img.image-logo-left {
		width: 56px !important;
	}
}