#zbook-busy-overlay {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    text-align: center;
    opacity: .7;
    z-index: 100000;
    background-color: #fff
}

#zbook-busy-overlay div.spinner {
    position: absolute;
    margin-left: 50%;
    margin-top: 10%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0
}

@media(max-width: 700px) {
    .zbook-tab {
        margin-left:4px
    }

    #zbook-service-info-top-wrapper {
        max-width: 100%;
        width: 100%
    }

    .zbook-service-info-top-single {
        width: 100%
    }

    .zbook-service-info-top-multi {
        margin-right: 10px
    }

    .zbook-checkout-leftpanel {
        border: 0
    }

    .zbook-checkout-heading {
        padding-left: 0!important
    }

    .zbook-checkout-heading {
        text-align: center!important
    }

    .zbook-list-menu-items,.zbook-list-providers {
        overflow: auto;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 20px;
        padding-right: 35px;
        text-align: left
    }

    .zbook-search-box-wrapper {
        padding-left: 35px!important
    }

    #zbook-select-employee-back {
        margin-left: 20px!important
    }
}

@media(min-width: 700px) {
    .zbook-service-info-top-single {
        width:200px;
        margin-right: 8px
    }

    #zbook-service-info-top-wrapper {
        max-width: 320px
    }

    .zbook-service-info-top-multi {
        width: 160px;
        margin-right: 8px
    }

    .zbook-checkout-heading {
        text-align: left!important
    }

    .zbook-tab {
        margin-left: 5px;
        margin-right: 5px
    }

    .zbook-checkout-leftpanel {
        border-right: 1px dashed #a0a0a0;
        padding-left: 45px!important;
        padding-right: 40px!important
    }

    .zbook-checkout-heading {
        padding-left: 30px!important
    }

    .zbook-list-menu-items,.zbook-list-providers {
        overflow: auto;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 50px;
        padding-right: 65px;
        text-align: left
    }

    .zbook-search-box-wrapper {
        padding-left: 57px!important
    }

    #zbook-select-employee-back {
        margin-left: 50px!important
    }
}

@media(min-width: 850px) {
    .zbook-tab {
        margin-left:15px;
        margin-right: 15px
    }

    .zbook-list-menu-items,.zbook-list-providers {
        overflow: auto;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 80px;
        padding-right: 95px;
        text-align: left
    }

    .zbook-search-box-wrapper {
        padding-left: 88px!important
    }

    #zbook-select-employee-back {
        margin-left: 80px!important
    }
}

@media(min-width: 1100px) {
    .zbook-tab {
        margin-left:25px;
        margin-right: 25px
    }
}

@media(min-width: 1500px) {
    .zbook-tab {
        margin-left:55px;
        margin-right: 55px
    }
}

.zbook-menu-category {
    float: left;
    width: 94%;
    font-weight: 700;
    border-bottom: 1px dotted;
    padding-bottom: 3px;
    cursor: pointer
}

.zbook-menu-category-wrapper {
    width: 98%;
    margin-top: 15px;
    height: 30px;
    cursor: pointer
}

.zbook-menu-item-wrapper {
    margin-top: 5px;
    margin-bottom: 5px;
    padding-right: 10px;
    width: 90%;
    cursor: pointer;
    height: 40px;
    clear: both
}

.zbook-provider-item-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-right: 10px;
    width: 90%;
    cursor: pointer;
    height: 50px
}

.zbook-menu-item-wrapper:hover,.zbook-provider-item-wrapper:hover {
    background-color: #d0d0d0
}

.zbook-menu-item {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 20px;
    font-weight: 700;
    float: left
}

.zbook-menu-duration {
    padding-top: 10px;
    font-size: smaller;
    font-style: italic;
    float: right
}

.zbook-menu-category-chevron {
    float: left;
    text-align: right
}

.k-popup .k-list .k-item {
    line-height: normal!important;
    height: auto!important;
    padding-top: 15px;
    padding-bottom: 10px
}

.k-popup .k-list .k-item>.k-group {
    background: #3f51b5;
    color: #fff
}

.k-popup>.k-group-header {
    color: #fff;
    background-color: #3f51b5;
    text-align: center
}

.zbook-employeephoto {
    margin-left: 8px;
    width: 31px;
    margin-top: 8px;
    height: 30px;
    border-radius: 100%;
    background-position: 50% 50%;
    background-size: cover;
    float: left
}

