.opbooking-category-image-form {
    max-height: 100px;
    max-width: 100px;
}

.opbooking-order-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opbooking-order-item {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: move;
}

.opbooking-service-color-ball {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 5px;
    display: block
}

.opbooking-add-offday-form,.opbooking-break-times-form {
    display: none;
}
/** Client New Booking Page */
.opbooking-bar {
    height: 12px;
    background-color: #ccc;
    width: 100%;
    margin-bottom: 5px;
    margin-top: 5px;
    border-radius: 5px;
}

.opbooking-bar.active {
    background-color: #1c5be8;
}

.opbooking-weekdays-list {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.opbooking-weekdays-list li{
    display: flex;
    flex-direction: row;
    gap: 10px;
    text-align: center;
}

.opbooking-weekdays-list li input[type="checkbox"] {
    width: 23px;
    height: 23px;
    padding: 0;
    margin: 8px auto 0 !important;
    border-radius: 50%;
    cursor: pointer;
}

.opbooking-next-button {
    float: right;
}
.opbooking-timeslot-date-label{
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #fff;
}

.opbooking-timeslot-time-label{
    padding: 9px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.opbooking-timeslot-time-label:hover{
    border-color: #1c5be8;
}

/** Style for share form */
.opbooking-share-wrapper svg{
    height: 50px;
    max-width: 40px;
}

.opbooking-share-wrapper .opbooking-code-wrapper {
    padding: 20px;
    background-color: rgb(31 41 55);
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.opbooking-share-wrapper .opbooking-code-wrapper code{
    color: #fff;
    background-color: rgb(31 41 55);
    overflow-wrap: break-word;
}

.opbooking-share-wrapper .opbooking-code-wrapper .ff-copy-code-btn {
    position: absolute;
    right: 10px;
    color: #fff;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    /* Make buttons more touch-friendly on mobile */
    .opbooking-next-button,
    .opbooking-back-button,
    .opbooking-timeslot-button {
        min-height: 44px !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
    
    /* Time slot labels should be larger for easier tapping */
    .opbooking-timeslot-time-label {
        min-height: 50px;
        padding: 15px !important;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    /* Weekday checkboxes larger for mobile */
    .opbooking-weekdays-list li input[type="checkbox"] {
        width: 30px !important;
        height: 30px !important;
    }
    
    /* Stack weekdays vertically on very small screens */
    @media (max-width: 480px) {
        .opbooking-weekdays-list {
            flex-direction: column;
            gap: 5px;
        }
    }
    
    /* Form inputs should be larger for mobile */
    .panel_s select,
    .panel_s input[type="text"],
    .panel_s input[type="date"],
    .panel_s input[type="time"] {
        min-height: 44px;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Panel padding adjustment for mobile */
    .panel_s .panel-body {
        padding: 15px 10px;
    }
    
    /* Navigation buttons on mobile */
    .opbooking-next-button {
        width: 100%;
        margin-top: 10px;
    }
    
    .opbooking-back-button {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .opbooking-timeslot-container {
        margin: 0 -10px;
    }
    
    .opbooking-timeslot-date-label {
        margin: 0 10px 10px 10px;
    }
    
    .opbooking-timeslot-time-label {
        margin: 0 10px 10px 10px;
    }
}

/* Improve touch targets for all clickable elements */
.opbooking-timeslot-time-label,
.opbooking-next-button,
.opbooking-back-button {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Loading state for buttons */
.opbooking-next-button:disabled,
.opbooking-back-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Prevent double-tap zoom on buttons */
button,
.btn,
.opbooking-timeslot-time-label {
    touch-action: manipulation;
}

/* OpBooking Appointment Status Classes */
.opbooking-customer-appointment-cancelled {
    background-color: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-customer-appointment-confirmed {
    background-color: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-customer-appointment-pending {
    background-color: #ffc107;
    color: #212529;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-customer-appointment-completed {
    background-color: #17a2b8;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-customer-appointment-rejected {
    background-color: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-customer-appointment-no-show {
    background-color: #fd7e14;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Additional OpBooking Appointment Status Classes */
.opbooking-customer-confirmation {
    background-color: #f0f8ff;
    border: 1px solid #add8e6;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    color: #333;
}

.opbooking-customer-missed-appointment {
    background-color: #fd7e14;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-customer-booking-confirmed {
    background-color: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Additional OpBooking Appointment Status Classes */
.opbooking-status-confirmed {
    background-color: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-status-pending {
    background-color: #ffc107;
    color: #212529;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-status-cancelled {
    background-color: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-status-rejected {
    background-color: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-status-completed {
    background-color: #17a2b8;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-status-no-show {
    background-color: #fd7e14;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.opbooking-status-missed {
    background-color: #fd7e14;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}