dialog[open].pop-up {
  display: flex;
  max-height: calc(90vh - 100px);
  overflow: hidden;
}

dialog[open].pop-up.sm {
  max-height: min(460px, 90vh - 100px);
}

dialog[open].pop-up.md {
  max-height: min(605px, 90vh - 100px);
}

dialog::-webkit-backdrop {
  background: rgba(209, 209, 209, 0.6);
}

dialog::backdrop {
  background: rgba(209, 209, 209, 0.6);
}

dialog.darker-backdrop::-webkit-backdrop {
  background: rgba(0, 0, 0, 0.5);
}

dialog.darker-backdrop::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.pop-up {
  max-width: 90%;
  border: solid 8px #232323;
  color: #232323;
  border-radius: 20px;
  background: #fff;
  width: 680px;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  padding: 1px;
}

.pop-up ul {
  list-style: initial;
  list-style-position: inside;
}

.pop-up.close-white-color .close:not(.button) {
  color: #fff;
}

.pop-up.close-dark .close:not(.button) {
  color: #232323;
}

.pop-up .dialog-body {
  padding: 0 16px;
  margin: 16px 0;
  align-items: inherit;
  flex-direction: inherit;
  display: inherit;
  justify-content: inherit;
  text-align: inherit;
  gap: inherit;
  overflow: hidden auto;
}

.pop-up .dialog-body::-webkit-scrollbar {
  width: 8px;
}

.pop-up .dialog-body::-webkit-scrollbar-thumb {
  background: #c8d2d7;
  border-radius: 20px;
}

.pop-up h1, .pop-up h2, .pop-up h3, .pop-up h4, .pop-up h5 {
  color: #232323;
}

.pop-up .small-header {
  display: block;
  font-size: 16px;
  line-height: 1.5;
}

.pop-up * {
  margin: 0;
}

.pop-up.blue-border {
  border-color: #72c9f8;
  box-shadow: #72c9f8;
}

.pop-up.green-border {
  border-color: #33ff94;
  box-shadow: #33ff94;
}

.pop-up.sm {
  width: 300px;
}

.pop-up.md {
  width: 680px;
}

.pop-up.md img {
  margin-bottom: 11px;
}

@media (min-width: 576px) {
  .pop-up.md img {
    width: calc(100% - 140px);
  }
}
@media (max-width: 576px) {
  .pop-up.md {
    width: 90%;
    max-width: 300px;
  }
}
.pop-up.position-center {
  align-items: center;
  text-align: center;
}

@media (max-width: 576px) {
  .pop-up.mob-position-center {
    align-items: center;
    text-align: center;
  }
}
.pop-up.position-right {
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 576px) {
  .pop-up.mob-position-right {
    align-items: flex-end;
    text-align: right;
  }
}
@media (max-width: 576px) {
  .pop-up.mob-position-left {
    align-items: flex-start;
    text-align: left;
  }
}
.pop-up.border-0 {
  border-width: 0;
}

.pop-up.border-0 .close:not(.button) {
  margin-top: 0;
}

.pop-up.half-border {
  border-width: 1px;
  box-shadow: 6px 6px 0px 0px #232323;
}

.pop-up.half-border.blue-border {
  box-shadow: 6px 6px 0px 0px #72c9f8;
}

.pop-up.half-border.green-border {
  box-shadow: 6px 6px 0px 0px #33ff94;
}

.pop-up.half-border .close:not(.button) {
  margin-top: 0;
}

.pop-up.pos-top-left {
  margin: 40px auto auto 40px;
}

.pop-up.pos-top-center {
  margin: 40px auto auto auto;
}

.pop-up.pos-top-right {
  margin: 40px 40px auto auto;
}

.pop-up.pos-center-left {
  margin: auto auto auto 40px;
}

.pop-up.pos-center-right {
  margin: auto 40px auto auto;
}

.pop-up.pos-bottom-left {
  margin: auto auto 40px 40px;
}

.pop-up.pos-bottom-center {
  margin: auto auto 40px auto;
}

