.dialog {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 0.3s linear;
  z-index: -10000;
}
.dialog.active {
  display: flex;
  opacity: 1;
  z-index: 2000;
}
.dialog__container {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: start;
  z-index: 2;
}
.dialog__header {
  padding: 40px 40px 0px 40px;
}
.dialog__wrapper {
  min-width: 50vw;
  max-width: 793px;
  max-height: 95vh;
  border-radius: 30px;
  background: #fff;
  position: relative;
  overflow: auto;
}
.dialog__wrapper::-webkit-scrollbar-track {
  margin: 20px 0;
  background-color: #cacaca;
}
.dialog__card {
  box-shadow: none;
  border-radius: 53px;
}
.dialog__card .q-card__section--vert {
  padding: 0px;
}
.dialog__content-inner {
  padding: 20px 40px 0 40px;
}
.dialog__footer {
  padding: 20px 40px 40px 40px;
}
.dialog__wrapper::-webkit-scrollbar,
.dialog__card::-webkit-scrollbar,
.dialog__content::-webkit-scrollbar,
.dialog__content-inner::-webkit-scrollbar {
  width: 0;
}
.dialog_fixed .dialog__content {
  max-height: 65vh;
  height: 100%;
  overflow-x: visible !important;
  overflow-y: auto !important;
}
.dialog-background {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.dialog__close-btn {
  padding: 30px 20px;
  margin-left: 20px;
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border-radius: 20px;
}
.dialog__close-btn svg {
  width: 32px;
  height: 32px;
}
.dialog__close-btn-mobile {
  display: none;
}
@media (max-width: 940px) {
.dialog__close-btn {
    display: none;
}
}
@media (max-width: 680px) {
.dialog__container {
    justify-content: flex-end;
    align-items: flex-end;
    position: fixed;
    bottom: 0;
}
.dialog__wrapper {
    min-width: 100vw;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.dialog__header {
    padding: 20px 20px 0px 20px;
}
.dialog__content-inner {
    padding: 20px 20px 0 20px;
}
.dialog__footer {
    padding: 0px 20px 20px 20px;
}
}