/* Import Geist font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&display=swap');

#phob__htmx_outer {

.phob--link, phob--link:hover, phob--link:active, phob--link:visited {
    color: #608e65;
}

.phob--card {
    border: 1px solid #F0F0F0;
    border-radius: 8px;
    box-shadow: 0px 2px 8px 2px #F0F0F066;
    background: white !important;
}

.phob--padded {
    padding: 16px;
}

.phob--align-right {
    text-align: right;
}

.phob--small-text {
    font-size: 14px;
}

.phob--sub-text {
    font-size: 15px;
    color: rgba(51,51,51,0.5);
    font-weight: 400;
    line-height: 24px;
}

.phob--color-default {
    color: #333;
}

.phob--light, .phob--customer-field-disabled {
    color: rgba(51,51,51,0.5);
}
.phob--color-primary {
    color: #608e65;
}
.phob--secondary {
    color: #19bdbb;
}

.phob--background-pale {
    background-color: #F0F0F0;
}

.phob--span-icon-wrapper {
    margin-right: 4px;
}

.phob--fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 0 0;
}

.phob--fieldset-legend {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
    line-height: 1.4;
}

.phob--customer-terms-and-conditions-grid .phob--fieldset-legend,
.phob--customer-remember-me-grid .phob--fieldset-legend {
    margin-bottom: 0;
}

.phob--input, .phob--textarea {
    font-family: 'Geist', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 15px !important;
    padding: 10px 12px;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #fff !important;
    color: #333 !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    line-height: 1.5 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.phob--input-disabled, .phob--textarea-disabled {
font-family: 'Geist', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans",
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 15px !important;
padding: 10px 12px;
border: 1px solid #e2e8f0 !important;
border-radius: 6px !important;
width: 100% !important;
box-sizing: border-box !important;
background-color: #fff !important;
color: rgba(51,51,51,0.5) !important;
transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
line-height: 1.5 !important;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.phob--input:focus, .phob--textarea:focus {
    outline: none;
    border-color: #608e65;

}

.phob--input::placeholder, .phob--textarea::placeholder {
    color: #94a3b8;
}

.phob--textarea {
    min-height: 96px;
    resize: vertical;
}

.phob--customer-error-message {
    min-height: 0;
    font-size: 13px;
    color: #e11d48;
    margin-top: 6px;
    font-weight: 500;
}

.phob--hr {
    border: 1px solid #F0F0F0;
    margin-bottom: 16px;
    margin: 0;
    border-style: solid;
    border: 0;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 16px;
}

.phob--container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Geist', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    display: grid;
    height: 100%;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: auto;
    grid-template-areas: 
        "header header header"
        "main main summary";
    grid-gap: 16px;
}

#phob__htmx_outer {
    color: #333
}

#phob__header {
    grid-area: header;
    margin-bottom: 0px;
    margin-top: 0;
    border-bottom: 0;
    padding-bottom: 0px;
}

#phob__progress {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    color: #666;
    font-weight: 450;
    font-size: 14px;
    margin-bottom: 16px;
}

#phob_progress_spacer {
    grid-area: prog_spacer;
}

#phob_progress_text {
    text-align: right;
}

#phob_progress_graphic {
    grid-area: prog_graphic;
    padding-right: 4px;
}


#phob_main {
    grid-area: main;
    padding-right: 0px;
    /* background-color: burlywood; */
    /* padding: 0.5rem; */
}
#phob_summary {
    grid-area: summary;
    /* background-color: darksalmon; */
}

.phob--header-container {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    border-bottom: 0;
    margin-bottom: 0;
}

.phob--header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    width: 100%;
}

#phob__header_title {
    flex: 1;
}

#phob__header_title h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    color: #333;
    letter-spacing: -0.02em;
}

#phob__header_back {
    text-align: right;
    min-width: max-content;
    margin-left: auto;
}

.phob--back-button {
    background: transparent;
    border: 1px solid #F0F0F0;
    border-radius: 6px;
    color: #333;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-top: 0;
}

.phob--back-button:hover {
    background: #f9f9f9;
    border-color: #ddd;
}

.phob--header-title-icon {
    margin-right: 4px;
}

#phob__header_progress {
    grid-area: progress;
    /* background-color: aquamarine; */
}
#phob__header_separator {
    grid-area: separator;
    
}
#phob__header_page_title {
    grid-area: page_title;
    margin-top: 0;
    margin-bottom: 16px;
}
#phob__header_page_title h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    letter-spacing: -0.02em;
}
#phob__header_welcome {
    grid-area: welcome;
    
}

