:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --card-bg: #f5f5f5;
}

body.dark {
  --bg-color: #121212;
  --text-color: #ffffff;
  --card-bg: #1e1e1e;
}

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: 0.3s;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-top: 20px;
}

h1 {
  text-align: center;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

form input, form select {
  padding: 10px;
  font-size: 14px;
  flex: 1;
}

form button {
  padding: 10px 20px;
  font-weight: bold;
  background-color: #27ae60;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

form button:hover {
  background-color: #219150;
}

.summary {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table th, table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.actions button {
  padding: 5px 10px;
  font-size: 12px;
  margin: 0 2px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.actions .edit {
  background-color: #f39c12;
  color: white;
}

.actions .delete {
  background-color: #e74c3c;
  color: white;
}

.filter-export {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-controls {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.dark-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}
