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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  min-height: 100vh;
  padding: 2rem 1rem;
  color: #1a1a1a;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 3rem;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-select {
  margin-left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 15px;
  border: 2px solid transparent;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
  color: #1a1a1a;
  min-width: 150px;
}

.filter-select:focus {
  border-color: #dc2626;
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
  transform: translateY(-2px);
}

#searchInput {
  width: 100%;
  max-width: 600px;
  padding: 1rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 15px;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

#searchInput:focus {
  border-color: #dc2626;
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
  transform: translateY(-2px);
}

#searchInput::placeholder {
  color: #9ca3af;
  font-weight: 300;
}

.status-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.summary-card {
  padding: 0.8rem 1.3rem;
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: white;
  font-weight: 500;
  min-width: 140px;
  text-align: center;
}

.green-bg {
  border-left: 5px solid #22c55e;
}

.yellow-bg {
  border-left: 5px solid #facc15;
}

.red-bg {
  border-left: 5px solid #ef4444;
}

.table-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

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

thead {
  background: #1a1a1a;
  color: white;
}

th {
  padding: 1rem 2rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

td {
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

tbody tr {
  transition: all 0.2s ease;
}

tbody tr:hover {
  background: #fafafa;
}

tbody tr:last-child td {
  border-bottom: none;
}

.status {
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 13px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-block;
  min-width: 100px;
  text-align: center;
}

.status.green {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.status.yellow {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.status.red {
  background: #fecaca;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.details-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.details-btn:hover {
  background: #1a1a1a;
  color: white;
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.15);
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
  font-size: 1.1rem;
  font-weight: 300;
}

/* Adjusting for a smaller size window */
@media (max-width: 768px) {
  body {
    padding: 1rem 0.5rem;
  }

  th,
  td {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .details-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  #searchInput {
    padding: 0.75rem 1.25rem;
  }
}

.table-container {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
