@charset "utf-8";

/* ---- Reset & Base ---- */
body {
    font-family: Arial, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---- Header ---- */
.ap-header {
    background-color: #29b6f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.ap-header h2 {
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: 300;
    color: #fff !important;
    margin: 0;
    margin-left: 10px;
}

.ap-header h2::before {
    content: "";
    display: inline-block;
    width: 2px;
    height: 40px;
    background-color: #fff;
    margin-right: 20px;
    vertical-align: middle;
}

.ap-header img {
    width: 90px;
    height: 60px;
}

/* Vertically center all cols in the navbar row */
.navbar .row {
    display: flex;
    align-items: center;
    min-height: 60px;
}

/* Home icon vertical centering */
.col-xs-4.navbar-header {
    display: flex;
    align-items: center;
}

.zh-site-logo h3 {
    margin: 0;
    font-size: clamp(14px, 6vw, 24px) !important;
}

.zh-site-logo{
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: calc(100vw - 120px) !important;
    text-align: center !important;
}

.homeBtn .fa-home {
    font-size: 24px;
    line-height: 1;
}

.ap-logo-container {
    display: flex;
    align-items: center;
}

/* ---- Step Indicator ---- */
.ap-step-indicator {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.ap-step {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 13px;
    margin: 0 8px;
}

.ap-step.active {
    color: #29b6f6;
    font-weight: bold;
}

.ap-step.completed {
    color: #4caf50;
}

.ap-step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 6px;
}

.ap-step.active .ap-step-number {
    background-color: #29b6f6;
}

.ap-step.completed .ap-step-number {
    background-color: #4caf50;
}

.ap-step-divider {
    width: 30px;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 4px;
}

/* ---- Page Canvas (background wrapper for all steps) ---- */
.ap-page-canvas {
    margin: 0;
    display: grid;
    place-items: center;
    background-color: #f0f0f06e;
    min-height: 60vh;
}

/* ---- Content Card (white card for step content) ---- */
.ap-content-card {
    width: 80% !important;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
    margin-bottom: 5em;
}

.ap-content-card-inner {
    width: 90% !important;
    padding: 20px 0;
}

/* ---- Section Header (e.g. "Select from one or more services:") ---- */
.ap-section-title {
    color: #29b6f6;
    font-size: 20px;
    font-weight: bold;
    margin-top: 0.5em;
    margin-bottom: 0.3em;
}

.ap-section-subtitle {
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 14px;
}

.ap-section-divider {
    border: none;
    border-top: 2px solid rgba(224, 220, 220, 0.38) !important;
    margin: 10px 0 !important;
}

/* ---- Category Pill Buttons ---- */
.ap-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.ap-category-pill {
    background-color: #29b6f6;
    color: white;
    padding: 6px 22px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
    font-weight: bold;
}

.ap-category-pill:hover {
    background-color: #0288d1;
}

.ap-category-pill.active {
    background-color: #0288d1;
}

.ap-category-label {
    background-color: #29b6f6;
    color: white;
    padding: 5px 20px;
    border: none;
    border-radius: 20px;
    font-size: 15px;
}

.ap-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ap-service-card {
    width: calc(50% - 10px);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 10px;
    margin-top: 8px;
    position: relative;
    transition: box-shadow 0.1s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    height: fit-content;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.ap-service-card:hover {
    border-color: #29b6f6;
    box-shadow: 0 2px 8px rgba(41, 182, 246, 0.13);
}

.ap-service-card:has(.ap-checkbox-input:checked) {
    border-color: #29b6f6;
    background: #f0fbff;
}

.ap-service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px !important;
}

.ap-service-card-name {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

/* Custom Checkbox */
.ap-checkbox-container {
    position: relative;
    display: inline-block;
}

.ap-checkbox-input {
    position: absolute;
    opacity: 0;
}

.ap-custom-checkbox {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.ap-custom-checkbox::after {
    content: "\2714";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 18px;
    color: #29b6f6;
}

.ap-checkbox-input:checked+.ap-custom-checkbox::after {
    transform: translate(-50%, -50%) scale(1);
}

.ap-checkbox-input:checked+.ap-custom-checkbox {
    border-color: #29b6f6;
}

.ap-service-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #29b6f6;
    font-size: 13px;
}

.ap-service-card-info i {
    margin-right: 5px;
    color: #29b6f6;
}

.ap-more-info-link {
    color: rgb(3, 155, 229);
    font-size: 0.78em;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid rgb(3, 155, 229);
    border-radius: 12px;
    padding: 1px 7px;
    line-height: 1.6;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    background-color: transparent;
    outline: none;
    user-select: none;
}

.ap-more-info-link:hover,
.ap-more-info-link.active,
.ap-more-info-link:focus,
.ap-more-info-link:active {
    background-color: rgb(3, 155, 229);
    color: #fff !important;
    text-decoration: none !important;
    outline: none;
}

.ap-more-info-link i,
.ap-more-info-link .bi {
    font-size: 11px;
    text-decoration: none !important;
    line-height: 1;
}

.ap-more-info-link span {
    text-decoration: none !important;
    line-height: normal;
}

span.more {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #555;
    line-height: 1.55;
    text-align: justify;
}

span.more a {
    color: #29b6f6 !important;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
}

span.more a:hover {
    color: #0288d1 !important;
}

.ap-show-all-link {
    color: #29b6f6;
    text-decoration: underline;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.ap-show-all-link:hover {
    color: #0288d1;
}

.ap-show-all-wrapper {
    width: calc(40% - 10px);
    padding: 20px;
    margin-top: 20px;
}

/* ---- Primary / Action Buttons ---- */
.ap-btn-primary {
    background-color: #29b6f6;
    color: white;
    padding: 10px 50px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.ap-btn-primary:hover {
    background-color: #0288d1;
}

.ap-btn-confirm {
    background-color: #00bf63;
    color: white;
    padding: 10px 50px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.ap-btn-confirm:hover {
    background-color: #00a854;
}

.ap-btn-back {
    background-color: #fff;
    color: #29b6f6;
    padding: 10px 30px;
    border: 2px solid #29b6f6;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.ap-btn-back:hover {
    background-color: #29b6f6;
    color: white;
}

.ap-btn-center {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

.ap-btn-small {
    font-size: 10px;
    width: 50px;
    height: 25px;
    border-radius: 8px;
}

/* ---- Provider Cards ---- */
/* .ap-provider-card {
    min-height: 115px !important;
    padding-bottom: 10px;
}
*/
.ap-provider-card .profileImg {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: 85px;
    height: 90px;
}

.ap-provider-name {
    font-size: 14px;
    color: #29b6f6;
    font-weight: bold;
}

/* ---- Date/Time Page ---- */
.ap-schedule-provider-box {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
}

/* ---- Confirmation Screen ---- */
.ap-confirm-top {
    width: 80% !important;
    background-color: #29b6f6;
    border-radius: 10px 10px 0px 0px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
    color: white;
    padding: 15px 20px;
}

.ap-confirm-bottom {
    width: 80% !important;
    background-color: white;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5em;
    padding: 20px;
}

/* Details Table (used in confirm & finish screens) */
.ap-details-table {
    border: 2px solid #29b6f6;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 20px;
    padding: 0px !important;
    overflow: hidden;
}

.ap-details-table-header {
    background-color: #29b6f6;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
}

.ap-details-table-row {
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.ap-details-table-row:last-child {
    border-bottom: none;
}

.ap-details-table-label {
    font-weight: bold;
    color: #333;
    min-width: 120px;
    display: inline-block;
}

/* ---- Login / Sign-Up Page ---- */
.ap-login-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.ap-login-panel,
.ap-signup-panel {
    flex: 1;
    padding: 20px;
}

.ap-login-panel {
    border-right: 1px solid #e0e0e0;
}

.ap-form-group {
    margin-bottom: 15px;
}

.ap-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.ap-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.ap-form-group input:focus {
    border-color: #29b6f6;
    outline: none;
    box-shadow: 0 0 4px rgba(41, 182, 246, 0.3);
}

/* Password visibility toggle */
.ap-password-container {
    position: relative;
}

.ap-eye-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.ap-eye-icon svg {
    width: 20px;
    height: 20px;
    fill: #999;
}

/* "Why do I need to sign in?" expandable */
.ap-expandable-info {
    margin-top: 10px;
    cursor: pointer;
    color: #29b6f6;
    font-size: 13px;
}

.ap-expandable-content {
    display: none;
    padding: 10px;
    margin-top: 5px;
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 13px;
    color: #666;
}

/* ---- Payment Page ---- */
.ap-payment-warning {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}

.ap-payment-amount {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* ---- Finish / Thank You Page ---- */
.ap-thank-you-banner {
    background-color: #29b6f6;
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    text-align: center;
}

.ap-thank-you-banner h3 {
    margin: 0;
    font-size: 22px;
}

/* Intake Form Button */
.ap-intake-form-btn {
    background-color: white;
    color: #29b6f6;
    padding: 10px 30px;
    border: 2px solid #29b6f6;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    float: right;
}

.ap-intake-form-btn:hover {
    background-color: #29b6f6;
    color: white;
}

/* ---- Business Information Sidebar ---- */
.ap-sidebar {
    margin-top: 25px;
}

.ap-sidebar h3 {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #29b6f6;
    padding-bottom: 8px;
}

.ap-sidebar .ap-sidebar-label {
    font-weight: bold;
    color: #333;
}

/* ---- Utility Classes ---- */
.ap-text-center {
    text-align: center;
}

.ap-text-primary {
    color: #29b6f6;
}

.ap-text-danger {
    color: #e74c3c;
}

.ap-mt-1 {
    margin-top: 0.5em;
}

.ap-mt-2 {
    margin-top: 1em;
}

.ap-mt-3 {
    margin-top: 1.5em;
}

.ap-mb-1 {
    margin-bottom: 0.5em;
}

.ap-mb-2 {
    margin-bottom: 1em;
}

.ap-mb-3 {
    margin-bottom: 1.5em;
}

/* Provider Selection */
.ap-provider-header {
    margin-bottom: 6px;
}

#providersList {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 30px;
    margin-bottom: 20px;
}

.ap-provider-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
}

.ap-provider-divider {
    border-top: 2px solid #e0dcdc61;
    margin: 8px 0;
    width: 100% !important;
}

.ap-provider-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.ap-provider-card {
    width: calc(50% - 5px);
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 10px 8px 8px;
    cursor: pointer;
    background: #fff;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.ap-provider-card:hover {
    border-color: #29b6f6;
    box-shadow: 0 2px 8px rgba(41, 182, 246, 0.13);
}

.ap-provider-card.selected {
    border-color: #29b6f6;
    background: #f0fbff;
}

.ap-provider-photo-wrap {
    flex-shrink: 0;
    margin-right: 12px;
}

.ap-provider-photo {
    width: 85px;
    height: 85px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.ap-provider-info {
    flex: 1;
    min-width: 0;
}

.ap-provider-name {
    font-size: 16px;
    font-weight: bold;
    color: #29b6f6;
    /* margin-bottom: 3px; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ap-provider-role {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.ap-provider-check-wrap {
    flex-shrink: 0;
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.ap-provider-radio {
    display: none;
}

.ap-provider-radio+.ap-custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #bdbdbd;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    position: relative;
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
}

.ap-provider-radio:checked+.ap-custom-checkbox {
    background: #29b6f6;
    border-color: #29b6f6;
}

.ap-provider-radio:checked+.ap-custom-checkbox::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 4.5px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.ap-show-all-wrap {
    text-align: center;
    margin: 6px 0 10px 0;
}

.ap-provider-service-label {
    font-size: 14px;
    font-weight: 500;
    color: #1a237e;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #e8eaf6;
    border-left: 5px solid #3f51b5;
    border-radius: 4px;
    /*box-shadow: 0 2px 4px rgba(63, 81, 181, 0.1);*/
}

.ap-provider-service-label strong {
    color: #3f51b5;
}

.ap-provider-step-count {
    color: #999;
    font-size: 12px;
    font-weight: normal;
}

.ap-provider-footer {
    display: flex;
    justify-content: space-between;
    padding: 6px 0 4px 0;
}

.next-provider-btn {
    margin-left: auto;
}

.ap-btn-outline {
    background: none;
    border: 1px solid #29b6f6;
    color: #29b6f6;
    border-radius: 6px;
    padding: 6px 18px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.ap-btn-outline:hover {
    background: #29b6f6;
    color: #fff;
}

@media (max-width: 767px) {
    .ap-provider-card {
        width: 100%;
    }
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .ap-service-card {
        width: 100%;
    }

    .ap-content-card {
        width: 95% !important;
    }

    .ap-login-container {
        flex-direction: column;
    }

    .ap-login-panel {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 20px;
    }

    .ap-confirm-top,
    .ap-confirm-bottom {
        width: 95% !important;
    }
}

.ap-selected-panel {
    background: #e0f7fa;
    border: 1px solid #b2ebf2;
    border-radius: 8px;
    padding: 14px 14px 10px 14px;
    margin-bottom: 12px;
}

.ap-selected-title {
    font-size: 14px;
    font-weight: bold;
    color: #006064;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #b2ebf2;
}

.ap-selected-items {
    margin-bottom: 8px;
}

.ap-selected-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #e0f7fa;
    font-size: 13px;
    color: #333;
}

.ap-selected-row:last-child {
    border-bottom: none;
}

.ap-selected-name {
    flex: 1;
    font-size: 13px;
}

.ap-selected-duration {
    color: #29b6f6;
    font-size: 12px;
    margin-right: 8px;
}

.ap-selected-remove {
    background: none;
    border: none;
    color: #e57373;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}

.ap-selected-remove:hover {
    color: #c62828;
}

.ap-selected-total {
    font-size: 13px;
    font-weight: bold;
    color: #006064;
    padding-top: 6px;
    border-top: 1px solid #b2ebf2;
    text-align: right;
}

/* Business Information Sidebar */
.ap-biz-panel {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 16px 14px 16px;
    font-size: 14px;
    color: #333;
}

.ap-biz-logo-container {
    text-align: center;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #c5dde8;
}

.ap-biz-logo {
    max-width: 100%;
    max-height: 120px;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    border: 1px solid #c5dde8;
}

.ap-biz-title {
    font-size: 16px;
    font-weight: bold;
    color: #222;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #c5dde8;
}

.ap-biz-item {
    margin-bottom: 14px;
}

.ap-biz-label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 3px;
}

.ap-biz-icon {
    color: #29b6f6;
    width: 16px;
    text-align: center;
    margin-right: 4px;
}

.ap-biz-value {
    font-size: 13px;
    color: #555;
    padding-left: 22px;
    line-height: 1.6;
    overflow-wrap: break-word;
}

.ap-biz-hours-row {
    display: flex;
    gap: 6px;
    font-size: 13px;
    line-height: 1.7;
}

.ap-biz-day {
    min-width: 30px;
    color: #444;
}

.ap-biz-time {
    color: #555;
}

.ap-biz-powered {
    margin-top: 14px;
    padding-top: 8px;
    border-top: 1px solid #c5dde8;
    font-style: italic;
    font-weight: bold;
    font-size: 12px;
    color: #888;
    text-align: center;
}

/* Date-Time Selection */
#scheduleList,
#MultipleScheduleList {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 28px;
    margin-bottom: 20px;
}

#multiProvidersScheduleList {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 28px;
    margin-bottom: 20px;
}

.ap-schedule-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
}

.ap-schedule-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-top: 10px;
}

.ap-schedule-calendar {
    flex: 0 0 auto;
    min-width: 230px;
}

.ap-schedule-slots {
    flex: 1;
    min-width: 0;
}

.ap-schedule-day-label {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.ap-schedule-tz-label {
    font-size: 13px;
    color: #29b6f6;
    margin-bottom: 14px;
}

.ap-slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ap-slot-btn {
    display: inline-block;
    padding: 8px 6px;
    border: 1px solid #29b6f6;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    width: calc(25% - 6px);
    box-sizing: border-box;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    text-decoration: none;
}

.ap-slot-btn:hover {
    background: #e0f7fa;
    border-color: #0097a7;
    color: #006064;
    text-decoration: none;
}

.ap-slot-btn.selected {
    background: #29b6f6;
    color: #fff;
    border-color: #29b6f6;
}

.ap-slot-none {
    font-size: 14px;
    color: #888;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

.ap-schedule-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 4px 0;
    margin-top: 10px;
}

/* Your Appointments Sidebar */
.ap-your-apt-panel {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 14px 10px 14px;
    margin-bottom: 12px;
    margin-top: 47px;
}

.ap-your-apt-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
}

.ap-your-apt-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    border-bottom: 1px solid #f0f0f0;
}

.ap-your-apt-item:last-child {
    border-bottom: none;
}

.ap-your-apt-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.ap-your-apt-info {
    flex: 1;
    min-width: 0;
}

.ap-your-apt-name {
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

.ap-your-apt-provider {
    font-size: 12px;
    color: #666;
}

.ap-your-apt-change {
    font-size: 12px;
    color: #29b6f6;
    cursor: pointer;
    text-decoration: none;
}

.ap-your-apt-change:hover {
    text-decoration: underline;
}

/* new datepicker */
#chiro-appt-date .ui-datepicker,
#chiro-appt-date1 .ui-datepicker {
    width: 100% !important;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: none;
}

#chiro-appt-date .ui-datepicker-header,
#chiro-appt-date1 .ui-datepicker-header {
    background: #fff;
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chiro-appt-date .ui-datepicker td a.ui-state-active,
#chiro-appt-date1 .ui-datepicker td a.ui-state-active {
    background: #29b6f6;
    color: #fff;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .ap-schedule-layout {
        flex-direction: column;
    }

    .ap-schedule-calendar {
        width: 100%;
    }

    .ap-slot-btn {
        width: calc(50% - 4px);
    }
}

