/* SPACO Workspace Booking — scoped styles */

.spaco-booking-wrapper * {
	box-sizing: border-box;
}

.spaco-booking-wrapper {
	max-width: 900px;
	margin: 30px auto;
	font-family: Arial, Helvetica, sans-serif;
	color: #101828;
	line-height: 1.5;
}

.spaco-page-heading {
	text-align: center;
	margin-bottom: 30px;
}

.spaco-page-heading h1 {
	font-size: 32px;
	margin-bottom: 8px;
}

.spaco-page-heading p {
	color: #667085;
}

.spaco-progress {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-bottom: 30px;
	overflow-x: auto;
}

.spaco-step {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #98a2b3;
	font-size: 14px;
	white-space: nowrap;
}

.spaco-step-number {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #e4e7ec;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.spaco-step.spaco-active {
	color: #0b5ed7;
}

.spaco-step.spaco-active .spaco-step-number {
	background: #0b5ed7;
	color: #fff;
}

.spaco-step.spaco-completed {
	color: #12b76a;
}

.spaco-step.spaco-completed .spaco-step-number {
	background: #12b76a;
	color: #fff;
}

.spaco-booking-card {
	background: #fff;
	border: 1px solid #eaecf0;
	border-radius: 18px;
	padding: 35px;
	box-shadow: 0 8px 30px rgba(16, 24, 40, .06);
}

.spaco-booking-step {
	display: none;
}

.spaco-booking-step.spaco-active {
	display: block;
}

.spaco-booking-step h2 {
	font-size: 24px;
	margin-bottom: 22px;
}

.spaco-location-grid,
.spaco-workspace-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-bottom: 25px;
}

.spaco-location-option,
.spaco-workspace-option {
	border: 2px solid #eaecf0;
	padding: 20px;
	border-radius: 13px;
	cursor: pointer;
	transition: .2s;
	background: #fff;
	flex: 1 1 calc(50% - 8px);
	max-width: calc(50% - 8px);
	box-sizing: border-box;
}

.spaco-location-option:hover,
.spaco-workspace-option:hover {
	border-color: #98bff2;
	transform: translateY(-2px);
}

.spaco-location-option.spaco-selected,
.spaco-workspace-option.spaco-selected {
	border-color: #0b5ed7;
	background: #f0f6ff;
}

.spaco-location-option h3,
.spaco-workspace-option h3 {
	font-size: 17px;
	margin-bottom: 5px;
}

.spaco-location-option p,
.spaco-workspace-option p {
	color: #667085;
	font-size: 13px;
	margin-bottom: 10px;
}

.spaco-price {
	color: #0b5ed7;
	font-size: 17px;
	font-weight: 700;
}

.spaco-price-note {
	color: #667085;
	font-size: 12px;
}

.spaco-form-group {
	margin-bottom: 22px;
}

.spaco-form-group label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #344054;
}

.spaco-booking-wrapper input,
.spaco-booking-wrapper select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 9px;
	background: #fff;
	font-size: 15px;
	outline: none;
	font-family: inherit;
}

.spaco-booking-wrapper input:focus,
.spaco-booking-wrapper select:focus {
	border-color: #0b5ed7;
	box-shadow: 0 0 0 3px rgba(11, 94, 215, .10);
}

.spaco-two-column {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.spaco-booking-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.spaco-booking-type {
	border: 1px solid #d0d5dd;
	border-radius: 10px;
	padding: 14px;
	cursor: pointer;
	text-align: center;
}

.spaco-booking-type:hover {
	border-color: #0b5ed7;
}

.spaco-booking-type.spaco-selected {
	border: 2px solid #0b5ed7;
	background: #f0f6ff;
}

.spaco-booking-type strong {
	display: block;
	margin-bottom: 3px;
}

.spaco-booking-type small {
	color: #667085;
}

.spaco-counter {
	display: flex;
	align-items: center;
	gap: 15px;
}

.spaco-counter button {
	width: 42px;
	height: 42px;
	border: 1px solid #d0d5dd;
	background: #fff;
	border-radius: 8px;
	font-size: 20px;
	cursor: pointer;
}

.spaco-counter-value {
	min-width: 30px;
	text-align: center;
	font-weight: 700;
	font-size: 18px;
}

.spaco-info-text {
	display: block;
	color: #667085;
	font-size: 12px;
	margin-top: 7px;
}

.spaco-button-row {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	margin-top: 28px;
	flex-wrap: wrap;
}

.spaco-btn {
	border: none;
	border-radius: 9px;
	padding: 14px 25px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.spaco-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.spaco-btn-primary {
	background: #0b5ed7;
	color: #fff;
}

.spaco-btn-primary:hover {
	background: #084db2;
}

.spaco-btn-secondary {
	background: #f2f4f7;
	color: #344054;
}

.spaco-btn-secondary:hover {
	background: #e4e7ec;
}

.spaco-btn-pay {
	background: #12b76a;
	color: #fff;
}

.spaco-btn-pay:hover {
	background: #0d9c58;
}

.spaco-btn-whatsapp {
	background: #25D366;
	color: #fff;
}

.spaco-summary-box {
	background: #f8fafc;
	border: 1px solid #eaecf0;
	border-radius: 12px;
	padding: 20px;
}

.spaco-summary-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 12px 0;
	border-bottom: 1px solid #eaecf0;
}

.spaco-summary-row:last-child {
	border-bottom: none;
}

.spaco-summary-label {
	color: #667085;
}

.spaco-summary-value {
	font-weight: 600;
	text-align: right;
}

.spaco-total {
	color: #0b5ed7;
	font-size: 21px;
	font-weight: 700;
}

.spaco-success-box {
	text-align: center;
	padding: 25px 10px;
}

.spaco-success-icon {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: #dcfae6;
	color: #12b76a;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 35px;
	font-weight: 700;
}

.spaco-booking-id {
	display: inline-block;
	background: #f2f4f7;
	padding: 10px 18px;
	border-radius: 8px;
	margin-top: 15px;
	font-weight: 700;
}

.spaco-confirmation-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 25px;
	flex-wrap: wrap;
}

.spaco-error {
	display: none;
	background: #fff1f0;
	border: 1px solid #fecdca;
	color: #b42318;
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.spaco-hidden {
	display: none !important;
}

@media (max-width: 700px) {

	.spaco-location-option,
	.spaco-workspace-option {
		flex-basis: 100%;
		max-width: 100%;
	}

	.spaco-booking-options,
	.spaco-two-column {
		grid-template-columns: 1fr;
	}

	.spaco-booking-card {
		padding: 22px;
	}

	.spaco-page-heading h1 {
		font-size: 26px;
	}

	.spaco-button-row {
		flex-direction: column-reverse;
	}

	.spaco-button-row .spaco-btn {
		width: 100%;
	}
}
