/* EOW Offerte Systeem — licht thema, donkerblauwe tekst (#001945), overgenomen uit de
   live styling van eventophetwater.nl. Eerdere versie ging uit van een donkerblauw
   formuliervlak; dat bleek niet te kloppen met hoe het er in het echt uitziet. */

.eow-offerte-wrapper {
	max-width: 620px;
}

.eow-offerte-form {
	background: transparent;
	padding: 0;
}

.eow-required-legend,
.eow-required-note {
	color: #001945;
	font-size: 13px;
	margin-bottom: 20px;
}

.eow-field {
	margin-bottom: 22px;
}

.eow-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.eow-field-half {
	flex: 1 1 calc(50% - 10px);
}

.eow-field-quarter {
	flex: 1 1 calc(25% - 15px);
}

.eow-field-label {
	display: block;
	color: #001945;
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 14px;
}

.eow-req {
	color: #be9d2d;
}

.eow-offerte-form input[type="text"],
.eow-offerte-form input[type="email"],
.eow-offerte-form input[type="tel"],
.eow-offerte-form input[type="date"],
.eow-offerte-form input[type="number"],
.eow-offerte-form select,
.eow-offerte-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #686e77;
	border-radius: 3px;
	color: #000;
	background: #fff;
	font-size: 14px;
	box-sizing: border-box;
}

.eow-phone-group {
	display: flex;
	align-items: stretch;
	width: 100%;
}

.eow-phone-dial {
	border: 1px solid #686e77;
	border-right: none;
	border-radius: 3px 0 0 3px;
	background: #fafafa;
	color: #001945;
	font-weight: 600;
	font-size: 13px;
	padding: 0 4px 0 8px;
	width: 100px;
	flex: 0 0 100px;
	box-sizing: border-box;
}

.eow-phone-zero {
	display: none;
	align-items: center;
	justify-content: center;
	border: 1px solid #686e77;
	border-left: none;
	border-right: none;
	background: #fafafa;
	color: #001945;
	font-weight: 700;
	font-size: 14px;
	padding: 0 10px;
	flex: 0 0 auto;
	box-sizing: border-box;
}

.eow-phone-group.is-nl .eow-phone-zero {
	display: flex;
}

.eow-phone-part {
	border: 1px solid #686e77 !important;
	border-left: none !important;
	border-radius: 0 3px 3px 0 !important;
	flex: 1 1 0%;
	min-width: 0;
	width: 100% !important;
	box-sizing: border-box;
}

