/* Voyage Travel World — Enrollment overlay.
   Scoped to .voy-wizard; the page itself should use Elementor's Canvas/blank
   template so no theme header/footer/menu shows (see plugin settings page). */

body.voyage-enrollment-takeover {
	margin: 0;
	padding: 0;
	background: #f6f5f2;
}

.voy-wizard {
	max-width: 640px;
	margin: 0 auto;
	padding: 2rem 1.25rem 4rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1f2430;
}

.voy-wizard.is-signing {
	max-width: min(1180px, calc(100vw - 2rem));
}

/* The checkout pages wrap the wizard in a 720px card (.vtw-co-card). Widen
   that card while the contract is shown: at ~1000px+ Zoho Sign switches from
   its phone layout (small page, search icon that reads as a zoom button) to
   its desktop layout with a large, readable document. */
.vtw-co-card:has(.voy-wizard.is-signing) {
	max-width: min(1180px, calc(100vw - 2rem));
}

.voy-steps {
	display: flex;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	gap: 0.5rem;
	counter-reset: voy-step;
}

.voy-step {
	flex: 1;
	text-align: center;
	font-size: 0.85rem;
	padding: 0.6rem 0.25rem;
	border-bottom: 3px solid #d8d5cc;
	color: #8a8577;
}

.voy-step.is-active {
	border-bottom-color: #1f2430;
	color: #1f2430;
	font-weight: 600;
}

.voy-step.is-done {
	border-bottom-color: #4c8c5a;
	color: #4c8c5a;
}

.voy-panel fieldset {
	border: 1px solid #e3e0d6;
	border-radius: 8px;
	padding: 1.25rem;
	margin-bottom: 1.25rem;
}

.voy-panel legend {
	font-weight: 600;
	padding: 0 0.4rem;
}

.voy-panel label {
	display: block;
	margin: 0.9rem 0 0.3rem;
	font-size: 0.9rem;
}

.voy-panel input,
.voy-panel select {
	width: 100%;
	min-height: 48px;
	padding: 0.6rem 0.75rem;
	font-size: 1rem;
	border: 1px solid #c9c5b8;
	border-radius: 6px;
	box-sizing: border-box;
}

/* Prefilled from the Stripe payment and locked: clearly greyed out with a
   lock, not a white field that only looks editable. !important and the extra
   class beat the enrollment pages' own inline field styles. */
.voy-wizard .voy-panel input[readonly] {
	background-color: #e9ecef !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	padding-right: 40px !important;
	border-color: #d5dadf !important;
	color: #5f6b75 !important;
	cursor: not-allowed;
	box-shadow: none !important;
}

.voy-wizard .voy-panel input[readonly]:focus {
	outline: none;
}

.voy-wizard .voy-locked-hint {
	margin: 0.2rem 0 0;
	font-size: 0.85rem;
	color: #6b7680;
}

/* "Change name or email" and "Back to your data": text links, not buttons.
   !important beats the theme's own button styles. */
.voy-wizard .voy-link-button {
	display: inline;
	width: auto;
	min-height: 0;
	margin: 0 0 0 0.25rem;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: #c8375a !important;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.voy-wizard .voy-back {
	display: inline-block;
	margin: 0 0 0.75rem;
}

.voy-wizard button[type="submit"] {
	width: 100%;
	min-height: 54px;
	font-size: 1.05rem;
	font-weight: 600;
	border: 0;
	border-radius: 6px;
	background: #1f2430;
	color: #fff;
	cursor: pointer;
}

.voy-wizard button[type="submit"]:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.voy-warning {
	background: #fdf3e3;
	border: 1px solid #e9d8ab;
	border-radius: 6px;
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
}

.voy-error {
	color: #b3261e;
	font-size: 0.9rem;
}

#voy-sign-frame {
	width: 100%;
	height: 88vh;
	min-height: 680px;
	border: 0;
	border-radius: 8px;
}

@media (max-width: 720px) {
	.voy-wizard.is-signing {
		max-width: 100%;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	#voy-sign-frame {
		min-height: 560px;
	}
}
