@import 'root.css';
/* module */
/* z-index */
.mc-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10001;
  background: #fff;
  border-radius: var(--mc-float-layer-border-radius);
  box-shadow: var(--mc-float-layer-box-shadow);
  transform: translateY(-50%);
  transition: all 300ms;
}
.mc-popup__header {
  display: flex;
  align-items: center;
  padding: 24px;
}
.mc-popup__header::before {
  content: '';
  display: inline-block;
  margin-right: 8px;
  width: 4px;
  height: 14px;
  background: linear-gradient(10.5deg, #83c3fb 0%, #83c3fb 1%, #446dea 99%, #446dea 100%);
}
.mc-popup__header--title {
  flex: 1;
  font-size: var(--mc-normal-size);
  font-weight: bold;
}
.mc-popup__header--close {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.mc-popup__body {
  padding: 0 24px;
  min-height: 86px;
}
.mc-popup__footer {
  display: flex;
  align-items: center;
  padding: 24px 24px 32px;
}
.mc-popup__footer.align-center {
  justify-content: center;
}
.mc-popup__footer.align-right {
  justify-content: flex-end;
}
.mc-popup-panel {
  position: fixed;
  top: 100%;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  transition: opacity 300ms ease-out;
  opacity: 0;
  pointer-events: none;
}
.mc-popup-panel.fade-in {
  top: 0;
  opacity: 1;
  pointer-events: all;
}
.mc-popup-panel.fade-out {
  animation: popup_out 300ms;
}
@keyframes popup_out {
  0% {
    top: 0;
    opacity: 1;
    pointer-events: all;
  }
  50% {
    top: 0;
    opacity: 0;
    pointer-events: none;
  }
  100% {
    top: 100%;
    opacity: 0;
    pointer-events: none;
  }
}
.mc-popup-panel.dark {
  background: rgba(0, 0, 0, 0.5);
}
.mc-popup-panel.white {
  background: rgba(255, 255, 255, 0.6);
}
.mc-popup-panel.transparent {
  background: none;
}
