.tis-quote-form {
	background: #F7F9FD;
	border-radius: 8px;
	padding: 16px 24px;
	width: 614px;
	box-sizing: border-box;
	box-shadow: 0px 4px 16px rgba( 0, 0, 0, 0.2 );
}

.tis-quote-form h2 {
	margin: 0 0 5px;
	color: #142553;
}

.tis-quote-subtitle {
	margin: 0 0 8px;
	color: #707070;
	font-size: 14px;
}

.tis-form-row {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 0, 1fr ) );
	gap: 15px;
}

.tis-form-row + .tis-form-row {
	margin-top: 12px;
}

.tis-form-row.tis-cost-option-row {
	display: flex;
	grid-template-columns: none;
	gap: 24px;
}

.tis-radio-option {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	color: #142553;
	cursor: pointer;
}

.tis-radio-option input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #FF5C1A;
}

.tis-travelers-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.tis-travelers-title {
	font-size: 14px;
	font-weight: 500;
	color: #142553;
}

.tis-add-traveler-link {
	display: inline-block;
	margin-top: 12px;
	background: none;
	border: none;
	padding: 0;
	font-size: 14px;
	font-weight: 500;
	color: #FF5C1A;
	text-decoration: underline;
	cursor: pointer;
}

.tis-travelers-divider {
	border: none;
	border-top: 0.5px solid #142553;
	margin: 8px 0 0;
}

#tis-travelers-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
}

.tis-traveler-row {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 15px;
}

.tis-traveler-row .tis-field {
	flex: 1;
}

.tis-get-quote-submit {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	margin-top: 12px;
	padding: 12px 16px;
	height: 48px;
	background: #FF5C1A;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	overflow: visible;
}

.tis-get-quote-submit::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	border: 2px solid rgba( 255, 255, 255, 0.8 );
	border-radius: 50%;
	pointer-events: none;
	animation: tis-quote-btn-ripple 2s ease-out infinite;
}

@keyframes tis-quote-btn-ripple {
	0% {
		transform: scale( 0.6 );
		opacity: 1;
	}
	100% {
		transform: scale( 1.8 );
		opacity: 0;
	}
}

.tis-form-footer-text {
	margin-top: 12px;
	text-align: center;
}

.tis-secure-text {
	margin: 0;
	font-size: 14px;
	color: #142553;
}

.tis-reset-link {
	margin-top: 4px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	padding: 0;
	font-size: 14px;
	color: #FF5C1A;
	cursor: pointer;
}

.tis-traveler-delete {
	position: absolute;
	top: 50%;
	right: -22px;
	transform: translateY( -50% );
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	color: #FF5C1A;
	font-size: 14px;
}

.tis-field {
	display: flex;
	flex-direction: column;
}

.tis-field label {
	font-size: 14px;
	color: #142553;
	margin-bottom: 6px;
}

.tis-field select,
.tis-field input {
	padding: 8px 16px;
	height: 44px;
	border: 1px solid #E3E7EE;
	border-radius: 4px;
	font-size: 14px;
	color: #707070;
	background: #fff;
	width: 100%;
	box-sizing: border-box;
}

.tis-field select:disabled {
	background: #eee;
	color: #999;
}

.tis-residence-state-link {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #E3E7EE;
	border-radius: 4px;
	padding: 8px 16px;
	height: 44px;
	color: #FF5C1A;
	text-decoration: none;
	font-size: 14px;
}

/* Popup modal */
.tis-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.tis-modal[hidden] {
	display: none;
}

.tis-modal-content {
	background: #fff;
	border-radius: 8px;
	padding: 25px;
	max-width: 400px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
}

.tis-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}

.tis-state-list {
	list-style: none;
	margin: 15px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.tis-state-option {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 6px;
	cursor: pointer;
	font-size: 14px;
	color: #142553;
}

.tis-state-option:hover {
	background: #f4f6fa;
}

.tis-state-option.tis-state-selected {
	background: #FF5C1A;
	color: #fff;
	border-radius: 4px;
}

@media (max-width: 768px) {
	.tis-quote-form {
		width: 100%;
	}
}
