.calendar-container {
    width: 220px;
    padding: 0;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
    border: 1px solid #28a745;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calendar-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
}

.wrapper {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0);
    font-family: 'Times New Roman', Times, serif;
}

.wrapper header {
    display: flex;
    align-items: center;
    padding: 8px 15px 4px;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0);
}

header .icons {
    display: flex;
}

header .icons span {
    height: 25px;
    width: 25px;
    margin: 0 1px;
    cursor: pointer;
    color: #878787;
    text-align: center;
    line-height: 25px;
    font-size: 1.2rem;
    user-select: none;
    border-radius: 50%;
}

header .icons span:hover {
    background: #f2f2f2;
}

header .current-date {
    font-size: 1rem;
    font-weight: 500;
}

.calendar {
    padding: 4px 0;
    text-align: center;
}

.calendar ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding-left: 0;
    margin: 0;
}

.calendar .days {
    margin-bottom: 5px;
}

.calendar li {
    color: #333;
    width: calc(100% / 7);
    font-size: 0.75rem;
    text-align: center;
}

.calendar .weeks li {
    font-weight: 500;
    cursor: default;
}

.calendar .days li {
    z-index: 1;
    cursor: pointer;
    position: relative;
    margin-top: 15px;
    text-align: center;
    padding: 0 0 0 4px;
}

.days li.inactive {
    color: #aaa;
}

.days li.active {
    color: #fff;
}

.days li::before {
    position: absolute;
    content: "";
    left: 50%;
    top: 50%;
    height: 25px;
    width: 25px;
    z-index: -1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.days li.active::before {
    background: #28a745;
}

.days li:not(.active):hover::before {
    background: #f2f2f2c5;
}

.calendar-form button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 3px;
    font-size: 0.85em;
}

.calendar-form button:hover {
    background-color: #1f6f3d;
}

.clear-filter {
    color: #28a745;
    text-decoration: none;
    font-size: 0.8em;
    margin-top: 3px;
}

.clear-filter:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .calendar-container {
        width: 100%;
        max-width: 220px;
    }
}