/**
 * Frontend Styles - Modern Multi-step Quote Form
 * WebsiteToday Branding
 *
 * @package WebsiteToday_Offerte
 * @since   1.0.0
 */

/* ============================================
   CSS Variables - Brand Colors
   ============================================ */

:root {
	--wt-primary: #d86034;
	--wt-primary-light: #db7f59;
	--wt-accent: #4668c4;
	--wt-accent-light: #d0daf1;
	--wt-dark: #1a1a1a;
	--wt-gray: #666666;
	--wt-gray-light: #f5f5f5;
	--wt-white: #ffffff;
	--wt-border: #e0e0e0;
	--wt-error: #d32f2f;
	--wt-success: #4CAF50;
	--wt-shadow: 0 2px 20px rgba(216, 96, 52, 0.08);
	--wt-shadow-hover: 0 4px 24px rgba(216, 96, 52, 0.15);
	--wt-radius: 12px;
	--wt-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Container & Layout - Auto Height (no scrollbar)
   ============================================ */

.wto-quote-form-wrapper {
	width: 100%;
	max-width: 100%;
	min-height: 400px;
	display: flex;
	flex-direction: column;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	background: linear-gradient(135deg, var(--wt-accent-light) 0%, var(--wt-white) 50%, var(--wt-gray-light) 100%);
	position: relative;
	box-sizing: border-box;
}

/* Logo Section */
.wto-form-header {
	padding: 20px 40px;
	background: var(--wt-white);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	flex-shrink: 0;
}

.wto-form-logo {
	text-align: center;
	max-width: 350px;
	margin: 0 auto;
}

.wto-form-logo img {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

/* USPs Section */
.wto-form-usps {
	display: flex;
	justify-content: center;
	gap: 32px;
	margin-top: 16px;
	flex-wrap: wrap;
}

.wto-usp {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: linear-gradient(135deg, var(--wt-accent-light) 0%, rgba(208, 218, 241, 0.3) 100%);
	border-radius: 20px;
	border: 1px solid var(--wt-accent-light);
	flex-shrink: 0;
}

.wto-usp-icon {
	font-size: 20px;
	line-height: 1;
}

.wto-usp-text {
	font-size: 15px;
	font-weight: 600;
	color: var(--wt-accent);
	white-space: nowrap;
}

/* USPs horizontal slider on mobile */
@media (max-width: 768px) {
	.wto-form-usps {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 12px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding: 8px 0 12px 0;
		margin: 12px -20px 0;
		padding-left: 20px;
		padding-right: 20px;
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none; /* IE/Edge */
	}

	.wto-form-usps::-webkit-scrollbar {
		display: none; /* Chrome/Safari */
	}

	.wto-usp {
		scroll-snap-align: start;
		padding: 6px 12px;
		font-size: 13px;
		min-width: max-content;
	}

	.wto-usp-icon {
		font-size: 16px;
	}

	.wto-usp-text {
		font-size: 13px;
	}
}

/* Main Form Container */
#wto-quote-form {
	flex: 1;
	display: flex;
	flex-direction: column;
	background: var(--wt-white);
	margin: 0;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
	position: relative;
	z-index: 1;
	max-width: 100%;
	box-sizing: border-box;
}

.wto-form-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 30px 40px;
	overflow: visible;
	max-width: 100%;
	box-sizing: border-box;
	position: relative;
	z-index: 10;
}

/* ============================================
   Progress Bar - Modern Design
   ============================================ */

.wto-progress-bar-container {
	flex-shrink: 0;
	padding: 20px 40px 0;
	background: var(--wt-white);
	position: relative;
	z-index: 1;
	/* Keep progress bar BELOW tooltips */
}

.wto-progress-bar {
	width: 100%;
	height: 6px;
	background: var(--wt-accent-light);
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 12px;
	position: relative;
}

.wto-progress-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--wt-primary) 0%, var(--wt-primary-light) 100%);
	border-radius: 3px;
	transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 0 10px rgba(216, 96, 52, 0.3);
}

.wto-progress-text {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: var(--wt-gray);
	font-weight: 500;
}