/* .zbook-tab-active {
    background-color: #f4f4f4;
    font-size: 14px;
    font-weight: 600;
    color: #2a2b6d;
    display: inline-block;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 4px 0 2px -2px #bbb
} */

.zbook-tab-inactive {
    font-size: 14px;
    font-weight: 600;
    color: #101010;
    display: inline-block;
    padding: 10px
}

.zbook-dropdowndivwrapper {
    width: 100%;
    height: 42px;
    margin: auto
}

.zbook-employeename {
    margin-left: 15px;
    height: 30px;
    padding-top: 15px;
    font-weight: 700
}

.zbook-dropdownavatarwrapper {
    background-image: linear-gradient(180deg,rgba(0,0,0,.11),rgba(0,0,0,.11));
    background-position: 0 0;
    background-color: transparent;
    color: rgba(51,51,51,.75);
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #ccc;
    letter-spacing: 0;
    height: 100%;
    text-align: center;
    border-radius: 100%
}

.zbook-dropdownavatarinner {
    width: 35px;
    height: 35px;
    display: table-cell;
    vertical-align: middle
}

#zbook-selecttimeslotwrapper {
    border: 1px solid #d0d0d0;
    padding: 15px;
    margin-top: 15px;
    vertical-align: text-top
}

#zbook-apptinfowrapper {
    padding: 15px;
    margin-top: 0;
    margin-bottom: 15px;
    background-color: #fff;
    vertical-align: text-top
}

.zbook-h3 {
    font-size: 18px;
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 700;
    margin: 0!important;
    color: #2a2b6d;
    text-align: center
}

.zbook-service-back {
    font-size: 19px;
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 550;
    margin: 0!important;
    color: #969696;
    vertical-align: middle!important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px #2a2b6d solid;
    border-radius: 10px;
    padding: 5px 14px
}

.zbook-service-back span {
    display: block;
    text-align: center;
    width: 100%;
}


.zbook-timeslotbtn {
    margin-right: 17px;
    margin-top: 10px;
    padding: 10px!important;
    font-family: arial!important;
    font-size: 16px!important;
    background-color: transparent;
    border-radius: 5px;
    border: 1px solid #2a2b6d;
    color: #303030;
	width: 92px
}

.zbook-timeslotbtn:hover {
    background-color: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    text-decoration: none
}

.zbook-disabled {
    margin-right: 17px;
    margin-top: 10px;
    padding: 10px!important;
    font-family: arial!important;
    font-size: 16px!important;
    background-color: #c3c3c3;
    border-radius: 5px;
    border: 1px solid #c3c3c3;
    color: #303030;
	width: 92px;
}

.zbook-disabled:hover {
    background-color: #c3c3c3;
    color: #303030;
    border: 1px solid #c3c3c3;
    text-decoration: none
}

.zbook-confirmadd {
    font-size: 14px;
    color: #2a2b6d;
    background-color: #f4f4f4;
    margin-top: 10px;
    border-radius: 10px;
    width: 99%;
    margin-bottom: 0
}

table.zbook-confirmadd td {
    border: 0
}

.zbook-apptinfo-apptdate {
    padding-bottom: 15px;
    padding-top: 15px;
    font-size: 16px;
    text-align: center;
    color: black;
}

.zbook-bookpagephoto {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    background-position: 50% 50%;
    background-size: cover;
    float: left;
    margin-right: 15px;
    display: block
}

.zbook-avatar-wrapper {
    background-image: linear-gradient(180deg,rgba(0,0,0,.11),rgba(0,0,0,.11));
    background-position: 0 0;
    background-color: transparent;
    color: rgba(51,51,51,.75);
    font-size: 30px;
    font-weight: 600;
    border: 1px solid #ccc;
    letter-spacing: 0;
    height: 100%;
    text-align: center;
    border-radius: 100%
}

.zbook-avatar-inner {
    display: table-cell;
    height: 80px;
    width: 80px;
    vertical-align: middle
}

.zbook-apptinfoitem {
    border-bottom: 1px dashed #d0d0d0;
    margin-bottom: 10px;
    padding-bottom: 15px
}

.zbook-serviceInfoInfo {
    margin-left: 95px;
    color: black;
	text-align: left
}

