/* Opening Hours Widget Styles */

.gemtech-opening-hours {
	margin: 0;
}

.gemtech-opening-hours__status {
	font-weight: bold;
	margin-bottom: 15px;
	text-align: center;
	font-size: 18px;
}

.gemtech-opening-hours__status.open {
	color: #27ae60;
}

.gemtech-opening-hours__status.closed {
	color: #e74c3c;
}

.gemtech-opening-hours table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.gemtech-opening-hours thead th {
	background-color: #f1f1f1;
	font-weight: bold;
	text-align: left;
	padding: 12px 15px;
	border-bottom: 2px solid #ddd;
}

.gemtech-opening-hours tbody td {
	padding: 10px 15px;
	border-bottom: 1px solid #eee;
}

.gemtech-opening-hours tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

.gemtech-opening-hours tbody tr.today {
	background-color: #e8f4fd;
	font-weight: bold;
}

.gemtech-opening-hours .closed {
	font-style: italic;
	color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
	.gemtech-opening-hours table,
	.gemtech-opening-hours thead,
	.gemtech-opening-hours tbody,
	.gemtech-opening-hours th,
	.gemtech-opening-hours td,
	.gemtech-opening-hours tr {
		display: block;
	}

	.gemtech-opening-hours thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	.gemtech-opening-hours tr {
		border: 1px solid #ccc;
		margin-bottom: 10px;
		border-radius: 4px;
		padding: 10px;
		background-color: #fff;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	}

	.gemtech-opening-hours td {
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 50%;
		text-align: left;
		padding: 8px 15px;
	}

	.gemtech-opening-hours td:before {
		content: attr(data-label);
		position: absolute;
		left: 15px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
		font-weight: bold;
		color: #666;
	}

	.gemtech-opening-hours td:last-child {
		border-bottom: 0;
	}

	.gemtech-opening-hours tbody tr.today {
		border-left: 4px solid #3498db;
	}
}

@media (max-width: 480px) {
	.gemtech-opening-hours td:before {
		width: 40%;
		font-size: 14px;
	}

	.gemtech-opening-hours td {
		padding-left: 45%;
		font-size: 14px;
	}
}