/* =============================================================
   Surfmobiel Reserveringen – frontend stijlen
   ============================================================= */

/* ---- Gedeeld ---------------------------------------------- */

.wsb-booking-widget,
.wsb-my-bookings,
.wsb-return-widget {
	max-width: 1200px;
	margin: 0 auto;
	font-family: inherit;
	color: inherit;
}

/* ---- Naast-elkaar layout reserveringswidget ------------------- */

.wsb-layout {
	display: flex;
	flex-wrap: nowrap;
	gap: 32px;
	align-items: flex-start;
	width: 100%;
}

.wsb-layout-formulier {
	flex: 0 0 40%;
	max-width: 40%;
	box-sizing: border-box;
}

.wsb-layout-kalender {
	flex: 1 1 60%;
	min-width: 0;
	box-sizing: border-box;
}

.wsb-widget-title {
	margin-bottom: 20px;
}

/* ---- Kalender --------------------------------------------- */

#wsb-calendar {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 12px;
	background: #fff;
}

/* ---- Formulier-wrapper ------------------------------------ */

.wsb-form-wrap {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 28px 32px;
	background: #fafafa;
}

.wsb-form-heading {
	margin: 0 0 6px;
	font-size: 1.2em;
}

.wsb-help-text {
	margin: 0 0 24px;
	color: #666;
	font-size: 0.9em;
	line-height: 1.5;
}

/* ---- Veldopmaak ------------------------------------------- */

.wsb-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.wsb-field-group {
	display: flex;
	flex-direction: column;
	margin-bottom: 18px;
}

.wsb-field-group label {
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 0.95em;
}

.wsb-req { color: #e74c3c; }

.wsb-field-group input[type="text"],
.wsb-field-group input[type="email"],
.wsb-field-group input[type="number"],
.wsb-field-group input[type="date"],
.wsb-field-group select,
.wsb-field-group textarea {
	padding: 9px 12px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 1em;
	font-family: inherit;
	background: #fff;
	transition: border-color 0.15s;
	box-sizing: border-box;
	width: 100%;
}

.wsb-field-group input:focus,
.wsb-field-group select:focus,
.wsb-field-group textarea:focus {
	outline: none;
	border-color: #2980b9;
	box-shadow: 0 0 0 2px rgba(41, 128, 185, 0.15);
}

.wsb-field-group input[type="file"] {
	padding: 6px 0;
	border: none;
	background: transparent;
	font-size: 0.9em;
}

.wsb-field-hint {
	margin-top: 4px;
	font-size: 0.82em;
	color: #888;
}

/* ---- Radio / checkbox ------------------------------------- */

.wsb-radio-groep {
	display: flex;
	gap: 24px;
	margin-top: 4px;
}

.wsb-radio-label,
.wsb-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: normal;
	cursor: pointer;
}

/* ---- Indicatieve kosten ----------------------------------- */

.wsb-cost-estimate {
	background: #f0f7ff;
	border: 1px solid #2980b9;
	border-radius: 6px;
	padding: 16px 20px;
	margin: 4px 0 20px;
}

.wsb-cost-estimate h4 {
	margin: 0 0 12px;
	font-size: 1em;
	color: #2980b9;
}

.wsb-cost-estimate table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

.wsb-cost-estimate td { padding: 4px 0; }
.wsb-cost-estimate td:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.wsb-est-total-row td {
	border-top: 1px solid #bcd4ee;
	padding-top: 10px;
}

.wsb-est-note {
	margin: 10px 0 0;
	font-size: 0.8em;
	color: #6a8aaa;
}

/* ---- Meldingen -------------------------------------------- */

.wsb-notice {
	border-radius: 5px;
	padding: 12px 16px;
	margin-bottom: 16px;
	font-size: 0.95em;
	line-height: 1.5;
}

.wsb-notice--error {
	background: #fef0f0;
	border: 1px solid #e74c3c;
	color: #c0392b;
}

.wsb-notice--waarschuwing {
	background: #fff8e1;
	border: 1px solid #f39c12;
	color: #7d5a00;
}

.wsb-notice--success {
	background: #edfbf0;
	border: 1px solid #27ae60;
	color: #1e6e3c;
	padding: 18px 20px;
}

