@import "https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap";
@keyframes fade {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
dialog.dialog {
  font-family: Roboto, sans-serif;
  color: #666;
  width: 60%;
  border-radius: 0.2em;
  border: none;
  padding: 0;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}
dialog.dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
dialog.dialog[open]::backdrop {
  animation: fade 0.2s ease-out;
}
.btn_close {
  background-color: #0078e7;
  color: #fff;
  display: block;
  border: none;
  zoom: 1;
  line-height: normal;
  white-space: nowrap;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 100%;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 2px;
  margin-left: auto;
  margin-right: 0;
}
.btn_close:hover {
  background-image: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.1)
  );
}
.logo {
  max-width: 250px;
  margin: 0 auto;
}
.modal_top {
  padding-top: 1em;
}
.modal_header {
  background: #f5f5f5;
  padding: 1em;
}
.modal_content {
  max-height: 300px;
  overflow-y: scroll;
  padding: 0 1em 1em;
}
.modal_content ul {
  list-style: disc;
}
.modal_bottom {
  background: #f5f5f5;
  padding: 1em;
}
dialog.dialog h2 {
  font-size: 1.5em;
  font-weight: 700;
}
dialog.dialog h3 {
  font-size: 1.25em;
  font-weight: 700;
  padding-bottom: 20px;
}
dialog.dialog p {
  line-height: 1.6em;
  padding-bottom: 20px;
}
dialog.dialog ul {
  padding-left: 40px;
}
dialog.dialog ul li {
  padding-bottom: 15px;
  text-wrap: balance;
}
dialog.dialog .x {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  color: #fff;
  background: #cecece;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
dialog.dialog .x:hover {
  background-color: #999;
}
@media (max-width: 480px) {
  dialog.dialog {
    width: 95%;
  }
}
dialog.payment {
  max-width: 320px !important;
  border-radius: 30px;
}
.dialog.payment .modal_content {
  padding-bottom: 15px;
  max-height: fit-content;
}
