.myvhr-exact-date-picker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    vertical-align: middle;
}

#datepicker1.myvhr-exact-date-input,
#datepicker2.myvhr-exact-date-input {
    position: relative;
    z-index: auto;
    width: 203px;
    height: 60px;
    padding: 0px 15px;
    box-sizing: border-box;
    border: 0;
    border: 2px solid #00b654;
    border-radius: 20px;
    background: #ffffff;
    color: #363c39;
    font: inherit;
    font-size: 30px;
    cursor: pointer;
}

#datepicker1.myvhr-exact-date-input:hover,
#datepicker1.myvhr-exact-date-input:focus,
#datepicker2.myvhr-exact-date-input:hover,
#datepicker2.myvhr-exact-date-input:focus,
.myvhr-exact-date-picker.is-open .myvhr-exact-date-input {
    border-bottom-color: #36b34a;
    outline: none;
}

.myvhr-exact-date-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    padding: 9px;
    box-sizing: border-box;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.myvhr-exact-date-button:focus {
    outline: 2px solid #36b34a;
    outline-offset: 2px;
}

.myvhr-exact-date-icon {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    box-sizing: border-box;
    border: 4px solid #000000;
    border-radius: 6px;
    background: linear-gradient(to bottom, #ffffff 0, #000000 9px, #ffffff 9px, #ffffff 100%);
}

.myvhr-exact-date-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 7px;
    width: 4px;
    height: 10px;
    border-radius: 2px;
    background: #000000;
    box-shadow: 16px 0 0 #000000;
}

.myvhr-exact-date-icon::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 6px;
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: #838383;
    box-shadow: 10px 0 0 #838383, 20px 0 0 #838383, 0 10px 0 #838383, 10px 10px 0 #838383, 20px 10px 0 #838383;
}

.myvhr-exact-date-popover {
    position: absolute;
    z-index: 9300;
    top: calc(100% + 16px);
    left: 0;
    width: 840px;
    padding: 32px;
    box-sizing: border-box;
    border: 2px solid #d4d4d4;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
    white-space: normal;
}

.myvhr-exact-date-popover[hidden] {
    display: none;
}

.myvhr-exact-date-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
    margin-bottom: 26px;
}

.myvhr-exact-date-controls select {
    width: 100%;
    height: 74px;
    padding: 0 18px;
    box-sizing: border-box;
    border: 2px solid #d4d4d4;
    border-radius: 12px;
    background: #ffffff;
    color: #363c39;
    font-family: inherit;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
}

.myvhr-exact-date-controls select:hover,
.myvhr-exact-date-controls select:focus {
    border-color: #36b34a;
    outline: none;
}

.myvhr-exact-date-weekdays,
.myvhr-exact-date-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.myvhr-exact-date-weekdays {
    margin-bottom: 12px;
    color: #767373;
    font-size: 23px;
    font-weight: 700;
    text-align: center;
}

.myvhr-exact-date-weekdays > span {
    padding: 8px 0;
}

.myvhr-exact-date-day,
.myvhr-exact-date-empty {
    min-width: 0;
    min-height: 82px;
    box-sizing: border-box;
}

.myvhr-exact-date-day {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 2px solid #e3e4e1;
    border-radius: 12px;
    background: #f8f9f7;
    color: #363c39;
    font-family: inherit;
    font-size: 29px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.myvhr-exact-date-day:hover,
.myvhr-exact-date-day:focus {
    border-color: #36b34a;
    background: #eef9ef;
    outline: none;
}

.myvhr-exact-date-day.is-selected {
    border-color: #36b34a;
    background: #36b34a;
    color: #ffffff;
}

@media (hover: none) and (pointer: coarse) {
    .myvhr-exact-date-button,
    .myvhr-exact-date-day,
    .myvhr-exact-date-controls select {
        -webkit-tap-highlight-color: transparent;
    }
}

@media screen and (max-width: 1023.98px) {
    .myvhr-exact-date-popover {
        position: fixed;
        top: 50%;
        right: 16px;
        left: 16px;
        width: auto;
        max-height: calc(100vh - 32px);
        padding: 22px;
        overflow-y: auto;
        transform: translateY(-50%);
    }

    .myvhr-exact-date-controls {
        grid-template-columns: minmax(0, 1fr) minmax(150px, 0.55fr);
        gap: 12px;
        margin-bottom: 20px;
    }

    .myvhr-exact-date-controls select {
        height: 64px;
        padding: 0 12px;
        font-size: 35px;
    }

    .myvhr-exact-date-weekdays,
    .myvhr-exact-date-days {
        gap: 10px;
    }

    .myvhr-exact-date-weekdays {
        margin-bottom: 8px;
        font-size: 35px;
    }

    .myvhr-exact-date-day,
    .myvhr-exact-date-empty {
        min-height: 85px;
    }

    .myvhr-exact-date-day {
        padding: 5px;
        border-radius: 10px;
        font-size: 35px;
    }
}

@media screen and (max-width: 520px) {
    #datepicker1.myvhr-exact-date-input,
    #datepicker2.myvhr-exact-date-input {
        width: 195px;
        font-size: 30px;
    }

    .myvhr-exact-date-popover {
        right: 10px;
        left: 10px;
        padding: 16px;
    }

    .myvhr-exact-date-controls {
        grid-template-columns: minmax(0, 1fr) 120px;
    }

    .myvhr-exact-date-controls select {
        height: 52px;
        font-size: 19px;
    }

    .myvhr-exact-date-weekdays,
    .myvhr-exact-date-days {
        gap: 4px;
    }

    .myvhr-exact-date-weekdays {
        font-size: 15px;
    }

    .myvhr-exact-date-day,
    .myvhr-exact-date-empty {
        min-height: 50px;
    }

    .myvhr-exact-date-day {
        border-width: 1px;
        border-radius: 8px;
        font-size: 20px;
    }
}
