/*
 * Path: wp-content/plugins/jmp-part-uploader/assets/css/frontend.css
 * Vexal public form pattern (aligned with nad-appointment-scheduler / VEXAL-CODE-STANDARDS.md).
 * All selectors scoped under .wi-*.
 */

/* —— Widget shell (appointment scheduler parity) —— */
.wi-appointment-widget {
	--wi-brand: #0d8ec4;
	--wi-brand-hover: color-mix(in srgb, var(--wi-brand) 82%, #000);
	--wi-brand-soft: color-mix(in srgb, var(--wi-brand) 8%, transparent);
	--wi-brand-mid: color-mix(in srgb, var(--wi-brand) 18%, transparent);
	--wi-brand-border: color-mix(in srgb, var(--wi-brand) 28%, transparent);
	--wi-brand-outline: color-mix(in srgb, var(--wi-brand) 35%, transparent);
	--wi-radius: 16px;
	--wi-border: rgba(0, 0, 0, 0.1);
	--wi-field-gap: 1.35rem;
	--wi-control-padding: 14px 16px;
	--wi-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	max-width: 640px;
	margin: 1.25rem auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	line-height: 1.55;
	color: #333;
	box-sizing: border-box;
}

.wi-appointment-widget--wide {
	max-width: 920px;
}

.wi-form-wrapper {
	padding: 20px;
	box-sizing: border-box;
}

.wi-form-wrap {
	background: #fff;
	padding: 32px 36px;
	border-radius: var(--wi-radius);
	border: 1px solid var(--wi-brand-border);
	box-sizing: border-box;
	position: relative;
}

.wi-appointment-widget.wi-card-style-flat .wi-form-wrap {
	box-shadow: none;
	border: 1px solid var(--wi-border);
}

.wi-appointment-widget.wi-card-style-elevated .wi-form-wrap {
	box-shadow: var(--wi-card-shadow);
	border: 1px solid color-mix(in srgb, var(--wi-brand) 12%, transparent);
}

.wi-appointment-widget.wi-card-style-bordered .wi-form-wrap {
	box-shadow: none;
	border: 2px solid var(--wi-brand-border);
}

/* —— Messages —— */
.wi-form-message {
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
	box-sizing: border-box;
}

.wi-form-message--error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* —— Step indicator —— */
.wi-sr-only {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.wi-stepper {
	margin: 0 0 1.75rem;
	min-width: 0;
}

.wi-stepper__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--wi-step-count, 3), minmax(0, 1fr));
	gap: 0.65rem;
	min-width: 0;
}

.wi-stepper--compact .wi-stepper__list:not(.wi-stepper__list--badges) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wi-stepper--compact .wi-stepper__label {
	font-size: 0.82rem;
	line-height: 1.25;
}

.wi-stepper__item {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	border: 1px solid #ddd;
	background: #fafafa;
	color: #666;
	font-size: 0.88rem;
	transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
	min-width: 0;
}

.wi-stepper__item.is-current {
	border-color: var(--wi-brand-border);
	background: #fff;
	color: #1a1a1a;
	font-weight: 600;
}

.wi-stepper__item.is-done {
	color: var(--wi-brand-hover);
	border-color: var(--wi-brand-mid);
}

.wi-stepper__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 12px;
	background: transparent;
	color: #5c6670;
	flex-shrink: 0;
	transition: color 0.35s ease;
}

.wi-stepper__icon {
	display: block;
	width: 1.2rem;
	height: 1.2rem;
	flex-shrink: 0;
}

.wi-stepper__icon--done {
	display: none;
}

.wi-stepper__item.is-done .wi-stepper__icon--step {
	display: none;
}

.wi-stepper__item.is-done .wi-stepper__icon--done {
	display: block;
}

.wi-stepper__item.is-current .wi-stepper__badge,
.wi-stepper__item--badge.is-current .wi-stepper__badge {
	background: transparent;
	color: var(--wi-brand);
	box-shadow: none;
}

.wi-stepper__item.is-done .wi-stepper__badge {
	background: transparent;
	color: var(--wi-brand-hover);
}

.wi-stepper__label {
	line-height: 1.3;
	min-width: 0;
	overflow-wrap: anywhere;
}

/* 5+ steps: progress bar + badge rail (no overlapping labels). */
.wi-stepper--many .wi-stepper__meta {
	display: grid;
	gap: 0.65rem;
	margin-bottom: 0.85rem;
	min-width: 0;
}

.wi-stepper__status {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #444;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
}