.phob--btn-round {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    border: none;
    background-color: #F0F0F0 !important;
    cursor: pointer;
    padding: 0;
}

.phob--icon-round {
    padding: 16px;
    border-radius: 50%;
    border: none;
    background-color: #F0F0F0;
    color: rgba(51,51,51,0.5);
}

.phob--select {
}

.phob--select-option {
}

.phob--icon-choose {
    font-size: 16px;
    font-weight: bold;
    padding: 1.6px;
}

.phob--btn {
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    cursor: pointer;
    background-color:#608e65;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0px 2px 8px 2px #F0F0F066;
}

.phob--btn:disabled {
    background-color:#999;
    color: #fff;
}

.phob--btn-start-again {
    background-color:#7c0000;
    color: #fff;
    min-width: 128px;
}

.phob--book-appointment-button {
    min-width: 192px;
}

.phob--book-appointment-button:disabled {
    background-color:#999;
    color: #fff;
}

.phob--location-card {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 0.25fr);
    grid-template-areas: 
        "location_name location_name location_name location_name location_name location_select"
        "location_address location_address location_address location_address location_address location_select";
    margin-bottom: 16px;
}

.phob--location-name {
    grid-area: location_name;
    font-weight: 400;
    padding-bottom: 8px;
}
.phob--select-location {
    grid-area: location_select;
    text-align: right;
    padding-right: 8px;
}
.phob--location-address {
    grid-area: location_address;
}

