/**
 * Frontend seat picker styles for Evenzo Events Manager for WooCommerce.
 *
 * @package EventsAndTicketsForWooCommerce
 * @since   1.0.0
 */

.emwc-seat-picker {
	margin: 20px 0;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
}

.emwc-seat-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}

.emwc-seat-legend-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.emwc-seat-legend-item .emwc-seat {
	width: 20px;
	height: 20px;
	cursor: default;
}

.emwc-section {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5e7eb;
}

.emwc-section:last-of-type {
	border-bottom: none;
}

.emwc-section-price {
	color: #0073aa;
	font-weight: 600;
	font-size: 14px;
	margin-left: 10px;
}

.emwc-rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	margin-top: 15px;
}

.emwc-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.emwc-row-label {
	width: 24px;
	text-align: center;
	font-weight: 700;
	font-size: 14px;
	color: #666;
}

.emwc-seat {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	padding: 0;
	transition: all 0.2s ease;
}

.emwc-seat.available {
	background: #4caf50;
}

.emwc-seat.available:hover {
	background: #43a047;
	transform: scale(1.1);
}

.emwc-seat.selected {
	background: #2196f3;
}

.emwc-seat.selected:hover {
	background: #1e88e5;
}

.emwc-seat.sold,
.emwc-seat.reserved {
	background: #ccc;
	cursor: not-allowed;
}

.emwc-selected-seats {
	margin-top: 20px;
	padding: 15px;
	background: #fff;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
}

.emwc-selected-seats p {
	margin: 0;
	font-size: 14px;
}

#emwc-selected-list {
	font-weight: 600;
	color: #2196f3;
}
