#lwrcustombooking-steps {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

/* Headings */
#lwrcustombooking-steps h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #0790d2; /* Primary color */
}

#lwrcustombooking-steps p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

/* Buttons */
#lwrcustombooking-steps button {
    background-color: #0790d2; /* Primary color */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#lwrcustombooking-steps button:hover {
    background-color: #0790d2; /* Darker shade for hover */
    transform: scale(1.05);
}

#lwrcustombooking-steps button.prev-step {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

#lwrcustombooking-steps button.prev-step:hover {
    background-color: #e0e0e0;
}

/* Manufacturer Options */
#lwrcustombooking-steps .manufacturer-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

#lwrcustombooking-steps .manufacturer-option {
    border: 2px solid transparent;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 120px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: border 0.3s, transform 0.2s;
    cursor: pointer;
}

#lwrcustombooking-steps .manufacturer-option:hover {
    border-color: #0790d2;
    transform: scale(1.05);
}

#lwrcustombooking-steps .manufacturer-option img {
    max-width: 50px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

#lwrcustombooking-steps .manufacturer-option p {
    font-size: 14px;
}

/* Model List and Service Options */
#lwrcustombooking-steps #model-list, 
#lwrcustombooking-steps .services-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

#lwrcustombooking-steps .service-option, 
#lwrcustombooking-steps #model-list li {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s, border 0.3s;
}

#lwrcustombooking-steps .service-option:hover, 
#lwrcustombooking-steps #model-list li:hover {
    border: 1px solid #0790d2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}



/* Timeslot Container - Grid Layout */
#lwrcustombooking-steps #timeslot-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 2 columns on desktop, 1 on mobile */
    gap: 15px; /* Increase spacing between timeslots */
    margin-top: 20px; /* Add some space above the grid */
}

/* Timeslot Box - Default State */
#lwrcustombooking-steps .timeslot-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border: 2px solid transparent; /* Transparent border by default */
    border-radius: 6px; /* Rounded corners */
    background-color: #fff; /* White background */
    color: #333;
    cursor: pointer;
    text-align: center;
    transition: border 0.3s, transform 0.2s, box-shadow 0.2s;
}

/* Timeslot Box - Hover State */
#lwrcustombooking-steps .timeslot-box:hover {
    border: 2px solid #0790d2; /* Darker blue border on hover */
    transform: scale(1.05); /* Slight scale effect */
}

/* Timeslot Box - Selected State */
#lwrcustombooking-steps .timeslot-box.selected {
    border: 2px solid #0790d2; /* Blue border for selected */
    background-color: #f0f8ff; /* Soft blue background for selected */
   /* color: #0790d2; /* Blue text for selected */
    transform: scale(1.05); /* Slightly larger for emphasis */
    box-shadow: 0 2px 5px rgba(7, 144, 210, 0.3); /* Subtle shadow */
}

/* Hide the actual checkbox */
#lwrcustombooking-steps .timeslot-box input[type="checkbox"] {
    display: none;
}

/* Timeslot Label Styling */
#lwrcustombooking-steps .timeslot-box label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 0;
    color: inherit; /* Inherit color from the parent box */
}


/* Receipt */
#lwrcustombooking-steps .receipt {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    background-color: #FFFFFF;
}

#lwrcustombooking-steps .receipt h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #0790d2; /* Primary color */
}

#lwrcustombooking-steps #total-price {
    font-size: 20px;
    color: #0790d2; /* Complementary darker color */
    font-weight: bold;
}

/* Input Fields */
#lwrcustombooking-steps input[type="text"],
#lwrcustombooking-steps input[type="email"],
#lwrcustombooking-steps input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#lwrcustombooking-steps input[type="text"]:focus,
#lwrcustombooking-steps input[type="email"]:focus,
#lwrcustombooking-steps input[type="tel"]:focus {
    border-color: #0790d2;
    box-shadow: 0 0 5px rgba(7, 144, 210, 0.5);
    outline: none;
}

/* Button Containers */
.button-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.button-wrapper {
    display: inline-block;
}



#lwrcustombooking-steps #model-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

/* Model option container */
#lwrcustombooking-steps #model-list .model-option label {
    background: white;
    border: 2px solid transparent; /* Default state */
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: border 0.3s, transform 0.2s;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Hide the input */
#lwrcustombooking-steps #model-list .model-option input[type="radio"],
#lwrcustombooking-steps #model-list .model-option input[type="checkbox"] {
    display: none;
}

/* Highlight selected container */
#lwrcustombooking-steps #model-list .model-option input[type="radio"]:checked + label,
#lwrcustombooking-steps #model-list .model-option input[type="checkbox"]:checked + label {
    border: 2px solid #0790d2; /* Blue border for selected */
    box-shadow: 0 2px 5px rgba(7, 144, 210, 0.3); /* Subtle glow */
    transform: scale(1.05); /* Slight scale effect */
  /*  color: #0790d2; /* Blue text for selected */
}

