body {
    font-family: Arial, sans-serif;
    margin: 0;
  }
  .bar-container {
    position: relative;
    margin: 10px 0;
    width: 100%;
    height: 40px;
  }
  .bar {
    position: relative;
    height: 40px;
    background-color: green; /* Free time default */
    overflow: hidden;
  }
  .time-slot {
    position: absolute;
    height: 100%;
    background-color: red; /* Occupied time default */
  }
  .room-name {
    position: absolute;
    left: 10px;
    top: 10px;
    color: white;
    font-weight: bold;
    text-decoration: none;
  }
  .current-time-line {
    position: fixed;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: black;
    z-index: 2; /* Ensures it appears on top of the bars and the buttons */
  }

  .hourly-time-line {
    position: fixed;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: white;
    z-index: 1; /* Ensures it appears on top of the bars */
  }

  .building-button {
    position: relative;
    margin: 10px 0;
    width: 100%;
    height: 40px;
    border: 1px solid lightgray;
    background-color: white;
    z-index: 1; /* Ensures the buttons render above the time lines */

    text-align: left;
    font-weight: bold;
    text-decoration: none;
  }

  .title {
    position: relative;
    z-index: 2;
  }
  .toggle-button {
    position: relative;
    margin: 10px 30px;
    /* width: 100px; */
    height: 30px;
    border: 1px solid lightgray;
    background-color: white;
    z-index: 2; /* Ensures the button renders above the time lines */

    text-align: left;
    text-decoration: none;
  }

/* flex container for header row of times */
  .flex-container{ 
    position: sticky;
    top: 0;
    display: flex;
    background-color: white;
    padding-top: 2px;
    padding-bottom: 2px;
    z-index: 2;
  }
  .flex-container > div {
    text-align: center;
    //text-align: left;
  }
