.bottom-drawer {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: fixed;
  z-index: 9999;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--opacity-1);
}

@media (min-width: 767.5px) {
  .bottom-drawer {
    display: none !important;
  }
}

.bottom-drawer .slider {
  display: flex;
  flex-direction: column;
  z-index: 99999;
  width: 100%;
  color: var(--other-mode-1);
  transition: all 0.3s ease 0s;
  height: auto;
  max-height: 90%;
  transform: translateY(0vh);
}

.bottom-drawer .slider .bottom-drawer-drag-area {
  background-color: var(--other-mode-1);
  border-radius: 16px 16px 0 0;
  padding-top: var(--spacing-8);
  padding-bottom: var(--spacing-12);
}

.bottom-drawer .slider .bottom-drawer-drag-area .bottom-drawer-border {
  padding: 50px;
  position: absolute;
  overflow: auto;
  height: 4px;
  width: 40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  border-radius: 8px;
  margin-top: -40px;
}

.bottom-drawer .slider .bottom-drawer-drag-area .bottom-drawer-border .line {
  height: 4px;
  width: 40px;
  left: 0;
  right: 0;
  margin-top: -11px;
  background-color: var(--primary-mode-10);
  border-radius: 8px;
}

.bottom-drawer .slider .drawer-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background-color: var(--other-mode-1);
  color: var(--primary-mode-1);
  margin-top: -1px;
}

.bottom-drawer .slider .drawer-content .drawer-header {
  display: flex;
  border-bottom: 1px solid var(--primary-mode-10);
  box-sizing: border-box;
  justify-content: space-between;
}

.bottom-drawer .slider .drawer-content .drawer-header .close-drawer {
  background-color: var(--primary-6);
  padding: var(--spacing-8);
  position: relative;
  left: var(--spacing-8);
}

@media (min-width: 767.5px) {
  .bottom-drawer .slider .drawer-content .drawer-header .close-drawer {
    padding: unset;
    position: unset;
    left: unset;
  }
}

.bottom-drawer .slider .drawer-content .modal-header {
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  border-bottom: 1px solid var(--primary-mode-10);
}

@media (min-width: 374.5px) {
  .bottom-drawer .slider .drawer-content .modal-header {
    padding: var(--spacing-20) var(--spacing-32) var(--spacing-20) var(--spacing-32);
  }
}

@media (min-width: 767.5px) {
  .bottom-drawer .slider .drawer-content .modal-header {
    padding: var(--spacing-32) var(--spacing-32) var(--spacing-24) var(--spacing-32);
  }
}

.bottom-drawer .slider .drawer-content .modal-header .modal-close {
  position: relative;
  margin: auto 0 auto auto;
}

@media (min-width: 374.5px) {
  .bottom-drawer .slider .drawer-content .modal-header .modal-close {
    padding: var(--spacing-8);
    left: var(--spacing-8);
  }
}

@media (min-width: 767.5px) {
  .bottom-drawer .slider .drawer-content .modal-header .modal-close {
    padding: 0;
    left: 0;
  }
}

.bottom-drawer .slider .drawer-content .modal-header .modal-close:not(.cancel-text):before {
  content: "";
  display: flex;
  -webkit-mask: url(../../static/images/icons/icon-close.svg) no-repeat center;
  -webkit-mask-size: 12px;
  height: 12px;
  width: 12px;
  background-color: var(--primary-6);
  cursor: pointer;
}

.bottom-drawer .slider .drawer-content .modal-header .modal-close:hover:not(.cancel-text):before {
  background-color: var(--primary-6);
}

.bottom-drawer .slider .drawer-content .body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: scroll;
  background-color: var(--other-mode-1);
}

.bottom-drawer .slider .drawer-content .drawer-footer {
  border-top: 1px solid var(--primary-mode-10);
  background-color: var(--other-mode-1);
  position: relative;
  bottom: 0;
  width: -webkit-fill-available;
}

.bottom-drawer .slider .drawer-content .drawer-footer .promotion-footer {
  min-height: 56px;
}

.bottom-drawer .slider .drawer-content .drawer-footer .button-placeholder {
  height: 47px;
}

.bottom-drawer .slider.close {
  transform: initial;
  transform: translateY(100vh);
}

.bottom-drawer.hide {
  visibility: hidden;
  transition: 0.3s;
  background-color: rgba(0, 0, 0, 0);
}

#registrationSuccessDrawer .slider .drawer-content .body .popup-text .details-text ol {
  padding-inline-start: var(--spacing-16);
}

#registrationSuccessDrawer #casino-bottom-drawer .bottom-drawer-games .slider .drawer-content .drawer-header .close-drawer {
  padding: unset;
  left: unset;
}

#promotion-optout-wrapper-mobile .bottom-drawer .slider .drawer-content .body .optout-drawer-body-content {
  margin-top: 103px;
  margin-bottom: 118px;
}

#quick-deposit-drawer .modal-body {
  min-height: 184px;
  height: calc(100vh - 89px);
}

#quick-deposit-drawer .modal-body #quick-deposit-bottomDrawer-iframe {
  height: -webkit-fill-available;
}

#quick-deposit-drawer .modal-body .loading-icon {
  height: 56px;
  width: 56px;
  left: unset;
  top: unset;
  position: unset;
}

#quick-deposit-drawer .modal-body .loading-text-placeholder {
  text-align: center;
}

#quick-deposit-drawer button {
  width: 100%;
}

#quick-deposit-drawer .hide {
  display: none !important;
}