/**
 * Frontend styles for prestazioni lists.
 * Styles are designed to match the Santagostino website design.
 * All styles can be overridden by theme CSS.
 *
 * @package SantagostinoPrestazioni
 */

.santagostino-prestazioni {
	margin: 0 0 1.5em 0;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
	background-color: #fff;
}

/* Title styling - header with light blue-grey background */
.santagostino-prestazioni-title {
	margin: 0 !important;
	padding: 12px 15px;
	color: #31708f !important;
	font-size: 1.125rem !important;
	font-weight: 700;
	line-height: 1.4 !important;
	text-transform: none;
	background-color: #e8edf0;
	border-bottom: 1px solid #e0e0e0;
}

/* List container */
.santagostino-prestazioni-list {
	list-style: none;
	margin: 0 !important;
	padding: 0;
	padding-inline-start: 0 !important;
	background-color: #fff;
}

/* Individual prestazione item - white background with borders */
.santagostino-prestazione {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 !important;
	padding: 8px 15px;
	padding-inline-start: 15px !important;
	background-color: #fff;
	border-bottom: 1px solid #e0e0e0;
	transition: background-color 0.2s ease;
}

.santagostino-prestazione:last-child {
	border-bottom: none;
}

.santagostino-prestazione:hover {
	background-color: #f9f9f9;
}

/* Service name/link container */
.santagostino-prestazione-link,
.santagostino-prestazione-label {
	color: #333;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: none;
	flex: 1;
}

.santagostino-prestazione-link:hover {
	color: #333;
	text-decoration: none;
}

/* Booking button - orange button with white text */
.santagostino-prenota-link {
	display: inline-block;
	margin-left: 1em;
	padding: 8px 25px;
	color: #fff !important;
	font-size: 0.875rem;
	font-weight: 700 !important;
	text-decoration: none !important;
	text-transform: none;
	white-space: nowrap;
	background-color: #ff8c00;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.santagostino-prenota-link:hover {
	background-color: #e67e00;
	color: #fff !important;
	text-decoration: none !important;
}

.santagostino-prenota-link:active {
	background-color: #d07000;
}

/* Responsive adjustments */

@media (max-width: 768px) {

	.santagostino-prestazione {
		flex-direction: column;
		align-items: flex-start;
		padding: 15px;
	}

	.santagostino-prestazione-link,
	.santagostino-prestazione-label {
		margin-bottom: 12px;
		width: 100%;
	}

	.santagostino-prenota-link {
		margin-left: 0;
		width: 100%;
		text-align: center;
	}

	.santagostino-prestazioni-title {
		font-size: 1rem;
		padding: 12px 15px;
	}
}
