body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
  }
  header {
    background: #0077cc;
    color: #fff;
    padding: 15px;
    text-align: center;
  }
  footer {
    text-align: center;
    padding: 10px;
    background: #0077cc;
    color: #fff;
    position: fixed;
    bottom:0%;
    width: 100%;
  }
  .stats {
    display: flex;
    justify-content: space-around;
    padding: 15px;
  }
  .card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  .entry-form {
    padding: 20px;
    text-align: center;
  }
  .entry-form input, .entry-form select {
    padding: 10px;
    margin: 5px;
  }
  button {
    padding: 10px 20px;
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  .grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 20px;
  }
  .slot {
    padding: 20px;
    background: #ccc;
    border-radius: 6px;
    text-align: center;
  }
  
  .slot.available {
    background-color: green;
    color: #fff;
  }
  
  .slot.occupied {
    background-color: red;
    color: #fff;
  }
  

 /* Make grid auto-fit on small screens */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}

/* Mobile friendly */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  .card {
    font-size: 0.9rem;
    padding: 8px;
  }

  form {
    display: flex;
    flex-direction: column;
  }

  form input, form select, form button {
    width: 100%;
    margin: 5px 0;
  }
}