.pop-up.pos-bottom-right {
  margin: auto 40px 40px auto;
}

.pop-up img {
  max-width: 100%;
  border-radius: 20px;
  height: auto !important;
}

.pop-up .button {
  border-radius: 25px;
  color: #232323;
  padding: 4px 16px;
  align-items: center;
  display: flex;
  font-size: 14px;
  line-height: 2;
  font-weight: 600;
  text-decoration: none;
}

.pop-up .button + .button {
  margin-left: 10px;
}

.pop-up .button.primary {
  border: none;
  background: #33ff94;
  color: #232323;
}

.pop-up .button.secondary {
  border: 1px solid #72c9f8;
  background-color: #fff;
  color: #232323;
}

.pop-up .button.link {
  border: none;
  padding: 0;
  background-color: rgba(0, 0, 0, 0);
}

.pop-up .button.link::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-size: 14px;
  margin-left: 10px;
}

.pop-up .button.link .icon {
  margin-left: 10px;
}

.pop-up .close:not(.button) {
  position: fixed;
  margin-right: -30px;
  margin-top: -8px;
  align-self: flex-end;
  cursor: pointer;
  color: #232323;
}

.pop-up .close:not(.button) i {
  font-size: 20px;
  background: #fff;
  border-radius: 10px;
}

.notification {
  border: 0;
  width: 100%;
  padding: 20px;
  max-width: 100%;
}

.notification .content {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

.notification .pop-up {
  flex-direction: row;
  gap: 20px;
  background: rgba(0, 0, 0, 0);
  width: 100%;
  max-width: 100%;
  border-radius: 0;
}

@media (max-width: 576px) {
  .notification .pop-up {
    flex-direction: column;
    gap: 8px;
  }
}
.notification .pop-up .close:not(.button) {
  position: relative;
  top: 0;
  right: 11px;
  margin: 0;
  align-self: flex-start;
  margin-left: auto;
}

@media (max-width: 576px) {
  .notification .pop-up .close:not(.button) {
    margin-top: -15px;
    right: 5px;
    position: fixed;
    top: auto;
  }
}
.notification .pop-up .close:not(.button) i {
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0);
  border-radius: initial;
}

@media (max-width: 576px) {
  .notification .pop-up .close:not(.button) i {
    font-size: 35px;
  }
}
.notification .pop-up img {
  border-radius: 0;
  height: auto;
  min-height: 80px;
  width: auto;
}

@media (min-width: 576px) {
  .notification .pop-up img {
    width: 130px;
    max-width: 130px;
  }
}
.notification .pop-up .text-content {
  display: flex;
  gap: 5px;
  flex-direction: column;
}

.notification .pop-up .small-header {
  margin-bottom: 5px;
}

.notification.pos-bottom {
  margin: auto 0 0 0;
}

.notification.pos-top {
  margin: 0 0 auto 0;
}

.notification.bg-purple .close:not(.button) {
  color: #fff;
}

.bg-grey {
  background-color: #e9e9e9;
}

.bg-purple {
  background-color: #360065;
}

.bg-purple .dialog-body::-webkit-scrollbar-thumb {
  background: #fff;
}

.bg-green {
  background-color: #33ff94;
}

.bg-purple-gradient {
  background: #8427e2;
  background: linear-gradient(9deg, #8427e2 50%, #7358d3 100%);
}

.text-white, .white-color {
  color: #fff;
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6, .white-color h1, .white-color h2, .white-color h3, .white-color h4, .white-color h5, .white-color h6 {
  color: #fff;
}

.text-white .policy, .white-color .policy {
  color: #33ff94;
}

.text-white .button, .white-color .button {
  color: #fff;
}

.text-white ::marker, .white-color ::marker {
  color: #fff;
}

.show-dialog-auto {
  display: none;
}

.notification .text-white .close, .notification .white-color .close {
  color: #fff !important;
}

.notification .sub-text {
  font-size: 12px;
}

.notification .sub-text h5 {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
}