body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
  color: #222;
}

#tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: center;
}

#tabs button {
  margin: 4px;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  background: #e0e0e0;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

#tabs button.active {
  background: #4a90e2;
  color: white;
}

#summary {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  flex: 1;
  min-width: 220px;
  background: linear-gradient(135deg, #fefefe, #f0f4f8);
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.card h3 {
  margin: 0;
  font-size: 15px;
  color: #555;
}

.card p {
  font-size: 22px;
  font-weight: 600;
  margin: 10px 0 0;
  color: #2c3e50;
}

.card input {
  margin-top: 8px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  text-align: center;
  font-size: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  border: 1px solid #e0e0e0;
  padding: 12px;
  text-align: center;
}

th {
  background: #f5f6fa;
  font-weight: 600;
  color: #333;
}

.btn {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #4a90e2;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

.btn:hover {
  background: #357abd;
}

.btn.danger {
  background: #e74c3c;
}

.btn.danger:hover {
  background: #c0392b;
}

.btn.add {
  margin-bottom: 15px;
  background: #27ae60;
}

.btn.add:hover {
  background: #1e8449;
}

.actions {
  margin-top: 25px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
