* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: 'Montserrat', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}
img{
	max-width: 100%;
	width: auto;
	height: auto;
	vertical-align: middle;
}

/* === HERO SECTION === */
.hero {
	background: url('https://cashingfield.vn/wp-content/themes/cashing-field/assets/img/tima/banner-bg.jpg') no-repeat left center;
	background-size: cover;
	padding: 40px 0;
}
.hero-inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* === REGISTRATION FORM === */
.hero-right {
	width: 100%;
}
.form-card {
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 15px 50px rgba(0,0,0,0.15);
	overflow: visible;
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}

.form-body {
	padding: 30px;
	min-height: 415px;
	overflow: visible;
	position: relative;
	z-index: 20;
}
.form-title {
	font-size: 23px;
	color: #EC4924;
	margin-bottom: 25px;
	text-align: center;
}
.color-red {
	color: #EC4924;
}
.color-blue {
	color: #1e4594;
	font-weight: bold;
}
.hero-right form input[type="text"], .hero-right form input[type="tel"], .hero-right form select{
	padding:10px 14px;
}
.hero-right form input[type="text"]:focus, .hero-right form input[type="tel"]:focus, .hero-right form select:focus{
	border-color: #EC4924;
	outline:none;
	box-shadow: none;
}
.hero-right form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='10' viewBox='0 0 14 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23000' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px 10px;
}
.hero-right form .frm_checkbox label {
	font-weight: 500;
	color: rgb(161, 161, 161);
}
.hero-right form .frm_checkbox input[type=checkbox]:not([disabled]):checked {
    background-color: #EC4924 !important;
    border-color: #EC4924 !important;
}
.hero-right form .frm_checkbox input[type=checkbox]:focus {
	box-shadow: none !important;
}
.hero-right form .frm_error {
    color: #EC4924;
}
.hero-right .frm_style_formidable-style.with_frm_style .frm_submit button {
	display:block;
	margin:0 auto;
	padding:11px 36px;
	background: #EC4924;
	color:#fff;
	border:none;
	border-radius:6px;
	font-weight:700;
	cursor:pointer;
	transition:background 0.2s,transform 0.15s;
	width: 45%;
}
.hero-right form .form-field {
	margin-bottom: 10px;
}
.hero-right .frm_style_formidable-style.with_frm_style .form-field {
	margin-bottom: 1rem !important;
}
.tima-otp-container {
	margin-top: 0;
}
.tima-otp-row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}
.tima-otp-row .tima-otp-input {
	flex: 1 1 auto;
	min-width: 0;
}
.tima-otp-row button.otp_btn {
	flex: 0 0 auto;
	min-height: 44px;
	margin: 0;
	border: 0;
	border-radius: 6px;
	padding: 0 14px;
	white-space: nowrap;
}
.tima-otp-message {
	display: none;
	margin-bottom: 1rem;
	color: #c62828;
	font-size: 13px;
	line-height: 1.4;
}
.tima-otp-message.success {
	color: #058e05;
}

/* === FEATURES BAR === */
.features-bar {
	padding: 2rem 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.features-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}
.feature-item {
	position: relative;
}
.feature-item .front {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	background: #FC6A07 url('../img/tima/arrow.png') no-repeat 95% center;
}
.feature-item .back {
	background: #E7E7E7;
	text-align: left;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
.feature-item .front, .feature-item .back {
	padding: 10px 15px;
	border-radius: 10px;
	height: 92px;
	cursor: pointer;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}
.feature-text {
	font-weight: 600;
	font-size: 16px;	
}
.feature-item .front .feature-text {
	color: #fff;
}
.feature-item .back .feature-text {
	color: #5A5A5A;
}
.feature-item .back, .feature-item:hover .front {
	opacity: 0;
	visibility: hidden;
}
.feature-item:hover .back {
	opacity: 1;
	visibility: visible;
}

/* === INFO TIMA === */
.info-tima {
	border: 1px solid #EC4924;
	border-radius: 10px;
	padding: 2rem 2rem 0;
}
.tima-center-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 1rem;
}
.section-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	border-top: 1px solid #EC4924;
	padding: 2rem 0;
}
.section-title {
	font-size: 20px;
	font-weight: 700;
	color: #999;
}
.section-title, .section-body {
	width: 100%;
}
.section-body p {
	font-size: 14px;
	color: #000;
	margin-bottom: 0;
}
.steps-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}
.step-icon {
	width: 82px;
	height: 85px;
	margin: 0 auto 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.info-block:not(:last-child) {
	margin-bottom: 20px;
	text-align: justify;
}

/* === TESTIMONIALS === */
.testimonials {
	margin: 2rem 0;
}
.testimonials .section-title {
	font-size: 24px;
	font-weight: bold;
	color: #EC4924;
	margin-bottom: 30px;
	width: 100%;
}
.testi-grid {
    display: flex;
    gap: 0;
	align-items: stretch;
}
.testi-card {	
	border: 1px solid #EC4924;
	border-radius: 8px;
	padding: 20px;
	/*display: flex;
	gap: 15px;*/
}
.testi-header {
	text-align: center;
}
.testi-avatar {
	width: 120px;
	height: 120px;
	background-color: #ddd;
	border-radius: 50%;
	margin: 0 auto 10px;
}
.testi-name {
	font-size: 14px;
	font-weight: bold;
	color: #EC4924;
	margin-bottom: 2px;
}
.testi-content, .testi-role {
	font-size: 14px;
	color: #000;
}
.testi-role {
	margin-bottom: 0;
}
.testi-slider {
	overflow: hidden;
	padding-bottom: 3rem;
    position: relative;
}
.testi-pagination .swiper-pagination-bullet-active {
    background: #EC4924;
}
/*.testi-card.swiper-slide {
    height: auto;
    display: flex;
}*/
.testi-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    text-align: center;
    z-index: 2;
}
.testi-card.swiper-slide {
    width: 480px;
    height: auto;
}

