.date-input {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #eee;
}


.datepicker-container {
    position: relative;
}

.datepicker {
    position: absolute;
    top: 100%;
    z-index: 100;
    margin-top: 2px;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
}

.datepicker button {
    cursor: pointer;
    border: none;
    border-radius: 3px;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.3s;
    touch-action: manipulation;
}

.days,
.dates {
    display: grid;
    grid-template-columns: repeat(7, 35px);
    gap: 27px;
    margin-block: 27px;
}

.days span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.dates button {
    color: slategray;
    aspect-ratio: 1;
}

.dates button:disabled {
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.dates button:hover {
    background: rgba(119, 136, 153, 0.1);
}

.dates button.today {
    background: rgba(147, 112, 216, 0.2);
    color: mediumpurple;
}

.dates button.selected {
    background: mediumpurple;
    color: #fff;
}

.datepicker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.datepicker-header select,
.datepicker-header input {
    font-size: 14px;
    border: 1px solid #eee;
}

.datepicker-header input {
    max-width: 64px;
}

.datepicker-header button {
    color: slategray;
}

.datepicker-header button:hover {
    color: mediumpurple;
}

.datepicker-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.datepicker-footer button {
    background: rgba(119, 136, 153, 0.1);
    padding: 3px 10px;
}

.datepicker-footer button.apply {
    background: linear-gradient(90deg, #0081C1 0%, #005093 100%);
    color: #fff;
}