.calendar-wrapper {
    max-width: 800px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.calendar-header {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    flex: 1;
}

.calendar-nav-btn {
    background-color: #044e26;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.1s;
}

.calendar-nav-btn:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.calendar-nav-btn:active {
    transform: translateY(0);
}

.calendar-nav-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 8px;
}

.calendar-day-header {
    background-color: #044e26;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
    min-height: 60px;
    position: relative;
}
.calendar-day span {
    position: absolute;
    bottom: 0px;
    right: 5px;
    color: #888;
    font-size: 14px;
}

.calendar-day:hover {
    transform: scale(1.05);
}

.calendar-day.empty {
    background-color: transparent;
    cursor: default;
}

.calendar-day.empty:hover {
    transform: none;
}

.calendar-day.free {
    background-color: white;
    color: #333;
    border: 2px solid #ddd;
}

.calendar-day.booked {
    background-color: #e74c3c;
    color: white;
    border: 2px solid #e74c3c;
}

.calendar-day.locked {
    background-color: #FFC107;
    color: white;
    border: 2px solid #FFC107;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: 2px solid #ddd;
}

.legend-color.free {
    background-color: white;
}

.legend-color.booked {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.legend-color.locked {
    background-color: #FFC107;
    border-color: #FFC107;
}

a.calendar-nav-btn {
    text-decoration: none;
}

a.calendar-nav-btn:hover {
    background:#333;
    color:#fff;
}

@media (max-width: 800px) {
    .calendar-day {
        min-height: 30px;
    }
    .calendar-legend {
        gap: 5px;
        flex-direction: column;
    }
    .booking-form-wrapper {
        width: 350px !important;
    }
    .calendar-navigation button span {
        display: none;
    }
}

@media (max-width: 800px) {
	.calendar-day span {
		font-size: 10px;
	}
}