/* Sign In / Sign Up Page */
#loginDetails {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 28px;
    margin-bottom: 20px;
}

.ap-signin-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
}

.ap-signin-layout {
    display: flex;
    gap: 30px;
    align-items: stretch;
    margin-top: 10px;
    padding: 15px 10px;
}

.ap-signin-form {
    flex: 1;
    min-width: 0;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ap-signin-divider {
    width: 1px;
    background: #ddd;
    align-self: stretch;
    margin: 0 5px;
    flex-shrink: 0;
}

.ap-signin-right {
    flex: 1;
    min-width: 0;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 10px 0;
}

.ap-signin-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 4px;
    transition: border-color 0.2s;
}

.ap-signin-input-group:focus-within {
    border-color: #29b6f6;
}

.ap-signin-input-icon {
    padding: 10px 12px;
    color: #999;
    font-size: 16px;
    flex-shrink: 0;
}

.ap-signin-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 12px 10px 0;
    font-size: 14px;
    background: transparent;
    min-width: 0;
}

.ap-signin-input::placeholder {
    color: #aaa;
}

.ap-signin-toggle-pw {
    padding: 10px 12px;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
}

.ap-signin-toggle-pw:hover {
    color: #29b6f6;
}

.ap-signin-link-row {
    text-align: right;
    margin-bottom: 14px;
}

