* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

header {
  background: #2c3e50;
  color: white;
  padding: 1rem 2rem;
  text-align: center;
}

main {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  background: white;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
  margin-bottom: 1rem;
  color: #2c3e50;
}

/* 系統狀態 */
.status-panel {
  border-left: 4px solid #27ae60;
}

.status-panel.warning {
  border-left-color: #e74c3c;
}

.status-grid {
  display: grid;
  gap: 0.5rem;
}

.status-item {
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
}

.status-item .label {
  font-weight: bold;
  margin-right: 0.5rem;
}

.status.healthy::before {
  content: "🟢 ";
}

.status.unhealthy::before {
  content: "🔴 ";
}

/* NFT 清單控制 */
.controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.controls input,
.controls select {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.controls input {
  flex: 1;
}

/* 表格 */
table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: #34495e;
  color: white;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

tbody tr:hover {
  background: #f8f9fa;
}

/* 分頁 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.pagination button {
  padding: 0.5rem 1rem;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.pagination button:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
}

/* 頁尾 */
footer {
  text-align: center;
  padding: 1rem;
  background: white;
}

footer button {
  padding: 0.5rem 1rem;
  background: #27ae60;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

footer button:hover {
  background: #229954;
}
/* v1.0 */
