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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #0f1419;
  color: #e8eaed;
  line-height: 1.6;
}

.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  margin-bottom: 30px;
}

.header h1 {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.header p {
  font-size: 16px;
  color: #9aa0a6;
}

.card {
  background: #1a1f26;
  border: 1px solid #2d3339;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.badge-default {
  background: #2d3339;
  color: #9aa0a6;
}

.badge-success {
  background: #1e4620;
  color: #81c784;
}

.badge-warning {
  background: #4a3c1a;
  color: #ffb74d;
}

.badge-error {
  background: #4a1a1a;
  color: #e57373;
}

.badge-info {
  background: #1a3a4a;
  color: #64b5f6;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: #1a73e8;
  color: #fff;
}

.btn-primary:hover {
  background: #1557b0;
}

.btn-secondary {
  background: #2d3339;
  color: #e8eaed;
}

.btn-secondary:hover {
  background: #3c4349;
}

.input {
  width: 100%;
  padding: 10px 14px;
  background: #0f1419;
  border: 1px solid #2d3339;
  border-radius: 6px;
  color: #e8eaed;
  font-size: 14px;
}

.input:focus {
  outline: none;
  border-color: #1a73e8;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.loading {
  text-align: center;
  padding: 40px;
  color: #9aa0a6;
}

.error {
  background: #4a1a1a;
  border: 1px solid #e57373;
  border-radius: 6px;
  padding: 12px;
  color: #e57373;
  margin-bottom: 20px;
}

.list-item {
  padding: 14px;
  background: #0f1419;
  border: 1px solid #2d3339;
  border-radius: 6px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.list-item:hover {
  border-color: #1a73e8;
  background: #1a1f26;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.stat-card {
  background: #1a1f26;
  border: 1px solid #2d3339;
  border-radius: 8px;
  padding: 16px;
}

.stat-label {
  font-size: 12px;
  color: #9aa0a6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

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

.table th {
  text-align: left;
  padding: 12px;
  border-bottom: 2px solid #2d3339;
  color: #9aa0a6;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  padding: 12px;
  border-bottom: 1px solid #2d3339;
}

.table tr:hover {
  background: #1a1f26;
}