.zbook-form-control {
    padding: 5px 20px!important;
    width: 100%!important;
    border: 0!important;
    border-radius: 3px!important
}

.zbook-form-control::-webkit-input-placeholder {
    font-style: italic;
    font-size: 12px!important;
    color: #878383!important;
    font-weight: 200!important
}

.zbook-form-control::-moz-placeholder {
    font-style: italic;
    font-size: 12px!important;
    color: #878383!important;
    font-weight: 200!important
}

.zbook-form-control:-moz-placeholder {
    font-style: italic;
    font-size: 12px!important;
    color: #878383!important;
    font-weight: 200!important
}

.zbook-form-control:-ms-input-placeholder {
    font-style: italic;
    font-size: 12px!important;
    color: #878383!important;
    font-weight: 200!important
}

.zbook-form-control::placeholder {
    font-style: italic;
    font-size: 12px!important;
    color: #878383!important;
    font-weight: 200!important
}

.zbook-top-wrapper {
    font-family: Montserrat,Arial,segoe ui,Tahoma,Geneva,Verdana,sans-serif;
    font-size: 18px;
    border: 1px solid var(--accent);
    padding: 20px 0;
    background-color: var(--accent);
    color: var(--accent-contrast)
}

#zbook-datepicker,#zbook-datepicker .k-calendar-view,#zbook-datepicker .k-content {
    width: 100%;
    border-radius: 10px;
    -webkit-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    -moz-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45)
}


/* Base tile styling - will be overridden by specific grid rules below */
.zbook-provider-tile-wrapper {
    width: 100%;
    background-color: var(--accent-light);
    cursor: pointer;
    border-radius: 10px;
    -webkit-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    -moz-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45)
}
#zbook-step2-partial{
	padding-top: 20px;
	width: 100% !important;
	max-width: none !important;
	overflow: visible !important;
}

/* Ensure the wrapper doesn't constrain the grid */
#zbook-step2-wrapper {
	width: 100% !important;
	max-width: none !important;
	overflow: visible !important;
}

/* Modern responsive grid for technician list - applies to ALL modes */
/* Override Bootstrap's row styles AND booking-style.css flexbox completely */
.zbook-list-providers .row,
#zbook-step2-wrapper .row,
#zbook-step2-wrapper > .row,
div#zbook-step2-wrapper > .row,
div#zbook-step2-wrapper > div.row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* Force 2 columns for mobile first */
    gap: 20px !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    flex-wrap: nowrap !important; /* Override booking-style.css */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    grid-auto-rows: 240px !important; /* Force row height */
    grid-auto-flow: row !important; /* Force row wrapping */
    flex: none !important; /* Override flex properties */
    flex-direction: initial !important; /* Reset flex direction */
}

/* Desktop: 6 per row - Force wrapping */
@media (min-width: 1200px) {
    .zbook-list-providers .row,
    #zbook-step2-wrapper .row,
    #zbook-step2-wrapper > .row,
    div#zbook-step2-wrapper > .row,
    div#zbook-step2-wrapper > div.row {
        grid-template-columns: repeat(6, 1fr) !important;
        grid-auto-rows: 240px !important;
        gap: 20px !important;
        width: 100% !important;
        overflow: visible !important;
    }
}

/* Desktop: 5 per row */
@media (min-width: 992px) and (max-width: 1199px) {
    .zbook-list-providers .row,
    #zbook-step2-wrapper .row,
    #zbook-step2-wrapper > .row,
    div#zbook-step2-wrapper > .row,
    div#zbook-step2-wrapper > div.row {
        grid-template-columns: repeat(5, 1fr) !important;
        grid-auto-rows: 240px !important;
        gap: 18px !important;
        width: 100% !important;
    }
}

/* Tablet: 3 per row */
@media (min-width: 768px) and (max-width: 991px) {
    .zbook-list-providers .row,
    #zbook-step2-wrapper .row,
    #zbook-step2-wrapper > .row,
    div#zbook-step2-wrapper > .row,
    div#zbook-step2-wrapper > div.row {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-auto-rows: 240px !important;
        gap: 15px !important;
        width: 100% !important;
    }
}

/* Mobile: 2 per row */
@media (max-width: 767px) {
    .zbook-list-providers .row,
    #zbook-step2-wrapper .row,
    #zbook-step2-wrapper > .row,
    div#zbook-step2-wrapper > .row,
    div#zbook-step2-wrapper > div.row {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 200px !important;
        gap: 12px !important;
        padding: 0 !important;
        width: 100% !important;
    }
}

