   * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        min-height: 100vh;
        font-family: Arial, Helvetica, sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
        color: #111;
    }

    .scheduler {
        width: min(1085px, 100%);
        min-height: auto;
        background: #fff;
        border: 7px solid #f7f7f7;
        border-radius: 28px;
        position: relative;
        overflow: hidden;
    }

    .header {
        padding: 18px 24px 0;
    }

    .header h1 {
        margin: 0;
        font-size: 24px;
        font-weight: 700;
    }

    .duration {
        margin-top: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        font-weight: 600;
    }

    .clock {
        width: 19px;
        height: 19px;
        background: #000;
        border-radius: 50%;
        position: relative;
    }

    .clock::before {
        content: "";
        position: absolute;
        width: 1.5px;
        height: 6px;
        background: #fff;
        left: 9px;
        top: 4px;
    }

    .clock::after {
        content: "";
        position: absolute;
        width: 5px;
        height: 1.5px;
        background: #fff;
        left: 9px;
        top: 10px;
        transform: rotate(10deg);
        transform-origin: left center;
    }

    .main {
        display: grid;
        grid-template-columns: 320px 1fr;
        margin-top: 12px;
    }

    /* LEFT SIDE FORM */
    .details {
        padding: 40px 24px 30px;
    }

    .field {
        margin-bottom: 28px;
    }

    .field label {
        display: block;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #333;
    }

    .field input {
        width: 100%;
        border: 0;
        border-bottom: 2px solid #d0d0d0;
        outline: none;
        padding: 6px 3px 0px;
        font-size: 15px;
        background: transparent;
    }

    /* RIGHT SIDE BOOKING AREA */
    .booking {
        border-left: 1px solid #ddd;
        border-top: 1px solid #ddd;
        position: relative;
        top: -81px;
        right: 10px;
    }

    .booking-header {
        display: flex;
        justify-content: flex-end;
        padding: 24px 27px 0;
    }

    .timezone {
        width: 282px;
    }

    .timezone label {
        display: block;
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .timezone select {
        width: 100%;
        height: 40px;
        border: 1px solid #d5d5d5;
        border-radius: 8px;
        padding: 0 14px;
        font-size: 14px;
        background: #fff;
        outline: none;
    }

    .calendar-area {
        display: grid;
        grid-template-columns: 1fr 335px;
        margin-top: 10px;
    }

    .calendar {
        padding: 20px 25px 35px;
    }

    .calendar-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    /* jQuery UI Datepicker Styling Overrides */
    #inlineDatePicker .ui-datepicker {
        width: 100% !important;
        border: none !important;
        background: transparent !important;
        font-family: inherit !important;
        padding: 0 !important;
    }

    #inlineDatePicker .ui-datepicker-header {
        background: transparent !important;
        border: none !important;
        padding: 0 0 15px 0 !important;
    }

    #inlineDatePicker .ui-datepicker-title {
        color: #072a7c !important;
        font-weight: 700 !important;
        font-size: 16px !important;
    }

    #inlineDatePicker .ui-datepicker-prev, 
    #inlineDatePicker .ui-datepicker-next {
        border-radius: 50% !important;
        cursor: pointer !important;
        top: 0 !important;
    }

    #inlineDatePicker .ui-datepicker-next {
        background: #edf4fc !important;
    }

    #inlineDatePicker .ui-datepicker-calendar {
        width: 100% !important;
        margin: 0 !important;
    }

    #inlineDatePicker .ui-datepicker-calendar th {
        font-size: 11px !important;
        color: #222 !important;
        padding: 8px 0 !important;
    }

    #inlineDatePicker .ui-datepicker-calendar td {
        padding: 3px !important;
        text-align: center !important;
    }

    #inlineDatePicker .ui-state-default {
        border: none !important;
        background: #edf4fc !important;
        color: #333 !important;
        border-radius: 50% !important;
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
        padding: 0 !important;
        text-align: center !important;
        margin: auto !important;
        display: block !important;
        font-size: 14px !important;
    }

    #inlineDatePicker .ui-state-active, 
    #inlineDatePicker .ui-state-active.ui-state-hover {
        background: #072a7c !important;
        color: #fff !important;
        font-weight: 700 !important;
    }

    #inlineDatePicker .ui-state-disabled span {
        background: transparent !important;
        color: #ccc !important;
    }

    /* TIME SLOTS */
    .times {
        border-left: 1px solid #eee;
        padding: 20px 26px 35px;
        min-height: auto;
    }

    .times h2 {
        font-size: 16px;
        margin: 0 0 18px;
        color: #111;
    }

    .time-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .slot {
        height: 40px;
        border: 1px solid #66a6ff;
        border-radius: 8px;
        background: #fff;
        color: #07317e;
        font-weight: 700;
        cursor: pointer;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .15s ease;
    }

    .slot:hover,
    .slot.selected {
        background: #07317e !important;
        color: #fff !important;
        border-color: #07317e !important;
    }

    .slot.booked {
        background-color: #f0f0f0 !important;
        color: #aaa !important;
        border-color: #e0e0e0 !important;
        cursor: not-allowed;
        text-decoration: line-through;
    }

    /* VALIDATION ERROR STYLING */
    .error-msg {
        color: #d9534f;
        font-size: 12px;
        font-weight: 600;
        margin-top: 5px;
    }

    .slot-error-msg {
        color: #d9534f;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 12px;
    }

    input.error {
        border-bottom-color: #d9534f !important;
    }

    /* FOOTER */
    .footer {
        position: absolute;
        bottom: 0;
        right: 0;
        width: calc(100% - 320px);
        border-top: 1px solid #eee;
        padding: 16px 26px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
    }

    .status-message {
        font-size: 14px;
        font-weight: 600;
    }

    .next-btn {
        width: 145px;
        height: 44px;
        border: 0;
        border-radius: 25px;
        background: #49c9b5;
        color: #000;
        font-weight: 700;
        cursor: pointer;
        transition: .2s;
    }

    .next-btn:hover {
        background: #35bca7;
        transform: translateY(-1px);
    }

    /* RESPONSIVE */
    @media (max-width: 850px) {
        body {
            padding: 0;
            align-items: flex-start;
        }

        .scheduler {
            border-width: 12px;
            border-radius: 18px;
            min-height: auto;
        }

        .main {
            grid-template-columns: 1fr;
        }

        .details {
            padding: 25px 20px 10px;
        }

        .booking {
            border-left: 0;
            margin-top:65px;
        }

        .calendar-area {
            grid-template-columns: 1fr;
        }

        .booking-header {
            justify-content: flex-start;
            padding: 20px;
        }

        .calendar {
            padding: 20px;
        }

        .times {
            border-left: 0;
            border-top: 1px solid #eee;
        }

        .footer {
            position: static;
            width: 100%;
        }
    }