/**
 * 🇹🇷 TR: Opening Hours Widget Styles
 * 🇬🇧 EN: Opening Hours Widget Styles
 * 🎯 PURPOSE: Styles for business opening hours display
 * 
 * @package GRPCMedia
 * @since 1.0.0
 */

.grpc-opening-hours {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.grpc-hours-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px;
	border-bottom: 1px solid var(--grpc-border-color, #e5e5e5);
	transition: all 0.3s ease;
}

.grpc-hours-item:last-child {
	border-bottom: none;
}

.grpc-hours-item:hover {
	background: rgba(47, 36, 131, 0.03);
	transform: translateX(5px);
}

.grpc-hours-day {
	font-size: 16px;
	font-weight: 600;
	color: var(--grpc-heading-color, #27243b);
	flex: 0 0 auto;
}

.grpc-hours-separator {
	flex: 1;
	height: 1px;
	background: repeating-linear-gradient(
		to right,
		var(--grpc-border-color, #e5e5e5) 0,
		var(--grpc-border-color, #e5e5e5) 5px,
		transparent 5px,
		transparent 10px
	);
	margin: 0 15px;
}

.grpc-hours-time {
	font-size: 15px;
	font-weight: 500;
	color: var(--grpc-primary-color, #2F2483);
	flex: 0 0 auto;
}

/* Highlight State (Today) */
.grpc-hours-item.highlight {
	background: var(--grpc-primary-color, #2F2483);
	border-color: var(--grpc-primary-color, #2F2483);
	border-radius: 6px;
	transform: scale(1.02);
}

.grpc-hours-item.highlight .grpc-hours-day,
.grpc-hours-item.highlight .grpc-hours-time {
	color: #fff;
}

.grpc-hours-item.highlight .grpc-hours-separator {
	background: repeating-linear-gradient(
		to right,
		rgba(255, 255, 255, 0.3) 0,
		rgba(255, 255, 255, 0.3) 5px,
		transparent 5px,
		transparent 10px
	);
}

/* Closed State */
.grpc-hours-item.closed {
	opacity: 0.6;
}

.grpc-hours-item.closed .grpc-hours-time {
	color: #999;
	font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
	.grpc-opening-hours {
		padding: 20px;
	}

	.grpc-hours-item {
		padding: 12px 15px;
	}

	.grpc-hours-day {
		font-size: 15px;
	}

	.grpc-hours-time {
		font-size: 14px;
	}

	.grpc-hours-separator {
		margin: 0 10px;
	}
}

@media (max-width: 480px) {
	.grpc-opening-hours {
		padding: 15px;
	}

	.grpc-hours-item {
		padding: 10px 12px;
		flex-wrap: wrap;
	}

	.grpc-hours-day {
		font-size: 14px;
		flex: 0 0 100%;
		margin-bottom: 8px;
	}

	.grpc-hours-separator {
		display: none;
	}

	.grpc-hours-time {
		font-size: 13px;
		flex: 0 0 100%;
		text-align: right;
	}
}

