/* カスタムスタイル */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

#summary-table th, #summary-table td,
#answers-table th, #answers-table td {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
}

#summary-table thead th,
#answers-table thead th {
  background-color: #f0f9ff;
  color: #0369a1;
  font-weight: 700;
}

#answers-table td.name-cell,
#summary-table td.date-cell,
#answers-table th.date-col {
  text-align: left;
  white-space: normal;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  font-weight: 700;
}
.status-maru { background-color: #dcfce7; color: #16a34a; }
.status-sankaku { background-color: #fef9c3; color: #ca8a04; }
.status-batsu { background-color: #fee2e2; color: #dc2626; }

.answer-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  border: 2px solid #e5e7eb;
  color: #9ca3af;
  transition: all 0.15s ease;
}
.answer-btn.active-maru { background-color: #dcfce7; border-color: #16a34a; color: #16a34a; }
.answer-btn.active-sankaku { background-color: #fef9c3; border-color: #ca8a04; color: #ca8a04; }
.answer-btn.active-batsu { background-color: #fee2e2; border-color: #dc2626; color: #dc2626; }

.answer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background-color: #f9fafb;
}

.row-even { background-color: #ffffff; }
.row-odd { background-color: #f9fafb; }

.edit-link {
  color: #0284c7;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.75rem;
}
.delete-link {
  color: #dc2626;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.75rem;
}

.best-date-col {
  background-color: #fff7ed !important;
}
