@media (max-width: 800px) {
	.text-1 > span:nth-child(1) {
		font-size: 60px;
	}
	.text-1 > span:nth-child(2) {
		font-size: 26px;
	}
}
body.smq-modal-open {
	overflow: hidden;
}

.smq-wrap {
	max-width: 820px;
	margin: 0 auto;
	padding: 24px 16px;
}
.smq-card {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.smq-hero {
	text-align: center;
	padding: 60px 12px 60px;
	--tw-gradient-to: #fce7f3 var(--tw-gradient-to-position);
	--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
	--tw-gradient-from: #ffe4e6 var(--tw-gradient-from-position);
	background-image: linear-gradient(to right, var(--tw-gradient-stops));
	border-radius: 14px 14px 0 0;
}
.smq-heart {
	width: 54px;
	height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #fff;
	color: #ff3b6b;
	font-size: 26px;
	margin: -42px auto 10px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.smq-title {
	margin: 6px 0 10px;
	font-size: 34px;
	line-height: 1.15;
}
.smq-highlight {
	color: rgb(225 29 72);
}
.smq-title > span:nth-child(5) {
	color: rgb(71 85 105);
}
.smq-subtitle {
	margin: 0;
	color: #555;
}

.smq-section {
	margin-top: 18px;
	padding: 0 20px;
}
.smq-section__head {
	font-weight: 700;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
.smq-section__head svg {
	color: rgb(244 63 94);
}
.smq-section__head span {
	font-size: 16px;
	color:rgb(31 41 55);
	line-height: 1.5;
}
.smq-bullets {
	margin: 0;
	padding-left: 0;
	color: #333;
	list-style-type: none;
}
.smq-bullets li {
	margin: 0 0 14px 0 !important;
	position: relative;
	display: flex;
	align-items: center;
	gap: 15px;
}
.smq-bullets li:last-child {
	margin-bottom: 0;
}
.smq-bullets li:before {
	content: '';
	background-color: rgb(251 113 133);
	border-radius: 9999px;
	width: 6px;
	height: 6px;
}
.smq-badges {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 18px 0 12px;
	padding: 0 20px;
}
.smq-box-badge {
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.smq-badge {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.smq-badge__label {
	color: rgb(100 116 139);
	font-size: 13px;
	font-weight: 600;
}
.smq-badge__value {
	font-weight: 800;
	color: rgb(30 41 59);
}

.smq-btn {
	border: 0;
	cursor: pointer;
	padding: 14px 16px;
	border-radius: 14px;
	font-weight: 700;
	width: calc(100% - 40px);
	margin: 0 20px 20px;
}
.smq-btn--primary {
	background: #ff3b6b;
	color: #fff;
	border: 1px solid #ff3b6b;
	width: 100%;
    margin: 0;
	transition: all 0.3s ease;
}
.smq-intro .smq-btn--primary {
	margin: 0 20px 20px;
	width: calc(100% - 40px);
}
.smq-btn--primary:hover {
	color: #ff3b6b;
	background-color: #FFF;
	transition: all 0.3s ease;
}
.smq-btn--ghost {
	background: #fff;
	border: 1px solid #ff3b6b;
	color: #ff3b6b;
}
.smq-actions {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-top: 16px;
}
.smq-actions .smq-btn {
	margin: 0;
	width: max-content;
	text-transform: capitalize;
	line-height: 1;
	border-radius: 10px;
}

.smq-group {
	margin: 10px 0;
}
.smq-group__label {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	color: #ff3b6b;
	background: #ffe9ef;
	padding: 6px 10px;
	border-radius: 999px;
}

.smq-q {
	padding: 14px 0 6px;
	border-bottom: 1px solid #f2f2f2;
}
.smq-q__title {
	font-size: 21px;
	line-height: 28px;
	color: rgb(31 41 55);
	font-weight: 800;
	margin: 0 0 28px;
}
.smq-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.smq-option {
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 14px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #fff;
}
.smq-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.smq-option__dot {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	border: 2px solid #cfcfcf;
	flex: 0 0 auto;
}
.smq-option input:checked + .smq-option__dot {
	border-color: #ff3b6b;
	border-width: 4px;
	box-shadow: 0 0 0 5px rgba(255, 59, 107, 0.18) inset;
}

.smq-score {
	text-align: center;
	padding: 20px 14px;
	background: #ff3b6b;
	color: #fff;
	border-radius: 16px;
}
.smq-score__label {
	font-weight: 700;
	opacity: 0.92;
}
.smq-score__value {
	font-size: 64px;
	font-weight: 900;
	line-height: 1;
	margin: 6px 0;
}
.smq-score__value span {
	font-size: 20px;
	font-weight: 800;
	opacity: 0.9;
}
.smq-score__badge {
	display: inline-block;
	margin-top: 8px;
	background: rgba(255, 255, 255, 0.18);
	padding: 6px 10px;
	border-radius: 999px;
	font-weight: 800;
}
.smq-score__title {
	font-size: 30px;
	font-weight: 900;
	margin-top: 10px;
}

.smq-result-blocks {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.smq-rblock {
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 14px;
}
.smq-rblock__h {
	font-weight: 900;
	margin-bottom: 6px;
	color: #ff3b6b;
}
.smq-rblock__p {
	color: #333;
	white-space: pre-wrap;
}

.smq-cta {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.smq-cta > .smq-btn {
	margin: 0;
	width: 100%;
}
.smq-link {
	background: none;
	border: 0;
	color: #999;
	cursor: pointer;
	text-decoration: underline;
	padding: 6px;
	text-transform: capitalize;
}
.smq-link:hover {
	color: #ff3b6b;
}
.smq-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
}
.smq-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}
.smq-modal__dialog {
    position: relative;
    height: auto;
	background-color: #FFF;
    background-position: 1% -83%;
    background-image: url(/wp-content/uploads/2025/12/background.png);
    max-width: 620px;
    margin: 110px auto 0;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}
.smq-modal__close {
	position: absolute;
    top: 10px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #eee;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: unset;
}
.smq-footer {
	text-align: center;
    color: #4b5563;
    font-weight: 600;
}
.smq-modal__close:hover {
	border-color: red;
	color: red;
}
.smq-modal__title {
	margin: 6px 0 14px;
	font-weight: 900;
	color: rgb(225 29 72);
	text-align: center;
}

body.smq-modal-open {
	overflow: hidden;
}

/* Ẩn hoàn toàn 2 CF7 form */
.smq-cf7-hidden {
	position: absolute !important;
	left: -999999px !important;
	top: -999999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Form HTML trong modal */
.smq-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.smq-field label {
    font-size: 15px;
    color: #444;
    font-weight: 700;
    margin: 0;
}
.smq-field input {
	border: 1px solid #e8e8e8 !important;
	border-radius: 12px !important;
	padding: 12px 12px !important;
	outline: none !important;
	height: 48px !important;
}
.smq-field input:focus {
	border-color: #ff3b6b !important;
	box-shadow: 0 0 0 4px rgba(255, 59, 107, 0.12) !important;
}

.smq-form-note {
	margin-top: 10px;
	font-size: 13px;
	color: #444;
}

/* Card quiz giống ảnh: rộng, trắng, bo, shadow */
.smq-card--quiz {
	padding: 20px;
}


/* Top row: progress */
.smq-q__top{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:12px;
}
.smq-q__progress{
	font-weight:800;
	color:#9aa3af;
	font-size:13px;
	white-space:nowrap;
	margin-top:6px;
}

/* Actions wizard: nút trái nhỏ, nút phải nổi */
.smq-actions--wizard{
	margin-top:18px;
	align-items:center;
}
.smq-btn--ghost2{
	background:transparent;
	border:0;
	color:#6b7280;
	font-weight:700;
	padding:14px 10px;
	margin: 0;
}

/* Disable Next khi chưa chọn */
.smq-btn[disabled]{
	opacity:.45;
	cursor:not-allowed;
	filter:saturate(.7);
}
/* Thanh tiến trình phía trên (giống ảnh bạn gửi) */
.smq-outer-progress{
	max-width:820px;
	margin:0 auto 14px;
	padding:0 16px;
	text-align:center;
}
.smq-outer-progress__text{
	font-weight:700;
	font-size:14px;
	color:#9aa3af;
	margin-bottom:10px;
}
.smq-outer-progress__bar{
	height:4px;
	background:#ffe1ea;
	border-radius:999px;
	overflow:hidden;
}
.smq-outer-progress__fill{
	height:100%;
	width:0%;
	background:#ff3b6b;
	border-radius:999px;
	transition:width .25s ease;
}
/* Option mặc định */
.smq-option{
	border: 2px solid #eee;
	border-radius: 10px;
	padding: 18px 16px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	background:#fff;
	transition: background .15s ease, border-color .15s ease;
}
.smq-option__text{
	font-weight:700;
	color:#111827;
	font-size: 16px;
}

/* Dot mặc định */
.smq-option__dot{
	width:18px; height:18px;
	border-radius:999px;
	border:2px solid #cfcfcf;
	flex:0 0 auto;
	position:relative;
}

/* Khi CHỌN (giống hình bạn gửi) */
.smq-option.is-checked{
	background:#ffe9ef;              /* nền hồng nhạt */
	border-color:#ff3b6b;            /* viền đỏ */
}
.smq-option.is-checked .smq-option__text{
	color:#ff3b6b;                   /* chữ đỏ */
}

/* Dot khi chọn: vòng đỏ + chấm đỏ */
.smq-option.is-checked .smq-option__dot{
	border-color:#ff3b6b;
}
.smq-option.is-checked .smq-option__dot::after{
	content:"";
	position:absolute;
	inset: 2px;
	background: #fFF;
	border-radius:999px;
}
/* ===== Result page layout giống ảnh ===== */
.smq-card--result{ padding:0; overflow:hidden; }
.smq-score--hero{
	border-radius:0;
	padding:26px 16px 22px;
	background:#ff3b6b;
}
.smq-score--hero .smq-score__label{ text-transform:uppercase; letter-spacing:.06em; font-size:12px; opacity:.9; }
.smq-score--hero .smq-score__value{ font-size:72px; }
.smq-score--hero .smq-score__badge{
	display:inline-block;
	margin-top:8px;
	background:rgba(255,255,255,.2);
	padding:8px 14px;
	border-radius:999px;
	font-weight:800;
}
.smq-score--hero .smq-score__title{
	margin-top:12px;
	font-size:30px;
	font-weight:900;
}

/* Reflect box (hồng nhạt) */
.smq-reflect{
	margin:18px 18px 10px;
	background:#ffe9ef;
	border-radius:14px;
	padding:14px 14px;
}
.smq-reflect__head{ display:flex; align-items:center; gap:10px; }
.smq-reflect__h{ font-weight:900; color:#b61b3b; }
.smq-reflect__quote{ margin-top:10px; color:#b61b3b; font-style:italic; }

/* Dòng mô tả giữa (center) */
.smq-midline{
	padding:6px 18px 18px;
	text-align:center;
	color:#4b5563;
	font-weight:600;
}

/* Section cards (trắng) */
.smq-section-card{
	max-width:820px;
	margin:18px auto;
	background:#fff;
	border-radius:18px;
	box-shadow:0 12px 30px rgba(0,0,0,.08);
	padding:18px;
}
.smq-sec-h{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.smq-sec-title{ font-weight:900; font-size:22px; color:#0f172a; }
.smq-sec-sub{ font-weight:800; margin:10px 0 8px; color:#0f172a; }

/* List bullets xanh */
.smq-list{ margin:0; padding-left:20px; }
.smq-list li{ margin:10px 0; color:#0f172a; }
.smq-list li::marker{ color:#3b82f6; }

/* Note box xám nhạt */
.smq-note{
	margin-top:14px;
	background:#f8fafc;
	border-radius:14px;
	padding:14px;
}
.smq-note__title{ font-weight:900; margin-bottom:10px; color:#0f172a; }
.smq-note__row{ color:#334155; margin:8px 0; }

/* Chips (be) */
.smq-chips{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:12px;
}
.smq-chip{
	background:#fff3e6;
	color:#9a3412;
	border-radius:12px;
	padding:12px 12px;
	font-weight:800;
	display:flex;
	align-items:center;
	gap:10px;
}
.smq-chip::before{
	content:"";
	width:8px; height:8px;
	border-radius:999px;
	background:#f97316;
	flex:0 0 auto;
}

/* Next steps wrapper (viền hồng) */
.smq-next{
	max-width:820px;
	margin:18px auto 0;
	background:#fff;
	border-radius:18px;
	box-shadow:0 12px 30px rgba(0,0,0,.08);
	padding:18px;
	border:2px solid #ffe1ea;
}
.smq-next__head{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.smq-next__title{ font-weight:900; font-size:22px; color:#0f172a; }
.smq-next__lead{ color:#334155; margin:8px 0 14px; }

/* Highlight recommendation (hồng nhạt) */
.smq-reco{
	background:#ffe9ef;
	border-radius:14px;
	padding:14px;
	margin:12px 0 14px;
}
.smq-reco__title{
	font-weight:900;
	color:#b61b3b;
	margin-bottom:8px;
	display:flex;
	align-items:center;
	gap:8px;
}
.smq-reco__spark{ color:#ff3b6b; font-weight:900; }
.smq-reco__text{ color:#b61b3b; font-weight:700; }

/* Icons */
.smq-ico{ width:22px; height:22px; }
.smq-ico--pink{ color:#ff3b6b; }
.smq-ico--blue{ color:#3b82f6; }
.smq-ico--orange{ color:#f97316; }

/* Buttons spacing giống ảnh */
.smq-next .smq-cta{ margin-top:12px; }
.smq-next .smq-btn{ border-radius:14px; padding:16px; }
.smq-next .smq-btn--primary{ box-shadow:0 12px 22px rgba(255,59,107,.25); }

@media (max-width: 1400px) {
	.smq-modal__dialog {
		max-height: 420px;
		overflow-y: auto;
	}
}
/* Responsive */
@media (max-width:720px){
	.smq-chips{ grid-template-columns:1fr; }
	.smq-score--hero .smq-score__value{ font-size:60px; }
	.smq-score--hero .smq-score__title{ font-size:24px; }
}

@media (max-width: 640px) {
	.smq-title {
		font-size: 28px;
	}
	.smq-actions {
		flex-direction: column;
	}
}