.wi-stepper__status-counter {
	font-weight: 800;
	color: color-mix(in srgb, var(--wi-brand) 55%, #000);
	white-space: nowrap;
}

.wi-stepper__status-sep {
	color: #9aa3ad;
}

.wi-stepper__status-label {
	font-weight: 600;
	color: #1a1a1a;
	min-width: 0;
	overflow-wrap: anywhere;
}

.wi-stepper__progress-track {
	height: 8px;
	border-radius: 999px;
	background: var(--wi-brand-mid);
	overflow: hidden;
}

.wi-stepper__progress-fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--wi-brand-hover), var(--wi-brand));
	transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wi-stepper__list--badges {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.5rem;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0.15rem 0.1rem 0.45rem;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.wi-stepper__list--badges::-webkit-scrollbar {
	height: 6px;
}

.wi-stepper__list--badges::-webkit-scrollbar-thumb {
	background: var(--wi-brand-mid);
	border-radius: 999px;
}

.wi-stepper__item--badge {
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	scroll-snap-align: center;
}

.wi-stepper__item--badge .wi-stepper__badge {
	width: 2.45rem;
	height: 2.45rem;
	border-radius: 14px;
}

.wi-stepper__item--badge .wi-stepper__icon {
	width: 1.28rem;
	height: 1.28rem;
}

.wi-stepper__item--badge.is-done {
	background: #fff;
}

@media (min-width: 760px) {
	.wi-stepper--compact .wi-stepper__list:not(.wi-stepper__list--badges) {
		grid-template-columns: repeat(var(--wi-step-count, 4), minmax(0, 1fr));
	}

	.wi-stepper__list:not(.wi-stepper__list--badges) .wi-stepper__item {
		min-height: 3.25rem;
	}

	.wi-stepper--many .wi-stepper__list--badges {
		justify-content: center;
		flex-wrap: wrap;
		overflow: visible;
		padding-bottom: 0;
	}
}

@media (max-width: 640px) {
	.wi-stepper__list:not(.wi-stepper__list--badges) {
		grid-template-columns: 1fr;
	}

	.wi-stepper--compact .wi-stepper__list:not(.wi-stepper__list--badges) {
		grid-template-columns: 1fr;
	}

	.wi-form-wrapper {
		padding: 10px;
	}

	.wi-form-wrap {
		padding: 24px 20px;
	}
}

/* —— Steps —— */
.wi-form {
	display: grid;
	gap: 1.25rem;
}

.wi-steps-viewport {
	position: relative;
	min-height: 200px;
}

.wi-error {
	color: #d63638;
	font-size: 13px;
	margin: 0 0 0.75rem;
	padding: 0.65rem 0.85rem;
	border-radius: 4px;
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	display: block;
}

.wi-error[hidden] {
	display: none !important;
}

.wi-step {
	margin: 0;
	animation: wi-fade-in 0.3s ease-out;
}

.wi-step[hidden] {
	display: none !important;
}

.wi-step.is-current {
	display: block;
	animation: wi-step-enter-forward 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wi-step.is-current.is-enter-back {
	animation-name: wi-step-enter-back;
}

@keyframes wi-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes wi-step-enter-forward {
	from {
		opacity: 0;
		transform: translateX(28px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes wi-step-enter-back {
	from {
		opacity: 0;
		transform: translateX(-28px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.wi-step-title {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 0.75rem;
	padding: 1rem 0 1.1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
	letter-spacing: -0.02em;
	text-align: left;
}

.wi-step-intro {
	margin: -0.35rem 0 1.35rem;
	color: #555;
	font-size: 16px;
	line-height: 1.55;
	text-align: left;
}

.wi-form-grid {
	display: grid;
	gap: var(--wi-field-gap);
	grid-template-columns: 1fr;
}

/* Wide widget only: two-column contact fields at comfortable breakpoints. */
@media (min-width: 760px) {
	.wi-appointment-widget--wide .wi-form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.wi-form-row {
	margin: 0;
	width: 100%;
	box-sizing: border-box;
	min-width: 0;
	display: grid;
	gap: 0.55rem;
}

.wi-form-row--full {
	grid-column: 1 / -1;
}

.wi-form-fieldset {
	margin: 0;
	padding: 1.15rem 1.25rem 0.35rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: calc(var(--wi-radius) * 0.75);
	background: color-mix(in srgb, var(--wi-brand) 3%, #fff);
	display: grid;
	gap: var(--wi-field-gap);
	min-width: 0;
}

.wi-form-fieldset__legend {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 0 0.15rem;
	font-size: 17px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.35;
}

.wi-form-fieldset .wi-form-row:last-child {
	margin-bottom: 0.35rem;
}

/* Shared multi-choice / checkbox card controls (all profiles). */
.wi-choice-group {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.wi-choice-group__legend {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 0 0.65rem;
	font-size: 15px;
	font-weight: 600;
	color: #333;
	line-height: 1.4;
}

.wi-choice-cards {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: 1fr;
}

@media (min-width: 560px) {
	.wi-choice-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.wi-choice-card {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin: 0;
	padding: 0.85rem 0.95rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
	min-width: 0;
}

.wi-choice-card:hover {
	border-color: color-mix(in srgb, var(--wi-brand) 45%, #ccc);
}

.wi-choice-card:focus-within {
	border-color: var(--wi-brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wi-brand) 22%, transparent);
}

.wi-choice-card__input {
	margin: 0.2rem 0 0;
	flex: 0 0 auto;
	accent-color: var(--wi-brand);
}

.wi-choice-card__body {
	min-width: 0;
	flex: 1 1 auto;
}

.wi-choice-card__label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #222;
}

.wi-choice-card--single {
	width: 100%;
}

.wi-choice-single {
	width: 100%;
}

.wi-form-row[hidden],
.wi-form-row[hidden="hidden"] {
	display: none !important;
}

.wi-choice-group.wi-field-invalid,
.wi-form-row:has(.wi-field-invalid) .wi-choice-card {
	border-color: #b42318;
}

.wi-form-row label {
	display: block;
	margin: 0;
	font-weight: 600;
	color: #333;
	font-size: 15px;
	line-height: 1.4;
	text-align: left;
}

.wi-form-control {
	width: 100%;
	padding: var(--wi-control-padding);
	border: 1px solid var(--wi-border);
	border-radius: 8px;
	font-size: 16px;
	font-family: inherit;
	line-height: 1.45;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
	background: #fff;
	color: #333;
}

textarea.wi-form-control {
	min-height: 120px;
	resize: vertical;
}

.wi-form-control:focus {
	outline: none;
	border-color: var(--wi-brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wi-brand) 15%, transparent);
}

.wi-form-control.wi-field-invalid {
	border-color: #d63638;
	box-shadow: 0 0 0 2px rgba(214, 54, 56, 0.12);
}

.wi-form-control--file {
	padding: 0.5rem;
	font-size: 14px;
}

select.wi-form-control {
	cursor: pointer;
	appearance: none;
	padding-right: 2.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 16px;
	background-position: calc(100% - 0.65rem) 50%;
}

.wi-form-help {
	margin: -0.25rem 0 1.25rem;
	color: #666;
	font-size: 15px;
	line-height: 1.65;
}

.wi-form-help--optional {
	margin-top: -0.75rem;
}

.wi-field-hint {
	display: block;
	font-size: 0.85rem;
	font-weight: 400;
	color: #666;
	margin-top: 0.35rem;
}

.wi-required {
	color: #d63638;
	margin-left: 3px;
	font-weight: 700;
}

.wi-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* —— Wizard navigation (appointment buttons) —— */
.wi-wizard-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: flex-end;
	align-items: center;
	margin-top: 1.75rem;
	padding-top: 1.35rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.wi-back-button {
	background: transparent;
	border: 1px solid #ddd;
	color: #666;
	padding: 10px 18px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-family: inherit;
	font-weight: 600;
	transition: all 0.2s;
	min-height: 44px;
}

.wi-back-button:hover {
	background: #f5f5f5;
	border-color: #999;
}

.wi-back-button:focus-visible {
	outline: 3px solid rgba(13, 142, 196, 0.35);
	outline-offset: 2px;
}

.wi-back-button[hidden] {
	display: none !important;
}

.wi-skip-upload-button {
	background: transparent;
	border: none;
	color: #0b6f96;
	padding: 10px 4px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 15px;
	font-family: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s;
	min-height: 44px;
	margin-right: auto;
}

.wi-skip-upload-button:hover {
	color: #084b66;
}

.wi-skip-upload-button:focus-visible {
	outline: 3px solid rgba(13, 142, 196, 0.35);
	outline-offset: 2px;
}

.wi-skip-upload-button[hidden] {
	display: none !important;
}

.wi-submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 14px 28px;
	border: none;
	border-radius: calc(var(--wi-radius) * 0.5);
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	background: var(--wi-brand);
	color: #fff;
	transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
	letter-spacing: 0.02em;
	box-sizing: border-box;
	box-shadow: 0 4px 12px rgba(13, 142, 196, 0.22);
}

.wi-submit-button:hover {
	background: var(--wi-brand-hover);
	transform: translateY(-1px);
}

.wi-submit-button:focus-visible {
	outline: 3px solid var(--wi-brand-outline);
	outline-offset: 2px;
}

.wi-submit-button:active {
	transform: translateY(0);
}

.wi-submit-button:disabled,
.wi-submit-button.is-busy {
	background: #9eb8c4;
	cursor: wait;
	transform: none;
}

.wi-btn-next[hidden],
.wi-form-submit[hidden] {
	display: none !important;
}

/* —— Upload in progress overlay —— */
.wi-upload-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	box-sizing: border-box;
	background: #fff;
}

.wi-upload-overlay[hidden] {
	display: none !important;
}

.wi-upload-overlay__inner {
	text-align: center;
	max-width: 420px;
}

.wi-upload-overlay__glow {
	width: 88px;
	height: 88px;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(13, 142, 196, 0.35), rgba(13, 142, 196, 0.08));
	border: 2px solid rgba(13, 142, 196, 0.35);
	animation: wi-upload-pulse 1.6s ease-in-out infinite;
}

.wi-upload-overlay__text {
	margin: 0 0 0.5rem;
	font-size: 1.2rem;
	font-weight: 700;
	color: #084b66;
	animation: wi-upload-text-glow 1.6s ease-in-out infinite;
}

.wi-upload-overlay__sub {
	margin: 0;
	font-size: 0.95rem;
	color: #666;
}

@keyframes wi-upload-pulse {
	0%,
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(13, 142, 196, 0.25);
		opacity: 0.85;
	}
	50% {
		transform: scale(1.06);
		box-shadow: 0 0 28px 10px rgba(13, 142, 196, 0.45);
		opacity: 1;
	}
}

@keyframes wi-upload-text-glow {
	0%,
	100% {
		opacity: 0.88;
	}
	50% {
		opacity: 1;
		text-shadow: 0 0 12px rgba(13, 142, 196, 0.35);
	}
}

/* —— Thank-you overlay (ported to document.body via JS) —— */
body.wi-success-overlay-open {
	overflow: hidden;
}

.wi-success-page {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	box-sizing: border-box;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	isolation: isolate;
}

.wi-success-page__backdrop {
	position: fixed;
	inset: 0;
	background: #fff;
	z-index: 0;
}

.wi-success-page__panel,
.wi-success-page .wi-form-wrapper {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 560px;
	margin: 0;
	padding: 0;
}

.wi-success-page .wi-form-wrapper {
	max-width: 560px;
}

.wi-step-success {
	animation: wi-fade-in-up 0.35s ease-out;
	width: 100%;
}

@keyframes wi-fade-in-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wi-success-message {
	text-align: center;
	padding: 20px;
	background: #d4edda;
	border: 1px solid #c3e6cb;
	border-radius: 4px;
	color: #155724;
	margin-bottom: 24px;
}

.wi-success-message h3 {
	margin: 0 0 10px;
	font-size: 22px;
	color: #155724;
	font-weight: 700;
}

.wi-success-message p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
}

.wi-success-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.wi-calendar-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 28px;
	background: #0d8ec4;
	color: #fff;
	text-decoration: none;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-align: center;
	box-shadow: 0 4px 12px rgba(13, 142, 196, 0.25);
	min-width: 220px;
	border: none;
}

.wi-calendar-link:hover {
	background: #0b6f96;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(13, 142, 196, 0.35);
}

.wi-calendar-link:focus-visible {
	outline: 3px solid rgba(13, 142, 196, 0.35);
	outline-offset: 2px;
}

.wi-success-call .ctc-wrap {
	margin: 0 auto;
}

.wi-success-hint {
	margin: 1.25rem 0 0;
	font-size: 0.9rem;
	color: #666;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.wi-step.is-current,
	.wi-step,
	.wi-step-success {
		animation: none;
	}

	.wi-stepper__item,
	.wi-submit-button,
	.wi-back-button,
	.wi-calendar-link {
		transition: none;
	}

	.wi-upload-overlay__glow,
	.wi-upload-overlay__text {
		animation: none;
	}
}

/* —— Upload examples, drag-drop, review —— */
.wi-upload-examples {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: calc(var(--wi-radius) * 0.65);
	background: var(--wi-brand-soft);
	border: 1px solid var(--wi-brand-mid);
	text-align: left;
}

.wi-upload-examples__title {
	margin: 0 0 0.35rem;
	font-weight: 700;
	font-size: 14px;
	text-align: left;
}

.wi-upload-examples__list {
	margin: 0;
	padding-left: 1.15rem;
	color: #555;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
}

.wi-form-row--file {
	width: 100%;
	max-width: none;
}

@media (min-width: 760px) {
	.wi-preview-layout--files-only .wi-files-column {
		grid-column: 1 / -1;
	}

	.wi-form-row--file {
		width: 100%;
		max-width: none;
		margin-inline: 0;
	}

	.wi-form-row--file > label {
		text-align: left;
	}

	.wi-form-row--file .wi-field-hint {
		text-align: left;
	}

	.wi-form-row--file .wi-dropzone {
		width: 100%;
		box-sizing: border-box;
		padding: 2.25rem 2rem;
		min-height: 11.5rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.wi-form-row--file .wi-attach-preview {
		width: 100%;
		margin-inline: 0;
	}
}

.wi-dropzone {
	border: 2px dashed var(--wi-brand-outline);
	border-radius: calc(var(--wi-radius) * 0.75);
	padding: 1.35rem 1rem;
	text-align: center;
	background: color-mix(in srgb, var(--wi-brand) 4%, #fff);
	transition: border-color 0.2s ease, background 0.2s ease;
}

.wi-dropzone.is-dragover {
	border-color: var(--wi-brand);
	background: var(--wi-brand-soft);
}

.wi-dropzone__text {
	margin: 0 0 0.65rem;
	color: #444;
	font-size: 15px;
}

.wi-dropzone__browse {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.45rem 1rem;
	border: 1px solid var(--wi-brand-hover);
	border-radius: calc(var(--wi-radius) * 0.5);
	background: #fff;
	color: var(--wi-brand-hover);
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
}

.wi-dropzone__browse:hover {
	background: var(--wi-brand-soft);
}

.wi-dropzone__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.wi-review-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
	text-align: left;
}

.wi-review-list__item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.95rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	background: #fafcfd;
	text-align: left;
}

.wi-review-list__icon {
	flex: 0 0 auto;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	background: #e8f7ef;
	color: #1e7a34;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 800;
}

.wi-review-list__icon img.emoji {
	width: 0.9rem;
	height: 0.9rem;
	display: block;
}

.wi-review-list__body {
	flex: 1;
	min-width: 0;
	text-align: left;
}

.wi-review-list__title {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 15px;
	text-align: left;
}

.wi-review-list__details {
	text-align: left;
	width: 100%;
}

.wi-review-details {
	margin: 0;
	display: grid;
	gap: 0.35rem 0.75rem;
	grid-template-columns: minmax(7.5rem, 10.5rem) minmax(0, 1fr);
	font-size: 14px;
	text-align: left;
	justify-items: start;
	width: 100%;
}

.wi-review-details dt {
	margin: 0;
	font-weight: 700;
	color: #444;
	text-align: left;
}

.wi-review-details dd {
	margin: 0;
	color: #222;
	word-break: break-word;
	text-align: left;
}

.wi-review-details__text {
	margin: 0;
	font-size: 14px;
	color: #555;
	text-align: left;
}

.wi-appointment-widget .wi-step[data-wi-step-type="review"] {
	text-align: left;
}

/* Guard: Vexal SmartBlocks ships unscoped `.is-active` pill styles on every page. */
.wi-appointment-widget .wi-step.is-active {
	background: transparent !important;
	color: inherit !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	font-size: inherit !important;
	font-weight: inherit !important;
}

.wi-appointment-widget .wi-stepper__item.is-active {
	background: #fff !important;
	color: #1a1a1a !important;
	border: 1px solid var(--wi-brand-border) !important;
	border-radius: 10px !important;
	font-size: inherit !important;
	font-weight: 600 !important;
}

.wi-appointment-widget .wi-stepper__item--badge.is-active {
	padding: 0 !important;
}

.wi-appointment-widget .wi-stepper__badge,
.wi-appointment-widget .wi-stepper__item.is-current .wi-stepper__badge,
.wi-appointment-widget .wi-stepper__item--badge.is-current .wi-stepper__badge,
.wi-appointment-widget .wi-stepper__item.is-done .wi-stepper__badge {
	background: transparent !important;
	box-shadow: none !important;
}