.wto-progress-step {
	font-weight: 700;
	color: var(--wt-primary);
	font-size: 14px;
}

.wto-progress-percentage {
	font-weight: 600;
	color: var(--wt-accent);
}

/* Progress Motivation Message */
.wto-progress-motivation {
	text-align: center;
	margin-top: 12px;
	min-height: 24px;
}

.wto-motivation-text {
	font-size: 14px;
	color: var(--wt-primary);
	font-weight: 500;
	font-style: italic;
	opacity: 0.9;
	display: inline-block;
	padding: 6px 16px;
	background: linear-gradient(135deg, rgba(216, 96, 52, 0.08) 0%, rgba(255, 153, 51, 0.08) 100%);
	border-radius: 20px;
	border: 1px solid rgba(216, 96, 52, 0.15);
}

/* Special emphasis for final steps */
.wto-quote-form[data-step="7"] .wto-motivation-text,
.wto-quote-form[data-step="8"] .wto-motivation-text {
	background: linear-gradient(135deg, rgba(76, 175, 80, 0.12) 0%, rgba(139, 195, 74, 0.12) 100%);
	border-color: rgba(76, 175, 80, 0.25);
	color: #2e7d32;
	font-weight: 600;
}

/* ============================================
   Question Container
   ============================================ */

#wto-question-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
}

.wto-question {
	animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wto-question-label {
	font-size: 28px;
	font-weight: 700;
	color: var(--wt-dark);
	margin-bottom: 8px;
	line-height: 1.3;
	letter-spacing: -0.5px;
}

.wto-question-description {
	font-size: 16px;
	color: var(--wt-gray);
	margin-bottom: 24px;
	line-height: 1.6;
}

/* ============================================
   Radio Options - Grid Layout
   ============================================ */

.wto-radio-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}

.wto-option-card {
	display: block;
	position: relative;
	background: var(--wt-white);
	border: 2px solid var(--wt-border);
	border-radius: var(--wt-radius);
	padding: 20px;
	cursor: pointer;
	transition: var(--wt-transition);
	height: 100%;
	z-index: 1;
}

.wto-option-card:hover {
	border-color: var(--wt-primary);
	box-shadow: var(--wt-shadow-hover);
	transform: translateY(-3px);
	z-index: 1000;
}

.wto-option-card input[type="radio"],
.wto-option-card input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.wto-option-card input:checked {
	~ .wto-option-content {
		background: linear-gradient(135deg, var(--wt-primary) 0%, var(--wt-primary-light) 100%);
		color: var(--wt-white);
		border-radius: 8px;
		padding: 16px;
		margin: -16px;
	}
	~ .wto-option-content .wto-option-label {
		color: var(--wt-white);
	}
	~ .wto-option-content .wto-option-desc {
		color: rgba(255, 255, 255, 0.9);
	}
	~ .wto-option-content .wto-option-price {
		color: var(--wt-white);
		font-weight: 700;
	}
	~ .wto-option-content::after {
		content: "✓";
		position: absolute;
		right: 16px;
		top: 16px;
		width: 28px;
		height: 28px;
		background: var(--wt-white);
		color: var(--wt-primary);
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		font-weight: bold;
		font-size: 16px;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	}
}

.wto-option-content {
	display: block;
	transition: var(--wt-transition);
	position: relative;
}

.wto-option-icon {
	font-size: 32px;
	margin-bottom: 12px;
	display: block;
}

.wto-option-label {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: var(--wt-dark);
	margin-bottom: 6px;
	line-height: 1.3;
}

.wto-option-desc {
	display: block;
	font-size: 14px;
	color: var(--wt-gray);
	line-height: 1.5;
	margin-bottom: 8px;
}

.wto-option-price {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: var(--wt-primary);
	margin-top: 8px;
}

/* Tooltip Styling - CSS-only approach with proper z-index */
.wto-option-tooltip {
	position: relative;
	display: inline-block;
	margin-left: 8px;
	cursor: help;
	z-index: 100;
}

