/* PAPI Test Plugin Styles */

/* 基本樣式 */
body {
  font-family: 'Noto Sans TC', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  color: #333;
}

/* 容器 */
#papi-test-app {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* 區段外觀 */
.papi-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 表單群組 */
.papi-form-group {
  margin-bottom: 15px;
}

.papi-form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.papi-form-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* 按鈕 */
.papi-btn {
  display: inline-block;
  background-color: #4CAF50;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

.papi-btn:hover {
  background-color: #45a049;
}

/* 問題樣式 */
/* 問題區塊 */
#papi-questions .papi-question {
  margin-bottom: 15px;
  padding: 10px;
  border-bottom: 1px solid #e0e0e0;
}

#papi-questions .papi-question-title {
  font-weight: bold;
  margin-bottom: 5px;
}

/* 圖表容器 */
#papi-chartsContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.papi-chart-wrapper {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

/* 表格樣式 */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f0f0f0;
}

/* 動作按鈕容器 */
.papi-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}