.phob--modality-filter {
    padding: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.phob--modality-filter-label {
    font-weight: 500;
    color: #333;
    padding: 0;
}

.phob--sel-modality-id {
    margin: 0;
    border: 1px solid #F0F0F0;
    border-radius: 6px;
    background-color: #fff;
    padding: 9.6px 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    width: auto;
    min-width: 200px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    padding-right: 36px;
    font-size: 14px;
    padding: 0 !important;
    padding-left: 10px !important;
    height: 30px;
}

.phob--sel-modality-id, .phob--sel-modality-id option {
    font-family: 'Geist', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.phob--appt-types-modality-header {
    padding-bottom: 16px;
    font-weight: 600;
    font-size: 18px;
    padding-top: 24px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phob--appt-types-toggle-modality {
    padding-left: 0px;
    padding-right: 16px;
}

.phob--toggle-modality-icon {
    cursor: pointer;
    color: #608e65;
    background-color: #F0F0F0;
    border-radius: 50%;
    padding: 6.4px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.phob--appt-type-card {
    border: 1px solid #F0F0F0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.15s ease;
    margin-bottom: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 
        "at_name at_select"
        "at_patient_type at_select"
        "at_amount at_select"
        "at_description at_description";
    gap: 8px;
}



.phob--appt-type-name {
    grid-area: at_name;
    font-weight: 600;
    font-size: 18px;
    color: #333;
    margin: 0;
}

.phob--patient-type {
    grid-area: at_patient_type;
    font-size: 14px;
    color: #666;
    margin: 0;
    padding: 0;
}

.phob--appt-type-amount {
    grid-area: at_amount;
    font-weight: 500;
    color: #333;
    padding: 0;
}

.phob--select-appt-type {
    grid-area: at_select;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.phob--appt-type-description {
    grid-area: at_description;
    padding-top: 0px;
    margin-top: 0px;
    border-top: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.phob--btn-select-app-type {
    background-color: #608e65;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.phob--btn-select-app-type:hover {
    opacity: 0.9;
}

.phob--practitioner-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 32px;
    margin-bottom: 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.phob--practitioner-card .phob--practitioner-details {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: 
        "photo name"
        "photo description";
    gap: 8px 24px;
    flex: 1;
}

.phob--practitioner-card .phob--practitioner-photo {
    grid-area: photo;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.phob--practitioner-card .avatar-image {
    width: 100%;
    height: 100%;
}

.phob--practitioner-card .avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.phob--practitioner-card .avatar-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    color: #444;
}

.phob--practitioner-card .phob--practitioner-name {
    grid-area: name;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
    align-self: center;
}

.phob--practitioner-card .phob--sub-text {
    grid-area: description;
    font-size: 14.4px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.phob--practitioner-card .phob--select-practitioner {
    margin-left: 24px;
}

.phob--practitioner-details {
    grid-area: prac_details;
}

.phob--practitioner-name {
    padding-bottom: 8px;
    font-weight: 700;
}

.phob--select-practitioner {
    grid-area: prac_select;
    text-align: right;
    padding-right: 8px;
}

.phob--cal-nav {
    width: 100%;
    height: 100%;
    display: table-cell;
    padding-top: 48px;
}

.phob--btn-cal-nav {
    width: 64px;
    height: 64px;
    font-size: 32px;
    color: rgba(51,51,51,0.5);
}

.phob--next-availability-card {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 0.25fr;
    grid-template-areas: "na_title na_title na_title na_select na_select";
    margin-bottom: 24px;
}
.phob--next-avail-title {
    grid-area: na_title;
    /* font-weight: 700; */
    padding-bottom: 8px;
    /* font-size: 0.8rem; */
}
.phob--select-next-avail {
    grid-area: na_select;
    text-align: right;
    padding-top: 8px;
}

.phob--cal-wrapper {
    margin-bottom: 24px;
    padding: 16px;
}

.phob--months-grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 48px;
}

.phob--months-grid-1-col {
    display: block;
    width: 100%;
}

.phob--cal-month {
    width: 100%;
    margin: 0 auto;
}

.phob--cal-month-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding-top: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.phob--cal-month-nav {
    text-align: center;
}

.phob--cal-month-nav-btn, .phob--cal-month-nav-btn-disabled {
    border: none;
    background: none;
}

.phob--cal-month-nav-btn {
    cursor: pointer;
    background-color: transparent !important;
    color: black !important;
}

.phob--cal-month-title {
    text-align: center;
    font-weight: 600;
}

.phob--cal-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
}

.phob--cal-day {
    text-align: center;
    padding: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
}

.phob--cal-day-title {
    font-weight: 700;
}

.phob--cal-in-month {
    color: #aaa;
}

.phob--cal-not-in-month {
    color: #aaa;
}

.phob--cal-has-availability, .phob--cal-has-availability:active, .phob--cal-has-availability:hover {
    display: inline-block;
    width: 16px;
    height: 16px;
    text-align: center;
    background-color: #608e65;
    color: #fff;
    padding: 6.4px;

    text-decoration: none;
    border: none;
    border-radius: 50%;
    font-size: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}





.phob--cal-instructions {
    flex: 1;
    min-width: 0;
    height: fit-content;
}

.phob--cal-slots-wrapper {
    padding: 24px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 24px;
}

.phob--cal-slots-day-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.01em;
}

.phob--cal-slots-shift-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #333;
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 16px;
}

/* Remove the previous SVG-based icons */
.phob--cal-slots-shift-title:before {
    content: none;
}

.phob--cal-slots-shift-title .phob--summary-icon {
    height: 14px;
    width: 14px;
    padding: 6px;
    margin-right: 4px;
    font-size: 14px;
}

/* Specific icon styling for different times of day */
.phob--cal-slots-shift-title .fa-sun-o {
    color: #FF9800; /* Orange color for sun */
}

.phob--cal-slots-shift-title .fa-moon-o {
    color: #3F51B5; /* Blue color for moon */
}

.phob--cal-slots-shift {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 12px;
}

.phob--btn-slot {
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    padding: 10px 8px;
    cursor: pointer;
    background-color: #608e65;
    color: #fff;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.phob--btn-slot:hover {
    opacity: 0.9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.phob--welcome-back-title {
    padding-top: 0;
    padding-bottom: 32px;
}

.phob--btn-welcome-back-not-me {
    margin-left: 16px;
}

.phob--customer-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 16px;
}

.phob--customer-details-notes-grid {
    margin-bottom: 16px;
}

.phob--customer-remember-me-grid {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.phob--customer-remember-me-grid .phob--fieldset-legend {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    height: 18px;
}

.phob--customer-remember-me-input {
    width: 18px;
    height: 18px;
    accent-color: #608e65;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    top: 0;
}

.phob--customer-discount-code-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.phob--customer-terms-and-conditions-grid {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px;
}

.phob--terms-label-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.phob--terms-link {
    font-size: 14px;
    display: inline-block;
    margin-top: -3px;
    margin-left: -5px;
    color:  black;
}

.phob--terms-link:hover {
    text-decoration: underline;
}

.phob--customer-terms-and-conditions-input {
    width: 18px;
    height: 18px;
    accent-color: #608e65;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    top: 1px;
}

.phob--customer-details-terms-and-conditions {
    margin-bottom: 8px;
}

.phob--view-terms-and-conditions a {
    color: #608e65;
    text-decoration: none;
}

.phob--customer-details-submit {
    margin-top: 24px;
}

.phob--btn {
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #608e65;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: background-color 0.15s ease, opacity 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.phob--btn:hover {
    opacity: 0.9;
}

.phob--book-appointment-button {
    min-width: 160px;
    font-weight: 600;
}

/* Mobile responsiveness for forms */
@media only screen and (max-width: 869px) {
    .phob--container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "header"
            "main"
            "summary";
    }
    
    #phob__booking_summary {
        position: relative;
        top: 0;
        margin-top: 24px;
        margin-bottom: 24px;
        width: 100%;
        box-sizing: border-box;
    }
    
    #phob_summary {
        width: 100%;
    }
    
    .phob--summary-section {
        grid-template-columns: 0.15fr 1fr;
    }
    
    .phob--customer-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .phob--welcome-back-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .phob--btn-welcome-back-not-me {
        margin-left: 0;
    }
    
    .phob--customer-discount-code-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/*==========circle-progress-bar========*/
  .phob--single-chart {
    margin: 0;
    width: 24px;
    height: 24px;
  }
  .phob--circular-chart {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
  }
  .phob--circle-bg {
    fill: none;
    stroke: #ccc;
    stroke-width: 5;
  }
  .phob--circle {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    animation: progress 0.3s ease-out forwards;
  }
  @keyframes progress {
    0% {
      stroke-dasharray: 0 100;
    }
  }
  .phob--circular-chart.phob--progress-sroke .phob--circle {
    stroke: #608e65;
  }
  .phob--progress-percentage {
    fill: none;
    font-family: 'Geist', sans-serif;
    font-size: 0.5em;
    text-anchor: middle;
    display: none;
  }
  /*==========circle-progress-bar========*/

  #phob__booking_summary {
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #F0F0F0;
    font-family: 'Geist', sans-serif;
    position: sticky;
    top: 24px;
  }

  #phob__booking-summary-title {
    padding-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    letter-spacing: -0.01em;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 8px;
  }

  .phob--summary-section {
    display: grid;
    grid-template-columns: 0.12fr 1fr;
    padding: 12px 0;
    align-items: flex-start;
  }

  .phob--summary-icon-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
  }

  .phob--summary-icon {
    height: 32px !important;
    width: 32px !important;
    text-align: center !important;
    padding: 0px !important;
    border-radius: 50% !important;
    border: none !important;
    background-color: #f5f5f5 !important;
    font-size: 16px !important;
    color: #19bdbb !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
    line-height: 32px !important;

  }

  .phob--summary-content-wrapper {
    padding-left: 8px;
  }

  .phob--summary-content-wrapper .phob--small-text:only-child {
    display: flex;
    align-items: center;
    min-height: 24px;
  }

  .phob--summary-content-wrapper .phob--sub-text {
    margin-top: 4px;
  }

  .phob--summary-appointment-cost {
    padding-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  #phob__practicehub_tagline {
    padding-top: 16px;
    text-align: center;
    vertical-align: middle;
    line-height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #555;
    font-family: 'Geist', sans-serif;
    font-size: 13px;
  }

  #phob__practicehub_tagline a {
    font-size: 1em !important;
  }

  #phob__practicehub_tagline img {
    width: 24px;
    margin-right: 10px;
  }

  #phob_customer_details_wrapper {
    padding: 28px;
    border-radius: 8px;
    background-color: #fff;

  }

  #phob_flash_modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }
