.ktdb-box {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #333;
  background: #fff;
  border: 2px dashed #ff66aa;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 16px rgba(255, 0, 128, 0.08);
}
.ktdb-title {
  margin: 0 0 10px;
  text-align: center;
}

.ktdb-input-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}
#ktdb-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #f8bbd0;
  border-radius: 10px;
  font-size: 16px;
  height: auto; /* không set cứng để responsive */
  min-height: 44px; /* chuẩn UX: dễ bấm mobile */
}
.ktdb-primary {
  background: linear-gradient(90deg, #000, #ff007f);
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 0, 100, 0.35);
  font-weight: 600;
}
.ktdb-secondary {
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  margin:auto;
}
.ktdb-options {
  display: flex;
  gap: 10px;
  margin: 12px 0 6px;
  font-size: 16px;
  height: auto; /* không set cứng để responsive */
  min-height: 44px;
}
.ktdb-options select,
.ktdb-options input {
  padding: 8px;
  border: 1px solid #007bff;
  border-radius: 10px;
}
.ktdb-result {
  margin-top: 10px;
}
.ktdb-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding: 8px 0;
}
.copy-btn {
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 5px 12px;
  cursor: pointer;
}
.ktdb-sep {
  border: 0;
  height: 1px;
  background: #f1f5f9;
  margin: 16px 0;
}
.ktdb-subtitle {
  margin: 0 0 8px;
  text-align: center;
}
.ktdb-table {
  width: 100%;
  border-collapse: collapse;
}
.ktdb-table th {
  text-align: left;
  padding: 8px;
  border-bottom: 2px solid #ff8bbd;
  color: #ff007f;
}
.ktdb-table td {
  padding: 8px;
  border-bottom: 1px solid #eef2f7;
}
.hot-symbol {
  font-size: 1.05em;
}
.ktdb-hidden {
  display: none;
}
.ktdb-hotlist{
    text-align:center;
}
@media (max-width: 640px) {
  .ktdb-input-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .ktdb-options {
    flex-direction: column;
  }
}
