.calendar-container {
    position: relative;
    display: inline-block;
}

.calendar-input {
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 200px;
}

.calendar-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.calendar {
    position: absolute;
    top: 50px;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 columns for days */
    gap: 5px;
    padding: 10px;
    font-size: 14px;
    min-width: 250px; /* Allow the calendar to be wider than the input */
    z-index: 10;
}

.calendar-header {
    grid-column: span 7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.month-year {
    font-weight: bold;
}

.calendar.hidden {
    display: none;
}

.calendar .day {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.calendar .day:hover {
    background-color: #3498db;
    color: #fff;
}

.calendar .selected {
    background-color: #2ecc71;
    color: white;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
    color: #ccc; /* Grayed out color */
}

.calendar-btn {
    background-color: #F9629F;  /* Light background */
    border: 1px solid #F9629F;      /* Soft border */
    border-radius: 50%;          /* Rounded buttons */
    width: 33px;
    height: 33px;
    color: #fff;                 /* Darker text */
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.calendar-btn:hover {
    background-color: #e9528F;   /* Slightly darker on hover */
    transform: scale(1.1);       /* Subtle grow effect on hover */
}

.calendar-btn:active {
    background-color: #Fa63a0;      /* Darker on active state */
    transform: scale(0.95);      /* Shrink slightly when pressed */
}

@media only screen and (max-width: 1200px) {
	.calendar {
		font-size: 20px;
	}
}