/* General Page Styles */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    padding: 0;
    background-color: #f4f4f4;
  }
  
  h2 {
    text-align: center;
    color: #333;
  }
  
  label {
    margin-right: 10px;
    font-weight: bold;
  }
  
  button {
    margin: 5px;
    padding: 8px 15px;
    border: none;
    background-color: #3498db;
    color: white;
    cursor: pointer;
    border-radius: 3px;
  }
  
  button:hover {
    background-color: #2980b9;
  }
  
  /* Timetable Table Styles */
  #timetable {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
  }
  
  #timetable th,
  #timetable td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
  }
  
  #timetable th {
    background-color: #3498db;
    color: white;
  }
  
  #timetable td.slot {
    cursor: pointer;
    background-color: #f9f9f9;
  }
  
  #timetable td.slot.selected {
        background: #c1e9c1;
  }
  #timetable td.slot.selected > input {
        opacity: 0 !important;
  }
  #timetable td.slot:hover {
    background-color: #e6e6e6;
  }
  
  /* Payment Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    border-radius: 5px;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    cursor: pointer;
    text-decoration: none;
  }
  
  /* Payment Modal Content Styles */
  .modal-content div {
    margin: 10px 0;
  }
  
  input[type="radio"] {
    margin-right: 8px;
  }
  
  button.confirm-button {
    background-color: #27ae60;
  }
  
  button.confirm-button:hover {
    background-color: #1e8449;
  }
  
  .slot-reserved {
    background-color: #f8d7da;
    cursor: not-allowed;
    pointer-events: none;
  }
  
  .slot-ongoing {
    background-color: #fff3cd;
    cursor: not-allowed;
    pointer-events: none;
  }

  .no-select {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
  }

  .slot.selected {
    background-color: #ff0;
  }

/* Hide quantity selector in WooCommerce cart */
.wc-block-components-quantity-selector,
.woocommerce-cart .quantity {
    display: none !important;
}

/* Hide image in WooCommerce cart */
td.wc-block-cart-item__image {
  display: none;
}

/* Line width in cart */
td.wc-block-cart-item__product {
  width: 50%;
}

tr.wc-block-cart-items__header {
  display: none;
}

.wc-block-cart-item__prices {
  display: none;
}

.wc-block-components-product-badge.wc-block-components-sale-badge {
  display: none;
}

strong.product-quantity {
  display: none;
}
#timetable td.slot.slot-reserved {
  background: #fb7b7b;
  color: white;
}
.booking-type, .event-type {
  display: flex;
  flex-wrap: wrap;
}
.event-type {
  margin-bottom: 20px;
}
.booking-type > label, .event-type > label {
  flex: 100%;
}
.booking-type button, .event-type button {
    line-height: 50px;
    flex: 1;
    margin-right: 10px;
    opacity: 0.6;
}
.booking-type button:last-child, .event-type button:last-child{
    margin-right: 0px;
}
.booking-type button.selected, .event-type button.selected{
  opacity: 1;
}


