:root {
	--primary-color: #374780;
	--secondary-color: #00abff;
	--success-color: #03bd70;
	--brand-accent: #16a085;
	--background-light: #f5f5f5;
	--background-dark: #16191c;
	--text-primary: #303033;
	--text-secondary: #58595b;
}

body {
	font-family: "Google Sans", sans-serif;
	background-color: var(--background-light);
	color: var(--text-primary);
	-webkit-font-smoothing: antialiased;
}

/* Custom Colors */
.text-custom-primary {
	color: var(--primary-color) !important;
}

.text-custom-secondary {
	color: var(--secondary-color) !important;
}

.text-custom-success {
	color: var(--success-color) !important;
}

.bg-custom-primary {
	background-color: var(--primary-color) !important;
	border: none !important;
}

.bg-custom-success-soft {
	background-color: rgba(3, 189, 112, 0.1) !important;
}

/* Custom Button */
.btn-custom-primary {
	background-color: var(--primary-color);
	color: white;
	transition: all 0.3s ease;
}

.btn-custom-primary:hover {
	background-color: #2c3966;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Hero Text & Utilities */
.fw-black {
	font-weight: 900;
}


.text-slate-400 {
	color: #94a3b8;
}

.ping-dot {
	position: relative;
	display: flex;
	width: 8px;
	height: 8px;
}

.ping-dot::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: var(--primary-color);
	opacity: 0.75;
	animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot::after {
	content: "";
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: var(--primary-color);
}

@keyframes ping {

	75%,
	100% {
		transform: scale(2.5);
		opacity: 0;
	}
}

/* Step Cards */
.col-step-card {
	width: 165px !important;
}

.step-card {
	border: 2px solid #38bdf8;
	border-radius: 1rem;
	transition: all 0.3s;
	cursor: default;
	max-width: 165px;
}

.step-card:hover {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.step-card:hover .icon-box {
	transform: scale(1.05);
}

.icon-box {
	transition: transform 0.3s;
	color: #38bdf8;
}

/* Inputs */
.input-icon-wrapper {
	position: relative;
}

.input-icon-wrapper .material-symbols-outlined {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
}

.custom-input {
	padding-left: 3rem !important;
	padding-top: 1.5rem !important;
	padding-bottom: 1.5rem !important;
	border-radius: 0.75rem;
	border: 1px solid #e2e8f0;
	transition: all 0.2s;
}

.custom-input:focus {
	border-color: var(--primary-color);
	box-shadow: none;
}

.custom-input::placeholder,
.custom-input::-webkit-input-placeholder {
	color: #58595b;
	font-size: 16px;
}

.partner-label {
	display: flex;
	flex-direction: column;
	position: relative;
	border: 2px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.25rem;
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
	height: 100%;
	background: #fff;
}

.partner-label:hover {
	border-color: #94a3b8;
}

.partner-label:has(input:checked) {
	border-color: var(--custom-primary, #1e3a5f);
	box-shadow: 0 0 0 1px var(--custom-primary, #1e3a5f);
}

.partner-label input[type="radio"] {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 18px;
	height: 18px;
	accent-color: var(--custom-primary, #1e3a5f);
	cursor: pointer;
}

.partner-img-wrapper {
	transition: transform 0.2s;
}

.partner-label:hover .partner-img-wrapper {
	transform: scale(1.05);
}

/* Modal Styles Override */
.modal-content.custom-rounded {
	border-radius: 2rem;
	border: none;
}

.modal-success-border {
	border: 2px solid var(--success-color);
}

/* font-size utilities */
.fs-12px {
	font-size: 12px;
}

.fs-14px {
	font-size: 14px;
}

.fs-16px {
	font-size: 16px;
}

.fs-18px {
	font-size: 18px;
}

.fs-20px {
	font-size: 20px;
}

.fs-24px {
	font-size: 24px;
}

.fs-30px {
	font-size: 30px;
}

.fs-60px {
	font-size: 60px;
}

.fs-64px {
	font-size: 64px;
}

.bg-soft-blue {
	background-color: #e0f2fe;
}

.bg-indigo-soft {
	background-color: rgba(55, 71, 128, 0.1) !important;
}

.bg-light-gray {
	background-color: #f5f5f5;
}

/* img */
.img-contain {
	object-fit: contain;
}

/* height utilities */

.max-h-full {
	max-height: 100%;
}

.h-4rem {
	height: 4rem;
}

.h-20px {
	height: 20px;
}

.h-32px {
	height: 32px;
}

.h-96px {
	height: 96px;
}

.lh-15 {
	line-height: 1.5;
}

.w-20px {
	width: 20px;
}

.w-32px {
	width: 32px;
}

.w-96px {
	width: 96px;
}

.max-w-250px {
	max-width: 250px;
}

.btn-link {
	border: none !important;
	box-shadow: none !important;
}

.btn {
	border: none !important;
	/* box-shadow: none !important; */
}

.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
	background-color: transparent !important;
	/* color: inherit !important; */
	text-decoration: none !important;
	box-shadow: none !important;
	border: none !important;
	outline: none !important;
}

.tracking-50 {
	letter-spacing: 0.05em;
}

.text-hero {
	font-size: clamp(2.5rem, 4vw, 3.75rem);
	margin-top: 0px;
}

.text-skyblue {
	color: #0dcaf0 !important;
}

.text-white {
	color: #fff !important;
}

.rounded-2xl {
	border-radius: 2rem !important;
}

.max-w-700 {
	max-width: 700px;
}

.max-w-920px {
	max-width: 920px !important;
}

.header-custom {
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.control {
	display: block;
	position: relative;
	padding-left: 30px;
	margin-bottom: 15px;
	cursor: pointer;
	font-size: 16px;
}

.img-banner {
	width: 95%;
	max-height: max-content;
}

.img-partner {
	max-height: 5rem;
}

.img-fluid {
	object-fit: contain;
}

.control input {
	position: absolute;
	z-index: -1;
	opacity: 0;
}

.control__indicator {
	position: absolute;
	top: 2px;
	left: 0;
	height: 20px;
	width: 20px;
	background: #fff;
	/* border: 2px solid #e2e8f0; */
	border-radius: 4px;
	transition: all 0.2s;
}

.control:hover input~.control__indicator {
	border-color: var(--primary-color);
}

.control input:checked~.control__indicator {
	background: var(--primary-color);
	border-color: var(--primary-color);
}

.control__indicator:after {
	content: "";
	position: absolute;
	display: none;
}

.control input:checked~.control__indicator:after {
	display: block;
}

.control--checkbox .control__indicator:after {
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

#details .modal-content {
	border-radius: 2rem;
}

#details .modal-body {
	padding: 3rem;
}

.ping {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 5px solid #374780;
	background: #fff;
	animation: load 1.5s ease-out infinite;
	display: inline-block;
	margin-right: 8px;
}

@keyframes load {
	0% {
		background: #fff;
		border-width: 0px;
	}

	50% {
		background: #fff;
		border-width: 10px;
	}

	100% {
		background: #fff;
		border-width: 0px;
	}
}

.benefit-card {
	border: 1.5px solid #dee2e6 !important;
	border-radius: 12px;
	transition: border-color 0.2s;
	cursor: pointer;
	display: block;
	background: #fff;
}

.benefit-card:has(input[type="radio"]:checked) {
	border: 2px solid #0d6efd !important;
}

.benefit-card input[type="radio"] {
	cursor: pointer;
}

.benefit-card .card-logo {
	height: 80px;
	object-fit: contain;
	display: block;
}

.overflow-hidden {
	overflow: hidden !important;
}

.object-contain {
	object-fit: contain;
}

.max-h-100 {
	max-height: 100%;
}

.h-5rem {
	height: 5rem;
}


.btn-close-custom:hover {
	background-color: #e2e8f0 !important;
}

/* Modal Backdrop blur */
.modal-backdrop {
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.bg-slate-100 {
	background-color: #f1f5f9 !important;
}

.text-slate-500 {
	color: #64748b !important;
}

.max-h-5rem {
	max-height: 5rem;
}

/* max-width utilities */
.max-w-80 {
	max-width: 80%;
}

/* flex-shrink */
.flex-shrink-0 {
	flex-shrink: 0;
}

.text-slate-100 {
	color: #f1f5f9 !important;
}

/* text-slate-600 */
.text-slate-600 {
	color: #475569 !important;
}

.text-slate-700 {
	color: #334155 !important;
}

.btn-close-modal {
	background-color: #fff;
	color: #374780;
	border: 2px solid #e2e8f0 !important;
	transition: background-color 0.2s;
	white-space: nowrap;
}

.btn-close-modal:hover {
	background-color: #f8fafc;
	border-color: #cbd5e1 !important;
	color: #374780 !important;
	transform: none !important;
	box-shadow: none !important;
}

/* ปุ่ม X มุมขวาบน */
.btn-close-custom {
	width: 44px;
	height: 44px;
	cursor: pointer;
	transition: background-color 0.2s;
	z-index: 10;
	border-radius: 50% !important;

	background-color: #f8fafc !important;
}


.btn-close-custom .material-symbols-outlined {
	font-size: 20px;
	color: #64748b;
}

.rounded-xl {
	border-radius: 0.75rem !important;
}

.custom-input.is-invalid {
	border-color: #dc3545 !important;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.input-error-msg {
	display: flex;
	align-items: center;
	gap: 4px;
}

.btn-custom-primary:disabled,
.btn-custom-primary[disabled] {
	opacity: 0.75;
	cursor: not-allowed;
	pointer-events: auto;
	background-color: var(--primary-color) !important;
	color: #fff !important;
	transform: none !important;
	box-shadow: none !important;
}

.success-icon-circle {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(3, 189, 112, 0.1) !important;
}

.icon-check-circle {
	font-size: 72px !important;
	line-height: 1 !important;
}

.modal-error-border {
	border: 2px solid #dc3545;
}

.text-custom-error {
	color: #dc3545 !important;
}

.error-icon-circle {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(220, 53, 69, 0.1);
}

.icon-error-circle {
	font-size: 72px !important;
	line-height: 1 !important;
}



@media (min-width: 576px) {
	.min-h-select-card {
		min-height: 183px !important;
	}
}

@media (min-width: 768px) {
	.min-h-select-card {
		min-height: 183px !important;
	}
}

@media (min-width: 992px) {
	.min-h-select-card {
		min-height: 200px !important;
	}
}

@media (min-width: 1200px) {
	.min-h-select-card {
		min-height: 183px !important;
	}
}