.miksh-wallet-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147482600;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.58);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.miksh-wallet-sheet-backdrop.show {
  display: flex;
}

.miksh-wallet-sheet {
  width: min(560px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  border-radius: 28px 28px 18px 18px;
  background: #f8fbff;
  color: #0f172a;
  box-shadow: 0 -22px 80px rgba(15, 23, 42, 0.28);
  padding: 14px 22px 22px;
  animation: miksh-wallet-sheet-in 0.18s ease-out;
}

.miksh-wallet-sheet__handle {
  width: 48px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #d3dce9;
}

.miksh-wallet-sheet__head {
  display: grid;
  grid-template-columns: 54px 1fr 36px;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.miksh-wallet-sheet__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #eaf3ff;
  color: #1167ff;
  font-size: 26px;
  font-weight: 900;
}

.miksh-wallet-sheet__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.miksh-wallet-sheet__subtitle {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 14px;
}

.miksh-wallet-sheet__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #334155;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.miksh-wallet-sheet__form {
  display: grid;
  gap: 12px;
}

.miksh-wallet-sheet__field,
.miksh-wallet-sheet__summary,
.miksh-wallet-sheet__balance {
  border: 1px solid #dbe5f2;
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
}

.miksh-wallet-sheet__balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eef6ff;
  color: #1d4ed8;
  font-weight: 900;
}

.miksh-wallet-sheet__field label,
.miksh-wallet-sheet__field span {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.miksh-wallet-sheet__field input,
.miksh-wallet-sheet__field select {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #0f172a;
  font-size: 18px;
  font-weight: 850;
}

.miksh-wallet-sheet__summary {
  display: grid;
  gap: 9px;
  background: #eef8f0;
  border-color: #c9ecd3;
}

.miksh-wallet-sheet__summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #475569;
  font-size: 14px;
}

.miksh-wallet-sheet__summary strong {
  color: #0f766e;
  font-size: 18px;
}

.miksh-wallet-sheet__submit {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #1473ff, #0358f8);
  color: #fff;
  min-height: 56px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.miksh-wallet-sheet__submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.miksh-wallet-sheet__secure,
.miksh-wallet-sheet__message {
  margin: 2px 0 0;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

.miksh-wallet-sheet__message {
  color: #0f766e;
  font-weight: 800;
}

.miksh-wallet-sheet__message.error {
  color: #dc2626;
}

@keyframes miksh-wallet-sheet-in {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 620px) {
  .miksh-wallet-sheet-backdrop {
    padding: 0;
  }

  .miksh-wallet-sheet {
    border-radius: 26px 26px 0 0;
    max-height: 90vh;
    padding: 12px 18px 20px;
  }

  .miksh-wallet-sheet__title {
    font-size: 22px;
  }

}
