* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  padding: 20px;
  background: #f8f9fa;
  color: #212529;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #2b2d42;
  font-weight: 600;
}

h2 {
  margin: 30px 0 15px;
  color: #2b2d42;
}

.input-block {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  justify-content: center;
}

input {
  padding: 10px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 14px;
  width: 200px;
}

input:focus {
  outline: none;
  border-color: #4dabf7;
  box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.1);
}

.button-group {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

button {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  background: #495057;
  color: white;
}

button:hover {
  background: #343a40;
  transform: translateY(-1px);
}

.btn-primary {
  background: #1971c2;
}
.btn-primary:hover {
  background: #1864ab;
}

.btn-secondary {
  background: #3bc9db;
}
.btn-secondary:hover {
  background: #22b8cf;
}

.btn-danger {
  background: #e03131;
}
.btn-danger:hover {
  background: #c92a2a;
}

.btn-info {
  background: #6741d9;
}
.btn-info:hover {
  background: #5f3dc4;
}

.btn-success {
  background: #2f9e44;
}
.btn-success:hover {
  background: #2b8a3e;
}

.stats {
  text-align: center;
  margin: 20px 0;
  font-size: 16px;
  color: #495057;
}

.table-container {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  max-height: 500px;
  overflow-y: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  background: #f8f9fa;
  font-weight: 600;
  position: sticky;
  top: 0;
}

tr:hover {
  background: #f8f9fa;
}