/* Remove Bootstrap column classes - not needed with CSS Grid */
/* Override ALL Bootstrap column styles AND booking-style.css flex rules */
.zbook-list-providers [class*="col-"],
#zbook-step2-wrapper [class*="col-"],
#zbook-step2-wrapper > .row > [class*="col-"],
div#zbook-step2-wrapper > .row > [class*="col-"],
div#zbook-step2-wrapper > div.row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    float: none !important;
    position: static !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    flex: none !important;
    display: contents !important; /* Make columns transparent to grid */
    box-sizing: border-box !important;
}

/* Remove wrapper padding that's causing the space and add proper top margin */
#zbook-step2-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    margin-top: 40px !important; /* Match calendar page spacing */
}

/* Remove any ::before pseudo-elements that might be adding space */
#zbook-step2-wrapper::before,
#zbook-step2-wrapper .row::before,
#zbook-step2-wrapper .container::before,
#zbook-step2-wrapper .container-fluid::before,
#zbook-step2-wrapper *::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tile styling - uniform size for all tiles */
.zbook-provider-tile-wrapper {
    margin: 0 !important;
    width: 100%;
    height: 240px; /* Fixed height for uniformity */
    min-height: 240px;
    max-height: 240px;
}

/* Ensure tiles maintain proper proportions and uniform sizing */
/* Override ALL other tile styling with maximum specificity */
.zbook-list-providers .zbook-provider-tile-wrapper,
#zbook-step2-wrapper .zbook-provider-tile-wrapper,
#zbook-step2-wrapper > .row > [class*="col-"] > .zbook-provider-tile-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    width: 100% !important;
    min-width: 0 !important; /* Allow shrinking in grid */
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    /* Force grid to control sizing, not content */
    flex: none !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
}

/* Control text content to prevent width expansion */
.zbook-provider-tile-wrapper .zbook-tile-label,
.zbook-provider-tile-wrapper .zbook-tile-label-span {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto !important;
}

/* Mobile: smaller uniform size */
@media (max-width: 767px) {
    .zbook-provider-tile-wrapper,
    .zbook-list-providers .zbook-provider-tile-wrapper,
    #zbook-step2-wrapper .zbook-provider-tile-wrapper,
    #zbook-step2-wrapper > .row > [class*="col-"] > .zbook-provider-tile-wrapper {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
}