.ap-signin-link {
    font-size: 12px;
    color: #29b6f6;
    text-decoration: none;
}

.ap-signin-link:hover {
    text-decoration: underline;
}

.ap-signin-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #29b6f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 6px;
}

.ap-signin-btn:hover {
    background: #0097a7;
}

.ap-signin-newuser-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #fff;
    color: #29b6f6;
    border: 2px solid #29b6f6;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-align: center;
    align-self: center;
}

.ap-signin-newuser-btn:hover {
    background: #29b6f6;
    color: #fff;
}

.ap-signin-why {
    text-align: center;
}

.ap-signin-why-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.ap-signin-learn-more {
    font-size: 13px;
    color: #29b6f6;
    text-decoration: underline;
    cursor: pointer;
}

.ap-signin-learn-more:hover {
    color: #0097a7;
}

.ap-learn-arrow {
    font-size: 10px;
    display: inline-block;
    transition: transform 0.2s;
}

.ap-learn-arrow.open {
    transform: rotate(180deg);
}

.ap-signin-explanation {
    margin-top: 10px;
    padding: 12px 20px;
    background: #f0f8ff;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .ap-signin-layout {
        flex-direction: column;
    }

    .ap-signin-form,
    .ap-signin-right {
        max-width: 100%;
    }

    .ap-signin-divider {
        width: 100%;
        height: 1px;
        margin: 10px 0;
    }
}

#resetPasswordInfo {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 28px;
    margin-bottom: 20px;
}

.ap-forgot-layout {
    max-width: 420px;
    margin: 0 auto;
    padding: 15px 0;
}

.ap-forgot-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: center;
}

#patientDetails {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 28px;
    margin-bottom: 20px;
}

.ap-details-form {
    padding: 10px 0;
}

.ap-details-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 15px;
}

.ap-details-label {
    flex: 0 0 180px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: left;
}

.ap-details-label .pop_sup,
.ap-details-label .zh-required {
    color: #e53935;
}

.ap-details-fields {
    flex: 1;
    display: flex;
    gap: 10px;
    align-items: center;
}

.ap-details-input {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 14px;
    outline: none;
    width: 180px;
    transition: border-color 0.2s;
}

.ap-details-input:focus {
    border-color: #29b6f6;
}

.ap-details-input-wide {
    width: 320px;
}

/* DOB wrapper */
.ap-details-dob-wrap {
    position: relative;
    display: inline-block;
}

.ap-details-dob-wrap .ap-details-input {
    padding-right: 32px;
}

.ap-details-cal-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.ap-details-phone-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ap-details-phone-input {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 9px 8px;
    font-size: 14px;
    outline: none;
    text-align: center;
    transition: border-color 0.2s;
}

.ap-details-phone-input:focus {
    border-color: #29b6f6;
}

.ap-phone-area {
    width: 60px;
}

.ap-phone-ext1 {
    width: 60px;
}

.ap-phone-ext2 {
    width: 70px;
}