/* Hover effect for container */
#lwrcustombooking-steps #model-list .model-option label:hover {
    border: 2px solid #0790d2; /* Darker blue on hover */
    transform: scale(1.05);
}

/* Inside text/image alignment for the model option */
#lwrcustombooking-steps #model-list .model-option label {
    display: block;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    border: 2px solid transparent; /* Default border */
    border-radius: 5px;
    transition: border 0.3s, transform 0.2s;
}

#lwrcustombooking-steps #model-list .model-option label img {
    max-width: 50px;
    margin-bottom: 10px;
}

#lwrcustombooking-steps #model-list .model-option label p {
    font-size: 14px;
    color: #333;
    margin: 0;
}

/* Container for all color options */
#colour-options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Space between options */
    justify-content: center; /* Center-align the options */
}

/* Wrapper for each color option (the entire clickable area) */
#colour-options-container .colour-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px; /* Set the width of the box */
    height: 140px; /* Set the height of the box */
    padding: 10px;
    text-align: center;
    border: 2px solid transparent; /* Default state */
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    transition: border 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    background-color: #fff; /* Ensure consistent background */
}

/* Box content for the color option */
#colour-options-container .colour-option .colour-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Space between the circle and the text */
}

/* Circle representing the color */
#colour-options-container .colour-option .colour-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #000; /* Optional: black border for clarity */
}

/* Text inside the box */
#colour-options-container .colour-option p {
    font-size: 14px;
    color: #333;
    margin: 0;
}

/* Hover effect for the entire box */
#colour-options-container .colour-option:hover {
    border: 2px solid #0790d2; /* Darker blue on hover */
    transform: scale(1.05); /* Slight scale effect */
}

/* Selected state for the entire box */
#colour-options-container .colour-option.selected {
    border: 2px solid #0790d2; /* Blue border for selected */
    box-shadow: 0 2px 5px rgba(7, 144, 210, 0.3); /* Subtle glow */
    transform: scale(1.05); /* Slight scale effect */
  /*  color: #0790d2; /* Blue text for selected */
}

/* Ensure the radio input is hidden */
#colour-options-container .colour-option input[type="radio"] {
    display: none;
}

/* Parent container for services and receipt */
.services-selection {
    display: flex; /* Align children side by side */
    gap: 20px; /* Space between the services and receipt */
    align-items: flex-start; /* Align items to the top */
}

/* Services container (left side) */
.services-options {
    flex: 3; /* Take up 3 parts of the space */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 20px; /* Space between service cards */
}

/* Receipt container (right side) */
.receipt {
    flex: 1; /* Take up 1 part of the space */
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky; /* Keep it fixed while scrolling */
    top: 20px; /* Space from the top of the viewport */
    max-height: 500px; /* Prevent it from getting too tall */
    overflow-y: auto; /* Add scroll if content overflows */
}

/* Receipt title */
.receipt h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

/* Receipt list (selected services) */
.receipt ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.receipt ul li {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* Receipt total */
.receipt p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: right; /* Align total price to the right */
}

/* Default state for service-option */
.service-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 2px solid transparent; /* Transparent border by default */
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    transition: border 0.3s, box-shadow 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    background-color: #fff; /* White background */
    position: relative; /* Ensure positioning is controlled */
}

/* Hover effect for service-option */
.service-option:hover {
    border: 2px solid #0790d2; /* Darker blue border on hover */
    transform: scale(1.02); /* Slight scale effect */
}

/* Selected state for service-option */
#lwrcustombooking-steps .service-option.selected {
    border: 2px solid #0790d2; /* Solid blue border for selected */
    box-shadow: none; /* Remove shadow if it conflicts visually */
    transform: scale(1.05); /* Slightly larger for emphasis */
  /*  color: #0790d2;  Blue text for selected */
}

/* Ensure hidden checkbox does not interfere */
.service-option input[type="checkbox"] {
    display: none; /* Hide the checkbox */
}

/* Service label styling */
#lwrcustombooking-steps .service-option label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

/* Price styling */
#lwrcustombooking-steps .service-option span {
    font-size: 14px;
    color: #666;
}

#lwrcustombooking-steps .device-type-options {
    display: flex;
  gap: 15px;
}

/* Style for device options */
#lwrcustombooking-steps .device-option {
    cursor: pointer;
    padding: 15px;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fff;
    border-radius: 8px; /* Rounded corners */
    transition: border 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 120px; /* Fixed width for uniformity */
    height: 150px; /* Fixed height for uniformity */
}

#lwrcustombooking-steps .device-option:hover {
    border-color: #0790d2; /* Highlight on hover */
    transform: scale(1.05); /* Slight scaling effect */
}

#lwrcustombooking-steps .device-option img {
    width: 60px; /* Icon width */
    height: 60px; /* Icon height */
    object-fit: contain; /* Maintain aspect ratio */
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

#lwrcustombooking-steps .device-option p {
    font-size: 14px; /* Text size */
    color: #333; /* Text color */
    margin: 0;
}

