.origo-booking-wizard {
	max-width: 640px;
	margin: 0 auto;
	font-size: 16px;
}

.origo-steps {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
}

.origo-spinner {
	display: block;
	width: 32px;
	height: 32px;
	margin: 24px auto;
	border: 3px solid #d8d8d8;
	border-top-color: #2271b1;
	border-radius: 50%;
	animation: origo-spin 0.7s linear infinite;
}

.origo-spinner-inline {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 0;
	vertical-align: middle;
	border-width: 2px;
	border-color: currentColor;
	border-top-color: transparent;
}

@keyframes origo-spin {
	to {
		transform: rotate( 360deg );
	}
}

.origo-step-indicator {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e5e5e5;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}

.origo-step-indicator.is-active {
	background: #2271b1;
	color: #fff;
}

.origo-step-indicator.is-done {
	background: #c3e6cb;
	color: #1b4332;
}

.origo-error {
	background: #fbeaea;
	color: #a33;
	border: 1px solid #e5b1b1;
	padding: 10px 14px;
	border-radius: 4px;
	margin-bottom: 16px;
}

.origo-service-list {
	display: grid;
	gap: 12px;
}

.origo-service-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: 16px;
	text-align: left;
}

.origo-service-card:hover {
	border-color: #2271b1;
}

.origo-service-price {
	font-weight: 600;
}

.origo-specialist-description {
	color: #555;
	margin-top: -8px;
	margin-bottom: 20px;
}

.origo-calendar-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-bottom: 12px;
}

.origo-calendar-grid {
	display: grid;
	grid-template-columns: repeat( 7, minmax( 0, 1fr ) );
	gap: 3px;
	width: 100%;
	box-sizing: border-box;
}

.origo-calendar-dow {
	text-align: center;
	font-weight: 600;
	font-size: 11px;
	color: #777;
	padding: 2px 0;
	overflow: hidden;
}

.origo-calendar-day,
.origo-calendar-empty {
	height: 38px;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	border: 1px solid transparent;
	background: transparent;
	cursor: default;
	font-size: 14px;
	padding: 0;
	box-sizing: border-box;
}

@media ( max-width: 480px ) {
	.origo-calendar-grid {
		gap: 2px;
	}

	.origo-calendar-dow {
		font-size: 10px;
	}

	.origo-calendar-day,
	.origo-calendar-empty {
		height: 32px;
		font-size: 12px;
	}
}

@media ( max-width: 360px ) {
	.origo-calendar-grid {
		gap: 1px;
	}

	.origo-calendar-day,
	.origo-calendar-empty {
		height: 30px;
		font-size: 11px;
		border-radius: 2px;
	}
}

.origo-calendar-day.is-available {
	background: #eef6ff;
	border-color: #bcdcff;
	cursor: pointer;
}

.origo-calendar-day.is-available:hover {
	background: #d9ecff;
}

.origo-calendar-day.is-disabled {
	color: #ccc;
}