/* === RESPONSIVE === */
@media (min-width: 768px) {
	.only-sp {
		display: none;
	}
	.hero-inner {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
	.hero-left { 
		width: 45%; 
	}
	.hero-right { 
		width: 50%;
	}
	.features-inner { 
		gap: 50px; 
	}	
	.section-row {
		flex-direction: row;
		gap: 40px;
	}
	.section-title { 
		width: 25%; 
	}
	.section-body { 
		width: 75%; 
	}
	.steps-grid { 
		grid-template-columns: repeat(4, 1fr); 
	}
	.testi-header {
		width: 37%;
	}
	.testi-content {
		flex: 1;
	}
	.testi-card {
		gap: 1.5rem;
	}
}
@media screen and (max-width: 767px){
	.only-pc {
		display: none;
	}	
	.hero {
		background: #fff;
		background-size: inherit;
		padding: 0;
	}
	.hero-inner {
		padding: 0;
		gap: 0;
	}
	.hero-right {
		padding: 20px;
	}
	.form-card {
		box-shadow: none;
		border: 1px solid #EC4924;
	}
	.features-bar {
		gap: 15px;
        padding: 20px 0;
	}
	.features-bar, .steps-grid {
		grid-template-columns: 1fr;
	}
	.info-tima {
		padding: 25px 25px 0;
	}
	.section-title {
		font-size: 18px;
		text-align: center;
	}
	.section-row {
		gap: 10px;
		padding: 20px 0;
	}
	.steps-grid {
		gap: 15px;
	}
	.step-item {
		display: flex;
		align-items: center;
		gap: 1rem;
	}
	.step-icon {
		width: 65px;
		height: 68px;
	}
	.step-title {
		flex: 1;
	}
	.testi-card {
		flex-direction: column;
		margin: 4rem 0 1rem;
	}
	.testi-header {
		margin-top: -5rem;
	}	
	.testi-card.swiper-slide {
        width: 100%;
    }	
	.form-body {
		padding: 1rem;
	}
	.form-title {
		font-size: 18px;
	}	
	.form-card, .form-body {
		overflow: visible;
	}
	.vn-autocomplete-list {
		max-height: 200px;
	}
	.tima-otp-row {
		flex-direction: column;
	}
	.tima-otp-row button.otp_btn {
		width: 100%;
	}
	.hero-right .frm_style_formidable-style.with_frm_style .frm_submit button {
		padding: 10px 25px !important;
	}
}

/* === VN Autocomplete Fix === */
.hero-right,
.hero-right .frm_forms,
.hero-right .frm-show-form,
.hero-right .frm_form_fields,
.hero-right .frm_fields_container,
.hero-right .frm_form_field,
.hero-right .form-field {
	overflow: visible !important;
}

.vn-autocomplete-wrap {
	position: relative;
	z-index: 9999;
	width: 100%;
	margin-bottom: 10px;
}

.vn-autocomplete-list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 999999 !important;
	max-height: 240px;
	overflow-y: auto;
	overflow-x: hidden;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	margin-top: 4px;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.vn-autocomplete-item {
	display: block;
	width: 100%;
	border: 0;
	background: #fff;
	text-align: left;
	padding: 9px 12px;
	cursor: pointer;
	font-size: 14px;
	color: #334155;
}

.vn-autocomplete-item:hover,
.vn-autocomplete-item:focus {
	background: #f1f5f9;
	outline: none;
}

/* Ưu tiên field tỉnh/quận nổi lên trên các block khác */
#frm_field_122_container,
#frm_field_123_container {
	position: relative;
	z-index: 99999;
}
