#bb-chatbot {
  max-width: 760px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.bb-card {
  background: #ffffff;
  color: #1b1b1b;
  border: 1px solid #d9e2f1;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  overflow: hidden;
}

.bb-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0f5da8;
  color: #fff;
  padding: 18px 20px;
  flex-wrap: wrap;
}

.bb-card-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.bb-node-id {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: .65;
  white-space: nowrap;
}

.bb-card-body {
  padding: 20px;
}

.bb-top-lang-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4a5565;
  flex-wrap: wrap;
}

.bb-top-lang-text {
  font-size: 15px;
}

.bb-top-lang-select {
  appearance: none;
  border: 1px solid #c6d2e3;
  border-radius: 10px;
  background: #ffffff;
  color: #0f5da8;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-width: 190px;
}

.bb-text {
  margin-top: 0;
  line-height: 1.5;
}

.bb-links p {
  margin: 10px 0;
}

.bb-video {
  width: 100%;
  margin: 10px 0;
}

.bb-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  background: #000;
  display: block;
}

.bb-links a {
  color: #0f5da8;
  font-weight: bold;
  text-decoration: none;
}

.bb-buttons,
.bb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.bb-btn,
.bb-back-link {
  appearance: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 14px;
}

.bb-btn {
  background: #0f5da8;
  color: #fff;
}

.bb-btn-secondary,
.bb-back-link {
  background: #eef4fb;
  color: #0f5da8;
}

.bb-back-link {
  margin-top: 18px;
}

.bb-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.bb-label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.bb-input {
  border: 1px solid #c6d2e3;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

.bb-section-title {
  font-weight: bold;
  margin-top: 18px;
  margin-bottom: 8px;
}

.bb-checklist {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 640px) {
  .bb-card-header {
    align-items: flex-start;
  }

  .bb-top-lang-row {
    align-items: stretch;
  }

  .bb-top-lang-select {
    width: 100%;
    min-width: 0;
  }
}