/* ---- Verzendknop ------------------------------------------ */

.wsb-submit-btn {
	display: block;
	width: 100%;
	padding: 13px 20px;
	background: #2980b9;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 1em;
	font-family: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.18s, opacity 0.18s;
	margin-top: 4px;
}

.wsb-submit-btn:hover    { background: #1f6fa5; }
.wsb-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---- Uploadvoortgang -------------------------------------- */

.wsb-upload-progress {
	margin: 12px 0;
	text-align: center;
}

.wsb-progress-bar {
	height: 8px;
	background: #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 6px;
}

.wsb-progress-fill {
	height: 100%;
	background: #2980b9;
	width: 0;
	transition: width 0.2s;
}

/* ---- Mijn Reserveringen ----------------------------------- */

.wsb-login-prompt,
.wsb-geen-boekingen {
	color: #666;
	font-style: italic;
}

.wsb-sectie-kop {
	margin: 28px 0 12px;
	font-size: 1em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #888;
	border-bottom: 1px solid #eee;
	padding-bottom: 6px;
}

.wsb-boeking-kaart {
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-bottom: 14px;
	overflow: hidden;
}

.wsb-kaart-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 16px;
	background: #f4f4f4;
	font-weight: 600;
}

.wsb-boeking-kaart.wsb-kaart--groen .wsb-kaart-header { background: #e8f5e9; }
.wsb-boeking-kaart.wsb-kaart--oranje .wsb-kaart-header { background: #fff3e0; }
.wsb-boeking-kaart.wsb-kaart--grijs .wsb-kaart-header  { background: #f5f5f5; }

.wsb-kaart-body {
	padding: 12px 16px;
}

.wsb-kaart-rij {
	margin-bottom: 6px;
	font-size: 0.95em;
}

.wsb-kaart-kosten {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.wsb-eindkosten { color: #27ae60; }

.wsb-kaart-notitie {
	color: #555;
	font-style: italic;
	border-top: 1px solid #eee;
	padding-top: 8px;
	margin-top: 8px;
}

/* ---- Badge ------------------------------------------------ */

.wsb-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 0.8em;
	font-weight: 600;
}

.wsb-badge--groen  { background: #e8f5e9; color: #27ae60; }
.wsb-badge--oranje { background: #fff3e0; color: #e67e22; }
.wsb-badge--grijs  { background: #f5f5f5; color: #888; }

/* ---- Retourformulier -------------------------------------- */

.wsb-return-widget .wsb-help-text {
	margin-bottom: 24px;
}

/* Boekingskiezer */
.wsb-ret-kiezer {
	background: #f0f7ff;
	border: 1px solid #2980b9;
	border-radius: 8px;
	padding: 20px 24px;
	margin-bottom: 24px;
}

.wsb-ret-kiezer-rij {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 8px;
}

.wsb-ret-kiezer-rij select {
	flex: 1;
	min-width: 200px;
	padding: 9px 12px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 1em;
	font-family: inherit;
}

.wsb-btn-accent {
	padding: 9px 20px;
	background: #2980b9;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 1em;
	font-family: inherit;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s;
}

.wsb-btn-accent:hover    { background: #1f6fa5; }
.wsb-btn-accent:disabled { opacity: 0.5; cursor: not-allowed; }

.wsb-ret-kiezer-of {
	margin-top: 10px;
	font-size: 0.9em;
	color: #555;
}

/* Badge gekoppelde reservering */
.wsb-gekoppeld-badge {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #e8f5e9;
	border: 1px solid #27ae60;
	border-radius: 5px;
	padding: 8px 14px;
	font-size: 0.9em;
	margin-bottom: 16px;
}

.wsb-gekoppeld-badge a {
	color: #c0392b;
	white-space: nowrap;
}

/* Readonly-velden licht grijs tonen */
input[readonly] {
	background: #f5f5f5;
	color: #555;
}

/* ---- Responsief ------------------------------------------- */

@media ( max-width: 600px ) {
	.wsb-field-row               { grid-template-columns: 1fr; }
	.wsb-form-wrap               { padding: 20px 16px; }
	.wsb-kaart-kosten            { flex-direction: column; gap: 4px; }
}