.ap-phone-paren,
.ap-phone-dash {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Radio buttons */
.ap-details-radio-group {
    gap: 18px;
}

.ap-details-radio {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ap-details-radio input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

/* Footer with Back + Next */
.ap-details-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
}

.ap-details-next-btn {
    max-width: 140px;
}

@media (max-width: 767px) {
    .ap-details-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .ap-details-label {
        flex: none;
    }

    .ap-details-input,
    .ap-details-input-wide {
        width: 100%;
    }
}

/* ---- Appointment Confirmation Page ---- */
#confirmAptPage {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 28px;
    margin-bottom: 20px;
}

.ap-confirm-not-confirmed {
    background: #fff6cd;
    border: 1px solid #f6e4a2;
    border-radius: 6px;
    padding: 10px 16px;
    /* color: #1565c0; */
    font-weight: 600;
    font-size: 14px;
    margin: 12px 0;
}

.ap-confirm-not-confirmed .fa {
    margin-right: 6px;
}

.ap-confirm-instruction {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    text-align: justify;
}

.ap-confirm-details-table {
    list-style: none;
    padding: 0;
    margin: 0px 0px 30px;
    border: 1px solid #29b6f6;
    border-radius: 8px;
    overflow: hidden;
}

.ap-confirm-details-header {
    background: #29b6f6;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 16px;
}

.ap-confirm-details-row {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    border-top: 1px solid #e0e0e0;
    gap: 20px;
}

.ap-confirm-details-label {
    flex: 0 0 120px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.ap-confirm-details-value {
    flex: 1;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.ap-confirm-edit-link {
    color: #29b6f6;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    flex-shrink: 0;
}

.ap-confirm-edit-link:hover {
    text-decoration: underline;
}

/* Align sidebar top with the white appointments card, not the heading */
#hourList {
    padding-top: 68px;
    padding-bottom: 20px;
}


/* ---- Finish / Booking Successful Page ---- */
#finishApt {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    padding: 0 !important;
}

.ap-finish-banner {
    background-color: #29b6f6;
    color: white;
    padding: 20px 28px;
    font-size: 22px;
    font-weight: bold;
}

.ap-finish-content-wrap {
    padding: 24px 28px;
}

.ap-finish-subtitle {
    font-size: 15px;
    color: #333;
    margin-bottom: 24px;
    margin-top: 10px;
}

.ap-finish-details-box {
    border: 1px solid #29b6f6;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 10px;
}

.ap-finish-row {
    display: flex;
    padding: 16px 20px;
    border-bottom: 1px solid #00b0f0;
}

.ap-finish-row:last-child {
    border-bottom: none;
}

.ap-finish-label {
    width: 200px;
    font-weight: bold;
    color: #333;
    font-size: 15px;
    flex-shrink: 0;
}

.ap-finish-value {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.ap-finish-important-section {
    margin-top: 20px;
}

.ap-finish-important-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.ap-finish-intake-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.ap-finish-intake-text {
    flex: 1;
    padding-right: 20px;
}

.ap-finish-intake-heading {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.ap-finish-intake-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    text-align: justify;
}

.ap-finish-intake-btn {
    background-color: white;
    color: #29b6f6;
    padding: 10px 24px;
    border: 2px solid #29b6f6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.ap-finish-intake-btn:hover {
    background-color: #29b6f6;
    color: white;
}

@media (max-width: 767px) {
    .ap-finish-row {
        flex-direction: column;
    }

    .ap-finish-label {
        width: auto;
        margin-bottom: 6px;
    }

    .ap-finish-content-wrap {
        padding: 16px 20px;
    }

    .ap-finish-banner {
        padding: 16px 20px;
    }

    .ap-finish-intake-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .ap-finish-intake-text {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

.ap-signin-solo {
    justify-content: center !important;
}

.ap-signin-solo .ap-signin-form {
    max-width: 420px;
    width: 100%;
}

.ap-btn-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ap-btn-earliest {
    background-color: #fff;
    color: #29b6f6;
    padding: 10px 28px;
    border: 1px solid #29b6f6;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.ap-btn-earliest:hover {
    background-color: #29b6f6;
    color: #fff;
}

/* ---- Date Selection Modal ---- */
.ap-modal-date {
    max-width: 550px;
    margin: 30px auto;
}

.ap-modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
}

.ap-modal-header {
    background: #fff;
    border-bottom: none;
    padding: 15px 15px 10px 15px;
    border-radius: 12px 12px 0 0;
    text-align: center;
    position: relative;
    display: block;
}

.ap-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 24px;
    color: #666;
    opacity: 0.8;
}

.ap-modal-subtitle {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.ap-modal-title {
    font-size: 20px;
    color: #000;
    font-weight: bold;
    /* text-transform: none; */
    margin-top: 4px;
}

.ap-modal-body {
    padding: 15px 30px 20px 30px;
    text-align: center;
    background: #fbfcfe;
}

.ap-modal-body-title {
    font-size: 16px;
    color: #444;
    font-weight: bold;
    margin-bottom: 12px;
}

/* Calendar Card Box */
.ap-calendar-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
}

.ap-inline-picker {
    display: block;
    width: 100%;
}

.ap-modal-body .ap-inline-picker .ui-datepicker {
    border: none !important;
    width: 100% !important;
    background: #fff;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.ap-modal-body .ap-inline-picker .ui-datepicker-header {
    background: #fff;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    padding: 10px 0;
    position: relative;
    text-align: center;
}

.ap-modal-body .ap-inline-picker .ui-datepicker-title {
    display: flex;
    gap: 8px;
    margin: 0 !important;
    flex: 1;
    justify-content: center;
}

.ap-modal-body .ap-inline-picker select.ui-datepicker-month,
.ap-modal-body .ap-inline-picker select.ui-datepicker-year {
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 2px 10px;
    background: #fff;
    cursor: pointer;
    min-width: 80px;
    outline: none;
}

.ap-modal-body .ap-inline-picker .ui-datepicker th, 
.ap-modal-body .ap-inline-picker .ui-datepicker td {
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.ap-modal-body .ap-inline-picker .ui-datepicker th {
    padding: 12px 0 !important;
    font-size: 13px;
    color: #222;
    font-weight: bold;
}

.ap-modal-body .ap-inline-picker .ui-datepicker td {
    padding: 4px 0 !important;
}


.ap-modal-body .ap-inline-picker .ui-datepicker td a,
.ap-modal-body .ap-inline-picker .ui-datepicker td span {
    text-align: center !important;
    padding: 0px 0 !important;
    border-radius: 50% !important;
    border: none !important;
    font-size: 14px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: transparent !important;
    color: #333;
    text-decoration: none;
}

/* Disabled dates */
.ap-modal-body .ap-inline-picker .ui-datepicker td span {
    /* color: #ccc !important; */
    color: #555555e3 !important;
    cursor: default;
}

.ap-modal-body .ap-inline-picker .ui-datepicker-today a {
    border: 1px solid #29b6f6 !important;
    color: #29b6f6 !important;
}

.ap-modal-body .ap-inline-picker .ui-datepicker td a.ui-state-hover {
    background: #f0f7ff !important;
    color: #29b6f6 !important;
}

.ap-modal-body .ap-inline-picker .ui-datepicker td a.ui-state-active {
    background: #29b6f6 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(41, 182, 246, 0.3);
}

.ap-modal-body .ap-inline-picker .ui-datepicker-prev,
.ap-modal-body .ap-inline-picker .ui-datepicker-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.ap-modal-body .ap-inline-picker .ui-datepicker-prev {
    left: 10px !important;
}

.ap-modal-body .ap-inline-picker .ui-datepicker-next {
    right: 10px !important;
}

.ap-modal-body .ap-inline-picker .ui-datepicker-prev:hover,
.ap-modal-body .ap-inline-picker .ui-datepicker-next:hover {
    background-color: #f0f7ff;
    border-radius: 50%;
}

.ap-modal-footer-btns {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.ap-btn-cancel {
    background-color: #fff;
    color: #d9534f !important;
    border: 1px solid #d9534f   ;
    border-radius: 8px;
    padding: 10px 45px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.ap-btn-cancel:hover {
    background-color: #d9534f !important;
    color: #fff !important;
}


#chiro-appt-date .ui-datepicker-title,
#chiro-appt-date1 .ui-datepicker-title {
    display: flex;
    gap: 8px;
    margin: 0 !important;
    justify-content: center;
    align-items: center;
}

#chiro-appt-date select.ui-datepicker-month,
#chiro-appt-date select.ui-datepicker-year,
#chiro-appt-date1 select.ui-datepicker-month,
#chiro-appt-date1 select.ui-datepicker-year {
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 2px 8px;
    background: #fff;
    cursor: pointer;
    outline: none;
}

#chiro-appt-date .ui-datepicker-prev,
#chiro-appt-date .ui-datepicker-next,
#chiro-appt-date1 .ui-datepicker-prev,
#chiro-appt-date1 .ui-datepicker-next {
    position: absolute !important;
    top: 40% !important;
    transform: translateY(-50%);
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

#chiro-appt-date .ui-datepicker-prev:hover,
#chiro-appt-date .ui-datepicker-next:hover,
#chiro-appt-date1 .ui-datepicker-prev:hover,
#chiro-appt-date1 .ui-datepicker-next:hover {
    background-color: #f0f7ff;
    border-radius: 50%;
}

#chiro-appt-date .ui-datepicker th,
#chiro-appt-date1 .ui-datepicker th {
    font-size: 12px;
    color: #222;
    font-weight: bold;
    padding: 6px 0 !important;
    text-align: center !important;
}