/* 
  #phob_flash_modal.is_active {
    opacity: 1;
    pointer-events: all;
  } */

.phob--modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.1);
}

.phob--modal-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    padding: 32px;
    background-color: #fff;
    border: 0;
    border-radius: 16px;
    font-family: 'Geist', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #333;
    box-shadow: 0 0 0;
}

.phob--modal-inner h2 {
    color: #608e65;
    margin-top: 0;
}

#phob_main legend {
    font-weight: 500;
    margin-bottom: 8px;
    border-bottom: 0 !important;
}

.phob--cal-day a {
    box-sizing: content-box !important;
}

.hidden {
    display: none;
}

.read-more-btn,
.read-less-btn {
    background: white;
    border: 1px solid #608e65;
    border-radius: 5px;
    color: #608e65;
    padding: 8px 16px;
    font-size: inherit;
    cursor: pointer;
    text-decoration: none;
    align-self: flex-start;
    margin-top: 16px;
}

.phob--container .iti {
    width: 100%;
}

/* Fix for mobile number input and country code prefix */
.phob--container .iti__flag-container {
    height: 100%;
}

.phob--container .iti__selected-flag {
    height: 100%;
    padding: 0 6px 0 12px;
    display: flex;
    align-items: center;
}

.phob--container .iti__selected-dial-code {
    font-size: 15px;
    color: #333;
}

