.auth-native-open {
  overflow: hidden;
}

.auth-native-overlay {
  position: fixed;
  inset: 0;
  z-index: 99980;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.58);
}

.auth-native-dialog {
  width: min(94vw, 420px);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
  overflow: hidden;
}

.auth-native-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.auth-native-title {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.auth-native-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.auth-native-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.auth-native-desc {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}

.auth-native-section {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}

.auth-native-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #111827;
  font-size: 14px;
}

.auth-native-price {
  color: #dc2626;
  font-weight: 900;
}

.auth-native-pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.auth-native-pay {
  min-height: 42px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.auth-native-pay:focus,
.auth-native-pay:hover {
  border-color: #2563eb;
}

.auth-native-pay:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.auth-native-pay.is-active {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.auth-native-qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #ffffff;
}

.auth-native-qr[hidden] {
  display: none;
}

.auth-native-qr-title {
  color: #111827;
  font-size: 13px;
}

.auth-native-qr-img {
  width: 180px;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.auth-native-qr-link {
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.auth-native-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  padding: 10px 12px;
  color: #111827;
  font-size: 16px;
  outline: none;
}

.auth-native-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.auth-native-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.auth-native-submit,
.auth-native-cancel {
  flex: 1;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.auth-native-submit {
  background: #2563eb;
  color: #ffffff;
}

.auth-native-cancel {
  background: #ffffff;
  border-color: #d9dee8;
  color: #111827;
}

.auth-native-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.auth-native-status {
  min-height: 20px;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.auth-native-status[data-tone="error"] {
  color: #dc2626;
}

.auth-native-status[data-tone="success"] {
  color: #15803d;
}