#chiro-appt-date .ui-datepicker td,
#chiro-appt-date1 .ui-datepicker td {
    padding: 1px 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

#chiro-appt-date .ui-datepicker td a,
#chiro-appt-date .ui-datepicker td span,
#chiro-appt-date1 .ui-datepicker td a,
#chiro-appt-date1 .ui-datepicker td span {
    text-align: center !important;
    border-radius: 50% !important;
    border: none !important;
    font-size: 13px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: transparent !important;
    color: #333;
    text-decoration: none;
    padding: 0 !important;
}

#chiro-appt-date .ui-datepicker-today a,
#chiro-appt-date1 .ui-datepicker-today a {
    border: 1px solid #29b6f6 !important;
    color: #29b6f6 !important;
}

#chiro-appt-date .ui-datepicker td a.ui-state-hover,
#chiro-appt-date1 .ui-datepicker td a.ui-state-hover {
    background: #f0f7ff !important;
    color: #29b6f6 !important;
}

#chiro-appt-date .ui-datepicker td a.ui-state-active,
#chiro-appt-date1 .ui-datepicker td a.ui-state-active {
    background: #29b6f6 !important;
    color: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(41, 182, 246, 0.3);
}

/* New Datepicker UI */
.ui-datepicker {
    width: 100% !important;
    max-width: 260px !important;
    padding: 10px !important;
    background-color: #ffffff !important;
    border: 1px solid #efefef !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 6px 12px rgba(0, 0, 0, 0.08) !important;
    font-family: inherit !important;
    margin: 0 auto !important;
}

.ui-widget.ui-widget-content {
    background: #ffffff !important;
}

.ui-datepicker-header {
    background: transparent !important;
    border: none !important;
    padding: 0 22px 10px 22px !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: absolute !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.ui-datepicker .ui-datepicker-prev { left: 0px !important; }
.ui-datepicker .ui-datepicker-next { right: 0px !important; }

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    background: #f5f5f5 !important;
    border-radius: 50% !important;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    margin: 0 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.ui-datepicker-title {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

.ui-datepicker-title select.ui-datepicker-month,
.ui-datepicker-title select.ui-datepicker-year {
    width: auto !important;
    min-width: 60px !important;
    background-color: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    font-weight: bold !important;
    font-size: 13px !important;
    color: #333 !important;
    cursor: pointer !important;
    outline: none !important;
    -webkit-appearance: menulist !important;
    appearance: auto !important;
    height: 28px !important;
    display: block !important;
}

.ui-datepicker-title select:hover {
    background-color: #f0f0f0 !important;
}

.ui-datepicker-calendar {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.ui-datepicker-calendar th {
    text-transform: uppercase !important;
    font-size: 10px !important;
    font-weight: bold !important;
    color: #888 !important;
    border: none !important;
    padding: 8px 0 !important;
    text-align: center !important;
}

.ui-datepicker-calendar th:first-child { color: #888 !important; }
.ui-datepicker-calendar th:last-child { color: #29b6f6 !important; }

.ui-datepicker-calendar td {
    padding: 3px 0 !important;
    border: none !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.ui-datepicker-calendar td .ui-state-default,
.ui-datepicker-calendar td .ui-state-highlight,
.ui-datepicker-calendar td .ui-state-active,
.ui-datepicker-calendar td a.ui-state-active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.ui-datepicker-calendar td .ui-state-default {
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #444 !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.2s ease !important;
    margin: 0 auto !important;
    text-decoration: none !important;
}

.ui-datepicker-calendar td:first-child .ui-state-default {
    color: #444 !important;
}

.ui-datepicker-calendar td:last-child .ui-state-default {
    color: #29b6f6 !important;
}

.ui-datepicker-calendar td a.ui-state-default:hover {
    color: #29b6f6 !important;
    border-bottom: 2px solid #e1f5fe !important;
}

.ui-datepicker-calendar td .ui-state-active,
.ui-datepicker-calendar td a.ui-state-active {
    color: #29b6f6 !important;
    border-bottom: 2px solid #29b6f6 !important;
}

.ui-datepicker-calendar td .ui-state-highlight {
    color: #29b6f6 !important;
}

.ui-datepicker-calendar td.ui-datepicker-unselectable .ui-state-default,
.ui-datepicker-calendar td.ui-datepicker-other-month .ui-state-default {
    color: #a8a8a8 !important;
    font-weight: 400 !important;
    background: transparent !important;
    opacity: 1 !important;
    cursor: default !important;
    pointer-events: none !important;
    border-bottom: 2px solid transparent !important;
}

#inlinePickerContainer .ui-datepicker {
    box-shadow: none !important;
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    max-width: 100% !important;
}


#inlinePickerContainer .ui-datepicker {
    box-shadow: none !important;
    border: none !important;
    background-color: transparent !important;
    width: 100% !important;
    /*padding: 10px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 25px rgba(0, 0, 0, 0.12) !important;*/
}

#inlinePickerContainer .ui-datepicker-title select.ui-datepicker-month,
#inlinePickerContainer .ui-datepicker-title select.ui-datepicker-year {
    min-width: 90px !important;
    padding: 6px 12px !important;
    font-size: 15px !important;
    height: 36px !important;
}

#inlinePickerContainer .ui-datepicker-title {
    margin: 0 45px !important;
    gap: 12px !important;
}

#inlinePickerContainer .ui-datepicker-prev,
#inlinePickerContainer .ui-datepicker-next {
    width: 28px !important;
    height: 28px !important;
}

#inlinePickerContainer table.ui-datepicker-calendar th {
    font-size: 0 !important;
    padding: 15px 0 10px 0 !important;
}
#inlinePickerContainer table.ui-datepicker-calendar th span {
    display: none !important;
}
#inlinePickerContainer table.ui-datepicker-calendar th::after {
    font-size: 11px !important;
    font-weight: bold !important;
    display: inline-block !important;
}

