body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.calendar {
    width: 400px;
    max-width: 90vw;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.calendar:hover {
    transform: translateY(-2px);
}

.calendar-main-heading {
    background: linear-gradient( to right, #024b0e, #18a81d); 
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
}

.calendar-main-heading button {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 1;
    transition: background 0.3s, transform 0.1s;
    outline: none;
}

.calendar-main-heading button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.calendar-main-heading button:active {
    transform: scale(0.95);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #ffffff;
    padding: 10px 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: #000000;
    letter-spacing: 0.5px;
}

.calendar-days div {
    padding: 8px 0;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    color: #f9fcff;
    padding: 10px 0;
}

.calendar-dates div {
    padding: 12px 0; 
    border-radius: 50%;
    margin: 3px;
    transition: background 0.2s, color 0.2s;
    font-weight: 400;
    color: #000000; 
}

.calendar-dates div:not(:empty) {
    font-weight: 500;
    color: #34495e;
    cursor: pointer;
}

.calendar-dates div:not(:empty):hover {
    background: #3498db;
    color: white;
}

.calendar-dates .today {

    background: linear-gradient( to right, #139b10, #ffffff);
    color: rgb(255, 255, 255);
    font-weight: 700;
    border-radius: 50%;
    position: relative;
    box-shadow: #5bd15f 0 0 10px; 
}

.calendar-dates div:empty {
    background: none;
    cursor: default;
    border: none;
    pointer-events: none;
}