/* Highlight the selected option */
#lwrcustombooking-steps .device-option.selected {
    border: 2px solid #0790d2;
    box-shadow: 0 4px 8px rgba(7, 144, 210, 0.3); /* Subtle glow */
    transform: scale(1.05); /* Slight scale for emphasis */
}


/* Scope all styles to #lwrcustombooking-steps */
#lwrcustombooking-steps .repair-type-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

#lwrcustombooking-steps .repair-type-option {
    display: inline-block;
    cursor: pointer;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lwrcustombooking-steps .repair-type-option p {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

#lwrcustombooking-steps .repair-type-option:hover {
    border-color: #007cba;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#lwrcustombooking-steps .hidden-repair-type {
    display: none;
}

/* Style when the radio input is checked */
#lwrcustombooking-steps .hidden-repair-type:checked + .repair-type-option {
    border-color: #007cba;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#lwrcustombooking-steps .hidden-repair-type:checked + .repair-type-option p {
   /* color: #007cba;*/
}


#lwrcustombooking-steps .device-type-options .selected {
    border-color: #007cba !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 /*   color: #007cba !important;*
}

#lwrcustombooking-steps .device-type-options .selected, #lwrcustombooking-steps .device-type-options .selected * {
   
   
  /*  color: #007cba !important;*/
}

#model-search-bar {
    position: relative;
}

#model-search-results {
    margin: 0px;
    padding: 0px;
    border-width: 0px;
    list-style: none;
}

.search-result-item {
    padding: 8px;
  border-bottom: 1px solid #eee;
}

.search-result-item:hover {
    cursor: pointer;
    background-color: #ddd;
}

/* Lightbox Overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9); /* Opaque white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    max-width: 100vw !important;
}

/* Lightbox Content */
.lightbox-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    max-width: 90%; /* Responsive width */
    max-height: 85vh; /* Prevent content from exceeding viewport height */
    overflow-y: auto; /* Scrollable content */
    padding: 20px;
    text-align: center;
    width: 500px; /* Default width */
}

/* Close Button */
.lightbox-content .close-lightbox {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-content .close-lightbox:hover {
    color: #000;
}

/* Instructions Section */
.lightbox .instructions {
    margin-top: 20px;
    text-align: left;
    max-height: calc(100% - 40px); /* Avoid overlapping with close button */
}

.lightbox .instruction {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.lightbox .instruction h3 {
    margin-bottom: 5px;
    font-size: 18px;
    color: #333;
}

.lightbox .instruction p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

/* Scrollbar Styling */
.lightbox-content::-webkit-scrollbar {
    width: 8px;
}

.lightbox-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.lightbox-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}


.find-model-number {
    color: #ff3333;
}

/* Mobile-specific styling */
@media (max-width: 768px) {
    /* Stack services and receipt vertically */
    .services-selection {
        flex-direction: column; /* Stack services and receipt vertically */
        gap: 15px;
    }

    .services-options {
        grid-template-columns: repeat(2, 1fr); /* Ensure two services per row */
        gap: 15px; /* Add spacing between services */
    }

    .receipt {
        width: calc(100% - 30px); /* Full width of the parent container */
        max-width: none; /* Ensure it expands fully */
        position: relative; /* Remove sticky */
        margin-top: 20px;
        padding: 15px;
        box-shadow: none; /* Adjust for cleaner mobile appearance */
    }

   

    /* Ensure makes (manufacturer-options) display 2 in a row */
    #lwrcustombooking-steps .manufacturer-options {
        flex-wrap: wrap; /* Wrap to the next line */
        gap: 15px; /* Adjust spacing */
        justify-content: center; /* Center the items */
    }

    #lwrcustombooking-steps .manufacturer-option {
        width: calc(50% - 10px); /* Ensure two options fit per row */
        text-align: center; /* Center-align content */
    }

    /* Prevent overlapping for "in store/come to me" */
    #lwrcustombooking-steps .device-type-options {
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
        gap: 10px; /* Add spacing between options */
        justify-content: space-around; /* Space items evenly */
    }

    #lwrcustombooking-steps .device-option {
        flex: 1 1 calc(50% - 10px); /* Take up half the width */
        max-width: 150px; /* Limit maximum width */
        box-sizing: border-box; /* Ensure proper padding */
    }

    /* Adjust grid for models and services to prevent squishing */
    #lwrcustombooking-steps #model-list, 
    #lwrcustombooking-steps .services-options {
        grid-template-columns: repeat(2, 1fr); /* Display two items per row */
        gap: 10px; /* Adjust spacing between items */
    }

    /* Timeslot container adjusts to a single column */
    #lwrcustombooking-steps #timeslot-container {
        grid-template-columns: 1fr; /* Single column for timeslots */
        gap: 15px; /* Add spacing between timeslots */
    }

    /* Buttons */
    #lwrcustombooking-steps button {
        font-size: 18px;
        padding: 10px;
    }

    .button-container {
        margin-top: 40px;
    }

    #lwrcustombooking-steps #model-list, #lwrcustombooking-steps .services-options {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
      }

      #lwrcustombooking-steps .repair-type-option {
          width: 68px;
      }
    }