.origo-calendar-day.is-selected {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.origo-time-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.origo-time-btn {
	padding: 8px 14px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

.origo-time-btn.is-selected,
.origo-time-btn:hover {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.origo-account-choices {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 320px;
}

.origo-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 360px;
}

.origo-form-row {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-weight: 600;
}

.origo-form-row input {
	font-weight: normal;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.origo-form-row input.origo-input-error {
	border-color: #d63638;
}

.origo-field-error {
	font-weight: normal;
	font-size: 13px;
	color: #d63638;
}

.origo-form button[disabled] {
	opacity: 0.7;
	cursor: default;
}

.origo-link-back {
	background: none;
	border: none;
	color: #2271b1;
	cursor: pointer;
	padding: 0;
	margin-bottom: 12px;
	display: inline-block;
}

.origo-account-bookings {
	width: 100%;
	margin-bottom: 8px;
}

.origo-account-bookings th,
.origo-account-bookings td {
	text-align: left;
	padding: 8px 10px;
	vertical-align: middle;
}

.origo-status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.origo-status-confirmed {
	background: #e3f4e6;
	color: #1b5e20;
}

.origo-status-pending {
	background: #fdf1dd;
	color: #8a5a00;
}

.origo-status-cancelled {
	background: #f1f1f1;
	color: #777;
}

.origo-alert {
	margin: 0 0 20px;
	padding: 14px 18px;
	border-radius: 6px;
	border: 1px solid transparent;
	font-size: 15px;
}

.origo-alert--warning {
	background: #fdf1dd;
	border-color: #f0d9a8;
	color: #8a5a00;
}

.origo-alert--info {
	background: #e7f1fb;
	border-color: #b9d6f2;
	color: #1c4e80;
}

.origo-alert--danger {
	background: #fbeaea;
	border-color: #e5b1b1;
	color: #a33;
}

.origo-questionnaire {
	margin: 32px 0;
	padding: 24px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fafafa;
}

.origo-questionnaire h2 {
	margin-top: 0;
}

.origo-questionnaire-intro {
	color: #555;
	margin-bottom: 20px;
}

.origo-questionnaire-notice {
	margin-bottom: 20px;
	padding: 10px 14px;
	border-radius: 4px;
	background: #e3f4e6;
	color: #1b5e20;
}

.origo-questionnaire-notice.is-error {
	background: #fbeaea;
	color: #a33;
}

.origo-questionnaire-row {
	display: block;
	margin-bottom: 18px;
}

.origo-questionnaire-q {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.origo-questionnaire-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font: inherit;
	resize: vertical;
}

.origo-questionnaire-submit[disabled] {
	opacity: 0.7;
	cursor: default;
}

.origo-questionnaire-admin p {
	font-size: 13px;
}

.origo-materials-table {
	width: 100%;
	margin-bottom: 8px;
}

.origo-materials-table th,
.origo-materials-table td {
	text-align: left;
	padding: 10px 12px;
	vertical-align: middle;
}

.origo-material-expired {
	color: #a33;
}

.origo-material-back {
	display: inline-block;
	margin-bottom: 16px;
	text-decoration: none;
}

.origo-embed {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 6px;
	background: #000;
}

.origo-embed iframe,
.origo-embed video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.origo-material-player {
	width: 100%;
	border-radius: 6px;
	background: #000;
}

/* ---- Single material view ---- */

.origo-material-single__title {
	margin: 4px 0 16px;
}

.origo-material-tabs {
	margin-top: 8px;
}

.origo-material-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 20px;
	border-bottom: 2px solid #e5e5e5;
}

.origo-material-tab {
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	padding: 10px 16px;
	font: inherit;
	font-weight: 600;
	color: #666;
	cursor: pointer;
	border-radius: 6px 6px 0 0;
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.origo-material-tab:hover {
	color: #1c4e80;
	background: #f3f6fa;
}

.origo-material-tab.is-active {
	color: #1c4e80;
	border-bottom-color: #2271b1;
}

.origo-material-tab-panel {
	display: none;
}

.origo-material-tab-panel.is-active {
	display: block;
}

.origo-material-files {
	list-style: none;
	margin: 0;
	padding: 0;
}

.origo-material-file {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	margin-bottom: 10px;
	background: #fff;
}

.origo-material-file__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.origo-material-file__name {
	font-weight: 600;
	word-break: break-word;
}

.origo-material-file__dl {
	flex-shrink: 0;
}

.origo-material-size {
	color: #999;
	font-size: 12px;
}

@media ( max-width: 480px ) {
	.origo-material-file {
		flex-direction: column;
		align-items: stretch;
	}

	.origo-material-file__dl {
		text-align: center;
	}
}

.origo-summary-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.origo-summary-list li {
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}

.origo-steps h4 {
	margin-top: 0 !important;
}