.calendar {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.calendar-month {
    margin-bottom: 30px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.month-header {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 1px;
}


.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table thead {
    background: #f8f9fa;
}

.calendar-table th {
    padding: 12px 5px;
    text-align: center;
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e9ecef;
}

.calendar-table td {
    padding: 12px 5px;
    text-align: center;
    border: 1px solid #e9ecef;
    height: 40px;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.calendar-table td:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

/* Current day styling */
.calendar-table .current-day {
    background-color: #e3f2fd;
    font-weight: bold;
    color: #1976d2;
    position: relative;
}

.calendar-table .current-day::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: #1976d2;
    border-radius: 50%;
}

/* Hover override for current date */
.calendar-table .current-date:hover {
    background-color: #1976d2;
    color: #fff;
    cursor: pointer;
}

/* Weekend days */
.calendar-table td.weekend {
    background-color: #f8f9fa;
    color: #dc3545;
}

/* Days from other months */
.calendar-table td.other-month {
    color: #adb5bd;
    background-color: #f8f9fa;
}

/* Current date highlight */
.calendar-table .current-date {
    position: relative;
    background-color: #e3f2fd;  /* Light blue background */
    font-weight: bold;
    color: #1976d2;             /* Blue text */
    /*border: 2px solid #1976d2;   *//* Blue border */
    border-radius: 4px;
}

/* Current date highlight */
.calendar-table .noschool-date {
    position: relative;
    background-color: #5EBD3C;  
    font-weight: bold;
    color: white;             /* Blue text */
    border: 2px solid #C8E5BE;   /* border */
    border-radius: 4px;
}

.calendar-table .noschool-date:hover {
    background-color: #29520F;
    color: #fff;
    cursor: not-allowed; /* visually shows inactive */
}

/* Optional: Add a dot indicator */
.calendar-table .noschool-date::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;  /* on the top right corner */
    background: #F29B0C; /* dot color */
    border-radius: 50%; /* make it a round dot */
}

.notes {
    background: #5EBD3C;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .calendar-table th, 
    .calendar-table td {
        padding: 8px 2px;
        font-size: 0.8rem;
    }
    
    .month-header {
        font-size: 1.2rem;
        padding: 12px 10px;
    }
}

