@charset "UTF-8";
/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--nutui-overlay-bg-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
  z-index: var(--nutui-overlay-zIndex, 1000);
}

.nut-overflow-hidden {
  overflow: hidden !important;
}

@keyframes nut-fade-in {
  0% {
    opacity: 0;
  }
  1% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes nut-fade-out {
  0% {
    opacity: 1;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.nut-overlay-slide-enter-active, .nut-overlay-slide-appear-active {
  animation-fill-mode: both;
  animation-name: nut-fade-in;
  animation-duration: var(--nutui-overlay-animation-duration, 0.3s);
}
.nut-overlay-slide-exit-active {
  animation-fill-mode: both;
  animation-name: nut-fade-out;
  animation-duration: var(--nutui-overlay-animation-duration, 0.3s);
}

[dir=rtl] .nut-overlay,
.nut-rtl .nut-overlay {
  left: auto;
  right: 0;
}

.nut-popup {
  position: fixed;
  min-height: 46%;
  max-height: 100%;
  background-color: var(--nutui-overlay-content-bg-color, var(--nutui-color-background-overlay, #ffffff));
  -webkit-overflow-scrolling: touch;
  font-size: var(--nutui-font-size-base, 14px);
}
.nut-popup-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-bottom: var(--nutui-popup-title-border-bottom, 0);
  padding: var(--nutui-popup-title-padding, 16px);
  position: relative;
}
.nut-popup-title-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.nut-popup-title-title {
  color: var(--nutui-color-title, #1a1a1a);
  font-weight: var(--nutui-font-weight-bold, 600);
  font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
  line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
}
.nut-popup-title-description {
  color: var(--nutui-color-text, #505259);
  font-size: var(--nutui-popup-description-font-size, var(--nutui-font-size-base, 14px));
  font-weight: var(--nutui-font-weight, 400);
}
.nut-popup-title-description-gap {
  margin-top: var(--nutui-popup-description-spacing, var(--nutui-spacing-base, 8px));
}
.nut-popup-title-left {
  position: absolute;
  top: var(--nutui-popup-title-padding, 16px);
  left: var(--nutui-popup-title-padding, 16px);
}
.nut-popup-title-right {
  position: absolute;
  top: var(--nutui-popup-title-padding, 16px);
  right: var(--nutui-popup-title-padding, 16px);
  z-index: 1;
  width: var(--nutui-popup-icon-size, 20px);
  height: var(--nutui-popup-icon-size, 20px);
  color: var(--nutui-color-title, #1a1a1a);
  cursor: pointer;
}
.nut-popup-title-right:active {
  opacity: 0.7;
}
.nut-popup-title-right-top-left {
  top: var(--nutui-popup-title-padding, 16px);
  left: var(--nutui-popup-title-padding, 16px);
}
.nut-popup-title-right-bottom-left {
  bottom: var(--nutui-popup-title-padding, 16px);
  left: var(--nutui-popup-title-padding, 16px);
}
.nut-popup-title-right-bottom-right {
  right: var(--nutui-popup-title-padding, 16px);
  bottom: var(--nutui-popup-title-padding, 16px);
}
.nut-popup-center {
  top: 50%;
  left: 50%;
  min-height: 10%;
  max-width: 295px;
  transform: translate(-50%, -50%);
}
.nut-popup-center.nut-popup-round {
  border-radius: var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px));
}
.nut-popup-bottom, .nut-popup-top {
  max-height: 87%;
}
.nut-popup-bottom {
  bottom: 0;
  left: 0;
  width: 100%;
}
.nut-popup-bottom.nut-popup-round {
  border-radius: var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) 0 0;
}
.nut-popup-right {
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
}
.nut-popup-right.nut-popup-round {
  border-radius: var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) 0 0 var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px));
}
.nut-popup-left {
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
}
.nut-popup-left.nut-popup-round {
  border-radius: 0 var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) 0;
}
.nut-popup-top {
  top: 0;
  left: 0;
  width: 100%;
}
.nut-popup-top.nut-popup-round {
  border-radius: 0 0 var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px));
}
.nut-popup-slide {
  /* 从顶部滑出 */
  /* 从右侧滑出 */
  /* 从底部滑出 */
  /* 从左侧滑出 */
}
@keyframes popup-scale-fade-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes popup-scale-fade-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}
.nut-popup-slide-default-enter-active {
  animation-fill-mode: both;
  animation-name: popup-scale-fade-in;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
.nut-popup-slide-default-exit-active {
  animation-fill-mode: both;
  animation-name: popup-scale-fade-out;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
@keyframes popup-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes popup-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.nut-popup-slide-center-enter-active {
  animation-fill-mode: both;
  animation-name: popup-fade-in;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
.nut-popup-slide-center-exit-active {
  animation-fill-mode: both;
  animation-name: popup-fade-out;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
@keyframes popup-slide-top-enter {
  from {
    transform: translate3d(0, -100%, 0);
  }
}
@keyframes popup-slide-top-exit {
  to {
    transform: translate3d(0, -100%, 0);
  }
}
.nut-popup-slide-top-enter-active, .nut-popup-slide-top-appear-active {
  transform: translate3d(0, 0%, 0);
  animation-fill-mode: both;
  animation-name: popup-slide-top-enter;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
.nut-popup-slide-top-exit-active {
  animation-fill-mode: both;
  animation-name: popup-slide-top-exit;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
@keyframes popup-slide-right-enter {
  from {
    transform: translate3d(100%, 0, 0);
  }
}
@keyframes popup-slide-right-exit {
  to {
    transform: translate3d(100%, 0, 0);
  }
}
.nut-popup-slide-right-enter-active, .nut-popup-slide-right-appear-active {
  transform: translate3d(0, 0, 0);
  animation-fill-mode: both;
  animation-name: popup-slide-right-enter;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
.nut-popup-slide-right-exit {
  animation-fill-mode: both;
  animation-name: popup-slide-right-exit;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
@keyframes popup-slide-bottom-enter {
  from {
    transform: translate3d(0, 100%, 0);
  }
}
@keyframes slide-bottom-exit {
  to {
    transform: translate3d(0, 100%, 0);
  }
}
.nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
  transform: translate(0, 0);
  animation-fill-mode: both;
  animation-name: popup-slide-bottom-enter;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
.nut-popup-slide-bottom-exit {
  animation-fill-mode: both;
  animation-name: slide-bottom-exit;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
@keyframes popup-slide-left-enter {
  from {
    transform: translate3d(-100%, 0, 0);
  }
}
@keyframes popup-slide-left-exit {
  to {
    transform: translate3d(-100%, 0, 0);
  }
}
.nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
  transform: translate(0, 0);
  animation-fill-mode: both;
  animation-name: popup-slide-left-enter;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
.nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
  animation-fill-mode: both;
  animation-name: popup-slide-left-exit;
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
}
.nut-popup-slide-default-exit-done.nut-popup, .nut-popup-slide-center-exit-done.nut-popup, .nut-popup-slide-left-exit-done.nut-popup, .nut-popup-slide-right-exit-done.nut-popup, .nut-popup-slide-top-exit-done.nut-popup, .nut-popup-slide-bottom-exit-done.nut-popup {
  display: none;
}
.nut-popup .nut-overflow-hidden {
  overflow: hidden;
}

[dir=rtl] .nut-popup-title-left,
.nut-rtl .nut-popup-title-left {
  left: auto;
  right: var(--nutui-popup-title-padding, 16px);
}
[dir=rtl] .nut-popup-title-right,
.nut-rtl .nut-popup-title-right {
  right: auto;
  left: var(--nutui-popup-title-padding, 16px);
}
[dir=rtl] .nut-popup-title-right-top-left,
.nut-rtl .nut-popup-title-right-top-left {
  left: auto;
  right: var(--nutui-popup-title-padding, 16px);
}
[dir=rtl] .nut-popup-title-right-bottom-left,
.nut-rtl .nut-popup-title-right-bottom-left {
  left: auto;
  right: var(--nutui-popup-title-padding, 16px);
}
[dir=rtl] .nut-popup-title-right-bottom-right,
.nut-rtl .nut-popup-title-right-bottom-right {
  right: auto;
  left: var(--nutui-popup-title-padding, 16px);
}
[dir=rtl] .nut-popup-title .nut-icon-ArrowLeft,
.nut-rtl .nut-popup-title .nut-icon-ArrowLeft {
  transform: rotate(180deg);
}
[dir=rtl] .nut-popup-center,
.nut-rtl .nut-popup-center {
  left: auto;
  right: 50%;
  transform: translate(50%, -50%);
}
[dir=rtl] .nut-popup-bottom,
.nut-rtl .nut-popup-bottom {
  left: auto;
  right: 0;
}
[dir=rtl] .nut-popup-top,
.nut-rtl .nut-popup-top {
  left: auto;
  right: 0;
}

.nut-numberkeyboard {
  width: 100%;
  padding: var(--nutui-numberkeyboard-padding, 0 0 22px 0);
  user-select: none;
  background-color: var(--nutui-numberkeyboard-background-color, var(--nutui-color-background, #f2f3f5));
}
.nut-numberkeyboard-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  padding: var(--nutui-popup-title-padding, 16px);
  color: var(--nutui-color-title, #1a1a1a);
  font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
}
.nut-numberkeyboard-header-title {
  color: var(--nutui-color-title, #1a1a1a);
  display: inline-block;
  font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
}
.nut-numberkeyboard-header-close {
  position: absolute;
  display: block;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: var(--nutui-numberkeyboard-header-close-padding, 0 16px);
  color: var(--nutui-numberkeyboard-header-close-color, var(--nutui-color-text, #505259));
  font-size: var(--nutui-numberkeyboard-header-close-font-size, 14px);
  background-color: var(--nutui-numberkeyboard-header-close-background-color, transparent);
  border: none;
  cursor: pointer;
}
.nut-numberkeyboard-body {
  display: flex;
  padding: 6px 0 0 6px;
}
.nut-numberkeyboard-body-keys {
  display: flex;
  flex: 3;
  flex-wrap: wrap;
}
.nut-numberkeyboard-body-wrapper {
  position: relative;
  flex: 1;
  /* #ifdef harmony */
  width: 33%;
  /* #endif */
  /* #ifndef harmony */
  flex-basis: 33%;
  /* #endif */
  box-sizing: border-box;
  padding: 0 6px 6px 0;
  background-color: var(--nutui-numberkeyboard-wrapper-background-color, var(--nutui-color-background-sunken, #f7f8fc));
}
.nut-numberkeyboard-body-wrapper .key {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--nutui-numberkeyboard-key-height, 48px);
  font-size: var(--nutui-numberkeyboard-key-font-size, var(--nutui-font-size-xl, 18px));
  line-height: var(--nutui-numberkeyboard-key-line-height, 1.5);
  background-color: var(--nutui-numberkeyboard-key-background-color, var(--nutui-color-background-overlay, #ffffff));
  color: var(--nutui-numberkeyboard-key-color, var(--nutui-color-text, #505259));
  border-radius: var(--nutui-numberkeyboard-key-border-radius, 8px);
  border: var(--nutui-numberkeyboard-key-border, none);
  font-weight: var(--nutui-font-weight-bold, 600);
  cursor: pointer;
}
.nut-numberkeyboard-body-wrapper .key.active {
  background-color: var(--nutui-numberkeyboard-key-active-background-color, #ebedf0);
}
.nut-numberkeyboard-sidebar {
  display: flex;
  flex: 1;
  flex-basis: 33%;
  flex-direction: column;
}
.nut-numberkeyboard-sidebar .nut-numberkeyboard-body-wrapper {
  width: 100%;
}
.nut-numberkeyboard-sidebar .nut-numberkeyboard-body-wrapper .key {
  position: absolute;
  top: 0;
  right: 6px;
  bottom: 6px;
  left: 0;
  height: auto;
}
.nut-numberkeyboard-sidebar .nut-numberkeyboard-body-wrapper .confirm {
  font-size: var(--nutui-numberkeyboard-key-confirm-font-size, var(--nutui-font-size-l, 16px));
  color: var(--nutui-numberkeyboard-key-confirm-color, #fff);
  background-color: var(--nutui-numberkeyboard-key-confirm-background-color, var(--nutui-color-primary, #ff0f23));
}
.nut-numberkeyboard-sidebar .nut-numberkeyboard-body-wrapper .confirm.active {
  background-color: rgba(255, 0, 0, 0.7);
}

[dir=rtl] .nut-popup .nut-numberkeyboard-header-close,
.nut-rtl .nut-popup .nut-numberkeyboard-header-close {
  right: auto;
  left: 0;
}
[dir=rtl] .nut-popup .nut-numberkeyboard-body,
.nut-rtl .nut-popup .nut-numberkeyboard-body {
  padding: 6px 6px 0 0;
}
[dir=rtl] .nut-popup .nut-numberkeyboard-body-wrapper,
.nut-rtl .nut-popup .nut-numberkeyboard-body-wrapper {
  padding: 0 0 6px 6px;
}
[dir=rtl] .nut-popup .nut-numberkeyboard-body-wrapper .delete,
.nut-rtl .nut-popup .nut-numberkeyboard-body-wrapper .delete {
  transform: rotate(-180deg);
}
[dir=rtl] .nut-popup .nut-numberkeyboard-sidebar .nut-numberkeyboard-body-wrapper .key,
.nut-rtl .nut-popup .nut-numberkeyboard-sidebar .nut-numberkeyboard-body-wrapper .key {
  left: 6px;
  right: 0;
}
[dir=rtl] .nut-popup .nut-numberkeyboard-sidebar .nut-numberkeyboard-body-wrapper .key.delete,
.nut-rtl .nut-popup .nut-numberkeyboard-sidebar .nut-numberkeyboard-body-wrapper .key.delete {
  transform: rotate(-180deg);
}