.wto-tooltip-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--wt-accent-light);
	color: var(--wt-accent);
	font-size: 12px;
	font-weight: bold;
	transition: var(--wt-transition);
}

.wto-option-tooltip:hover .wto-tooltip-icon {
	background: var(--wt-accent);
	color: var(--wt-white);
	transform: scale(1.1);
}

/* Tooltip text - pure CSS positioning above the icon */
.wto-tooltip-text {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	z-index: 999999;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 8px;
	background: var(--wt-dark);
	color: var(--wt-white);
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 400;
	white-space: normal;
	min-width: 180px;
	max-width: 280px;
	width: max-content;
	text-align: left;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	pointer-events: none;
	word-wrap: break-word;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.wto-tooltip-text::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border-width: 6px;
	border-style: solid;
	border-color: var(--wt-dark) transparent transparent transparent;
}

.wto-option-tooltip:hover .wto-tooltip-text {
	visibility: visible;
	opacity: 1;
}

/* Selected option tooltip color override */
.wto-option-card input:checked ~ .wto-option-content .wto-tooltip-icon {
	background: rgba(255, 255, 255, 0.3);
	color: var(--wt-white);
}

.wto-option-card input:checked ~ .wto-option-content .wto-option-tooltip:hover .wto-tooltip-icon {
	background: var(--wt-white);
	color: var(--wt-primary);
}

/* ============================================
   Checkbox Options - Compact Grid
   ============================================ */

.wto-checkbox-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin-bottom: 20px;
	overflow: visible;
	padding-top: 12px; /* Space for "Aanbevolen" label */
}

.wto-checkbox-options .wto-option-card {
	padding: 16px;
}

.wto-checkbox-options .wto-option-label {
	font-size: 16px;
}

.wto-checkbox-options .wto-option-desc {
	font-size: 13px;
}

/* ============================================
   Contact Form Fields - Modern Layout
   ============================================ */

.wto-contact-intro {
	background: linear-gradient(135deg, var(--wt-accent-light) 0%, rgba(208, 218, 241, 0.4) 100%);
	border-left: 4px solid var(--wt-accent);
	padding: 16px 20px;
	border-radius: 12px;
	margin-bottom: 20px;
}

.wto-contact-intro h3 {
	color: var(--wt-accent);
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.wto-contact-intro h3::before {
	content: "✉";
	font-size: 24px;
}

.wto-contact-intro p {
	color: var(--wt-gray);
	font-size: 14px;
	margin: 0;
	line-height: 1.6;
}

.wto-contact-fields {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 12px;
}

.wto-contact-checkboxes {
	margin-top: 12px;
}

.wto-field {
	display: flex;
	flex-direction: column;
	position: relative;
}

.wto-field-full {
	grid-column: 1 / -1;
}

.wto-field label {
	font-size: 14px;
	font-weight: 600;
	color: var(--wt-dark);
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.wto-required {
	color: var(--wt-primary);
	font-size: 16px;
}

.wto-field input[type="text"],
.wto-field input[type="email"],
.wto-field input[type="tel"],
.wto-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--wt-border);
	border-radius: 10px;
	font-size: 15px;
	font-family: inherit;
	transition: var(--wt-transition);
	background: var(--wt-white);
	color: var(--wt-dark);
}

.wto-field input[type="text"]:hover,
.wto-field input[type="email"]:hover,
.wto-field input[type="tel"]:hover,
.wto-field textarea:hover {
	border-color: var(--wt-accent-light);
}

.wto-field input:focus,
.wto-field textarea:focus {
	outline: none;
	border-color: var(--wt-accent);
	box-shadow: 0 0 0 4px rgba(70, 104, 196, 0.12);
	background: var(--wt-white);
}

.wto-field textarea {
	resize: vertical;
	min-height: 100px;
	line-height: 1.6;
}

.wto-field input.wto-field-error,
.wto-field textarea.wto-field-error {
	border-color: var(--wt-error);
	background: #fff5f5;
}

.wto-field input.wto-field-error:focus,
.wto-field textarea.wto-field-error:focus {
	box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.12);
}

