/* ==========================================================================
   DDST Booking Form — navy & gold theme
   Matches the Dubai Desert Safari Tours logo palette.
   ========================================================================== */

.ddst-form-wrap {
	--ddst-black: #0a0c16;
	--ddst-black-soft: #141c2c;
	--ddst-gold: #f2a827;
	--ddst-gold-light: #efcc76;
	--ddst-cream: #f3f0e6;
	--ddst-muted: #7d8ba3;
	--ddst-error: #d64545;
	--ddst-success: #3a8a4c;

	max-width: 760px;
	margin: 0 auto;
	background: var(--ddst-black);
	background-image: radial-gradient(circle at top right, rgba(242, 168, 39, 0.08), transparent 60%);
	border: 1px solid rgba(242, 168, 39, 0.25);
	border-radius: 14px;
	padding: 32px;
	color: var(--ddst-cream);
	font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
	box-sizing: border-box;
}
.ddst-form-wrap * { box-sizing: border-box; }

/* Step indicator */
.ddst-steps-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 32px;
	flex-wrap: wrap;
}
.ddst-step-dot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	opacity: 0.45;
	transition: opacity 0.25s ease;
}
.ddst-step-dot.active,
.ddst-step-dot.completed { opacity: 1; }
.ddst-step-dot span {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid var(--ddst-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 14px;
	color: var(--ddst-gold);
	background: var(--ddst-black-soft);
}
.ddst-step-dot.active span,
.ddst-step-dot.completed span {
	background: var(--ddst-gold);
	color: var(--ddst-black);
}
.ddst-step-dot small { font-size: 11px; letter-spacing: 0.04em; color: var(--ddst-muted); text-transform: uppercase; }
.ddst-step-line { flex: 1; height: 1px; background: rgba(242, 168, 39, 0.3); margin: 0 6px 18px; min-width: 20px; }

/* Headings */
.ddst-form-wrap h3 {
	font-size: 20px;
	margin: 0 0 20px;
	color: var(--ddst-gold-light);
	font-weight: 600;
	letter-spacing: 0.01em;
}

/* Tour selection grid */
.ddst-tour-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
	margin-bottom: 24px;
}
.ddst-tour-card { position: relative; cursor: pointer; }
.ddst-tour-card input { position: absolute; opacity: 0; }
.ddst-tour-card-inner {
	display: block;
	border: 1.5px solid rgba(242, 168, 39, 0.3);
	border-radius: 10px;
	padding: 16px;
	background: var(--ddst-black-soft);
	transition: border-color 0.2s ease, background 0.2s ease;
}
.ddst-tour-card input:checked + .ddst-tour-card-inner {
	border-color: var(--ddst-gold);
	background: rgba(242, 168, 39, 0.12);
	box-shadow: 0 0 0 1px var(--ddst-gold);
}
.ddst-tour-name { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.ddst-tour-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--ddst-muted); }
.ddst-tour-price { color: var(--ddst-gold-light); font-weight: 600; }
.ddst-empty-note { color: var(--ddst-muted); font-size: 14px; }

/* Fields */
.ddst-field-row { display: flex; gap: 16px; }
.ddst-field-row .ddst-field { flex: 1; }
.ddst-field { margin-bottom: 18px; }
.ddst-field label {
	display: block;
	font-size: 13px;
	margin-bottom: 6px;
	color: var(--ddst-muted);
	letter-spacing: 0.02em;
}
.ddst-field input,
.ddst-field select,
.ddst-field textarea {
	width: 100%;
	padding: 11px 13px;
	border-radius: 8px;
	border: 1px solid rgba(242, 168, 39, 0.35);
	background: var(--ddst-black-soft);
	color: var(--ddst-cream);
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s ease;
}
.ddst-field input:focus,
.ddst-field select:focus,
.ddst-field textarea:focus { border-color: var(--ddst-gold); }
.ddst-field input::placeholder,
.ddst-field textarea::placeholder { color: #6b6259; }

/* Review box */
.ddst-review-box {
	background: var(--ddst-black-soft);
	border: 1px solid rgba(242, 168, 39, 0.25);
	border-radius: 10px;
	padding: 18px;
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.9;
}
.ddst-review-box strong { color: var(--ddst-gold-light); }
.ddst-review-row { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(242, 168, 39, 0.15); padding: 4px 0; }
.ddst-review-row:last-child { border-bottom: none; }

.ddst-payment-note {
	background: rgba(242, 168, 39, 0.1);
	border-left: 3px solid var(--ddst-gold);
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	margin-bottom: 18px;
}

.ddst-terms { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ddst-muted); margin-bottom: 20px; }
.ddst-terms input { margin-top: 3px; }

/* Buttons */
.ddst-nav-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.ddst-btn {
	padding: 12px 26px;
	border-radius: 8px;
	border: none;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	letter-spacing: 0.02em;
	transition: transform 0.15s ease, opacity 0.15s ease;
}
.ddst-btn:active { transform: scale(0.97); }
.ddst-btn-next,
.ddst-btn-submit {
	background: linear-gradient(135deg, var(--ddst-gold-light), var(--ddst-gold));
	color: var(--ddst-black);
	margin-left: auto;
}
.ddst-btn-back {
	background: transparent;
	color: var(--ddst-muted);
	border: 1px solid rgba(242, 168, 39, 0.3);
}
.ddst-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.ddst-form-message { margin-top: 14px; font-size: 13px; }
.ddst-form-message.error { color: var(--ddst-error); }
.ddst-form-message.success { color: var(--ddst-success); }

/* Success screen */
.ddst-step-success { text-align: center; padding: 30px 10px; }
.ddst-success-icon {
	width: 62px;
	height: 62px;
	line-height: 62px;
	border-radius: 50%;
	background: var(--ddst-gold);
	color: var(--ddst-black);
	font-size: 28px;
	margin: 0 auto 16px;
}
.ddst-step-success h3 { color: var(--ddst-gold-light); }
.ddst-step-success p { color: var(--ddst-muted); font-size: 14px; max-width: 420px; margin: 6px auto; }
#ddstSuccessRef { color: var(--ddst-gold-light); font-weight: 700; font-size: 16px; }
.ddst-whatsapp-link {
	display: inline-block;
	margin-top: 10px;
	color: #25D366;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid rgba(37, 211, 102, 0.4);
	padding: 8px 18px;
	border-radius: 20px;
}
.ddst-whatsapp-link:hover { background: rgba(37, 211, 102, 0.1); }

/* Responsive */
@media (max-width: 600px) {
	.ddst-form-wrap { padding: 20px 16px; border-radius: 0; }
	.ddst-field-row { flex-direction: column; gap: 0; }
	.ddst-step-dot small { display: none; }
	.ddst-steps-nav { margin-bottom: 24px; }
	.ddst-nav-row { flex-direction: row-reverse; justify-content: space-between; }
	.ddst-tour-grid { grid-template-columns: 1fr; }
}
