@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

.wallet-adapter-button {
  background-color: transparent;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-family: 'Inter', 'Roboto', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  font-weight: 600;
  height: 48px;
  line-height: 48px;
  padding: 0 24px;
  border-radius: 32px;
}

.wallet-adapter-button-trigger {
  background-color: #FF5500;
}

.wallet-adapter-button:not([disabled]):focus-visible {
  outline-color: white;
}

.wallet-adapter-button:not([disabled]):hover {
  background-color: #FF5500;
}

.wallet-adapter-button[disabled] {
  background: #F3F3F3;
  color: black;
  cursor: not-allowed;
}

.wallet-adapter-button-end-icon,
.wallet-adapter-button-start-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 4px;
  width: 24px;
  height: 24px;
}

.wallet-adapter-button-start-icon img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.wallet-adapter-button-end-icon {
  margin-left: 12px;
}

.wallet-adapter-button-start-icon {
  margin-right: 8px;
}

.wallet-adapter-collapse {
  width: 100%;
}

.wallet-adapter-dropdown {
  position: relative;
  display: inline-block;
  width: 185px;
}

.wallet-adapter-dropdown-list {
  position: absolute;
  z-index: 99;
  display: grid;
  padding: 4px;
  top: 100%;
  right: 0;
  margin: 0;
  list-style: none;
  background: white;
  border-radius: 8px;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.10);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  font-family: 'Inter', 'Roboto', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  width: 100%;
}

.wallet-adapter-dropdown-list-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px);
}

.wallet-adapter-dropdown-list-item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border: none;
  outline: none;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 12px 15px;
  width: 100%;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #656565;
}

.wallet-adapter-dropdown-list-item:not([disabled]):hover {
  background-color: #F9F9F9;
}

.wallet-adapter-modal-collapse-button svg {
  align-self: center;
  fill: #999;
}

.wallet-adapter-modal-collapse-button.wallet-adapter-modal-collapse-button-active
  svg {
  transform: rotate(180deg);
  transition: transform ease-in 150ms;
}

.wallet-adapter-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity linear 150ms;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  overflow-y: auto;
}

.wallet-adapter-modal.wallet-adapter-modal-fade-in {
  opacity: 1;
}

.wallet-adapter-modal-button-close {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 13px;
  border: none;
  background: none;
  border-radius: 8px;
}

.wallet-adapter-modal-button-close:focus-visible {
  outline-color: black;
}

.wallet-adapter-modal-button-close:hover {
  background-color: #F3F3F3;
}

.wallet-adapter-modal-overlay {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.wallet-adapter-modal-container {
  display: flex;
  margin: 3rem;
  min-height: calc(100vh - 6rem); /* 100vh - 2 * margin */
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .wallet-adapter-modal-container {
    margin: 1rem;
    min-height: calc(100vh - 2rem); /* 100vh - 2 * margin */
  }
}

.wallet-adapter-modal-wrapper {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 1050;
  max-width: 360px;
  border-radius: 16px;
  background: white;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
  font-family: 'Inter', 'Roboto', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  flex: 1;
  color: black;
  overflow: hidden;
}

.wallet-adapter-modal-wrapper .wallet-adapter-button {
  color: black;
  font-size: 14px;
  font-weight: 500;
  height: 46px;
  line-height: 20px;
  padding: 10px 8px;
  border-radius: 8px;
  width: 100%;
}

.wallet-adapter-modal-wrapper .wallet-adapter-button:not([disabled]):hover {
  background-color: #F3F3F3;
}

.wallet-adapter-modal-wrapper hr {
  background: #EBEBEB;
  margin-top: 16px;
}

.wallet-adapter-modal-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0;
  padding: 16px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 374px) {
  .wallet-adapter-modal-title {
    font-size: 18px;
  }
}

.wallet-adapter-modal-content {
  padding: 8px 16px 16px;
  font-size: 14px;
  text-align: center;
  font-weight: 400;
  line-height: 20px;
}

.wallet-adapter-modal-list {
  margin: 0 0 16px 0;
  padding: 0 16px;
  width: 100%;
  list-style: none;
}

.wallet-adapter-modal-list-section-title {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 8px;
  color: #656565;
}

.wallet-adapter-modal-list hr {
  margin-bottom: 16px;
}

.wallet-adapter-modal-list .wallet-adapter-button {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  padding: 12px 8px;
  height: fit-content;
}

.wallet-adapter-modal-list .wallet-adapter-button-end-icon,
.wallet-adapter-modal-list .wallet-adapter-button-start-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.wallet-adapter-modal-list .wallet-adapter-button-start-icon {
  border: 1px solid #E5E5E5;
}

.wallet-adapter-modal-list .wallet-adapter-button-start-icon img {
  width: 20px;
  height: 20px;
}

.wallet-adapter-modal-list .wallet-adapter-button span {
  margin-left: auto;
  margin-right: 8px;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.6;
}

.wallet-adapter-modal-discover-miden-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 0 24px;
  margin-bottom: 0;
}

.wallet-adapter-modal-discover-miden-message h1 {
  margin-top: 32px;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 28px;
  font-weight: 600;
}

.wallet-adapter-modal-discover-miden-message p {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.wallet-adapter-modal-middle {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px 24px 16px;
  box-sizing: border-box;
}

.wallet-adapter-modal-middle-button {
  display: flex;
  justify-content: center;
  cursor: pointer;
  width: 100%;
  background-color: #FF5500;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  color: #fff;
}

.wallet-adapter-modal-middle-button:not([disabled]):hover {
  background-color: #FF5500;
}

.wallet-adapter-modal-middle-button svg {
  margin-left: 8px;
}

.wallet-adapter-modal-chrome-badge {
  display: inline-block;
  margin-top: 4px;
}

.wallet-adapter-modal-chrome-badge img {
  height: 58px;
  width: auto;
}
