/**
 * Booking form styles
 */

.codico-booking-form {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
}

/* Mobile First - Responsive Design */
@media screen and (max-width: 768px) {
	.codico-booking-form {
		padding: 15px;
		max-width: 100%;
	}
}

.codico-booking-steps {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
	flex-wrap: wrap;
	gap: 10px;
}

@media screen and (max-width: 768px) {
	.codico-booking-steps {
		flex-direction: column;
		margin-bottom: 20px;
	}
	
	.codico-booking-steps .step {
		width: 100%;
		text-align: left;
		padding: 15px;
		border-bottom: 1px solid #e0e0e0;
	}
	
	.codico-booking-steps .step:last-child {
		border-bottom: none;
	}
	
	.codico-booking-steps .step .step-number {
		display: inline-block;
		margin-right: 15px;
		vertical-align: middle;
	}
	
	.codico-booking-steps .step .step-label {
		display: inline-block;
		vertical-align: middle;
	}
}

.codico-booking-steps .step {
	flex: 1;
	text-align: center;
	padding: 10px;
	position: relative;
}

.codico-booking-steps .step .step-number {
	display: block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 50%;
	background: #e0e0e0;
	color: #666;
	margin: 0 auto 10px;
}

.codico-booking-steps .step.active .step-number {
	background: #2271b1;
	color: #fff;
}

.booking-step-content {
	margin-bottom: 20px;
}

.booking-step-content label {
	display: block;
	margin-bottom: 15px;
}

.booking-step-content input,
.booking-step-content select,
.booking-step-content textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px; /* Prevents zoom on iOS */
	box-sizing: border-box;
}

@media screen and (max-width: 768px) {
	.booking-step-content input,
	.booking-step-content select,
	.booking-step-content textarea {
		padding: 14px; /* Larger touch target */
		font-size: 16px;
	}
}

.booking-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	gap: 10px;
	flex-wrap: wrap;
}

.booking-actions .button {
	padding: 12px 24px;
	min-height: 44px; /* Minimum touch target size */
	cursor: pointer;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	transition: background-color 0.3s ease;
}

.booking-actions .button.prev-step {
	background: #f0f0f0;
	color: #333;
}

.booking-actions .button.prev-step:hover {
	background: #e0e0e0;
}

.booking-actions .button.next-step,
.booking-actions .button.submit-booking {
	background: #2271b1;
	color: #fff;
}

.booking-actions .button.next-step:hover,
.booking-actions .button.submit-booking:hover {
	background: #135e96;
}

.booking-actions .button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

@media screen and (max-width: 768px) {
	.booking-actions {
		flex-direction: column;
	}
	
	.booking-actions .button {
		width: 100%;
		margin: 0;
	}
}

.booking-price {
	margin-top: 20px;
	padding: 20px;
	background: #f5f5f5;
	border-radius: 4px;
	text-align: center;
	font-size: 18px;
	border: 2px solid #2271b1;
}

.booking-price strong {
	display: block;
	margin-bottom: 10px;
	font-size: 16px;
	color: #666;
}

.booking-price #total-price {
	font-size: 24px;
	font-weight: bold;
	color: #2271b1;
}

.booking-success {
	padding: 30px;
	text-align: center;
	background: #d4edda;
	border: 2px solid #28a745;
	border-radius: 4px;
	color: #155724;
}

.booking-success h3 {
	margin-top: 0;
	color: #155724;
}

@media screen and (max-width: 768px) {
	.booking-price {
		padding: 15px;
		font-size: 16px;
	}
	
	.booking-price #total-price {
		font-size: 20px;
	}
}
