#schedulePopup .modal_inner {
    width: 100%;
    vertical-align: middle;
    background: #f3f3f3;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.woocommerce-js div.product form.cart {
    display: block;
}
#schedulePopup .select-container {
    max-width: 400px;
    margin: 0 auto;
}

#schedulePopup label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

#schedulePopup select {
    width: 100%;
    height: 200px;
    overflow-y: auto;
    font-size: 16px;
    border: 2px solid #f0f0f0;
    border-radius: 5px;
    background-color: #fff;
    appearance: none;
    background-position: 100% 50%;
    padding: 0;
}
#schedulePopup select option {
    width: 100%;
    padding: 7px 5px;
    background: #ececec;
    margin: 1px;
}
#schedulePopup select option:hover {
    background: hsl(206deg 100% 86.63%);
}
#schedulePopup select:focus {
    outline: none;
    border-color: #1976D2;
}
#calendar {
    max-width: 600px;
    margin: 0 auto;
}
/*Book Now*/
#book-now-form{
    text-align: left;
    width: 70%;
}
.book-now-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255);
    z-index: 999;
    display: flex;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
    display: none;
	overflow:scroll;
}
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 100%;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
    position: relative;
    top: 50px;
}
.popup-content h2 {
    margin-bottom: 0;
    font-size: 24px;
}
.booking-terms-conditions{
    display: flex;
}
.popup-content label {
    text-align: left; /* Align labels to the left inside the form */
    margin-top: 10px;
    width: auto;
    display: block;
}

.popup-content input {
    margin-bottom: 10px;
    padding: 8px;
    width: 100%; /* Make inputs fill the container */
    border: 1px solid #ccc; /* Border for inputs */
    border-radius: 4px; /* Slightly rounded corners */
}

.popup-content button {
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background-color: #646464; /* Primary button color */
    color: white;
    font-size: 16px;
}

.popup-content button[type="button"] {
    background-color: #ccc; /* Close button color */
}

.popup-content button:hover {
    background-color: #000; /* Darker shade for submit button */
        color: white;
}

.popup-content button[type="button"]:hover {
    background-color: #999; /* Darker shade for close button */
}
#book-now-form input, #book-now-form select {
    width: 100%;
    border-radius: 9px;
    background: #fbfbfb;
    border-color: #eeeeee;
    margin-bottom: 15px;
    max-width: 100%;
}
#book-now-form label {
    color: #000000;
    margin: 10px 0;
    font-weight: bold;
}
.custom-radio:first-child{
    margin-right: 10px !important;
}
/*Artist Radio*/
#book-now-form #artist {
    display: flex;
}
#book-now-form .custom-radio input 
{
  display: none;
}

#book-now-form .radio-btn {
    background: #646464;
    width: 100%;
    border: 3px solid transparent;
    display: inline-block;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 0 20px #c3c3c367;
    cursor: pointer;
    color: white;
}
#book-now-form .radio-btn:hover{
    background: #8b8b8b;
    color: #000;
}
#book-now-form .radio-btn > i {
  color: #ffffff;
  background-color: #000000;
  font-size: 20px;
  position: absolute;
  top: -15px;

  transform: translateX(-50%) scale(2);
  border-radius: 50px;
  padding: 3px;
  transition: 0.5s;
  pointer-events: none;
  opacity: 0;
}

#book-now-form .radio-btn .hobbies-icon h6
{
    margin: 0;
    padding: 2px 10px;
}

#book-now-form .radio-btn .hobbies-icon i 
{
  color: #000000;
  line-height: 80px;
  font-size: 60px;
}


#book-now-form .custom-radio input:checked + .radio-btn {
    border: 3px solid #000000;
    background: #000000;
    color: white;
}
#book-now-form .custom-radio input:checked + .radio-btn > i 
{
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.booking_submit:disabled {
  background-color: #D6D6D6;  /* Light gray background */
  color: #A1A1A1;             /* Light gray text */
  border: 1px solid #A1A1A1;  /* Border to match text */
  cursor: not-allowed;        /* Show 'not-allowed' cursor */
}
.booking-terms-conditions input{width: auto !important; margin-right: 10px; height: 23px;}

/* Disabled button styling */
.booking_submit:disabled {
  background-color: #D6D6D6;  /* Light gray background */
  color: #A1A1A1;             /* Light gray text */
  border: 1px solid #A1A1A1;  /* Border to match text */
  cursor: not-allowed;        /* Show 'not-allowed' cursor */
  position: relative;         /* Enable absolute positioning for tooltip */
}

/* Tooltip styling */
.booking_submit:disabled[title] {
  position: relative;
}

.booking_submit:disabled[title]:hover::after {
  content: attr(title);                 /* Use the title attribute as content */
  position: absolute;                   /* Position it above the button */
  bottom: 100%;                          /* Place it above the button */
  left: 50%;                             /* Center it horizontally */
  transform: translateX(-50%);          /* Offset to center */
  background-color: rgba(0, 0, 0, 0.75); /* Dark background */
  color: #fff;                          /* White text */
  padding: 5px 10px;                    /* Padding around text */
  border-radius: 5px;                   /* Rounded corners */
  font-size: 14px;                       /* Font size */
  white-space: nowrap;                  /* Prevent wrapping */
  z-index: 10;                          /* Ensure the tooltip is above the button */
  opacity: 0;                            /* Start with opacity 0 */
  visibility: hidden;                   /* Hide initially */
  transition: opacity 0.2s, visibility 0.2s; /* Smooth appearance */
}

/* Show the tooltip when hovering */
.booking_submit:disabled[title]:hover::after {
  opacity: 1;                           /* Make it visible */
  visibility: visible;                  /* Show the tooltip */
}
@media only screen and (max-width: 767px) {
    #book-now-form {
        text-align: left;
        width: 100%;
    }
    #book-now-form #artist {
        display: flex;
        flex-wrap: nowrap;
    }
    .popup-content {
        padding: 0;
    }

    #book-now-form #artist > .custom-radio {
      flex: 50%; 
    }
}
