.F9UXNC {
  z-index: 999;
}
/* Modal.css */
.wcm-overlay,
#wcm-modal {
  z-index: 10000 !important;
}

.adapter-modal-fade-in {
  z-index: 1000;
}

.button-wrapper {
  text-align: center;
  z-index: 1 !important;
}

/* Стиль для модального окна */
.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  background: #282c34;
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Стиль для оверлея */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Стиль для содержимого модалки */
.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connect-aml,
.login {
  z-index: 0;
}

.connect-aml .adapter-react-button {
  background: #007bfb !important;
  border-radius: 5rem !important;
  height: 7rem !important;
  padding: 0 4rem !important;
  font-weight: 700 !important;
  font-size: 2rem !important;
}

.login .adapter-react-button {
  background: #000 !important;
  border-radius: 5rem !important;
  padding: 0 2.4rem !important;
  font-weight: 700 !important;
  font-size: 1.6rem !important;
}

.adapter-modal-fade-in {
  z-index: 1000 !important;
}

.adapter-react-button .button-icon {
  display: none !important;
}

.adapter-modal-wrapper .adapter-list {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .adapter-react-button {
    height: 5rem !important;
    padding-right: 2.4rem !important;
    padding-left: 2.4rem !important;
    font-size: 1.8rem !important;
  }
}

.login {
  background: #000 !important;
  color: #fff;
  padding: 1.2rem 2.4rem;
  display: flex;
  align-items: center;
  border-radius: 5rem;
}

.connect-aml {
  background: #0057ff !important;
  color: #fff;
  padding: 2.4rem 4rem;
  display: flex;
  align-items: center;
  border-radius: 5rem;
}

@media screen and (max-width: 768px) {
  .connect-aml {
    margin: 0 auto;
  }
}