.phob--container .iti__search-input {
    padding: 10px !important;
}


/* Make the country code container dynamic width */
.phob--container .iti--separate-dial-code .iti__selected-flag {
    background-color: transparent;
    width: auto;
}

/* Reset the input padding and let the library calculate it */
.phob--container .iti--separate-dial-code input.phob--input {
    padding-left: initial;
}

/* Fix the right padding of the country code */
.phob--container .iti--separate-dial-code .iti__selected-dial-code {
    margin-left: 6px;
    padding-right: 6px;
}

/* Ensure the dropdown arrow is properly positioned */
.phob--container .iti__arrow {
    margin-left: 6px;
}

/* Ensure the input text doesn't start too close to the country code */
.phob--container .iti--separate-dial-code .iti__phone-number {
    margin-left: 6px;
}

.phob--practitioner-photo {
    /* Container styles */
    --avatar-size: 100px;
    --avatar-bg: #e2e8f0;
    --avatar-text: #334155;
 
    width: var(--avatar-size);
    height: var(--avatar-size);
    overflow: hidden;
 
    /* Image styles */
    & .avatar-image {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        overflow: hidden;
 
        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
 
    /* Initials styles */  
    & .avatar-initials {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-color: var(--avatar-bg);
        color: var(--avatar-text);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        font-weight: 500;
        font-family: 'Geist', sans-serif;
    }
 }

 .phob--container .description-container {
    position: relative;
}

.phob--container .read-more-checkbox {
    display: none;
}

.phob--container .description-full {
    display: none;
}

.phob--container .read-more-btn,
.phob--container .read-less-btn {
    display: inline-block;  /* This keeps button width to its content */
    margin-top: 16px;       /* Space above the button */
    padding: 8px 16px;     /* Button padding */
    cursor: pointer;
}

/* Show full description and hide preview when checkbox is checked */
.phob--container .read-more-checkbox:checked ~ .description-preview {
    display: none;
}

.phob--container .read-more-checkbox:checked ~ .description-full {
    display: block;
}

.phob--container label.read-more-btn:hover, .phob--container label.read-less-btn:hover {
    background: #f1f1f1;
}

.phob--container .phob--appt-type-card h2 {
    margin: 0;
    font-size: 21px;
}

.phob--back-button {
    background: #fff;
    border: 1px solid #608e65;
    border-radius: 5px;
    color: #608e65;
    padding: 8px 16px;
    font-size: inherit;
    cursor: pointer;
    text-decoration: none;
    align-self: flex-start;
    margin-top: 8px;
    display: inline-block;
}

#phob__header_page_title h2 {
    margin: 0;
    font-size: 32px;
}

/* Apply box-sizing to all children */
.phob--header-container > * {
  box-sizing: border-box;
  min-width: 0;  /* Prevent content from forcing grid items to expand */
  max-width: 100%;  /* Prevent overflow */
}

#phob__progress_text {
    text-align: right;
}

.phob--page-title h2 {
    margin-top: 0;
}

#phob__header_back {
    text-align: right;
}

#phob__btn_continue_as_existing_patient {
    margin-top: 16px;
}

.phob--welcome-back-wrapper {
    margin-bottom: 24px;
}

.phob--welcome-back-wrapper p {
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #333;
}

.phob--welcome-back-buttons {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.phob--container {
    a:hover, button:hover {
        opacity: 0.75;
    }
}

/* Ensure textarea doesn't change opacity on hover */
.phob--container .phob--textarea:hover {
    opacity: 1;
}

/* Progress indicator */
.phob--progress-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 450;
}

.phob--progress-steps {
    display: flex;
    align-items: center;
    gap: 4px;
}

.phob--progress-step {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
}

.phob--progress-step.active {
    background-color: #608e65;
}

.phob--step-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    font-size: 14px;
    font-weight: 450;
}

