/**
 * Thank You Page Styles
 * Unique styles for the thank you page template
 */

/* Reset any potential conflicts */
.thankyou-booking-card,
.thankyou-benefit-card,
.thankyou-location-card {
	min-height: auto !important;
	height: auto !important;
}

/* Banner Section */
.thankyou-banner {
	padding-top: 3rem;
	padding-bottom: 2rem;
	background-color: #f8f9fa;
	border-bottom: 1px solid #dee2e6;
	margin-bottom: 0;
}

.thankyou-success-icon {
	margin-bottom: 1rem;
}

.thankyou-heading {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #4c4c4c;
}

.thankyou-subtext {
	font-size: 1.125rem;
	color: #6c757d;
	margin-bottom: 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* But Wait Alert */
.thankyou-alert {
	background-color: #fff4ee;
	color: #4c4c4c;
	border: 0;
	border-radius: 0.5rem;
	box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
	text-align: center;
	padding: 2rem 1.5rem;
	margin-bottom: 2rem;
}

.thankyou-alert-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: #F26322;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.thankyou-alert-text {
	margin-bottom: 0;
	font-size: 1rem;
	color: #6c757d;
}

/* Main Booking CTA Card */
.thankyou-booking-card {
	border: 0 !important;
	border-radius: 0.75rem;
	box-shadow: 0 0.5rem 1.5rem rgba(242, 99, 34, 0.15) !important;
	margin-bottom: 3rem;
	overflow: hidden;
}

.thankyou-booking-body {
	text-align: center;
	padding: 2.5rem 2rem !important;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
}

@media (min-width: 992px) {
	.thankyou-booking-body {
		padding: 3.5rem 3rem !important;
	}
}

.thankyou-booking-icon {
	margin-bottom: 1.25rem;
}

.thankyou-booking-title {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #4c4c4c;
}

.thankyou-booking-text {
	font-size: 1.0625rem;
	margin-bottom: 1.75rem;
	color: #6c757d;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.thankyou-btn-primary {
	background-color: #F26322;
	border: 2px solid #F26322;
	color: white;
	padding: 0.875rem 2.5rem;
	border-radius: 50rem;
	box-shadow: 0 0.25rem 0.75rem rgba(242, 99, 34, 0.3);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.thankyou-btn-primary:hover {
	background-color: #c74f1a;
	border-color: #c74f1a;
	color: white;
	box-shadow: 0 0.5rem 1.25rem rgba(242, 99, 34, 0.4);
	transform: translateY(-2px);
	text-decoration: none;
}

/* Section Title */
.thankyou-section-title {
	font-size: 1.875rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 2rem;
	color: #4c4c4c;
}

/* Benefit Cards */
.thankyou-benefit-card {
	border: 1px solid #e9ecef !important;
	border-radius: 0.5rem;
	box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,.08) !important;
	height: 100%;
	text-align: center;
	transition: all 0.3s ease;
	background: white;
}

.thankyou-benefit-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 0.75rem 2rem rgba(242, 99, 34, 0.15) !important;
	border-color: #F26322 !important;
}

.thankyou-benefit-body {
	padding: 2rem 1.5rem !important;
}

.thankyou-icon-circle {
	width: 70px;
	height: 70px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: rgba(242, 99, 34, 0.1);
	margin-bottom: 1.25rem;
	transition: all 0.3s ease;
}

.thankyou-benefit-card:hover .thankyou-icon-circle {
	background-color: rgba(242, 99, 34, 0.2);
	transform: scale(1.1);
}

.thankyou-benefit-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: #4c4c4c;
}

.thankyou-benefit-text {
	color: #6c757d;
	margin-bottom: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Location Card */
.thankyou-location-card {
	border: 0 !important;
	border-radius: 0.75rem;
	box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
	background: white;
}

.thankyou-location-body {
	padding: 2rem 1.5rem !important;
}

@media (min-width: 992px) {
	.thankyou-location-body {
		padding: 3rem 2.5rem !important;
	}
}

.thankyou-location-title {
	font-size: 1.875rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 2.5rem;
	color: #4c4c4c;
}

/* Location Info Items */
.thankyou-info-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.thankyou-info-icon {
	width: 50px;
	height: 50px;
	min-width: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: rgba(242, 99, 34, 0.1);
	flex-shrink: 0;
}

.thankyou-info-content {
	flex: 1;
	min-width: 0;
}

.thankyou-info-heading {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: #4c4c4c;
}

.thankyou-info-text {
	color: #6c757d;
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.thankyou-phone-link {
	font-size: 1.25rem;
	font-weight: 700;
	color: #F26322;
	text-decoration: none;
	transition: color 0.3s ease;
	display: inline-block;
}

.thankyou-phone-link:hover {
	color: #c74f1a;
	text-decoration: none;
}

.thankyou-btn-directions {
	background-color: transparent;
	border: 2px solid #F26322;
	color: #F26322;
	padding: 0.5rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: 0.375rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	transition: all 0.3s ease;
	margin-top: 0.5rem;
}

.thankyou-btn-directions:hover {
	background-color: #F26322;
	color: white;
	text-decoration: none;
	transform: translateX(4px);
}

/* Second CTA Section */
.thankyou-cta-footer {
	text-align: center;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #dee2e6;
}

.thankyou-cta-prompt {
	color: #6c757d;
	margin-bottom: 1.25rem;
	font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.thankyou-banner {
		padding-top: 2rem;
		padding-bottom: 1.5rem;
	}

	.thankyou-heading {
		font-size: 2.25rem;
	}

	.thankyou-subtext {
		font-size: 1rem;
	}

	.thankyou-alert {
		padding: 1.5rem 1rem;
	}

	.thankyou-alert-title {
		font-size: 1.25rem;
		flex-direction: column;
		gap: 0.5rem;
	}

	.thankyou-booking-body {
		padding: 2rem 1.5rem !important;
	}

	.thankyou-booking-title {
		font-size: 1.5rem;
	}

	.thankyou-booking-text {
		font-size: 1rem;
	}

	.thankyou-section-title {
		font-size: 1.5rem;
	}

	.thankyou-btn-primary {
		font-size: 0.9375rem;
		padding: 0.75rem 2rem;
	}

	.thankyou-location-body {
		padding: 1.5rem 1rem !important;
	}

	.thankyou-location-title {
		font-size: 1.5rem;
	}
}

/* Additional spacing helpers */
.thankyou-alert + .card {
	margin-top: 0;
}
