/* Calendar Container */
.khoros-calendar {
    /* max-width: 450px; */
    margin-bottom: 40px;
    /* margin: 0 auto; */
    font-family: system-ui, -apple-system, sans-serif;
    position: relative;
  }
  
  /* Swiper Customization */
  .khoros-calendar-swiper {
    width: 100%;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    color: #000;
    width: 24px;
    height: 24px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    top: 26px;
  }
  
  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 24px;
    font-weight: bold;
  }
  
  /* Calendar Header */
  .calendar-header {
    text-align: left;
    margin-bottom: 20px;
  }
  
  .calendar-header h3 {
    text-align: center;
    margin: 0;
    font-size: 24px;
    font-weight: 500;
  }
  
  /* Weekday Headers */
  .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 8px;
    text-align: center;
    font-size: 14px;
    color: #666;
  }
  
  /* Calendar Grid */
  .calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 50px;
    gap: 4px;
  }
  
  .calendar-day {
    /* aspect-ratio: 1; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .calendar-dayname {
    /* aspect-ratio: 1; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
  }
  
  .calendar-day:not(.disabled):not(.empty):hover {
    background: #000;
    color: #fff;
  }
  
  .calendar-day.disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
  }
  
  .calendar-day.empty {
    background: none;
    pointer-events: none;
  }
  
  /* Popover */
  .calendar-popover {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 320px;
    z-index: 1000;
  }
  
  .popover-content {
    padding: 20px;
  }
  
  .popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .selected-date {
    font-size: 16px;
    font-weight: 500;
  }
  
  .close-popover {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    color: #666;
  }
  
  .popover-body {
    text-align: center;
  }
  
  .slot-choice {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
  }
  
  .slot-choice:hover {
    background: #f5f5f5;
    border-color: #000;
  }
  
  /* Overlay for popover */
  .calendar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }
  
  .woocommerce-variation-price {
    margin-bottom: 40px;
  }
  
  [name="khoros_slot_label"] {
    display: none;
  }
  
  .variations_form.cart {
    .single_variation {
      display: none !important;
    }
  
   
  }
  .khoros-monthly-picker {
    position: relative;
    margin-bottom: 16px;
  
    #ui-datepicker-div {
      position: relative !important;
      inset: 0 !important;
      left: 0 !important;
      top: 0 !important;
      width: 100% !important;
      height: 100% !important;
      z-index: 998 !important;
      border: none;
  
      .ui-datepicker-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 0;
        background-color: transparent;
        border: none;

        &::before,&::after{
            display: none;
        }
  
  
        span{
            color: #000;
            font-size: 20px;
        }
  
        .ui-datepicker-next, .ui-datepicker-prev{
            position: relative;
            &:hover{
                cursor: pointer;
            }
        }
  
        .ui-datepicker-next {
          order: 2;
        }
      }
  
      table.ui-datepicker-calendar {
        margin: 10px 0 30px;
        width: 100%;
        thead {
          tr {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            grid-auto-rows: 36px;
            text-align: center;
            font-size: 14px;
            gap: 4px;
            color: #666;
            th span{
                color: #000;
            }
          }
        }
        tbody {
          display: flex;
          flex-direction: column;
          margin-bottom: 0;
          gap: 4px;
  
          tr {
            flex-direction: row;
            margin-bottom: 0;
            height: 36px;
            gap: 4px;
            td {
              flex: 1;
              text-align: center;
              display: flex;
              align-items: center;
              justify-content: center;
              background: #f5f5f5;
              border-radius: 8px;
              font-size: 18px;
              cursor: pointer;
              transition: all 0.2s ease;
  
              &:hover{
                background: #000;
                color: #fff;
                .ui-state-default{
                    color: #fff;
                }
              }
  
              .ui-state-default{
                color: #000;
                background-color: transparent;
                border: none;
              }
  
              .ui-state-active,  &.ui-datepicker-current-day{
                background: #000;
                color: #fff;
              }
  
              &.ui-state-disabled {
                opacity: 0.5;
                cursor: default;
                pointer-events: none;
              }
            }
          }
        }
      }
    }
  }
  