.wto-field-error-msg {
	color: var(--wt-error);
	font-size: 12px;
	margin-top: 4px;
	display: block;
	font-weight: 500;
}

/* Privacy Notice */
.wto-privacy-notice {
	background: linear-gradient(135deg, #e8f5e9 0%, rgba(232, 245, 233, 0.4) 100%);
	border-left: 4px solid #4caf50;
	padding: 10px 14px;
	border-radius: 8px;
	margin-top: 12px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.wto-privacy-notice .dashicons {
	color: #4caf50;
	font-size: 20px;
	margin-top: 0px;
	flex-shrink: 0;
}

.wto-privacy-notice p {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #2e7d32;
	font-weight: 500;
}

.wto-field-checkbox {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: flex-start;
}

.wto-field-checkbox label {
	display: flex;
	align-items: flex-start;
	margin-bottom: 0;
	font-weight: 400;
	cursor: pointer;
	text-transform: none;
	letter-spacing: normal;
}

.wto-field-checkbox input[type="checkbox"] {
	margin-right: 10px;
	margin-top: 3px;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--wt-primary);
}

.wto-field-checkbox a {
	color: var(--wt-accent);
	text-decoration: underline;
	font-weight: 600;
}

.wto-field-checkbox a:hover {
	color: var(--wt-primary);
}

/* ============================================
   Navigation Buttons - Fixed Footer
   ============================================ */

.wto-form-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 20px 40px;
	background: var(--wt-white);
	border-top: 1px solid var(--wt-border);
	flex-shrink: 0;
}

.wto-btn {
	padding: 14px 32px;
	font-size: 16px;
	font-weight: 700;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: var(--wt-transition);
	font-family: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.wto-btn-back {
	background: var(--wt-white) !important;
	color: var(--wt-gray) !important;
	border: 2px solid var(--wt-border) !important;
	font-weight: 500;
	transition: var(--wt-transition);
}

.wto-btn-back:hover {
	background: var(--wt-gray-light) !important;
	color: var(--wt-dark) !important;
	border-color: var(--wt-gray) !important;
	transform: translateX(-3px);
}

.wto-btn-back .dashicons {
	transition: transform 0.3s ease;
}

.wto-btn-back:hover .dashicons {
	transform: translateX(-2px);
}

.wto-btn-next {
	background: linear-gradient(135deg, var(--wt-primary) 0%, var(--wt-primary-light) 100%);
	color: var(--wt-white) !important;
	min-width: 180px;
	box-shadow: var(--wt-shadow);
	font-weight: 600;
	position: relative;
	overflow: hidden;
	transition: var(--wt-transition);
}

.wto-btn-submit {
	background: #28a745 !important;
	background-color: #28a745 !important;
	color: #ffffff !important;
	border: none !important;
	border-color: #28a745 !important;
	min-width: 180px;
	box-shadow: var(--wt-shadow);
	font-weight: 600 !important;
	position: relative;
	overflow: hidden;
	transition: var(--wt-transition);
	border-radius: 8px !important;
}

.wto-btn-next::before,
.wto-btn-submit::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
	transition: left 0.5s;
}

.wto-btn-next:hover::before,
.wto-btn-submit:hover::before {
	left: 100%;
}

.wto-btn-next:hover {
	transform: translateX(3px);
	box-shadow: 0 6px 24px rgba(216, 96, 52, 0.35);
}

.wto-btn-submit:hover {
	transform: translateX(3px);
	background: #218838 !important;
	background-color: #218838 !important;
	box-shadow: 0 6px 24px rgba(40, 167, 69, 0.35);
}

.wto-btn-next .dashicons,
.wto-btn-submit .dashicons {
	transition: transform 0.3s ease;
}

.wto-btn-next:hover .dashicons,
.wto-btn-submit:hover .dashicons {
	transform: translateX(3px);
}

.wto-btn-next:disabled,
.wto-btn-submit:disabled {
	background: var(--wt-gray-light);
	color: var(--wt-gray);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
	opacity: 0.5;
	border: 2px solid var(--wt-border);
}

