.orderpage .calendar-container {
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.orderpage .calendar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 10px;
}

/* Logo and Title Styles */
.orderpage .logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 10px;
}

.orderpage .calendar_logo {
    height: 40px;
}

.orderpage .calendar-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-left: 10px;
}

.orderpage .week-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.orderpage #week-range {
    float: left;
}

/* Week Display */
.orderpage .week-display {
    display: flex;
    justify-content: center;
    align-items: center;
}

.orderpage .month {
    font-size: 18px;
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}


/* Calendar Table Styles */
.orderpage .calendar {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin-bottom: 10px;
}

.orderpage .calendar th, .orderpage .calendar td {
    padding: 10px;
    font-size: 14px;
    color: #666;
}

/* Day Box Styles */
.orderpage .day-box {
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* Day Box Hover Effect */
.orderpage .day-box:hover {
    background-color: rgba(255, 147, 30, 0.2);
    color: #333;
}

.orderpage .day-name {
    font-weight: bold;
}

.orderpage .date-number {
    font-size: 1.2em;
    margin-top: 5px;
}

/* Highlight the active day */
.orderpage .day-box.active {
    background-color: rgba(255, 147, 30, 0.2);
}

.orderpage .schedule h3 {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 10px;
    font-size: 16px;
    color: #666;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px;
}

/* Class Container Styles */
.orderpage .class {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    justify-content: space-between;
}

.orderpage .class:last-child {
    border-bottom: none;
}

.orderpage .class:hover {
    background-color: rgba(255, 147, 30, 0.2);
    color: #333;
}

/* Class Time Styles */
.orderpage .class-time {
    display: flex;
    flex-shrink: 0;
    margin: 0 auto;
    position: relative;
    width: 66px;
    text-align: center;
    border-right: 3px solid #ff931e;
}

.orderpage .class-time .time-range {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.orderpage .class-time .time-range span {
    margin: 2px 0;
}

.orderpage .start-time {
    font-weight: bold;
}

.orderpage .end-time {
    color: #999;
}

.orderpage .class-time span {
    margin: 2px 0;
}

/* Class Information Styles */
.orderpage .class-info {
    text-align: left;
    flex-grow: 1;
    margin-left: 10px;
}

.orderpage .class-info span {
    display: block;
    color: #333;
    font-size: 14px;
}

.orderpage .class-info span:last-child {
    font-size: 12px;
    color: #999;
}

/* Slots Available Block Styles */
.orderpage .class-slots {
    background-color: #fff;
    border: 1px solid #666;
    padding: 5px 10px;
    font-size: 12px;
    color: #333;
    text-align: center;
    min-width: 50px;
}

/* Booking Form Styles */
.orderpage form {
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
}

.orderpage form h2 {
    margin: 0 0 20px;
    font-size: 24px;
    color: #666;
}

.orderpage form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

.orderpage form input[type="text"],
.orderpage form input[type="email"],
.orderpage form input[type="tel"],
.orderpage form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.orderpage form input[type="radio"] {
    margin-right: 5px;
}

.orderpage form .payment-options {
    margin: 20px 0;
}

.orderpage form .payment-options label {
    display: inline-block;
    margin-right: 15px;
}

.orderpage form #card-element {
    margin: 20px 0;
}

.orderpage form .form-group {
    margin-bottom: 10px;
}


.orderpage form .form-group button:hover {
    background-color: #0056b3;
}

/* Payment Error and Confirmation Messages */
.orderpage #card-errors {
    color: #e74c3c;
    margin-top: 10px;
}

.orderpage #confirmationMessage,
.orderpage #errorMessage {
    display: none;
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
}

.orderpage #confirmationMessage {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.orderpage #errorMessage {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.orderpage fieldset {
        border: none;
    padding: 0;
    margin: 0 0 1em 0;
}

.orderpage legend {
    font-weight: bold;
    margin-bottom: 10px;
}

.orderpage select {
    margin-top: 10px;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

.orderpage input {
    margin-top: 10px;

}

.orderpage .nav-btn {
    border: .2px solid #666;
    font-size: 12px;
    display: inline-block;
    margin: 0;
    padding: 5px 10px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    background: #ff931e;
    border-radius: 0;
    transition: all 0.2s linear;
}

.orderpage .nav-btn:focus, .orderpage .nav-btn:hover {
    box-shadow: inset 0 -7rem 0 0 #e6640c;
    color: #fff;
}

.orderpage .form_wrapper {
    width: 100%;
    margin: 20px auto;
    max-width: 800px;
    padding: 0 20px;
}

.orderpage .form_wrapper form {
    width: 100%;
}

.orderpage .form_wrapper fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1em 0;
}

.orderpage .form_wrapper legend {
    font-weight: 400;
    padding-top: 7px;
    padding-bottom: 1em;
    display: block;
    width: 100%;
}

/* Continue for remaining styles... */


/* Submit Button Styles */
.orderpage .form_wrapper button[type="submit"] {
    min-width: 200px;
    float: left;
    padding: 10px 20px;
    background-color: #ff931e;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 1em; /* Space above the button */
}

/* Confirmation and Error Messages */
.orderpage .form_wrapper #confirmationMessage,
.orderpage .form_wrapper #errorMessage {
    float: left;
    width: 100%;
    margin: 20px 0;
    display: none;
}

/* QR Code Container */
.orderpage .form_wrapper #qrCodeContainer {
    display: none;
}

/* Stripe Payment Details */
.orderpage #stripe-payment-details {
    display: none;
}

/* Button Text Margin */
.orderpage .button_text {
    margin: 30px 0;
}

/* Loader Spinner */
.orderpage .loader {
    width: 20px; /* Size of the loader */
    height: 20px;
    border: 3px solid #ccc; /* Light gray border */
    border-top: 3px solid #3498db; /* Blue border */
    border-radius: 50%; /* Circular shape */
    animation: spin 1s linear infinite; /* Spin animation */
    display: inline-block; /* Inline display */
    margin-right: 8px; /* Space between loader and text */
    vertical-align: middle; /* Align with text */
}

/* Spin Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Outer Fieldset Container Styling */
.orderpage .fieldset-container {
    display: flex;
    gap: 20px;
    border: 2px solid rgba(204, 204, 204, 0.5); /* Semi-transparent border */
    border-radius: 10px;
    background-color: transparent;
    margin-bottom: 15px;
    justify-content: center;
}

/* Inner Fieldset for Date and Time */
.orderpage .date-time-group {
    border: none; /* Remove inner fieldset borders */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Legend Styling */
.orderpage .input-legend {
    font-weight: bold;
    color: #333;
    font-size: 1em;
}

/* Input Field Styling */
.orderpage .input-field {
    width: 120px;
    border: 1px solid rgba(204, 204, 204, 0.5); /* Semi-transparent border */
    border-radius: 5px;
    font-size: 1em;
    background-color: transparent;
    color: #333;
}

/* Specific Widths for Date and Time Inputs */
.orderpage .date-input {
    width: 130px;
}

.orderpage .time-input {
    width: 90px;
}
