body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  background-color: #f4f7f6;
  color: #333;
  margin: 0;
  padding: 20px;
}
.container {
  max-width: 1300px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
h1 {
  font-size: 1.5em;
  color: #2c3e50;
  text-align: center;
  margin-top: 0;
  margin-bottom: 10px;
}
.description {
  text-align: center;
  color: #555;
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 25px;
}
.input-section {
  text-align: center;
  margin-bottom: 30px;
}
.file-input {
  display: none;
}
.file-label {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
}
.file-label:hover {
  background-color: #2980b9;
}
.file-label:active {
  transform: translateY(2px);
}
.file-name {
  margin-top: 10px;
  font-size: 0.9em;
  color: #7f8c8d;
}
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
  flex-wrap: wrap;
  gap: 15px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 15px;
}
input[type="text"] {
  padding: 10px 15px;
  width: 320px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 1em;
}
.count-display {
  font-weight: bold;
  color: #2c3e50;
  font-size: 1.1em;
}
.download-btn {
  background-color: #27ae60;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 6px rgba(39, 174, 96, 0.3);
}
.download-btn:hover {
  background-color: #219653;
}
.download-btn:active {
  transform: translateY(2px);
}
.table-container {
  overflow-x: auto;
  max-height: 60vh;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  border: 1px solid #e0e0e0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}
th {
  background-color: #f8f9fa;
  color: #2c3e50;
  position: sticky;
  top: 0;
  z-index: 1;
  box-shadow: 0 2px 2px -1px rgba(0,0,0,0.1);
  white-space: nowrap;
}
td {
  white-space: nowrap;
}
td.text-wrap {
  white-space: normal;
  min-width: 180px;
  word-break: break-word;
  font-size: 0.9em;
  color: #444;
}
tr:nth-child(even) { background-color: #fafafa; }
tr:hover { background-color: #f1f5f8; }
.badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: bold;
  color: #fff;
  display: inline-block;
}
.bg-yes { background-color: #2ecc71; }
.bg-no { background-color: #e74c3c; }
.bg-unknown { background-color: #95a5a6; }