.wto-btn-submit {
	font-size: 18px;
	padding: 16px 48px;
	min-width: 220px;
	background: linear-gradient(135deg, var(--wt-accent) 0%, var(--wt-primary) 100%);
	font-weight: 700;
}

.wto-btn-submit:hover {
	box-shadow: 0 8px 32px rgba(70, 104, 196, 0.4);
}

/* ============================================
   Loading & Messages - Below Progress Bar
   ============================================ */

#wto-loading {
	display: none;
	text-align: center;
	padding: 10px 20px;
	margin: 12px auto;
	max-width: max-content;
	background: linear-gradient(135deg, var(--wt-accent-light) 0%, rgba(208, 218, 241, 0.4) 100%);
	border-radius: 8px;
	border: 1px solid var(--wt-accent-light);
	flex-shrink: 0;
}

#wto-loading p {
	margin: 0;
	color: var(--wt-accent);
	font-weight: 600;
	font-size: 14px;
}

.wto-spinner {
	border: 4px solid var(--wt-accent-light);
	border-top: 4px solid var(--wt-primary);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 0.8s linear infinite;
	margin: 0 auto 20px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#wto-error-container {
	display: none;
	text-align: center;
	padding: 10px 20px;
	margin: 12px auto;
	max-width: max-content;
	background: linear-gradient(135deg, #ffebee 0%, rgba(255, 235, 238, 0.4) 100%);
	border-radius: 8px;
	border: 1px solid #ffcdd2;
	flex-shrink: 0;
}

.wto-error-message {
	margin: 0;
	color: #c62828;
	font-size: 14px;
	font-weight: 600;
	background: none;
	padding: 0;
	border: none;
	border-radius: 0;
}

#wto-success-container {
	display: none;
	text-align: center;
	padding: 40px;
	background: white;
}

.wto-success-message {
	background: var(--wt-white);
	border: 2px solid var(--wt-primary);
	padding: 40px;
	border-radius: var(--wt-radius);
	text-align: center;
}

.wto-success-message h2 {
	color: var(--wt-primary);
	margin-bottom: 16px;
	font-size: 32px;
	font-weight: 700;
}

.wto-success-message p {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 12px;
	color: var(--wt-dark);
}

.wto-success-message strong {
	font-size: 20px;
	color: var(--wt-accent);
	font-weight: 700;
}

.wto-success-message a {
	color: var(--wt-accent);
	font-weight: 700;
	text-decoration: underline;
}

.wto-success-message a:hover {
	color: var(--wt-primary);
}

/* ============================================
   Option Input Wrapper (for URL fields etc.)
   ============================================ */

.wto-option-input-wrapper {
	display: none;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--wt-border);
}

.wto-option-input-wrapper label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--wt-dark);
	margin-bottom: 6px;
}

.wto-option-input-wrapper input {
	width: 100%;
	padding: 10px 14px;
	font-size: 14px;
	border: 2px solid var(--wt-border);
	border-radius: 8px;
	background: var(--wt-white);
	color: var(--wt-dark);
	transition: all 0.2s ease;
}

.wto-option-input-wrapper input:focus {
	border-color: var(--wt-primary);
	box-shadow: 0 0 0 3px var(--wt-accent-light);
}