.zbook-availabletime-wrapper {
    width: 100%;
    background-color: var(--card, #f4f4f4);
    border: 1px solid var(--muted, #e0e0e0);
    border-radius: 10px;
    -webkit-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    -moz-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    padding: 15px;
    min-height: 220px
}

.zbook-serviceinfo-wrapper {
    width: 100%;
    background-color: #f4f4f4;
    border-radius: 10px;
    -webkit-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    -moz-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    padding: 0!important;
    display: inline-block;
    min-width: 120px
}

.zbook-checkout-wrapper {
    width: 100%;
    background-color: transparent;
    border-radius: 10px;
    text-align: center;

    /* -webkit-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    -moz-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45); */
    padding: 15px!important;
    display: inline-block
}

.zbook-serviceinfo-photo {
    width: 100%;
    background-color: #fafafa;
    display: block;
    height: 140px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px
}

.zbook-serviceinfo-label {
    padding: 8px;
    height: 80px;
    font-size: 14px;
    font-weight: 600;
    color: #2a2b6d
}

.zbook-serviceinfo-label-duration {
    font-size: 10px;
    font-weight: 400;
    font-style: italic;
    color: #909090
}

.zbook-button {
    background-color: #ea4999;
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
    font-weight: 400;
    font-size: 12px;
    border: 0;
    box-shadow: 1.5px 1.5px 2.5px 0 rgba(0,0,0,.7);
    opacity: .75
}

.zbook-serviceinfo-photo-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 140px;
    margin-left: auto;
    margin-right: auto;
    width: 100%
}

.zbook-availablestarttime-title {
    font-size: 16px;
    color: var(--text, #2a2b6d);
    font-weight: 600
}

/* Time slot buttons styling */
.zbook-timeslotbtn {
    background-color: var(--card, white);
    color: var(--text, #333);
    border: 1px solid var(--muted, #e0e0e0);
    border-radius: 5px;
    padding: 8px 15px;
    margin: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.zbook-timeslotbtn:hover {
    background-color: var(--accent, #ea4999);
    color: var(--accent-contrast, white);
    border-color: var(--accent, #ea4999);
}

.zbook-disabled {
    background-color: var(--card, white);
    color: var(--muted, #999);
    border: 1px solid var(--muted, #e0e0e0);
    border-radius: 5px;
    padding: 8px 15px;
    margin: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: not-allowed;
    opacity: 0.6;
    display: inline-block;
}

/* Time period headings */
.zbook-h3 {
    font-size: 18px;
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 700;
    margin: 30px 0 20px 0!important;
    color: var(--text, #2a2b6d);
    text-align: center
}

/* Checkout section styling */
.zbook-checkout-wrapper {
    background-color: var(--card, white);
    border: 1px solid var(--muted, #e0e0e0);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.zbook-checkout-leftpanel {
    padding-right: 20px;
}

/* Form controls with smart contrast strategy:
   - Use a lighter background than card for input fields
   - Text uses theme text color
   - Border provides clear separation
   - Focus state uses accent color
*/
.zbook-form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--text, #333) !important;
    border: 2px solid var(--muted, #e0e0e0) !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1) !important;
}

.zbook-form-control:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent, #ea4999) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(234, 73, 153, 0.3) !important;
}

.zbook-form-control::placeholder {
    color: var(--text, #999) !important;
    opacity: 0.6 !important;
}

/* Appointment detail section */
#zbook-apptinfowrapper {
    background-color: var(--card, white) !important;
    border: 2px solid var(--accent, #ea4999) !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

#zbook-apptinfowrapper h3 {
    color: var(--accent, #ea4999) !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

#zbook-apptinfowrapper .row {
    border-top: 2px solid var(--muted, #e0e0e0) !important;
    padding-top: 15px !important;
    margin-top: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Appointment detail text styling */
#zbook-apptinfo {
    color: var(--text, #333) !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

#zbook-apptinfo div {
    color: var(--text, #333) !important;
    margin-bottom: 12px !important;
    padding: 8px 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Appointment info item layout */
.zbook-apptinfo-apptdate {
    color: var(--accent, #ea4999) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid var(--muted, #e0e0e0) !important;
}

.zbook-apptinfoitem {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 20px !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid var(--muted, #e0e0e0) !important;
}

.zbook-apptinfoitem:last-child {
    border-bottom: none !important;
}

.zbook-bookpagephoto {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    border-radius: 50% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: var(--muted, #e0e0e0) !important;
    margin-right: 15px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    position: relative !important;
}

.zbook-avatar-wrapper {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--muted, #e0e0e0) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
}

.zbook-avatar-inner {
    color: var(--accent, #ea4999) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    line-height: 1.2 !important;
    padding: 5px !important;
}

.zbook-serviceInfoInfo {
    flex: 1 !important;
    min-width: 0 !important;
    color: var(--text, #333) !important;
}

.zbook-serviceInfoInfo strong {
    color: var(--text, #333) !important;
    font-size: 16px !important;
}

.zbook-serviceInfoInfo a {
    color: var(--accent, #ea4999) !important;
    margin-left: 10px !important;
}

.zbook-provider-photo-wrapper {
    width: 100% !important;
    height: 160px !important; /* Fixed height for photo section */
    flex-shrink: 0 !important; /* Don't shrink */
    background-color: var(--card, #121212) !important;
    border: 1px solid var(--muted, #b7b7b7) !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    padding: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: visible !important; /* Allow circular avatars to display properly */
}

/* Mobile: smaller photo section */
@media (max-width: 767px) {
    .zbook-provider-photo-wrapper {
        height: 130px !important;
        padding: 12px !important;
    }
}

.zbook-provider-tile-photo {
    border-radius: 50% !important;
    width: 130px !important;
    height: 130px !important;
    min-width: 130px !important;
    min-height: 130px !important;
    max-width: 130px !important;
    max-height: 130px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    margin: 0 auto !important;
    display: block !important;
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

/* Mobile: smaller avatar */
@media (max-width: 767px) {
    .zbook-provider-tile-photo {
        width: 100px !important;
        height: 100px !important;
        min-width: 100px !important;
        min-height: 100px !important;
        max-width: 100px !important;
        max-height: 100px !important;
    }
}

.zbook-service-tile-wrapper {
    width: 100%;
    background-color: #f4f4f4;
    border-radius: 10px;
    -webkit-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    -moz-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
    padding: 20px 0
}

.zbook-service-item-wrapper:hover {
    background-color: var(--accent);
    color: #fff;
    opacity: .75
}

.zbook-service-item-wrapper {
    color: var(--text);
    background-color: #f4f4f4;
    width: 100%;
    cursor: pointer
}

.zbook-service-item-itemname {
    font-size: 16px;
    font-weight: 600;
    float: left;
    padding-left: 15px;
    margin-top: 10px
}

.zbook-search-field {
    max-width: 300px!important;
    float: left;
    border-top-left-radius: 5px!important;
    border-bottom-left-radius: 5px!important;
    background-color: #f1f1f1!important;
    border: 0!important;
    font-family: Montserrat!important;
    font-size: 13px!important;
    font-weight: 300!important;
    font-stretch: normal!important;
    font-style: italic!important;
    line-height: normal!important;
    letter-spacing: normal!important;
    text-align: left!important;
    color: #737373!important
}

.zbook-search-icon {
    float: left;
    width: 40px;
    background-color: #e4e4e4;
    border-top-right-radius: 5px;
    height: 35px;
    border-bottom-right-radius: 5px;
    cursor: pointer
}

.zbook-service-item-duration {
    font-size: 12px;
    font-style: italic;
    float: right;
    padding-right: 15px;
    margin-top: 10px
}

.zbook-verificationcodeblock {
    font-size: 12px
}

.zbook-tile-wrapper {
  width: 100%;
  margin: 0 18px 18px 0px;
  height: 210px;
  background-color: var(--accent-light);
  cursor: pointer;
  border-radius: 10px;
  -webkit-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
  -moz-box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
  box-shadow: 6px 6px 5px -6px rgba(0,0,0,.45);
  max-width: 300px;        /* don't let them get too wide */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.zbook-tile-wrapper:hover {
    background-color: var(--accent);
}

.zbook-provider-tile-wrapper:hover {
    background-color: var(--accent);
    color: #fff
}

.zbook-tile-photo {
    background-color: var(--accent-light);
    width: 100%;
    display: block;
    height: 130px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px
}

.zbook-tile-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 12px 8px;
    font-weight: 600;
    flex: 1; /* Take remaining space */
    min-height: 60px; /* Minimum height for label section */
    height: 80px !important; /* Fixed height for uniformity */
    max-height: 80px !important;
    overflow: hidden !important; /* Hide overflow text */
    box-sizing: border-box !important;
}

.zbook-tile-label-span {
    color: var(--accent-contrast);
    line-height: 1.2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* Limit to 2 lines for better uniformity */
    line-clamp: 2 !important; /* Standard property */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
    hyphens: auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Mobile: smaller label section */
@media (max-width: 767px) {
    .zbook-tile-label {
        height: 70px !important;
        max-height: 70px !important;
        min-height: 50px !important;
        padding: 8px 6px !important;
    }
    
    .zbook-tile-label-span {
        -webkit-line-clamp: 2 !important; /* Limit to 2 lines on mobile */
        line-clamp: 2 !important; /* Standard property */
        font-size: 13px !important;
        line-height: 1.1 !important;
    }
}

.zbook-tile-photo-img {
    width: 100%;
    height: 130px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px
}

#zbook-progresstab-wrapper {
    border-bottom: 2px solid var(--text);
    margin-bottom: 10px;
    text-align: center
}

.zbook-btn-pink {
    background-color: #ea4999!important;
    color: #fff!important;
    margin-right: 10px!important
}

.zbook-btn-white {
    background-color: #fff!important;
    color: #000!important
}

.zbook-btn-pink:hover {
    background-color: #da3989!important
}

.jconfirm .jconfirm-box {
    background-color: #393a76!important
}

.jconfirm-title-c {
    color: #fff;
    text-align: center;
    font-size: 17px!important;
    padding-bottom: 0!important
}

.zbook-btn {
    min-width: 60px
}

.k-calendar td.k-state-selected .k-link {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important
}

.k-calendar th {
    background-color: #fff!important
}

.k-calendar-view td {
    margin: 0!important;
    padding: 0!important;
    max-height: 45px!important
}

