* {
  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: 1400px;
  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;
}

.controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.date-input {
  padding: 0.875rem 1.25rem;
  background: #1e293b;
  border: 2px solid #334155;
  color: #f8fafc;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
}

.date-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.view-toggle {
  display: flex;
  background: #1e293b;
  border-radius: 0.5rem;
  overflow: hidden;
}

.toggle-btn {
  padding: 0.875rem 1.5rem;
  background: transparent;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
}

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

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

.btn-primary {
  padding: 0.875rem 1.5rem;
  background: #3b82f6;
  border: none;
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: auto;
}

.btn-primary:hover {
  background: #2563eb;
}

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

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

.stat-card.pending {
  border-color: #fbbf24;
}

.stat-card.confirmed {
  border-color: #3b82f6;
}

.stat-card.seated {
  border-color: #10b981;
}

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

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #f8fafc;
}

.calendar-container {
  display: grid;
  grid-template-columns: 100px 1fr;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  overflow: hidden;
}

.time-column {
  background: #0f172a;
  border-right: 2px solid #334155;
}

.time-slot {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #334155;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.875rem;
}

.time-slot:last-child {
  border-bottom: none;
}

.reservations-column {
  overflow-y: auto;
  max-height: 700px;
}

.reservation-slot {
  min-height: 60px;
  border-bottom: 1px solid #334155;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reservation-slot:last-child {
  border-bottom: none;
}

.reservation-card {
  background: #0f172a;
  border-left: 4px solid;
  border-radius: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.reservation-card:hover {
  background: #1e293b;
  transform: translateX(4px);
}

.res-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.res-name {
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.9375rem;
}

.res-party {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.res-details {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.res-status {
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

.res-table {
  color: #94a3b8;
  font-size: 0.75rem;
}
