.ui-datepicker {
    display: none;
    width: 320px;
    max-width: calc(100vw - 30px);
    padding: 15px;
    color: #202020;
    background: #fff;
    border: 1px solid #d2cdc1;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    z-index: 10000 !important;
}

.ui-datepicker-header {
    position: relative;
    margin-bottom: 10px;
    padding: 4px 40px;
}

.ui-datepicker-title {
    font-weight: 700;
    text-align: center;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    overflow: hidden;
    color: transparent;
    cursor: pointer;
}

.ui-datepicker-prev {
    left: 0;
}

.ui-datepicker-next {
    right: 0;
}

.ui-datepicker-prev::before,
.ui-datepicker-next::before {
    content: '';
    width: 9px;
    height: 9px;
    border-top: 2px solid #1e2d52;
    border-right: 2px solid #1e2d52;
}

.ui-datepicker-prev::before {
    transform: rotate(-135deg);
}

.ui-datepicker-next::before {
    transform: rotate(45deg);
}

.ui-datepicker-calendar {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.ui-datepicker-calendar th,
.ui-datepicker-calendar td {
    padding: 2px;
    text-align: center;
}

.ui-datepicker-calendar th {
    font-weight: 500;
}

.ui-datepicker-calendar a,
.ui-datepicker-calendar span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    color: #202020;
    border-radius: 3px;
}

.ui-datepicker-calendar a:hover {
    color: #fff;
    background: #3da546;
    opacity: 1;
}

.ui-datepicker-calendar .ui-datepicker-current-day a {
    color: #fff;
    background: #1e2d52;
}

.ui-datepicker-calendar .ui-datepicker-today a {
    border: 1px solid #3da546;
}

.ui-datepicker-calendar .ui-datepicker-unselectable span {
    color: #aaa;
}

.ui-datepicker-calendar th:first-child,
.ui-datepicker-calendar td:first-child a {
    color: #b02334;
}

.ui-datepicker-calendar th:last-child,
.ui-datepicker-calendar td:last-child a {
    color: #1e2d52;
}

.ui-datepicker-calendar td:first-child a:hover,
.ui-datepicker-calendar td:last-child a:hover,
.ui-datepicker-calendar td:first-child.ui-datepicker-current-day a,
.ui-datepicker-calendar td:last-child.ui-datepicker-current-day a {
    color: #fff;
}

.ui-datepicker-buttonpane {
    margin-top: 10px;
    text-align: center;
}

.ui-datepicker-buttonpane button {
    padding: 5px 12px;
    color: #fff;
    background: #1e2d52;
    border-radius: 3px;
}
