/* Overlay background */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 10;
  overflow: hidden;
}

/* Info box */
.infopanel {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0);
  transform-origin: top right;
  opacity: 0;
  max-height: 70vh;
  overflow-y: auto;
  transition: transform 0.4s ease, opacity 0.2s ease;
}

.infopanel h2 {
    color: #333;
    border-bottom: 2px solid #1db6c8;
    padding-bottom: 0.5rem;
    margin-top: 0;
    opacity: 0.9;    
}

.overlay.show .infopanel {
  transform: scale(1);
  opacity: 1;
}

.pitch {
    background-color: #fe9c0b;
    border-left: 4px solid #ddd;
    padding: 22px 25px;
    margin: 15px 0;
    font-style: italic;
    line-height: 1.5;
    opacity: 0.9;    
}

.description,
.rules {
    color: #000;
    background-color: #b7babe;
    border-left: 4px solid #fe9c0b;
    padding: 22px 25px;
    margin: 15px 0;
    line-height: 1.5;
    opacity: 0.9;    
}


@media (max-width: 1300px) {
    .item-table {
      min-width: unset !important;
      width: 100% !important;
      font-size: 0.6rem !important; 
    }

    .item-table thead tr th {    
      padding-left: 1px !important;
      padding-right: 1px !important;
    }

    .item-table tbody tr td {    
      padding-left: 1px !important;
      padding-right: 1px !important;
    }

    .infopanel {
      font-size: 0.6rem !important; 
    }
}

@media (max-width: 950px) {
    .item-table {
      min-width: unset !important;
      width: 100% !important;
      font-size: 0.6rem !important; 
    }

    .infopanel {
      font-size: 0.7rem !important; 
    }

    .item-table thead tr th {    
      padding-left: 0px !important;
      padding-right: 0px !important;
    }

    .item-table tbody tr td {    
      padding-left: 0px !important;
      padding-right: 0px !important;
    }

}

@media (max-width: 800px) {
  .reservedslots-table {
    width:100%;
    min-width: unset !important;
  }
}

@media (max-width: 550px) {
    .item-table {
      font-size: 0.4rem !important; 
    }
}

@media (max-width: 500px) {
    .item-table {
      font-size: 0.35rem !important; 
    }
}

@media (max-width: 440px) {
    .item-table {
      font-size: 0.30rem !important; 
    }
}

.typing-overlay {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  padding: 1rem;
  border: 2px solid orange;
  border-radius: 8px;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.typing-input {
  font-size: 1.2rem;
  padding: 0.5rem;
  width: 300px;
  background: #fff;
  border: 1px solid #ccc;
}

.filter-instructions {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 12px;
  line-height: 1.2rem;
}

hr {
  background-color: #1db6c8;
  height:2px;
  border:none;  
    /* border-bottom: 2px solid #1db6c8; */
    margin-top: 1rem;    
    margin-bottom: 1rem;
    /* margin-top: 0;
    opacity: 0.9;     */
}

.info {
  line-height: 1.5rem;
}