.wto-option-input-wrapper input::placeholder {
	color: var(--wt-muted);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
	.wto-radio-options {
		grid-template-columns: repeat(2, 1fr);
	}

	.wto-checkbox-options {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.wto-form-header {
		padding: 15px 20px;
	}

	.wto-form-logo img {
		max-width: 150px;
	}

	.wto-progress-bar-container {
		padding: 15px 20px 0;
	}

	.wto-form-content {
		padding: 20px;
	}

	.wto-question-label {
		font-size: 22px;
	}

	.wto-question-description {
		font-size: 15px;
		margin-bottom: 20px;
	}

	.wto-radio-options,
	.wto-checkbox-options {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.wto-option-card {
		padding: 16px;
	}

	.wto-option-label {
		font-size: 16px;
	}

	.wto-contact-fields {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.wto-contact-intro {
		padding: 12px 16px;
		margin-bottom: 16px;
	}

	.wto-contact-intro h3 {
		font-size: 18px;
	}

	.wto-privacy-notice {
		padding: 8px 12px;
	}

	.wto-form-navigation {
		padding: 16px 20px;
		flex-direction: column-reverse;
		gap: 12px;
	}

	.wto-btn {
		width: 100%;
	}

	/* Option icons smaller on mobile */
	.wto-option-icon {
		font-size: 24px;
		margin-bottom: 8px;
	}

	/* Tooltip adjustments for mobile */
	.wto-tooltip-text {
		min-width: 150px;
		max-width: 220px;
		font-size: 12px;
		padding: 8px 10px;
	}
}

@media (max-width: 480px) {
	.wto-form-header {
		padding: 12px 16px;
	}

	.wto-form-logo img {
		max-width: 120px;
	}

	.wto-progress-bar-container {
		padding: 12px 16px 0;
	}

	.wto-form-content {
		padding: 16px;
	}

	.wto-question-label {
		font-size: 18px;
		margin-bottom: 6px;
	}

	.wto-question-description {
		font-size: 14px;
		margin-bottom: 16px;
	}

	.wto-option-card {
		padding: 12px;
	}

	.wto-option-label {
		font-size: 15px;
		margin-bottom: 4px;
	}

	.wto-option-desc {
		font-size: 12px;
		margin-bottom: 4px;
	}

	.wto-option-price {
		font-size: 14px;
	}

	.wto-option-icon {
		font-size: 20px;
		margin-bottom: 6px;
	}

	.wto-contact-intro h3 {
		font-size: 16px;
	}

	.wto-contact-intro p {
		font-size: 13px;
	}

	.wto-field label {
		font-size: 13px;
		margin-bottom: 6px;
	}

	.wto-field input[type="text"],
	.wto-field input[type="email"],
	.wto-field input[type="tel"],
	.wto-field textarea {
		padding: 10px 12px;
		font-size: 14px;
	}

	.wto-form-navigation {
		padding: 12px 16px;
		gap: 10px;
	}

	.wto-btn {
		padding: 12px 20px;
		font-size: 14px;
	}

	.wto-btn-submit {
		font-size: 15px;
		padding: 14px 24px;
	}

	/* Progress bar text smaller */
	.wto-progress-text {
		font-size: 12px;
	}

	.wto-progress-step {
		font-size: 13px;
	}
}

/* ============================================
   Preselected Hosting Option (from Keuze Helper)
   ============================================ */

.wto-option-card.wto-preselected {
	border-color: var(--wt-accent);
	background: linear-gradient(135deg, rgba(70, 104, 196, 0.05) 0%, rgba(70, 104, 196, 0.02) 100%);
	box-shadow: 0 0 0 3px rgba(70, 104, 196, 0.12);
	position: relative;
	overflow: visible;
}

.wto-option-card.wto-preselected::before {
	content: "Aanbevolen";
	position: absolute;
	top: -10px;
	right: 16px;
	background: linear-gradient(135deg, var(--wt-accent) 0%, #5a7ed4 100%);
	color: var(--wt-white);
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 8px rgba(70, 104, 196, 0.3);
	z-index: 10;
}

.wto-option-card.wto-preselected .wto-option-label {
	color: var(--wt-accent);
}

/* ============================================
   Accessibility
   ============================================ */

.wto-option-card:focus-within {
	outline: 3px solid var(--wt-accent);
	outline-offset: 2px;
}

.wto-btn:focus {
	outline: 3px solid var(--wt-accent);
	outline-offset: 2px;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
}

/* Screen reader only */
.wto-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
	.wto-quote-form-wrapper {
		height: auto;
		background: white;
	}

	.wto-form-header,
	.wto-form-navigation {
		display: none;
	}
}

/* ============================================
   Contact Person Card - Thank You Page (Email Style)
   ============================================ */

.wto-contact-person-card {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	background: linear-gradient(135deg, var(--wt-gray-light) 0%, var(--wt-white) 100%);
	border-radius: var(--wt-radius);
	padding: 24px;
	margin: 25px 0;
	border: 1px solid var(--wt-border);
}

.wto-contact-photo-wrapper {
	flex-shrink: 0;
}

.wto-contact-person-card .wto-contact-photo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	border: 4px solid var(--wt-primary);
	object-fit: cover;
	display: block;
}

.wto-contact-details {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wto-contact-label {
	font-size: 11px;
	color: var(--wt-gray);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 500;
}

.wto-contact-name {
	font-size: 22px;
	font-weight: 700;
	color: var(--wt-dark);
	line-height: 1.2;
}

.wto-contact-function {
	font-size: 14px;
	color: var(--wt-gray);
	margin-bottom: 8px;
}

.wto-contact-links {
	margin: 4px 0 0 0;
	font-size: 14px;
	color: var(--wt-dark);
	line-height: 1.6;
}

.wto-contact-links a {
	color: var(--wt-primary);
	text-decoration: none;
	font-weight: 600;
}

.wto-contact-links a:hover {
	text-decoration: underline;
}

/* ============================================
   Action Buttons - Thank You Page
   ============================================ */

.wto-action-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 30px;
	flex-wrap: wrap;
}

.wto-action-buttons .wto-btn {
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: var(--wt-transition);
	text-transform: none;
	letter-spacing: normal;
}

.wto-action-buttons .wto-btn-primary {
	background: linear-gradient(135deg, var(--wt-primary) 0%, var(--wt-primary-light) 100%);
	color: var(--wt-white);
	box-shadow: 0 4px 16px rgba(216, 96, 52, 0.3);
}

.wto-action-buttons .wto-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(216, 96, 52, 0.4);
	color: var(--wt-white);
}

.wto-action-buttons .wto-btn-secondary {
	background: var(--wt-white);
	color: var(--wt-gray);
	border: 2px solid var(--wt-border);
}

.wto-action-buttons .wto-btn-secondary:hover {
	background: var(--wt-gray-light);
	color: var(--wt-dark);
	border-color: var(--wt-gray);
	transform: translateY(-2px);
}

/* Quote number styling */
.wto-quote-number {
	background: linear-gradient(135deg, var(--wt-accent-light) 0%, rgba(208, 218, 241, 0.4) 100%);
	padding: 12px 20px;
	border-radius: 8px;
	display: inline-block;
	margin: 10px 0 20px;
}

.wto-quote-number strong {
	color: var(--wt-accent);
	font-size: 20px;
}

/* Mobile responsive for contact card and buttons */
@media (max-width: 600px) {
	.wto-contact-person-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 20px;
	}

	.wto-contact-person-card .wto-contact-photo {
		width: 90px;
		height: 90px;
	}

	.wto-contact-details {
		align-items: center;
	}

	.wto-contact-name {
		font-size: 20px;
	}

	.wto-action-buttons {
		flex-direction: column;
		gap: 12px;
	}

	.wto-action-buttons .wto-btn {
		width: 100%;
		justify-content: center;
		padding: 14px 20px;
	}
}

/* Legacy support for old class names */
.wto-contact-person {
	display: flex;
	align-items: center;
	gap: 20px;
	background: linear-gradient(135deg, var(--wt-gray-light) 0%, var(--wt-white) 100%);
	border-radius: var(--wt-radius);
	padding: 20px;
	margin: 25px 0;
	border: 1px solid var(--wt-border);
}

.wto-contact-person .wto-contact-photo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 3px solid var(--wt-primary);
	object-fit: cover;
	flex-shrink: 0;
}

.wto-contact-info {
	flex: 1;
}

p.wto-contact-intro {
	margin: 0 0 5px 0;
	font-size: 16px;
	color: var(--wt-dark);
	background: none;
	padding: 0;
	border: none;
	border-radius: 0;
}

p.wto-contact-intro strong {
	color: var(--wt-primary);
}

p.wto-contact-function {
	margin: 0;
	font-size: 14px;
	color: var(--wt-gray);
}

@media (max-width: 480px) {
	.wto-contact-person {
		flex-direction: column;
		text-align: center;
	}

	.wto-contact-person .wto-contact-photo {
		width: 100px;
		height: 100px;
	}
}
