/* Interactive Patient Profile Assessment Block Styles */

.page-template-page-deflatehae-patient .assessment-container {
    background-color: var(--color-yellow);
}

.page-template-page-deflatehae-patient .default-content {
    max-width: 1200px;
}

.page-template-page-deflatehae-patient .assessment-view-default {
    height: 100%;
}

.page-template-page-deflatehae-patient .assessment-view-default::before {
    background-position: 0 70px;
}

.page-template-page-deflatehae-patient .default-subhead {
    color: var(--color-nav-gray);
}

.page-template-page-deflatehae-patient .default-title .small {
    color: var(--color-nav-gray);
}

.page-template-page-deflatehae-patient .default-title .big {
    font-size: 50px;
    line-height: 50px;
    color: var(--color-nav-gray);
}

.page-template-page-deflatehae-patient .cta-text-left,
.page-template-page-deflatehae-patient .cta-text-right {
    color: var(--color-nav-gray);
}

/* Intro View */
.page-template-page-deflatehae-patient .assessment-view-intro {
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Only show intro view when active */
.page-template-page-deflatehae-patient .assessment-view-intro.active {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-template-page-deflatehae-patient .assessment-view-intro .view-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

/* No background image for intro view */

.page-template-page-deflatehae-patient .intro-title {
    font-size: 30px;
    line-height: 36px;
    color: var(--color-nav-gray);
    font-weight: 700;
}

.page-template-page-deflatehae-patient .intro-paragraph {
    font-size: 18px;
    line-height: 24px;
    color: var(--color-nav-gray);
    font-weight: 500;
}

/* Home button - absolute positioned in top-left on intro view */
.page-template-page-deflatehae-patient .assessment-view-intro .btn-home {
    color: var(--color-nav-gray);
}

.page-template-page-deflatehae-patient .assessment-view-intro .btn-home:hover {
    color: var(--color-white);
}

.page-template-page-deflatehae-patient .progress-to-quiz {
    background: var(--color-white);
    border: 2px solid var(--color-white);
}

.page-template-page-deflatehae-patient .progress-to-quiz:hover {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

/* Quiz Home Button - same styling as intro home */
.page-template-page-deflatehae-patient .quiz-home {
    color: var(--color-nav-gray);
}

.page-template-page-deflatehae-patient .quiz-home:hover {
    color: var(--color-white);
}

/* Quiz Title - Yellow background box */
.page-template-page-deflatehae-patient .quiz-title {
    background: var(--color-blue);
    color: var(--color-white);
}

.page-template-page-deflatehae-patient .progress-text {
    color: var(--color-nav-gray);
}

.page-template-page-deflatehae-patient .question-text {
    color: var(--color-nav-gray);
}

/* Hide question text for two-part questions on DESKTOP only since we render it inline */
@media (min-width: 1024px) {
    .page-template-page-deflatehae-patient .quiz-slide-question:has(.two-part-options) .question-text {
        display: none;
    }

    .page-template-page-deflatehae-patient .quiz-slide-question:has(.two-part-special-options) .question-text {
        display: none;
    }
    
    .page-template-page-deflatehae-patient .profile-image-mobile {
        display: none !important;
    }
}

/* Patient Template: Two-part-special responsive adjustments for scaling issues */
@media (max-width: 1499px) and (min-width: 1400px) {
    .page-template-page-deflatehae-patient .two-part-special-main {
        width: 450px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-main-question {
        font-size: 35px;
        line-height: 41px;
        min-height: 82px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-secondary {
        width: 680px;
        grid-gap: 29px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-question-text {
        font-size: 23px;
        line-height: 31px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-option {
        font-size: 17px;
        padding: 14px 19px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-main .answer-option {
        max-width: 180px;
        padding: 14px 19px;
    }
    
    /* Two-part responsive adjustments for 1500-1400px */
    .page-template-page-deflatehae-patient .two-part-main {
        width: 450px;
    }
    
    .page-template-page-deflatehae-patient .two-part-main-question {
        font-size: 35px;
        line-height: 41px;
        min-height: 82px;
    }
    
    .page-template-page-deflatehae-patient .two-part-satisfaction .satisfaction-question {
        font-size: 23px;
        line-height: 31px;
    }
    
    .page-template-page-deflatehae-patient .two-part-main .answer-option {
        max-width: 180px;
        padding: 14px 19px;
    }
    
    .page-template-page-deflatehae-patient .two-part-satisfaction .answer-option {
        font-size: 17px;
        padding: 14px 19px;
    }
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .page-template-page-deflatehae-patient .two-part-special-main {
        width: 440px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-main-question {
        font-size: 34px;
        line-height: 40px;
        min-height: 80px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-secondary {
        width: 665px;
        grid-gap: 28px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-question-text {
        font-size: 23px;
        line-height: 30px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-option {
        font-size: 17px;
        padding: 14px 19px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-main .answer-option {
        max-width: 175px;
        padding: 14px 19px;
    }
    
    /* Two-part responsive adjustments for 1400-1200px */
    .page-template-page-deflatehae-patient .two-part-main {
        width: 440px;
    }
    
    .page-template-page-deflatehae-patient .two-part-main-question {
        font-size: 34px;
        line-height: 40px;
        min-height: 80px;
    }
    
    .page-template-page-deflatehae-patient .two-part-satisfaction .satisfaction-question {
        font-size: 23px;
        line-height: 30px;
    }
    
    .page-template-page-deflatehae-patient .two-part-main .answer-option {
        max-width: 175px;
        padding: 14px 19px;
    }
    
    .page-template-page-deflatehae-patient .two-part-satisfaction .answer-option {
        font-size: 17px;
        padding: 14px 19px;
    }
}

@media (max-width: 1299px) and (min-width: 1024px) {
    .page-template-page-deflatehae-patient .two-part-special-main {
        width: 35%;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-main-question {
        font-size: 28px;
        line-height: 34px;
        min-height: 68px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-secondary {
        width: 49%;
        grid-gap: 20px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-question-text {
        font-size: 19px;
        line-height: 25px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-option {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .page-template-page-deflatehae-patient .two-part-special-main .answer-option {
        max-width: 145px;
        padding: 10px 15px;
    }
    
    /* Two-part responsive adjustments for 1099-1024px */
    .page-template-page-deflatehae-patient .two-part-main {
        width: 35%;
    }

    .page-template-page-deflatehae-patient .two-part-satisfaction:not([style*="display: none"]) {
        width: 49%;
    }
    
    .page-template-page-deflatehae-patient .two-part-main-question {
        font-size: 28px;
        line-height: 34px;
        min-height: 68px;
    }
    
    .page-template-page-deflatehae-patient .two-part-satisfaction .satisfaction-question {
        font-size: 19px;
        line-height: 25px;
    }
    
    .page-template-page-deflatehae-patient .two-part-main .answer-option {
        max-width: 145px;
        padding: 10px 15px;
    }
    
    .page-template-page-deflatehae-patient .two-part-satisfaction .answer-option {
        font-size: 14px;
        padding: 10px 15px;
    }
}

.page-template-page-deflatehae-patient .answer-option {
    background: var(--color-white);
    color: var(--color-nav-gray);
    border: 2px solid var(--color-white);
    font-weight: 600;
}

.page-template-page-deflatehae-patient .answer-option:hover {
    background: transparent;
    color: var(--color-white);
}

.page-template-page-deflatehae-patient .answer-option.selected {
    background: transparent;
    color: var(--color-white);
}

.page-template-page-deflatehae-patient .btn-next-question {
    background: var(--color-white);
    color: var(--color-nav-gray);
    border: 2px solid var(--color-white);
}

.page-template-page-deflatehae-patient .btn-next-question:hover {
    background: transparent;
    color: var(--color-white);
}

.page-template-page-deflatehae-patient .two-part-special-secondary::before {
    background: var(--color-nav-gray);
}

.page-template-page-deflatehae-patient .two-part-special-main-question,
.page-template-page-deflatehae-patient .two-part-main-question {
    color: var(--color-nav-gray);
}

.page-template-page-deflatehae-patient .two-part-special-question-text {
    color: var(--color-nav-gray);
}

.page-template-page-deflatehae-patient .two-part-satisfaction .satisfaction-question {
    color: var(--color-nav-gray);
}

.page-template-page-deflatehae-patient .multi-select-options.multi-select-two-columns .multi-select-instruction {
    color: var(--color-nav-gray);
}

.page-template-page-deflatehae-patient .multi-select-options.multi-select-two-columns .multi-select-option {
    color: var(--color-nav-gray);
    font-weight: 600;
}

.page-template-page-deflatehae-patient .multi-select-options.multi-select-two-columns .checkbox-label {
    color: var(--color-nav-gray);
    font-size: 24px;
    font-weight: 600;
}

/* Multiple choice two-column layout styling for patient template */
.page-template-page-deflatehae-patient .single-select-options.multi-select-two-columns .answer-option {
    background: var(--color-white);
    color: var(--color-nav-gray);
    border: 2px solid var(--color-white);
    font-weight: 600;
}

.page-template-page-deflatehae-patient .single-select-options.multi-select-two-columns .answer-option:hover {
    background: transparent;
    color: var(--color-white);
}

.page-template-page-deflatehae-patient .single-select-options.multi-select-two-columns .answer-option.selected {
    background: transparent;
    color: var(--color-white);
}

.page-template-page-deflatehae-patient .multi-select-continue {
    background: var(--color-white);
    color: var(--color-nav-gray);
    border: 2px solid var(--color-white);
    font-size: 18px;
    padding: 10px 20px;
}

.page-template-page-deflatehae-patient .multi-select-continue:hover:not(:disabled) {
    background: transparent;
    color: var(--color-white);
}

.page-template-page-deflatehae-patient .multi-select-continue:disabled {
    background: #ccc;
    color: #666;
    border-color: #ccc;
    cursor: not-allowed;
}

.page-template-page-deflatehae-patient .assessment-view-form .configurable-form-content, 
.page-template-page-deflatehae-patient .assessment-view-form .configurable-form-content p:not(.input-field), 
.page-template-page-deflatehae-patient .assessment-view-form .configurable-form-content label:not(.input-field), 
.page-template-page-deflatehae-patient .assessment-view-form .configurable-form-content span:not(.input-field), 
.page-template-page-deflatehae-patient .assessment-view-form .configurable-form-content div:not(.form-input) {
    color: var(--color-nav-gray) !important;
}

.page-template-page-deflatehae-patient .assessment-view-form .configurable-form-content a.form-link {
    color: var(--color-nav-gray) !important;
}

.page-template-page-deflatehae-patient .multi-select-options.multi-select-two-columns,
.page-template-page-deflatehae-patient .single-select-options.multi-select-two-columns {
    width: 60%;
}

.page-template-page-deflatehae-patient .assessment-view-form .configurable-form-content {
    max-width: 1100px;
    padding-top: 60px;
}

.page-template-page-deflatehae-patient .assessment-view-form .salesforce-form {
    margin: 20px auto 0;
}

.page-template-page-deflatehae-patient .assessment-view-form .configurable-form-content .salesforce-form #form-col4 .form-input input.pv-btn.sf-button {
    background: var(--color-white);
    color: var(--color-nav-gray);
    border: 2px solid var(--color-white);
    max-width: 300px;
}

.page-template-page-deflatehae-patient .assessment-view-form .configurable-form-content .salesforce-form #form-col4 .form-input input.pv-btn.sf-button:hover {
    background: transparent;
    color: var(--color-white) !important;
    border: 2px solid var(--color-white);
}

/* Profile CTA Buttons - Patient Template Overrides */
.page-template-page-deflatehae-patient .profile-cta-btn {
    background: var(--color-white);
    color: var(--color-nav-gray);
    border: 2px solid var(--color-white);
    font-size: 18px;
}

.page-template-page-deflatehae-patient .profile-cta-btn:hover {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.page-template-page-deflatehae-patient .profile-cta-container {
    position: absolute;
    bottom: 15%;
    left: 8%;
    z-index: 10;
    transform: translateX(0);
}


@media (max-width: 1199px) {
    .page-template-page-deflatehae-patient .assessment-view-default::before {
        background-position: 0 100%;
    }
}



@media (max-width: 1023px) {
    /* Override HCP mobile reordering for Patient - maintain original order */
    .page-template-page-deflatehae-patient .default-content {
        display: block;
    }

    .page-template-page-deflatehae-patient .default-title {
        order: unset;
        margin: 0 auto 30px;
    }

    .page-template-page-deflatehae-patient .default-subhead {
        order: unset;
        margin: 100px auto 40px;
    }

    .page-template-page-deflatehae-patient .default-action {
        order: unset;
    }

    .page-template-page-deflatehae-patient .default-subhead{
        margin-top: 0;
    }

    .page-template-page-deflatehae-patient .default-title .small{
        font-size: 40px;
    }

    .page-template-page-deflatehae-patient .assessment-view-default::before {
        background-position: 0 80%;
    }

    .floating-cta-container {
        margin-top: 0;
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .page-template-page-deflatehae-patient .floating-cta-balloon {
        max-width: 125px;
    }

    .page-template-page-deflatehae-patient .cta-text-left::before {
        color: var(--color-nav-gray);
    }

    .page-template-page-deflatehae-patient .assessment-view-intro .view-content {
        padding: 40px 25px;
    }
    
    .page-template-page-deflatehae-patient .intro-content {
        margin: 20px 0 0 0;
    }
    
    .page-template-page-deflatehae-patient .intro-navigation {
        justify-content: space-between;
        margin-top: 20px;
        width: 100%;
    }

    .page-template-page-deflatehae-patient .intro-image {
        width: 90%;
        max-width: 400px;
        max-height: 270px;
        margin: 0 auto;
    }
    
    .page-template-page-deflatehae-patient .profile-image-desktop {
        display: none !important;
    }

    .page-template-page-deflatehae-patient .profile-image-mobile {
        display: block !important;
    }

    .page-template-page-deflatehae-patient .intro-title {
        font-size: 2.0rem;
        line-height: 2.6rem;
    }

    .page-template-page-deflatehae-patient .intro-paragraph {
        font-size: 1.6rem;
        line-height: 2.2rem;
    }

    /* Show question text on mobile for two-part and multi-select types */
    .page-template-page-deflatehae-patient .question-type-two-part .question-text,
    .page-template-page-deflatehae-patient .question-type-two-part-special .question-text,
    .page-template-page-deflatehae-patient .question-type-multi-select .question-text {
        display: block !important;
        font-size: 2.0rem;
        line-height: 2.6rem;
    }

    /* Hide inline question text for both two-part types on mobile */
    .page-template-page-deflatehae-patient .question-type-two-part .two-part-main-question,
    .page-template-page-deflatehae-patient .question-type-two-part-special .two-part-special-main-question {
        display: none !important;
    }

    /* Show satisfaction question text on mobile for regular two-part */
    .page-template-page-deflatehae-patient .question-type-two-part .two-part-satisfaction .satisfaction-question {
        display: block !important;
        font-size: 1.8rem;
        line-height: 2.4rem;
        color: var(--color-nav-gray);
        margin: 0 0 20px 0;
        text-align: center;
        text-transform: uppercase;
    }

    .page-template-page-deflatehae-patient .question-text {
        font-size: 1.6rem;
        line-height: 2.2rem;
        max-width: 300px;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 80px auto 10px !important;
        text-align: center !important;
    }

    .page-template-page-deflatehae-patient .question-type-two-part_special.mobile-two-part-question .question-text {
        font-size: 1.6rem;
        line-height: 2.2rem;
        max-width: 320px;
        font-size: 1.4rem;
        line-height: 2rem;
        margin-top: 50px !important;
    }
    
    .page-template-page-deflatehae-patient .quiz-current-image{
        bottom: -30px;
        left: 10px;
        width: 82px;
        height: 143px;
    }

    .page-template-page-deflatehae-patient .multi-select-options.multi-select-two-columns, .page-template-page-deflatehae-patient .single-select-options.multi-select-two-columns{
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .page-template-page-deflatehae-patient .single-select-options.multi-select-two-columns .answer-option{
        width: 100%;
        font-size: 1.8rem;
        padding: 8px 20px;
        margin: 6px 0;
    }
    
    .page-template-page-deflatehae-patient .answer-options {
        top: 55%;
    }
    
    .page-template-page-deflatehae-patient .answer-option {
        font-size: 1.6rem !important;
        line-height: 2.2rem !important;
        padding: 8px 20px !important;
    }
    
    .page-template-page-deflatehae-patient .multi-select-column {
        width: 100%;
    }

    /* Remove gaps between columns on mobile for multi-select */
    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-options.multi-select-two-columns {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-column {
        width: 100%;
        margin: 0;
        gap: 0;
    }

    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-column-first,
    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-column-second {
        flex: none !important;
        width: 100% !important;
        margin: 0;
        gap: 0;
    }
    
    .page-template-page-deflatehae-patient .insight-image-container{
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }
    
    .page-template-page-deflatehae-patient .btn-next-question{
        right: 50%;
        transform: translateX(50%);
    }

    .page-template-page-deflatehae-patient .two-part-special-main-question, .page-template-page-deflatehae-patient .two-part-main-question{
        font-size: 2.0rem;
        line-height: 2.6rem;
        max-width: 270px;
        margin: 0 auto;
        text-align: center;
    }

    .page-template-page-deflatehae-patient .two-part-special-options {
        transform: translate(0, 0) !important;
    }

    .page-template-page-deflatehae-patient .two-part-special-question-text{
        font-size: 1.4rem;
        line-height: 2rem;
        text-align: center;
    }

    .page-template-page-deflatehae-patient .two-part-special-main .answer-option {
        padding: 8px 20px;
        margin: 10px auto 0;
        min-width: 120px;
    }

    .page-template-page-deflatehae-patient .two-part-special-main {
        width: 300px;
    }

    .page-template-page-deflatehae-patient .two-part-satisfaction .answer-option, .two-part-special-option {
        font-size: 1.6rem;
        padding: 8px 20px;
        max-width: 300px !important;
        margin: 0 auto;
    }

    .page-template-page-deflatehae-patient .two-part-special-question-two, .page-template-page-deflatehae-patient .two-part-special-question-three{
        gap: 10px;
    }

    /* Mobile Multi-Select Question Styles - Patient Template */
    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-options {
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
    }

    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-instruction {
        font-size: 1.8rem;
        color: var(--color-nav-gray);
        margin-bottom: 20px;
        font-weight: 500;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        text-align: center;
    }

    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-option {
        display: block !important;
        width: 100%;
        padding: 0;
        margin: 0;
        background: none;
        border: none;
        border-bottom: 1px solid var(--color-nav-gray);
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-option:first-child {
        border-top: 1px solid var(--color-nav-gray);
    }

    /* Remove top border from second column's first option to avoid double border */
    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-column-second .multi-select-option:first-child {
        border-top: none;
    }

    /* Hide the custom circle styling on mobile */
    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-option::before {
        display: none;
    }

    .page-template-page-deflatehae-patient .question-type-multi-select .checkbox-label {
        display: block;
        width: 100%;
        padding: 1.5vh 20px;
        font-size: 16px !important;
        font-weight: 400 !important;
        color: var(--color-nav-gray);
        text-align: center;
        margin: 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    /* Selected state */
    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-option.checked {
        background-color: var(--color-nav-gray);
    }

    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-option.checked .checkbox-label {
        color: var(--color-yellow);
    }

    /* Multi-select continue button positioning */
    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-continue {
        position: fixed;
        bottom: 40px;
        right: 50%;
        transform: translateX(50%);
        z-index: 20;
    }

    /* Mobile Profile CTA Button Layout - Patient Template */
    .page-template-page-deflatehae-patient .profile-cta-wrapper.dual-cta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }

    .page-template-page-deflatehae-patient .profile-cta-btn.profile-cta-primary,
    .page-template-page-deflatehae-patient .profile-cta-btn.profile-cta-secondary {
        padding: 10px 20px;
        font-size: 1.8rem;
        min-width: 200px;
        width: 100%;
        max-width: 300px;
    }

    .page-template-page-deflatehae-patient .profile-cta-container {
        bottom: 5.5%;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Hide home button in form view on mobile - Patient Template */
    .page-template-page-deflatehae-patient .assessment-view-form .btn-home.quiz-home {
        display: none;
    }

    /* Form view quiz title minimum width on mobile - Patient Template */
    .page-template-page-deflatehae-patient .assessment-view-form .quiz-title {
        min-width: 350px;
    }

    .page-template-page-deflatehae-patient .assessment-view-form .configurable-form-content {
        padding-top: 0;
    }

    /* Mobile checkbox group override for assessment forms - Patient Template */
    .page-template-page-deflatehae-patient .assessment-view-form .checkbox-group-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 auto 20px !important;
    }

    .page-template-page-deflatehae-patient .assessment-view-form .checkbox-option {
        flex: 0 1 calc(50% - 5px) !important;
        min-width: calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    .page-template-page-deflatehae-patient .profile-image-container {
        transform: translate(-50%, -70%);
    }
}

@media (max-width: 400px) {

    .page-template-page-deflatehae-patient .default-subhead{
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .page-template-page-deflatehae-patient .intro-image {
        max-height: 30vh;
    }

    .page-template-page-deflatehae-patient .insight-image {
        max-height: 50vh;
    }

    .page-template-page-deflatehae-patient .assessment-view-intro .btn-home {
        font-size: 1.6rem !important;
        line-height: 2rem !important;
        padding: 6px 20px !important;
    }

    .page-template-page-deflatehae-patient .progress-to-quiz,
    .page-template-page-deflatehae-patient .btn-next-question,
    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-continue {
        font-size: 1.6rem !important;
        line-height: 2rem !important;
        padding: 6px 20px !important;
    }

    .page-template-page-deflatehae-patient .default-title .big{
        font-size: 4.5rem;
        line-height: 5rem;
    }

    .page-template-page-deflatehae-patient .intro-title {
        font-size: 1.8rem;
        line-height: 2.4rem;
        margin-bottom: 0;
    }

    .page-template-page-deflatehae-patient .intro-paragraph {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    .page-template-page-deflatehae-patient .question-type-two-part_special.mobile-two-part-question .question-text,
    .page-template-page-deflatehae-patient .question-type-multi-select .question-text {
        font-size: 1.4rem;
        line-height: 2rem;
        margin-top: 50px !important;
    }

    .page-template-page-deflatehae-patient .two-part-special-question-text {
        font-size: 1.2rem;
        line-height: 1.8rem;
        margin-bottom: 10px;
    }

    .page-template-page-deflatehae-patient .answer-option {
        font-size: 1.2rem !important;
        line-height: 1.8rem !important;
        padding: 6px 20px !important;
    }

    .page-template-page-deflatehae-patient .question-type-two-part .two-part-satisfaction .satisfaction-question {
        font-size: 1.2rem;
        line-height: 1.8rem;
        padding: 0;
    }

    .page-template-page-deflatehae-patient .two-part-options {
        gap: 10px;
    }

    .page-template-page-deflatehae-patient .question-type-multi-select .multi-select-instruction {
        font-size: 1.4rem !important;
        line-height: 2rem !important;
        margin-bottom: 10px !important;
    }

    .page-template-page-deflatehae-patient .question-type-multi-select .checkbox-label {
        font-size: 1.4rem !important;
        line-height: 2rem !important;
        padding: 10px 20px !important;
    }

    .page-template-page-deflatehae-patient .profile-cta-btn.profile-cta-primary, 
    .page-template-page-deflatehae-patient .profile-cta-btn.profile-cta-secondary {
        padding: 8px 20px !important;
        font-size: 1.4rem !important;
        line-height: 2rem !important;
    }

    .page-template-page-deflatehae-patient .profile-image-mobile {
        max-height: 50vh;
    }
}

/* Mobile Safari specific fixes for Patient Template - prevent crashes on iPhone 16 */
@supports (-webkit-touch-callout: none) {
    /* iPhone Safari specific fixes for patient template */
    .page-template-page-deflatehae-patient .assessment-container {
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        -webkit-transform: translateZ(0); /* Force hardware acceleration */
        transform: translateZ(0);
    }
    
    .page-template-page-deflatehae-patient .assessment-view {
        -webkit-overflow-scrolling: touch;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Prevent text size adjustment on orientation change for patient template */
    .page-template-page-deflatehae-patient .assessment-container,
    .page-template-page-deflatehae-patient .assessment-view,
    .page-template-page-deflatehae-patient .quiz-slide,
    .page-template-page-deflatehae-patient .answer-option,
    .page-template-page-deflatehae-patient .question-text {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Prevent zoom on input focus for patient template */
    .page-template-page-deflatehae-patient .assessment-view-form input,
    .page-template-page-deflatehae-patient .assessment-view-form textarea,
    .page-template-page-deflatehae-patient .assessment-view-form select {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}