/* Style the form container */
#tcc-chatbot-form-wrapper {
  max-width: 600px;
  margin: 2rem auto;
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: sans-serif;
}

/* Style each label block */
#tcc-chatbot-form-wrapper label {
  display: block;
  margin-bottom: 1rem;
}

/* Style the label title */
#tcc-chatbot-form-wrapper label span {
  display: block;
  margin-bottom: .3rem;
  font-weight: 600;
  color: #333;
}

/* Style text inputs and textarea */
#tcc-chatbot-form-wrapper input[type="text"],
#tcc-chatbot-form-wrapper input[type="number"],
#tcc-chatbot-form-wrapper textarea {
  width: 100%;
  padding: .6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Style file input */
#tcc-chatbot-form-wrapper input[type="file"] {
  margin-top: .3rem;
  display: block;
}

/* Style the submit button */
#tcc-chatbot-form-wrapper button {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: .7rem 1.4rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
#tcc-chatbot-form-wrapper button:hover {
  background: #005177;
}

/* Style the result box */
#tcc-result {
  margin-top: 1rem;
  padding: .8rem;
  background: #eef;
  border-radius: 4px;
  white-space: pre-wrap;
}


/* Bao khung và căn lề chung */
#tcc-manage-wrapper {
  margin: 2em auto;
  max-width: 1000px;
  font-family: sans-serif;
}

/* Bảng quản lý */
#tcc-bots-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}
#tcc-bots-table th,
#tcc-bots-table td {
  border: 1px solid #ddd;
  padding: 0.6em 0.8em;
  text-align: left;
  vertical-align: top;
}
/* Header đậm nền xám nhạt */
#tcc-bots-table th {
  background: #f5f5f5;
  font-weight: 600;
}
/* Giới hạn độ rộng các cột */
#tcc-bots-table th:nth-child(1),
#tcc-bots-table td:nth-child(1) { width: 20%; }
#tcc-bots-table th:nth-child(2),
#tcc-bots-table td:nth-child(2) { width: 15%; }
#tcc-bots-table th:nth-child(3),
#tcc-bots-table td:nth-child(3) { width: 25%; }
/* Cột nguồn wrap tốt */
#tcc-bots-table th:nth-child(4),
#tcc-bots-table td:nth-child(4) {
  width: 40%;
  word-wrap: break-word;
  white-space: normal;
}

/* Style nút Xóa */
.tcc-delete-btn {
  background-color: #d9534f;
  color: #ffffff;
  border: none;
  padding: 0.4em 0.8em;
  font-size: 0.9em;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.tcc-delete-btn:hover {
  background-color: #c9302c;
}


