/* Appointment Booking Styles */
.appointment-section {
	margin-bottom: 30px;
}

.appointment-section h2 {
	color: #333;
	margin-bottom: 20px;
	text-align: center;
}

.appointment-days-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin: 20px 0;
}

.day-block {
	border: 2px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	position: relative;
}

.day-block:hover {
	border-color: #0073aa;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,115,170,0.2);
}

.day-block.active {
	border-color: #0073aa;
	background: #e6f3ff;
	box-shadow: 0 4px 12px rgba(0,115,170,0.2);
}

.day-block.active::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #0073aa;
}

.day-btn {
	padding: 20px 15px;
	border: none;
	background: #f8f8f8;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	text-decoration: none;
	color: inherit;
	display: block;
}

.day-block:hover .day-btn {
	background: #0073aa;
	color: white;
}

.day-block.active .day-btn {
	background: #e6f3ff;
	color: #0073aa;
}

.day-name {
	display: block;
	font-weight: bold;
	margin-bottom: 8px;
	font-size: 1.1em;
}

.day-description {
	display: block;
	color: #666;
	font-size: 0.9em;
}

.day-block:hover .day-description {
	color: rgba(255,255,255,0.9);
}

/* Timeslots styles */
.appointment-timeslots {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 2px solid #eee;
}

.timeslots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin: 20px 0;
}

.timeslot-block {
	border: 2px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.timeslot-block:hover {
	border-color: #28a745;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(40,167,69,0.2);
}

.timeslot-btn {
	width: 100%;
	padding: 20px 15px;
	border: none;
	background: #f8f8f8;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	font-size: 1em;
	text-decoration: none;
	color: inherit;
	display: block;
}

.timeslot-btn:hover {
	background: #28a745;
	color: white;
}

.time {
	display: block;
	font-weight: bold;
	margin-bottom: 8px;
	font-size: 1.1em;
}

.price {
	display: block;
	color: #666;
	font-size: 1em;
}

.timeslot-btn:hover .price {
	color: white;
}

.back-to-days {
	display: inline-block;
	margin-bottom: 20px;
	color: #0073aa;
	text-decoration: none;
	padding: 8px 16px;
	border: 1px solid #0073aa;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.back-to-days:hover {
	background: #0073aa;
	color: white;
	text-decoration: none;
}

/* Direct product booking */
.direct-product-booking {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px;
	border: 2px solid #ddd;
	border-radius: 8px;
	background: #f9f9f9;
}

.direct-booking-btn {
	display: inline-block;
	padding: 15px 30px;
	background: #28a745;
	color: white;
	text-decoration: none;
	border-radius: 6px;
	font-weight: bold;
	transition: background 0.3s ease;
}

.direct-booking-btn:hover {
	background: #218838;
	color: white;
	text-decoration: none;
}

/* Messages */
.appointment-message {
	padding: 15px;
	border-radius: 4px;
	text-align: center;
}

.appointment-message.error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
	.appointment-days-grid,
	.timeslots-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	}

	.day-btn,
	.timeslot-btn {
		padding: 15px 10px;
	}
}

.appointment-booking-review {
	background: #f8f9fa;
	border: 2px solid #0073aa;
	border-radius: 12px;
	padding: 25px;
	margin: 20px 0;
	box-shadow: 0 4px 12px rgba(0,115,170,0.1);
}

.booking-header {
	text-align: center;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid #e9ecef;
}

.booking-header h3 {
	color: #0073aa;
	margin: 0;
	font-size: 1.5em;
	font-weight: bold;
}

.booking-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.booking-detail-item {
	background: white;
	padding: 15px;
	border-radius: 8px;
	border-left: 4px solid #0073aa;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.detail-label {
	font-weight: bold;
	color: #495057;
	font-size: 0.9em;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 5px;
}

.detail-value {
	color: #212529;
	font-size: 1.1em;
	font-weight: 600;
}

.booking-price {
	text-align: center;
	background: #28a745;
	color: white;
	padding: 20px;
	border-radius: 8px;
	margin-top: 20px;
}

.booking-price .price-label {
	font-size: 0.9em;
	opacity: 0.9;
	margin-bottom: 5px;
}

.booking-price .price-value {
	font-size: 2em;
	font-weight: bold;
}

.booking-actions {
	text-align: center;
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #e9ecef;
}

.change-appointment-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #6c757d;
	color: white;
	text-decoration: none;
	border-radius: 6px;
	font-size: 0.9em;
	transition: background 0.3s ease;
}

.change-appointment-btn:hover {
	background: #5a6268;
	color: white;
	text-decoration: none;
}

@media (max-width: 768px) {
	.booking-details {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.appointment-booking-review {
		padding: 20px 15px;
	}

	.booking-price .price-value {
		font-size: 1.5em;
	}
}
