* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  margin: 0;
  padding: 20px;
  background: #fafafa;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}

#upload-section {
  text-align: center;
  margin: 20px 0;
}

#csvFile {
  margin-right: 10px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.error {
  color: #e74c3c;
  text-align: center;
  margin: 10px 0;
  padding: 10px;
  background: #fdf2f2;
  border-radius: 4px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.table th,
.table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.table input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
}

.table input:focus {
  background: #fffde7;
}

button {
  padding: 10px 16px;
  margin: 5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: opacity 0.2s;
}

button:hover {
  opacity: 0.9;
}

#processBtn { background: #28a745; color: white; }
#saveBtn    { background: #17a2b8; color: white; }
#exportBtn  { background: #fd7e14; color: white; }
#clearBtn   { background: #dc3545; color: white; }