#blockchain-demo-root.bc-demo {
  max-width: 720px;
  margin: 48px auto;
  padding: 0 16px;
  font-family: Pretendard, SUIT, Arial, sans-serif;
  color: #111827;
}

.bc-demo__card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.bc-demo__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
}

.bc-demo__desc {
  margin: 0 0 24px;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}

.bc-demo__grid {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.bc-demo__field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.bc-demo__field input,
.bc-demo__field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  box-sizing: border-box;
}

.bc-demo__field input:focus,
.bc-demo__field select:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.bc-demo__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.bc-demo__actions button {
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

#bcConnectWalletBtn {
  background: #111827;
  color: #fff;
}

#bcSubmitTxBtn {
  background: #16a34a;
  color: #fff;
}

.bc-demo__actions button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.bc-demo__status {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f3f4f6;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.bc-demo__result {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-all;
}

.bc-demo__result strong {
  color: #111827;
}

#bcExplorerLink {
  color: #16a34a;
  font-weight: 700;
  text-decoration: none;
}

#bcExplorerLink:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  #blockchain-demo-root.bc-demo {
    margin: 28px auto;
  }

  .bc-demo__card {
    padding: 18px;
    border-radius: 16px;
  }

  .bc-demo__title {
    font-size: 22px;
  }

  .bc-demo__actions {
    flex-direction: column;
  }

  .bc-demo__actions button {
    width: 100%;
  }
}


#bcResetDemoBtn {
  background: #e5e7eb;
  color: #111827;
}