body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 20px;
  background: linear-gradient(135deg, #c3ec52 0%, #0ba29d 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.upload-section,
.export-section {
  text-align: center;
  margin-bottom: 25px;
}

.upload-section input,
.export-section input {
  margin-top: 10px;
  padding: 6px 10px;
  font-size: 14px;
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th, td {
  border: 1px solid #ccc;
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  min-width: 130px;
}

th {
  background: #007bff;
  color: white;
}

td input[type="text"],
td input[type="date"] {
  width: 100%;
  min-width: 100px;
  font-family: monospace;
  text-align: center;
  padding: 6px;
  border: none;
  background: transparent;
  font-size: 15px;
}

#add-row {
  display: block;
  margin: 10px auto;
  padding: 12px 25px;
  background: #28a745;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#add-row:hover {
  background: #218838;
}

.delete-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.delete-btn:hover {
  background: #c82333;
}

.status-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.status-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 4px;
  cursor: default;
}

.status-paid {
  background: #28a745;
}

.status-unpaid {
  background: #dc3545;
}

.status-cell label {
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-cell input[type="checkbox"] {
  transform: scale(1.2);
  cursor: pointer;
}

.export-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#person-name {
  padding: 10px;
  font-size: 14px;
  width: 200px;
}

#download-image {
  background: #007bff;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#download-image:hover {
  background: #0056b3;
}

.export-table {
  margin: 20px auto;
  border-collapse: collapse;
  width: fit-content;
  table-layout: auto;
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
}

.export-table th, .export-table td {
  padding: 14px 18px;
  min-width: 130px;
  white-space: nowrap;
  text-align: center;
  border: 1px solid #444;
}