#inlinePickerContainer table.ui-datepicker-calendar th:nth-child(1)::after { content: "MON" !important; color: #888 !important; }
#inlinePickerContainer table.ui-datepicker-calendar th:nth-child(2)::after { content: "TUE" !important; color: #888 !important; }
#inlinePickerContainer table.ui-datepicker-calendar th:nth-child(3)::after { content: "WED" !important; color: #888 !important; }
#inlinePickerContainer table.ui-datepicker-calendar th:nth-child(4)::after { content: "THU" !important; color: #888 !important; }
#inlinePickerContainer table.ui-datepicker-calendar th:nth-child(5)::after { content: "FRI" !important; color: #888 !important; }
#inlinePickerContainer table.ui-datepicker-calendar th:nth-child(6)::after { content: "SAT" !important; color: #888 !important; }
#inlinePickerContainer table.ui-datepicker-calendar th:nth-child(7)::after { content: "SUN" !important; color: #29b6f6 !important; }

#inlinePickerContainer table.ui-datepicker-calendar td {
    padding: 6px 0 !important;
}

#inlinePickerContainer table.ui-datepicker-calendar td .ui-state-default {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 14px !important;
}

.hide-sunday .ui-datepicker-calendar th:last-child,
.hide-sunday .ui-datepicker-calendar td:last-child {
    display: none !important;
}

/* FAMILY MEMBER WORKFLOW */
.ap-patient-name-text {
    font-weight: bold;
    font-size: 15px;
    color: #333;
}

.ap-patient-relation-tag {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}

.ap-preview-empty p {
    color: #555;
    font-size: 14px;
}

.ap-confirm-booking-btn {
    background-color: #7cb342;
    color: white;
    border: none;
    padding: 7px 8px !important;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
}

.ap-confirm-booking-btn:hover {
    background-color: #689F38;
}

.ap-footer-instruction {
    font-size: 10px;
    margin-bottom: 10px;
    color: #333;
    text-align: justify;
}

/* Patient Selection Cards */
.ap-patient-card-compact {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    min-height: 60px;
}

.ap-patient-card-compact:hover {
    border-color: #29b6f6;
    background: #fcfcfc;
}

.ap-patient-card-compact.selected {
    border: 1px solid #29b6f6;
    background: #f0fbff;
}

.ap-patient-card-compact.disabled {
    position: relative;
}
.ap-patient-card-compact.disabled::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.4;
    width: max-content;
    max-width: 320px;
    white-space: normal;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 100;
    margin-bottom: 6px;
    visibility: hidden;
}
.ap-patient-card-compact.disabled:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Circular Initials */
.ap-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
    overflow: hidden;
    text-transform: uppercase;
}

.avatar-self { background-color: #7cb342; }
.avatar-family { background-color: #ff8a65; }

.ap-avatar-img-circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-check-circle-wrap {
    margin-left: auto;
    width: 20px;
    height: 20px;
    border: 2px solid #bdbdbd;
    border-radius: 50%;
    position: relative;
}

.selected .ap-check-circle-wrap {
    background: #29b6f6;
    border-color: #29b6f6;
}

.selected .ap-check-circle-wrap::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Family Member Select Patient Layout */
.ap-patient-group {
    margin-bottom: 20px;
}

.ap-patient-group .ap-category-label {
    margin-bottom: 10px;
    display: inline-block;
}

.ap-patient-group-footer {
    margin-top: 20px;
    padding-top: 10px;
}

.ap-patient-card-compact.disabled {
    cursor: not-allowed;
    opacity: 0.6;
    background-color: #f5f5f5;
    pointer-events: auto;
}

.ap-patient-card-compact.disabled:hover {
    border-color: #e0e0e0;
    background: #f5f5f5;
}

.ap-patient-info {
    flex: 1;
    min-width: 0;
}

/* Preview Appointment Panel */
.ap-preview-panel {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 18px 20px 18px;
    min-height: 400px;
    /* display: flex;
    flex-direction: column; */
}

.ap-preview-body {
    flex: 1;
    min-height: 250px;
}

.ap-preview-empty-state {
    text-align: center;
    margin-top: 60px;
}

.ap-preview-empty-icon {
    font-size: 60px;
    color: #29b6f6;
    margin-bottom: 15px;
}

.ap-preview-empty-state p {
    color: #888;
    font-size: 13px;
    line-height: 1.6;
}

/* Preview Appointment Card */
.ap-preview-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
    position: relative;
    background: #fff;
    width: 100%;
}

.ap-preview-card-header {
    display: flex;
    align-items: center;
    /*gap: 10px;*/
}

.ap-preview-card-name {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    flex: 1;
}

.ap-preview-card-actions {
    display: flex;
    gap: 10px;
}

.ap-preview-card-actions a {
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

.ap-preview-card-actions .ap-edit-icon {
    color: #29b6f6;
}

.ap-preview-card-actions .ap-delete-icon {
    color: #e57373;
}

.ap-preview-card-actions .ap-edit-icon:hover {
    color: #0288d1;
}

.ap-preview-card-actions .ap-delete-icon:hover {
    color: #c62828;
}

.ap-preview-card-details {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    padding-top: 8px;
}

.ap-preview-divider {
    margin: 6px 0;
    border: 0;
    border-top: 1px solid #eee;
    width: 100%;
}
.ap-preview-item {
    padding: 2px 0;
}
.ap-preview-service {
    font-weight: 500;
    color: #333;
}
.ap-preview-provider {
    font-size: 12px;
    color: #777;
}

/* Preview Footer */
.ap-preview-footer {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

/* Family Member Multiple Appt */
/* .ap-preview-active .ap-service-card,
.ap-preview-active .ap-provider-card {
    width: 100% !important;
} */
.ap-preview-active .ap-show-all-wrapper {
    width: 100% !important;
    padding: 10px 0;
}

#leftAddMoreContainer .btn-primary:hover {
    background-color: #039be5 !important;
}

.hide-cart-actions .ap-preview-card-actions a[title="Edit"] {
    /* Opacity removed from here so the tooltip stays solid! */
    cursor: not-allowed;
    position: relative;
}

.hide-cart-actions .ap-preview-card-actions a[title="Edit"] i {
    opacity: 0.3;
    color: #888 !important;
    pointer-events: none;
}

.hide-cart-actions .ap-preview-card-actions a[title="Edit"]::after {
    content: "Complete current selection first";
    position: absolute;
    bottom: 100%;
    right: 0;
    transform: none;
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 100;
    margin-bottom: 6px;
    visibility: hidden;
    font-family: inherit;
    font-weight: normal;
}

.hide-cart-actions .ap-preview-card-actions a[title="Edit"]:hover::after {
    opacity: 1;
    visibility: visible;
}

.ap-slot-btn.previously-selected {
    background: #f5f5f5 !important;
    color: #999 !important;
    border-color: #e0e0e0 !important;
    text-decoration: line-through !important;
    /*pointer-events: none !important;*/
}

.ap-btn-logout {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.ap-btn-logout:hover {
    background: #dc3545 !important;
    color: #fff !important;
}

/* Scrollbar for services section */
#chiro-service-list.hidden {
    display: none !important;
}

#chiro-service-list:not(.hidden) {
    display: flex !important;
    flex-direction: column !important;
    max-height: calc(100vh - 150px);
    min-height: 450px;
}

#chiro-service-list > div {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.ap-services-scroll-container {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    margin-right: -4px;
}

