body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 10px; 
    background-color: #f4f4f4;
    color: #333;
    touch-action: manipulation;
  }
  
  h1, h2 {
    color: #333;
  }
  
  #booking-form, #bookings {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px; /* Reduced padding */
    margin-bottom: 20px; 
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  #bookings {
    margin-top: 20px; /* Added margin above Existing Bookings */
  }
  
  #booking-list {
    display: flex;
    flex-direction: column;
  }
  
  .booking-tile {
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex; /* Enable flexbox for the tile */
    align-items: stretch; /* Stretch children to match the tallest one */
  }
  
  .booking-details {
    flex-grow: 1; /* Allow details to take up available space */
    padding: 10px;   /* Add padding to the details container */
    text-align: left; /* Align text to the left */
  }
  
  .delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 0 5px 5px 0; /* Rounded corners on the right side */
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the text horizontally */
    flex-shrink: 0; /* Prevent the button from shrinking */
    align-self: stretch; 
  }
  
  #booking-form button:hover, #new-booking-btn:hover {
    background-color: #0069d9;
  }
  
  #new-booking-btn {
    background-color: lightblue;
    color: black; 
    padding: 18px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
  }
  
  #new-booking-btn:hover {
    background-color: #0069d9; 
    color: white; 
  }
  
  .booking-details {
    flex-grow: 1; 
  }
  

  
  #booking-form label,
  #booking-form select,
  #booking-form input {
    display: block; 
    width: 100%;    
    margin-bottom: 10px; 
    font-size: 1.1em; 
  }
  
  #booking-form input[type="date"],
  #booking-form input[type="time"] {
    padding: 8px; 
  }
  
  #booking-form button { 
    font-size: 1.2em; 
  }
  
  .overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .confirmation-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }