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

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

.deposit-modal-backdrop {
  display: none;
}

.deposit-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  animation: deposit-modal-fade-in 0.28s ease-out;
  overflow: hidden;
}

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

.deposit-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

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

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

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

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

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

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

.deposit-modal-section-title {
  margin: 24px 0 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.87);
}

.deposit-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  max-width: 520px;
  margin: 0 auto;
}

.deposit-method-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.deposit-method-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 81px;
  padding: 11px 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  background: #fff;
}

.deposit-method-image-wrap img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 57px;
  object-fit: contain;
  display: block;
}

.deposit-method-limits {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.6);
  word-break: break-word;
}

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