.ld-datetime {
    position: relative;
}

.ld-dt-row {
    display: flex;
    gap: 8px;
}

.ld-dt-date {
    position: relative;
    flex: 1 1 55%;
    min-width: 0;
}

.ld-datetime .ld-dt-field {
    background-color: #fff;
    cursor: pointer;
}

.ld-datetime .ld-dt-date-input {
    width: 100%;
    padding-right: 34px;
    caret-color: transparent;
}

.ld-datetime .ld-dt-time {
    flex: 1 1 45%;
    min-width: 0;
    width: auto;
}

.ld-dt-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: #667085;
    pointer-events: none;
}

.ld-dt-cal {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1050;
    width: 292px;
    max-width: calc(100vw - 16px);
    padding: 12px 14px 14px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 32px rgba(16, 24, 40, .22);
    color: #14224f;
    text-align: center;
}

.ld-dt-cal[hidden] {
    display: none;
}

.ld-dt-cal.ld-dt-cal-right {
    left: auto;
    right: 0;
}

.ld-dt-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ld-dt-cal-title {
    font-size: 15px;
    font-weight: 700;
}

.ld-dt-nav {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: #14224f;
    cursor: pointer;
}

.ld-dt-nav:hover:not(:disabled) {
    background: #eef1f8;
}

.ld-dt-nav:disabled {
    color: #c9cfdb;
    cursor: not-allowed;
}

.ld-dt-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 2px;
}

.ld-dt-weekday {
    padding: 6px 0;
    font-size: 13px;
    font-weight: 700;
}

.ld-dt-day {
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-size: 14px;
    color: #14224f;
    cursor: pointer;
}

.ld-dt-day:hover:not(:disabled) {
    background: #eef1f8;
}

.ld-dt-day.ld-dt-outside {
    color: #98a2b3;
}

.ld-dt-day.ld-dt-today {
    font-weight: 700;
    box-shadow: inset 0 0 0 1px #14224f;
}

.ld-dt-day.ld-dt-selected,
.ld-dt-day.ld-dt-selected:hover {
    background: #ffc300;
    color: #14224f;
    font-weight: 700;
}

.ld-dt-day:disabled {
    color: #d0d5dd;
    cursor: not-allowed;
}

@media (max-width: 420px) {
    .ld-dt-row {
        flex-direction: column;
    }

    .ld-dt-cal {
        width: 100%;
    }
}
