/* Marker legend styles */
.parking-map-ico {
	display: flex;
	gap: 20px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.parking-map-ico span {
	display: flex;
	align-items: center;
	font-size: 14px;
	padding: 5px 10px;
	border-radius: 5px;
	background-color: #f5f5f5;
}

.parking-map-ico span::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	margin-right: 8px;
}

.available-marker::before {
	background-color: #33a532;
}

.pending-marker::before {
	background-color: #ffcc00;
}

.reserved-marker::before {
	background-color: #ff4444;
}

/* Info window styles */
.info-window {
	padding: 5px;
	max-width: 300px;
	font-family: sans-serif;
}

.info-window h3 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 16px;
	color: #333;
	border-bottom: 1px solid #eee;
	padding-bottom: 5px;
}

.info-window p {
	margin: 5px 0;
	font-size: 14px;
	color: #666;
	line-height: 1.4;
}

.info-window ul {
	margin: 5px 0;
	padding-left: 20px;
}

.info-window li {
	font-size: 13px;
	margin-bottom: 3px;
}

.reserve-button {
	background-color: #ffc545;
	color: #000;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	margin-top: 10px;
	font-weight: bold;
	transition: background-color 0.3s;
	width: 100%;
	text-align: center;
}

.reserve-button:hover {
	background-color: #e6b03e;
}

.reserved-text {
	color: #ff4444;
	font-weight: bold;
	margin-top: 10px;
	text-align: center;
}

/* Modal styles */
.reservation-modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
}

.reservation-modal-content {
	background-color: #fefefe;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 500px;
	border-radius: 8px;
	position: relative;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close-modal {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
	color: black;
	text-decoration: none;
}

#reservation-form button {
	background-color: #ffc545;
	color: #000;
	border: none;
	padding: 12px 20px;
	border-radius: 4px;
	cursor: pointer;
	margin-top: 15px;
	font-weight: bold;
	width: 100%;
	font-size: 16px;
	transition: background-color 0.3s;
}

#reservation-form button:hover {
	background-color: #e6b03e;
}

#already-reserved-message {
	text-align: center;
	color: #ff4444;
	font-weight: bold;
	margin-top: 15px;
}

/* Responsive design */
@media (max-width: 768px) {
	.parking-map-ico {
		flex-direction: column;
		gap: 10px;
	}

	.reservation-modal-content {
		width: 95%;
		margin: 10% auto;
	}
}
