html.locked {
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
}
.modal, [data-target] { display: none; }
.modal-overlay {
  position: fixed;
  z-index: 10;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;
  display: none;
}
.modal-wrapper {
  position: fixed;
  z-index: 30;
  top: 80px;
  right: 0;
  left: 0;
  display: none;
  text-align: center;
  -webkit-overflow-scrolling: touch;
}
.modal-wrapper:after {
  display: inline-block;
  height: 100%;
  margin-left: -0.05em;
  content: "";
}
.modal-overlay,
.modal-wrapper {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.modal {
  position: relative;
  outline: none;
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%;
}
.modal-is-initialized { display: inline-block; }
.modal-bg.opened {
  -webkit-filter: blur(10px);
          filter: blur(10px);
}
.modal-overlay { background: rgba(0, 0, 0, 0.2); }
.modal-overlay.closed {
  -webkit-animation-duration: 0.3s;
          animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}
.modal-overlay.opened {
  -webkit-animation-name: remodal-overlay-opening-keyframes;
          animation-name: remodal-overlay-opening-keyframes;
}
.modal-overlay.closed {
  -webkit-animation-name: remodal-overlay-closing-keyframes;
          animation-name: remodal-overlay-closing-keyframes;
}
.modal-wrapper { padding: 10px; }
.modal {
  box-sizing: border-box;
  min-width: 432px;
  max-width: 864px;
  border: 1px solid rgba(37, 37, 51, 1);
  border-radius: 12px;
  background: rgba(30, 30, 48, 0.7);
  box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.32);
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  user-select: none;
}
.modal .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 16px;
}
.modal .title {
  font-weight: 400;
}
.modal .heading .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  width: 24px;
  height: 24px;
}
.modal .frame {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 16px;
}
.modal .frame .section {
  display: flex;
  align-items: flex-start;  
}

.modal .frame .section label { font-size: 12px; }
.modal .frame .section > label {
  display: flex;
  justify-content: flex-start;
  width: 35%;
  line-height: 32px;
}
.modal .frame .field {
  width: 65%;
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.modal .icon-date {
  display: flex;
  flex-flow: column;
  gap: 8px;
  position: relative;
}
.modal .icon-date:after {
  pointer-events: none;
  position: absolute;
  font-family: 'Icons' !important;
  content: '\E019';
  top: 8px;
  right: 10px;
  font-size: 15px;
  color: var(--button-color);
}
.modal .footing {
  display: flex;
  align-items: center;

  padding: 16px;
  gap: 8px;
}
.modal .footing button {
  height: 32px;
  padding: 0 12px;
}
.modal.opened, .modal.closed {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
.modal.opened {
  -webkit-animation-name: modal-opening-keyframes;
  animation-name: modal-opening-keyframes;
}
.modal.closed {
  -webkit-animation-name: modal-closing-keyframes;
  animation-name: modal-closing-keyframes;
}
.modal, .modal-wrapper:after {
  vertical-align: middle;
}

@keyframes modal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
    opacity: 0;
  } 
  to {
    -webkit-transform: none;
            transform: none;
    opacity: 1;
    -webkit-filter: blur(0);
            filter: blur(0);
  }
}
@keyframes modal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  } 
  to {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
    opacity: 0;
    -webkit-filter: blur(0);
            filter: blur(0);
  }
}
@keyframes modal-overlay-opening-keyframes {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-overlay-closing-keyframes {
  from { opacity: 1; }
  to { opacity: 0; }
}