.phob--step-text {
    font-size: 14px;
    font-weight: 450;
}

.phob--step-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.phob--step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    transition: background-color 0.2s ease;
}

.phob--step-dot.active {
    background-color: #608e65;
    width: 10px;
    height: 10px;
}

/* Accordion styles for modality sections */
.phob--modality-section {
    margin-bottom: 24px;
}

.phob--modality-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: #f9f9f9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.phob--modality-header:hover {
    background-color: #f5f5f5;
}

.phob--modality-header-text {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.phob--modality-icon {
    color: #608e65;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.phob--modality-icon.expanded {
    transform: rotate(180deg);
}

.phob--modality-content {
    padding: 16px 0;
}

/* Modal styles */
.phob--modal {
    /* modals are hidden by default */
    display: none;
    position: fixed;
    inset: 0;
    /* z-index must be higher than everything else on the page */
    z-index: 10000;
    /* semi-transparent black background exposed by padding */
    background-color: rgba(0, 0, 0, 0.5);
    padding: 32px;
    /* enables scrolling for tall modals */
    overflow: auto;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.phob--modal.open {
    display: block;
    opacity: 1;
}

.phob--modal-body {
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
    transform: translateY(-20px);
    transition: transform 0.2s ease;
}

.phob--modal.open .phob--modal-body {
    transform: translateY(0);
}

body.phob--modal-open {
    /* body overflow is hidden to hide main scrollbar when modal window is open */
    /*overflow: hidden;*/
}

.phob--checkout-wrapper {
    margin-top: 16px;
    padding: 24px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.phob--pay-now {
    padding-top: 16px;
}

.phob--pay-now-disabled {
    background-color: #19bdbb;
    opacity: 0.7;
    cursor: not-allowed;
}

.phob--cal-slots-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.phob--cal-slots-section {
    transition: all 0.2s ease;
}



/* Calendar side-by-side layout */
.phob--cal-side-by-side {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
}

.phob--cal-wrapper {
    flex: 1;
    min-width: 0;
    padding: 16px;
}

.phob--cal-instructions {
    flex: 1;
    min-width: 0;
    height: fit-content;
}

.phob--cal-slots-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.phob--cal-slots-day-title {
    font-weight: 600;
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: 0;
}

.phob--cal-slots-content {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

/* Responsive layout for mobile */
@media (max-width: 768px) {
    .phob--cal-side-by-side {
        flex-direction: column;
    }
    
    .phob--cal-slots-content {
        max-height: none;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .phob--container {
        grid-gap: 8px;
    }
    
    #phob__booking_summary {
        padding: 16px;
        margin-top: 16px;
        margin-bottom: 16px;
    }
    
    .phob--summary-section {
        padding: 8px 0;
    }
    
    .phob--summary-icon {
        height: 14px;
        width: 14px;
        padding: 6px;
        font-size: 14px;
    }
    
    #phob__booking-summary-title {
        padding-bottom: 16px;
        margin-bottom: 4px;
    }
}

.phob--cal-availability-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 8px;
}

.phob--cal-availability-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.phob--cal-is-today a {
    font-weight: bold;
    background: #fff5b0;
    border-radius: 50% !important;
    color: #68680f;
}

.phob--cal-is-today a:hover {
    font-weight: bold;
    background: #fff5b0;
    border-radius: 50% !important;
    color: #68680f;
}

.phob--cal-is-selected a {
    background: none !important;
    color:  #608e65 !important;
    border: 2px solid !important;
    font-weight: bold !important;
}

.phob--cal-is-selected a:hover {
    opacity: 0.8 !important;
}



.phob--cal-is-today.phob--cal-is-selected a:hover {
    opacity: 0.8 !important;
    background: inherit !important;
}
.iti__selected-country {
    background: none !important;
}
}

.phob--loading-overlay {
    z-index: -100;
    opacity: 0;
    position: fixed;
    width: 200px;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    font-family: 'Geist', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 24px;
    border-radius: 12px;
    transition: opacity 0.3s ease, z-index 0s 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    backdrop-filter: blur(4px);
}

.phob--loading-overlay.htmx-request {
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.3s ease, z-index 0s;
}

.phob--spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #608e65;
    animation: spinner 0.8s ease-in-out infinite;
    margin-bottom: 8px;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.phob--loading-text {
    font-size: 14.4px;
    font-weight: 500;
    color: #333;
    margin: 0;
}