.ap-services-scroll-container::-webkit-scrollbar {
    width: 6px;
}
.ap-services-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.ap-services-scroll-container::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
}
.ap-services-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.ap-services-footer {
    flex-shrink: 0;
    background: #fff;
    padding-top: 0px;
    z-index: 10;
}

.date-picker{
    background: none;
}

#resetPasswordBtn{
    margin-top: 12px;
}

/* Mobile Screen Responsive */
.ap-biz-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #333;
    background: transparent;
}

.ap-biz-mobile-header .ap-biz-caret {
    transition: transform 0.3s ease;
    font-size: 22px;
    color: #888;
}

.ap-biz-mobile-header.open .ap-biz-caret {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    .container.pad_no {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 12px !important;
    }

    header .container-fluid .row {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 55px;
        position: relative;
    }

    .navbar-header {
        padding-right: 0px !important;
        width: auto !important;
        z-index: 10;
    }

    .zh-site-logo {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 5px 30px !important;
    }

    .zh-site-logo h3 {
        font-size: var(--mobile-dynamic-size, clamp(14px, 4.5vw, 16px)) !important;
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        white-space: normal !important;
    }

    #left_div, #previewAptCol, #hourList, #multipleAptList, #multipleApt_ProviderList {
        width: 100% !important;
    }
    .ap-service-card {
        width: 100% !important;
        margin-bottom: 5px;
    }

    body.hide-biz-panel .ap-biz-panel,
    body.hide-biz-panel #hourList {
        display: none !important;
    }
    #hourList{
        min-height: 0px !important;
        padding: 18px 0px 20px 0px !important
    }
    .ap-biz-logo-container{
        margin: 14px 0px;
    }
    #ap-biz-content {
        display: none;
    }

    #selectedServicesList { display: none !important; }
    #previewAptCol, #multipleAptList, #multipleApt_ProviderList { display: none !important; }

    .ap-services-footer {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100% !important;
        z-index: 1000;
        background: #fff !important;
        padding: 15px 15px 20px 15px !important;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
    }

    body.hide-biz-panel { padding-bottom: 130px !important; }

    .ap-services-footer .ap-provider-divider { display: none; }

    .ap-btn-row {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 10px;
    }

    #bookEarliestBtn, #bookSpecificDateBtn {
        flex: 1 1 calc(50% - 10px);
        width: auto !important;
        padding: 12px 4px !important;
        margin: 0 !important;
        white-space: normal;
    }

    #bookSpecificDateBtn {
        font-size: 14px !important;
        line-height: 1.2;
    }

    #bookEarliestBtn {
        font-size: 0 !important;
    }
    #bookEarliestBtn::after {
        content: "Book Earliest Slot";
        font-size: 14px !important;
        line-height: 1.2;
    }

    #nextServiceBtn {
        flex: 1 1 100%;
        width: 100% !important;
        margin: 0 !important;
    }

    .ap-modal-date {
        margin: 10px auto !important;
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
    }
    .ap-modal-body {
        padding: 15px 10px 20px 10px !important;
    }
    .ap-calendar-card {
        padding: 5px !important;
    }
    body.modal-open .ap-services-footer {
        display: none !important;
    }

    #chiro-service-list:not(.hidden) {
        max-height: none !important;
        min-height: 0 !important;
        display: block !important;
    }
    .ap-services-scroll-container {
        overflow-y: visible !important;
        max-height: none !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }

    #scheduleList, #MultipleScheduleList, #providersList, #loginDetails, #mobileAptSummaryPage,
    #resetPasswordInfo, #patientDetails, #confirmAptPage, #chiro-service-list, #multiProvidersScheduleList {
        padding: 20px 14px !important;
    }

    .ap-finish-banner, .ap-finish-content-wrap{
        padding: 16px 14px;
    }

    .ap-signin-layout{
        gap: 15px;
    }
    .ap-signin-right{
        padding: 0px;
    }

    .ap-details-fields {
        width: 100%;
    }
    .ap-details-fields:not(.ap-details-radio-group) {
        flex-direction: column;
        align-items: stretch;
    }
    .ap-details-dob-wrap {
        width: 100%;
        display: block;
    }

    .ap-details-phone-wrap {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .ap-phone-area, .ap-phone-ext1 {
        flex: 1;
    }
    .ap-phone-ext2 {
        flex: 1.3;
    }

    .ap-confirm-details-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 16px 20px !important;
        gap: 0px !important;
    }
    .ap-confirm-details-label {
        width: auto !important;
        flex: none !important;
        font-size: 15px !important;
        text-transform: none !important;
        margin-bottom: 4px !important;
    }

    .ap-details-footer, .ap-provider-footer {
        flex-direction: column-reverse !important;
        gap: 12px !important;
    }

    .ap-details-footer button, .ap-btn-outline,
    .ap-details-footer .ap-btn-outline, .ap-btn-primary,
    .ap-details-footer .ap-signin-btn {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    #previewAptCol {
        display: none !important;
        position: fixed !important;
        top: 0 !important; bottom: 0 !important;
        left: 0 !important; right: 0 !important;
        padding: 0 !important; margin: 0 !important;
        z-index: 1030 !important;
        pointer-events: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.ap-preview-active .ap-biz-panel {
        display: none !important;
    }

    .ap-mobile-docked-bar {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #29b6f6;
        border-top: 1px solid #ddd;
        border-radius: 12px 12px 0 0;
        padding: 18px 20px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        cursor: pointer;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        transition: transform 0.3s ease-in-out;
        transform: translateY(0);
    }

    #previewAptCol .ap-mobile-docked-bar {
        will-change: transform, opacity;
        transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease !important;
    }

    #previewAptCol.ap-cart-open .ap-mobile-docked-bar {
        display: flex !important;
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
    }
    .ap-docked-left {
        display: flex;
        align-items: center;
    }
    .ap-docked-icon-wrap {
        position: relative;
        margin-right: 15px;
    }
    .ap-docked-icon-wrap i {
        font-size: 24px;
        color: #fff;
    }
    .ap-docked-badge {
        position: absolute;
        top: -6px;
        right: -8px;
        background: #e53935;
        color: #fff;
        font-size: 11px;
        font-weight: bold;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff;
    }
    .ap-docked-title {
        font-size: 18px;
        font-weight: bold;
        color: #fff;
    }
    .ap-docked-chevron {
        color: #fff;
        font-size: 24px;
        position: absolute;
        right: 20px;
    }

    .ap-mobile-modal-header {
        position: relative;
        text-align: center;
        margin-bottom: 15px;
    }

    .ap-modal-grab-bar {
        width: 40px;
        height: 4px;
        background: #ccc;
        border-radius: 2px;
        margin: 0 auto;
    }

    .ap-modal-close {
        position: absolute;
        right: 0;
        top: -5px;
        font-size: 20px;
        color: #333;
        cursor: pointer;
    }

    #previewAptCol .ap-preview-panel {
        display: flex !important;
        flex-direction: column;
        visibility: hidden;
        position: fixed;
        bottom: 0; left: 0; width: 100%;
        max-height: 85vh;
        overflow: hidden;
        background: #fff;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.15);
        margin: 0; padding: 20px;
        border: 1px solid #eee;
        z-index: 1030 !important;
        transform: translateY(100%);
        will-change: transform;
        transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s !important;
    }

    #previewAptCol .ap-preview-body {
        overflow-y: auto;
        min-height: 0;
    }

    #previewAptCol .ap-preview-footer {
        flex-shrink: 0;
        padding-top: 15px;
    }

    #previewAptCol.ap-cart-open .ap-preview-panel {
        visibility: visible;
        transform: translateY(0);
    }

    body.has-mobile-cart-items #previewAptCol {
        display: block !important;
    }
    #previewAptCol .ap-mobile-docked-bar, #previewAptCol .ap-preview-panel, .ap-mobile-backdrop {
        pointer-events: auto !important;
    }

    .ap-mobile-backdrop {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.6);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s !important;
    }

    #previewAptCol.ap-cart-open .ap-mobile-backdrop {
        opacity: 1;
        visibility: visible;
    }

    div[style*="justify-content: space-between"]:has(> .ap-family-booking-badge-injector) {
        flex-direction: column-reverse !important;
        align-items: flex-start !important;
        gap: 10px;
    }

    .ap-family-booking-badge {
        display: inline-block !important;
        font-size: 13px !important;
        padding: 5px 12px !important;
        white-space: normal;
        line-height: 1.4;
    }

    .ap-confirm-patient-row, .ap-confirm-date-row {
        flex-direction: column !important;
    }
    .ap-confirm-patient-label {
        margin-bottom: 4px !important;
    }
    .ap-confirm-patient-label-ghost {
        display: none !important;
    }
    .ap-services-footer:has(.ap-btn-primary[style*="none"]) {
        display: none !important;
    }

    body.ap-preview-active .ap-services-footer {
        bottom: 56px !important;
    }

    body.ap-preview-active #chiro-service-list {
        padding-bottom: 160px !important;
    }


    /* Mobile Appointment Summary Screen */
    #mobileAptSummaryPage {
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        margin-bottom: 20px;
    }
    .ap-preview-summary-card {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background-color: #fff;
        margin-bottom: 20px;
    }
    .ap-summary-item {
        padding: 15px 15px 10px 15px;
        display: flex;
        align-items: flex-start;
        border-bottom: 1px solid #f0f0f0;
    }
    .ap-summary-item:last-child {
        border-bottom: none;
    }
    .ap-summary-item-left {
        width: 80px;
        text-align: center;
        margin-right: 15px;
    }
    .ap-summary-item-img {
        width: 100%;
        height: 80px;
        border-radius: 8px;
        object-fit: cover;
        margin-bottom: 5px;
    }
    .ap-summary-item-change {
        color: #29b6f6;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        cursor: pointer;
    }
    .ap-summary-item-right {
        flex: 1;
    }
    .ap-summary-item-title {
        color: #29b6f6;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 5px;
    }
    .ap-summary-item-service {
        font-weight: 600;
        font-size: 14px;
        color: #333;
        margin-bottom: 8px;
    }
    .ap-summary-item-detail {
        font-size: 13px;
        color: #333;
        margin-bottom: 4px;
        display: flex;
        align-items: center;
    }
    .ap-summary-item-detail i {
        color: #29b6f6;
        width: 16px;
        margin-right: 8px;
        font-size: 14px;
    }
    .ap-summary-stats-box {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
        display: flex;
        justify-content: space-between;
    }
    .ap-summary-stat {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .ap-summary-stat-divider {
        width: 1px;
        background-color: #e0e0e0;
        margin: 0 15px;
    }
    .ap-summary-stat-icon {
        color: #29b6f6;
        font-size: 24px;
        margin-right: 10px;
    }
    .ap-summary-stat-info {
        display: flex;
        flex-direction: column;
    }
    .ap-summary-stat-label {
        font-size: 11px;
        color: #666;
    }
    .ap-summary-stat-value {
        font-size: 16px;
        font-weight: 700;
        color: #29b6f6;
    }

    .form-tab{
        display: none;
    }
    .ap-section-title{
        margin-top: 0px;
    }
    .ap-details-footer .ap-btn-logout {
        width: auto !important;
        align-self: flex-start !important;
    }
    .ap-forgot-desc{
        text-align: justify;
    }
    .ap-biz-title {
        font-size: 0 !important;
    }

    .apptBtns {
        margin-top: 0px !important;
        margin-bottom: 25px;
    }
}