.eow-reservering-heading {
	color: #001945;
	font-size: 22px;
	font-weight: 800;
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Particulier/Zakelijk tab-keuze, zoals .tabselectionbtn in het origineel */
.tabselectionbtn .eow-radio-group {
	display: flex;
	gap: 14px;
}

.tabselectionbtn .eow-choice {
	border: 1px solid #001945;
	padding: 12px 18px;
	border-radius: 5px;
	cursor: pointer;
	color: #001945;
	font-weight: 500;
	font-size: 15px;
	transition: 0.3s all ease-in-out;
	display: flex;
	align-items: center;
	gap: 10px;
}

.tabselectionbtn .eow-choice input[type="radio"] {
	width: 15px;
	height: 15px;
}

.tabselectionbtn .eow-choice:has(input:checked) {
	background: #b5d9fe;
	color: #001945;
	border-color: #b5d9fe;
}

/* Boot-keuze per stad, matcht .Amsterdamboates / .Rotterdamboats etc. uit het origineel */
.eow-boot-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.eow-boot-choice {
	border: 1px solid #001945;
	border-radius: 5px;
	padding: 8px 10px;
	display: flex;
	align-items: flex-start;
	color: #001945;
	font-size: 12px;
	cursor: pointer;
	flex: 1 1 calc(50% - 10px);
	box-sizing: border-box;
	background: #fff;
}

.eow-boot-choice input[type="radio"] {
	margin-right: 8px;
	flex-shrink: 0;
	margin-top: 2px;
}

.eow-boot-icon {
	display: inline-block;
	flex-shrink: 0;
	margin-right: 6px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	margin-top: 2px;
	/* Icoon-bestanden zijn wit silhouet op transparante achtergrond; deze filter
	   kleurt ze om naar het donkerblauwe merk-kleurtje (#001945), exact de filter
	   die het origineel ook gebruikt op de lichte pagina's. */
	filter: invert(96%) sepia(91%) saturate(3620%) hue-rotate(224deg) brightness(95%) contrast(106%);
}

.eow-boot-choice:has(input:checked) {
	background: rgba(190, 157, 45, 0.12);
	border-color: #be9d2d;
}

.eow-boot-card {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 100%;
}

.eow-boot-naam {
	font-weight: 700;
	font-size: 13px;
	color: #001945;
}

.eow-boot-prijs,
.eow-boot-personen {
	font-size: 12px;
	color: #001945;
	opacity: 0.85;
}

.eow-boot-bekijk {
	display: inline-block;
	margin-top: 6px;
	background: #001945;
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 5px 14px;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	align-self: flex-start;
}

.eow-boot-bekijk:hover {
	background: #002a66;
}

@media (max-width: 640px) {
	.eow-boot-choice {
		flex: 1 1 100%;
	}
}

/* Lightbox voor de bootfoto's */
.eow-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.eow-lightbox-inner {
	position: relative;
	max-width: 520px;
	width: 100%;
	max-height: 85vh;
	background: #fff;
	border-radius: 6px;
	overflow: auto;
}

.eow-lightbox-inner img {
	width: 100%;
	height: auto;
	display: block;
}

.eow-lightbox-titel {
	padding: 14px 18px;
	color: #001945;
	font-weight: 700;
	font-size: 18px;
}

.eow-lightbox-close {
	position: absolute;
	top: 10px;
	right: 16px;
	color: #001945;
	background: #fff;
	border-radius: 50%;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	cursor: pointer;
	line-height: 1;
}

.eow-field-hint {
	color: #001945;
	font-size: 12px;
	margin-top: 6px;
}

.eow-consent label {
	color: #001945;
	font-size: 13px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.eow-consent a {
	color: #be9d2d;
}

.eow-submit-button {
	background: #be9d2d;
	color: #fff;
	border: none;
	padding: 12px 34px;
	border-radius: 3px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.eow-submit-button:hover {
	opacity: 0.9;
}

#eow-offerte-message {
	margin-bottom: 16px;
	scroll-margin-top: 140px;
}

#eow-offerte-message.eow-success {
	background: #d7f5dd;
	color: #14532d;
	padding: 14px 18px;
	border-radius: 4px;
}

#eow-offerte-message.eow-error {
	background: #fde2e2;
	color: #7f1d1d;
	padding: 14px 18px;
	border-radius: 4px;
}

@media (max-width: 640px) {
	.eow-field-half,
	.eow-field-quarter {
		flex: 1 1 100%;
	}
}

/* Overige formulieren (Contact, Brochure, Sail, ALF, B2B): velden met .eow-field-half
   staan twee aan twee naast elkaar, net als in de oude Gravity Forms-opmaak. Alles
   zonder die klasse loopt over de volle breedte. Geldt alleen binnen .eowx-form, dus
   de bestaande offerteformulieren merken hier niets van. */
.eowx-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 20px;
}

.eowx-form > * {
	grid-column: 1 / -1;
	min-width: 0;
}

.eowx-form > .eow-field-half {
	grid-column: auto;
}

.eowx-form .eow-submit-button {
	justify-self: start;
}

.eowx-form a.eow-boot-bekijk,
.eowx-form a.eow-boot-bekijk:hover {
	color: #fff;
	text-decoration: none;
}

.eowx .eowx-fout:empty {
	display: none;
}

@media (max-width: 640px) {
	.eowx-form {
		grid-template-columns: 1fr;
	}
}
