.withdraw-modal-root {
  position: fixed;
  inset: 0;
  z-index: 10055;
  display: flex;
  flex-direction: column;
  font-family: Roboto, "Segoe UI", system-ui, sans-serif;
  color: rgba(0, 0, 0, 0.87);
  background: #fff;
}

.withdraw-modal-root[hidden] {
  display: none !important;
}

.withdraw-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  animation: withdraw-modal-fade-in 0.28s ease-out;
  overflow: hidden;
}

@keyframes withdraw-modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.withdraw-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0;
  background: #fff;
}

.withdraw-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.withdraw-modal-header-actions {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
}

.withdraw-modal-help,
.withdraw-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #037e21;
}

.withdraw-modal-help img,
.withdraw-modal-close img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.withdraw-modal-close img {
  width: 14px;
  height: 14px;
}

.withdraw-modal-balance {
  display: flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0 12px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 700;
}

.withdraw-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0 16px 24px;
  -webkit-overflow-scrolling: touch;
}

.withdraw-low-balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
}

.withdraw-low-balance__image {
  display: block;
  padding: 20px;
  text-align: center;
}

.withdraw-low-balance__image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.withdraw-low-balance__banner {
  width: 100%;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background-color: #fad494;
  color: inherit;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  box-sizing: border-box;
}

.withdraw-low-balance__options {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  margin: 20px auto;
  background-color: #fff;
  box-shadow:
    0 0 10px 0 rgb(0 0 10 / 5%),
    0 3px 5px 0 rgb(0 0 10 / 3%),
    0 1px 4px 0 rgb(0 0 10 / 3%);
  box-sizing: border-box;
}

.withdraw-low-balance__options-description {
  margin: 0 0 8px;
  color: rgba(0, 0, 0, 0.87);
  font-size: 12px;
  line-height: 16px;
}

.withdraw-modal-methods {
  display: flex;
  flex-direction: column;
}

.withdraw-method {
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 1rem;
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.72;
  user-select: none;
}

.withdraw-method__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 75px;
  width: 75px;
  height: 52px;
  border-radius: 4px;
  background: #f9f9f9;
}

.withdraw-method__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.withdraw-method__info {
  flex: 1 1 auto;
  min-width: 0;
}

.withdraw-method__name {
  margin: 0;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.87);
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-method__limit {
  margin: 0;
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  line-height: 16px;
}

.withdraw-low-balance__button {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background-color: #efbf01;
  color: #000;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.withdraw-low-balance__button:hover {
  background-color: #efbf01;
}

body[data-withdraw-modal-open="true"] {
  overflow: hidden;
}
