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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

.app {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem;
}

.app-header {
  margin-bottom: 2rem;
}

.app-header h1 {
  font-size: 2.5rem;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.app-header p {
  color: #94a3b8;
  font-size: 1.1rem;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-item {
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}

.stat-item.available {
  border-color: #10b981;
}

.stat-item.occupied {
  border-color: #ef4444;
}

.stat-item.reserved {
  border-color: #fbbf24;
}

.stat-item.cleaning {
  border-color: #6b7280;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: #94a3b8;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 600;
}

.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: #1e293b;
  border: 2px solid #334155;
  color: #cbd5e1;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
  text-transform: capitalize;
}

.filter-btn:hover {
  background: #334155;
}

.filter-btn.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.floor-plan {
  position: relative;
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 0.75rem;
  min-height: 500px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.table {
  position: absolute;
  width: 120px;
  background: #0f172a;
  border: 3px solid;
  border-radius: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.table:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.table-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  text-align: center;
  margin-bottom: 0.5rem;
}

.table-seats {
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.table-status {
  padding: 0.375rem;
  border-radius: 0.375rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.5rem;
}

.table-info {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.4;
  padding-top: 0.5rem;
  border-top: 1px solid #334155;
}

.legend {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.legend h3 {
  color: #f8fafc;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.legend-items {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legend-color {
  width: 24px;
  height: 24px;
  border-radius: 0.375rem;
}

.legend-item span {
  color: #cbd5e1;
  font-weight: 500;
  text-transform: capitalize;
}