/* Tablet Screen Responsive */
@media (min-width: 768px) and (max-width: 1024px) {
    .container.pad_no {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0px 12px !important;
    }
    #hourList{
        padding-right: 0px;
        clear: right !important;
    }

    #scheduleList, #MultipleScheduleList, #providersList, #loginDetails, #mobileAptSummaryPage,
    #resetPasswordInfo, #patientDetails, #confirmAptPage, #chiro-service-list, #multiProvidersScheduleList {
        padding: 20px 14px !important;
    }

    #previewAptCol, #hourList, #multipleAptList, #multipleApt_ProviderList {
        width: 30% !important;
        float: right !important;
    }
    #left_div{
        width: 70% !important;
        float: left !important;
    }

    .ap-provider-card{
        width: 100%;
    }

    .ap-schedule-layout {
        flex-direction: column;
        align-items: center;
        gap: 0px;
    }

    .ap-schedule-calendar {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hasDatepicker{
        margin-bottom: 25px !important;
    }

    .ap-schedule-slots {
        width: 100%;
        text-align: center;
    }

    .ap-slot-grid {
        justify-content: left;
    }

    .ap-slot-btn {
        width: calc(25% - 6px);
        font-size: clamp(9px, 1.5vw, 12px) !important;
        white-space: nowrap;
    }
    #multiProvidersScheduleList .ap-slot-grid {
        margin-top: 15px;
    }

    .ap-signin-layout {
        flex-direction: column;
        gap: 10px;
    }
    .ap-signin-form, .ap-signin-right {
        max-width: 100%;
    }
    .ap-signin-divider {
        width: 100%;
        height: 1px;
        margin: 15px 0;
    }

    .ap-details-row {
        align-items: flex-start;
        gap: 5px;
    }
    .ap-details-label {
        max-width: 23%;
    }
    .ap-details-fields {
        width: 100%;
    }
    .ap-details-input, .ap-details-input-wide {
        width: 100%;
        margin-bottom: 0px !important;
    }

    #previewAptCol:not(.hidden) ~ #hourList .ap-biz-mobile-header {
        display: flex !important;
    }
    #previewAptCol:not(.hidden) ~ #hourList #ap-biz-content {
        display: none;
    }
    #previewAptCol:not(.hidden) ~ #hourList {
        min-height: 0px !important;
        padding-top: 15px !important;
    }
    #previewAptCol:not(.hidden) ~ #multipleApt_ProviderList .ap-your-apt-panel {
        margin: 0px !important;
    }
    #previewAptCol.hidden ~ #hourList #ap-biz-content {
        display: block !important;
    }
    #previewAptCol:not(.hidden) ~ #hourList .ap-biz-logo-container {
        margin: 14px 0px;
    }

    .ap-finish-row{
        flex-direction: column;
        gap: 10px;
    }
    #previewAptCol:not(.hidden) ~ #hourList .ap-biz-title {
        font-size: 0 !important;
    }
}