@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

.re-ac-container {
	max-width: 650px;
	margin: 50px auto;
	background: #ffffff;
	border-radius: 24px;
	border: 2px solid #e2e8f0;
	box-shadow: 0 20px 60px rgba(11, 30, 54, 0.08);
	font-family: "Outfit", sans-serif;
	color: #0b1e36;
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
		box-shadow 0.4s ease;
	position: relative;
}

.re-ac-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, #1a406d, #3b82f6, #1a406d);
	background-size: 200% 100%;
	animation: reAcGradientMove 3s ease infinite;
}

@keyframes reAcGradientMove {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

.re-ac-container:hover {
	transform: translateY(-8px);
	box-shadow: 0 30px 80px rgba(11, 30, 54, 0.12);
	border-color: #cbd5e1;
}

.re-ac-header {
	background: #f8fafc;
	padding: 40px 40px 30px;
	text-align: center;
	border-bottom: 1px solid #e2e8f0;
}

.re-ac-header h3 {
	margin: 0;
	font-size: 28px;
	font-weight: 800;
	color: #0b1e36;
	letter-spacing: -0.5px;
}

.re-ac-header p {
	margin: 12px 0 0;
	font-size: 16px;
	color: #64748b;
	font-weight: 500;
}

.re-ac-body {
	padding: 40px;
}

.re-ac-form-group {
	margin-bottom: 40px;
}

.re-ac-form-group:last-child {
	margin-bottom: 10px;
}

.re-ac-form-group > label {
	display: block;
	font-weight: 700;
	margin-bottom: 20px;
	font-size: 16px;
	color: #0b1e36;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Segmented Control for Radio Buttons */
.re-ac-radio-group {
	display: flex;
	background: #f1f5f9;
	border-radius: 16px;
	padding: 6px;
	gap: 0;
	position: relative;
}

.re-ac-radio-group input[type="radio"] {
	display: none;
}

.re-ac-radio-group label {
	flex: 1;
	text-align: center;
	padding: 16px 10px;
	background: transparent;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-weight: 600;
	color: #64748b;
	font-size: 15px;
	margin-bottom: 0;
	user-select: none;
}

.re-ac-radio-group input[type="radio"]:checked + label {
	background: #ffffff;
	color: #1a406d;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transform: scale(1.02);
	border: 1px solid #1a406d;
}

.re-ac-label-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.re-ac-label-row label {
	font-weight: 700;
	font-size: 16px;
	color: #0b1e36;
	margin-bottom: 0;
	max-width: 75%;
	line-height: 1.3;
}

.re-ac-number-input {
	width: 100px;
	padding: 12px 15px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	font-size: 20px;
	font-weight: 800;
	color: #1a406d;
	text-align: center;
	background: #f8fafc;
	transition: all 0.3s ease;
	outline: none;
	font-family: "Outfit", sans-serif;
}

.re-ac-number-input:hover {
	border-color: #cbd5e1;
}

.re-ac-number-input:focus {
	border-color: #3b82f6;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
	transform: translateY(-2px);
}

.re-ac-number-input::-webkit-outer-spin-button,
.re-ac-number-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.re-ac-number-input[type="number"] {
	-moz-appearance: textfield;
}

/* Beautiful Sliders */
.re-ac-slider {
	-webkit-appearance: none;
	width: 100%;
	height: 11px !important;
	border-radius: 6px !important;
	background: #e2e8f0;
	outline: none;
	transition: background 0.15s ease-in;
	cursor: pointer;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	min-height: 11px;
}

.re-ac-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #2f2f2f;
	border: 3px solid #2f2f2f;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(47, 47, 47, 0.3);
	transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275),
		box-shadow 0.2s ease;
	margin-top: -7px;
}

.re-ac-slider::-webkit-slider-thumb:hover,
.re-ac-slider::-webkit-slider-thumb:active {
	transform: scale(1.15);
	box-shadow: 0 6px 16px rgba(47, 47, 47, 0.4);
}

.re-ac-slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #2f2f2f;
	border: 3px solid #2f2f2f;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(47, 47, 47, 0.3);
	transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275),
		box-shadow 0.2s ease;
	transform: translateY(-7px);
}

.re-ac-slider::-moz-range-thumb:hover,
.re-ac-slider::-moz-range-thumb:active {
	transform: translateY(-7px) scale(1.15);
	box-shadow: 0 6px 16px rgba(47, 47, 47, 0.4);
}

/* Ensure track height is enforced across browsers */
.re-ac-slider::-webkit-slider-runnable-track {
	height: 6px !important;
	border-radius: 6px !important;
	background: transparent;
}
.re-ac-slider::-moz-range-track {
	height: 6px !important;
	border-radius: 6px !important;
	background: transparent;
}
.re-ac-slider::-ms-track {
	height: 6px;
	background: transparent;
	border-color: transparent;
	color: transparent;
}
.re-ac-slider::-ms-fill-lower {
	background: #e2e8f0;
	border-radius: 6px;
}
.re-ac-slider::-ms-fill-upper {
	background: #e2e8f0;
	border-radius: 6px;
}

/* Footer & Total */
.re-ac-footer {
	background: #f8fafc;
	padding: 40px;
	text-align: center;
	border-top: 1px solid #e2e8f0;
}

.re-ac-total-label {
	font-size: 16px;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 700;
	margin-bottom: 15px;
}

.re-ac-total-price {
	font-size: 64px;
	font-weight: 800;
	color: #0b1e36;
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	line-height: 1;
	overflow: visible;
}

.re-ac-total-price span {
	background: linear-gradient(135deg, #1a406d, #3b82f6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}

.re-ac-currency {
	font-size: 24px;
	font-weight: 600;
	color: #64748b;
	transform: translateY(-8px);
}

.re-ac-footer-note {
	font-size: 14px;
	color: #64748b;
	margin-top: 20px;
	font-weight: 500;
	line-height: 1.4;
	padding: 0 20px;
}

/* Contact block */
.re-ac-contact {
	padding: 18px 24px 36px;
	text-align: center;
	border-top: 1px solid #e2e8f0;
	background: transparent;
}
.re-ac-contact-info {
	color: #0b1e36;
	font-weight: 600;
	margin-bottom: 6px;
}

.re-ac-contact-info a {
	color: #086ad8;
	text-decoration: none;
	font-weight: 700;
	transition: color 0.15s ease;
}
.re-ac-contact-btn {
	display: inline-block;
	background: #086ad8;
	color: #ffffff;
	padding: 15px 25px;
	border-radius: 9999px;
	text-decoration: none;
	font-weight: 700;
	transition: background 0.15s ease;
	box-shadow: 0 6px 18px rgba(26, 64, 109, 0.12);
}
.re-ac-contact-btn:hover {
	background: rgb(65, 114, 159) !important;
    color: #ffffff !important;

}

@media (max-width: 600px) {
	.re-ac-body,
	.re-ac-header,
	.re-ac-footer {
		padding: 30px 20px;
	}
	.re-ac-total-price {
		font-size: 48px;
	}
	.re-ac-radio-group {
		flex-direction: column;
	}
	.re-ac-radio-group label {
		padding: 12px;
	}
	.re-ac-label-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
	.re-ac-label-row label {
		max-width: 100%;
	}
	.re-ac-number-input {
		width: 100%;
	}
}
