:root {
	--raq-navy: #0b2c4d;
}

.raq-form-card {
	background: #952d32;
	border-radius: 24px;
	overflow: visible;
	box-shadow: 0 20px 45px rgba(11, 44, 77, 0.25);
	margin-bottom: 0;
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 440px;
	margin-left: auto;
	padding: 32px 24px;
	border: none;
}

.raq-form-card.raq-form-card--sidebar {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.raq-form-head {
	background: transparent;
	padding: 0 0 20px;
	text-align: left;
}

.raq-form-head h2,
.raq-form-head h3 {
	color: #fff;
	font-size: 1.6rem;
	font-weight: 400;
	margin: 0 0 8px;
}

.raq-form-head p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.9rem;
	margin: 0;
	line-height: 1.45;
}

.raq-form-body {
	background: transparent;
	padding: 0;
}

.raq-field {
	margin-bottom: 14px;
}

.raq-field label {
	display: none;
}

.raq-input {
	position: relative;
}

.raq-input > i {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 0.9rem;
	z-index: 2;
	pointer-events: none;
}

.raq-input .form-control,
.raq-input .form-select {
	width: 100%;
	background: #fff;
	border: 1px solid #dbe7f3;
	border-radius: 10px;
	padding: 10px 16px 10px 42px;
	font-size: 0.9rem;
	color: var(--raq-navy);
	height: 46px;
	transition: all 0.3s ease;
}

.raq-input .form-control::placeholder {
	color: #94a3b8;
	opacity: 1;
}

.raq-input .form-select {
	appearance: none;
	accent-color: #952e32;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1.4 0.6L6 5.2 10.6 0.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 36px;
}

.raq-input .form-select option:checked,
.raq-input .form-select option:hover {
	background-color: #952e32;
	color: #fff;
}

.raq-custom-select {
	position: relative;
	width: 100%;
}

.raq-custom-select .raq-native-select {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	margin: 0;
	padding: 0;
	border: 0;
	z-index: -1;
}

.raq-custom-select-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	border: 1px solid #dbe7f3;
	border-radius: 10px;
	padding: 10px 16px 10px 42px;
	font-size: 0.9rem;
	color: var(--raq-navy);
	height: 46px;
	background: #fff;
	cursor: pointer;
	text-align: left;
}

.raq-custom-select.is-open .raq-custom-select-btn,
.raq-custom-select-btn:focus:not(:disabled) {
	border-color: #952e32;
	box-shadow: 0 0 0 3px rgba(149, 46, 50, 0.15);
	outline: none;
}

.raq-custom-select-btn:disabled {
	cursor: not-allowed;
	opacity: 0.65;
	background: #f8fafc;
}

.raq-custom-select-btn i {
	color: #94a3b8;
	font-size: 0.75rem;
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.raq-custom-select.is-open .raq-custom-select-btn i {
	transform: rotate(180deg);
}

.raq-custom-select-label.is-placeholder {
	color: #94a3b8;
}

.raq-custom-select-list {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 30;
	background: #fff;
	border: 1px solid #dbe7f3;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(11, 44, 77, 0.12);
	max-height: 220px;
	overflow-y: auto;
	list-style: none;
	margin: 0;
	padding: 6px 0;
	display: none;
}

.raq-custom-select.is-open .raq-custom-select-list {
	display: block;
}

.raq-custom-select-option {
	padding: 10px 14px;
	font-size: 0.9rem;
	color: var(--raq-navy);
	cursor: pointer;
	line-height: 1.35;
	border-bottom: 1px solid #f1f5f9;
}

.raq-custom-select-option:last-child {
	border-bottom: none;
}

.raq-custom-select-option:hover,
.raq-custom-select-option.is-focused,
.raq-custom-select-option.is-selected {
	background: #952e32;
	color: #fff;
}

.raq-input .form-control:focus,
.raq-input .form-select:focus {
	border-color: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
	outline: none;
}

.raq-btn-submit {
	width: 100%;
	border: none;
	background: #22c55e;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	padding: 6px 6px 6px 24px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	transition: all 0.3s ease;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.raq-btn-submit:hover {
	background: #16a34a;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.raq-btn-submit .btn-icon {
	width: 36px;
	height: 36px;
	background: #fff;
	color: #22c55e;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	transition: all 0.3s ease;
}

.raq-btn-submit:hover .btn-icon {
	transform: translateX(2px);
}

.raq-custom-select-option.raq-has-submenu {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.raq-custom-select-option.raq-has-submenu > i {
	color: #94a3b8;
	font-size: 0.72rem;
}

.raq-service-select .raq-custom-select-list {
	max-height: 220px;
	overflow-y: auto;
	z-index: 50;
}

.raq-service-followup {
	margin-bottom: 4px;
}

.raq-service-followup-panel {
	margin-bottom: 14px;
}

.raq-field.raq-field--service.is-dropdown-open + .raq-service-followup {
	display: none !important;
}

.raq-iso-item.is-locked {
	cursor: default;
	pointer-events: none;
}

.raq-service-select.is-open {
	z-index: 50;
}

.raq-service-panel {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
}

.raq-service-panel.is-active {
	display: block;
}

.raq-iso-options-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
}

.raq-iso-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 14px;
	color: var(--raq-navy);
	font-size: 0.9rem;
	line-height: 1.35;
	cursor: pointer;
	border-bottom: 1px solid #f1f5f9;
	background: #fff;
	text-align: left;
	width: 100%;
	border-left: none;
	border-right: none;
	border-top: none;
	box-sizing: border-box;
}

span.raq-iso-item {
	display: flex;
}

.raq-iso-item:last-child {
	border-bottom: none;
}

.raq-iso-item-check {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #cbd5e1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.58rem;
	flex-shrink: 0;
	color: transparent;
	background: #fff;
	transition: all 0.2s ease;
}

.raq-iso-item-check i {
	line-height: 1;
}

.raq-iso-item-text {
	flex: 1;
	min-width: 0;
}

.raq-iso-item:hover,
.raq-iso-item.is-picked {
	background: #952e32;
	color: #fff;
}

.raq-iso-item:hover .raq-iso-item-check {
	border-color: rgba(255, 255, 255, 0.75);
}

.raq-iso-item.is-picked .raq-iso-item-check {
	background: #fff;
	border-color: #fff;
	color: #952e32;
}

.raq-field:has(.raq-service-select.is-open) {
	position: relative;
	z-index: 40;
}

.raq-iso-options-list--inline {
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 10px;
	overflow: hidden;
}

.raq-iso-standards-label {
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	margin: 0 0 8px;
	line-height: 1.35;
}

.raq-iso-standards-hint {
	font-weight: 400;
	opacity: 0.85;
	font-size: 0.78rem;
}

.raq-iso-options-list--inline .raq-iso-item {
	border-radius: 0;
}

@media (max-width: 991.98px) {
	.nustar-service-quote-section {
		padding-top: 1.5rem !important;
	}
	.nustar-service-quote-section > .container {
		padding-top: 0.25rem;
	}
}

.raq-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.75rem;
	line-height: 1.45;
}

.raq-consent input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: #22c55e;
	cursor: pointer;
}

.raq-consent label {
	display: block;
	margin: 0;
	cursor: pointer;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
}

.raq-safe {
	text-align: center;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.8rem;
	margin: 14px 0 0;
}

.raq-safe i {
	margin-right: 4px;
}

.raq-safe a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
	font-weight: 600;
}

.raq-safe a:hover {
	color: #ffe4e6;
}
