/* /Razor/Research/Onboarding/ResearchOnboardingSigningPage.razor.rz.scp.css */
.research-agreement-page[b-gt98fpxy4l] {
    max-width: 1040px;
    padding-bottom: 3rem !important;
}

.agreement-heading[b-gt98fpxy4l] {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 0.5rem 0 1rem;
}

.agreement-heading h2[b-gt98fpxy4l] {
    font-size: 1.6rem;
    font-weight: 650;
    margin: 0;
}

.agreement-kicker[b-gt98fpxy4l] {
    color: var(--secondary-text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 0.2rem;
    text-transform: uppercase;
}

.agreement-progress[b-gt98fpxy4l] {
    background: var(--box-bg);
    border-radius: 4px;
    color: var(--main-text);
    flex: 0 0 auto;
    font-size: 0.85rem;
    font-weight: 650;
    padding: 0.45rem 0.65rem;
}

.agreement-stepper[b-gt98fpxy4l] {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 1.5rem;
}

.agreement-stepper button[b-gt98fpxy4l] {
    background: var(--med-grey);
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    height: 4px;
    padding: 0;
}

.agreement-stepper button.is-active[b-gt98fpxy4l] {
    background: var(--green-buttons-footer);
}

.agreement-stepper button.is-reached[b-gt98fpxy4l] {
    background: var(--green-buttons-footer-semi-light);
}

.agreement-stepper button:disabled[b-gt98fpxy4l] {
    cursor: not-allowed;
    opacity: 0.55;
}

.agreement-stepper button:focus-visible[b-gt98fpxy4l] {
    box-shadow: 0 0 0 0.2rem var(--green-buttons-footer-semi-light);
    outline: 0;
}
.agreement-section[b-gt98fpxy4l] {
    border-top: 1px solid var(--grey-bar);
    padding: 1.5rem 0 0.5rem;
}

.agreement-document[b-gt98fpxy4l] {
    color: var(--main-text);
    margin-top: 1.5rem;
    padding: 2.5rem 0;
}

.agreement-section fieldset[b-gt98fpxy4l] {
    border: 0;
    margin: 0;
    padding: 0;
}

.agreement-section legend[b-gt98fpxy4l],
.agreement-section > h3[b-gt98fpxy4l],
.questionnaire-section legend[b-gt98fpxy4l] {
    float: none;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    width: auto;
}

.section-intro[b-gt98fpxy4l] {
    color: var(--secondary-text);
    margin-bottom: 1.25rem;
}

.form-label[b-gt98fpxy4l] {
    font-size: 0.9rem;
    font-weight: 650;
}

.research-date-input[b-gt98fpxy4l] {
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    .research-date-input[b-gt98fpxy4l] {
        color-scheme: dark;
    }
}

[data-theme="light"] .research-date-input[b-gt98fpxy4l] {
    color-scheme: light;
}

[data-theme="dark"] .research-date-input[b-gt98fpxy4l] {
    color-scheme: dark;
}

.agreement-section[b-gt98fpxy4l]  .agreement-copy {
    border-top: 2px solid var(--grey-bar);
    color: var(--main-text);
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 4rem auto 0;
    max-width: 900px;
    padding-top: 3.25rem;
}

.agreement-section[b-gt98fpxy4l]  .agreement-copy:first-of-type {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.agreement-section[b-gt98fpxy4l]  .agreement-copy header {
    margin: 0 auto 2.75rem;
    max-width: 820px;
    text-align: center;
}

.agreement-section[b-gt98fpxy4l]  .agreement-copy h3 {
    color: var(--main-text);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    text-transform: uppercase;
}

.agreement-section[b-gt98fpxy4l]  .agreement-copy h4 {
    color: var(--main-text);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 3rem 0 0.8rem;
}

.agreement-section[b-gt98fpxy4l]  .agreement-copy p,
.agreement-section[b-gt98fpxy4l]  .agreement-copy li {
    line-height: 1.6;
}

.agreement-section[b-gt98fpxy4l]  .agreement-copy p {
    margin: 0 0 1.5rem;
}

.agreement-section[b-gt98fpxy4l]  .agreement-copy ul,
.agreement-section[b-gt98fpxy4l]  .agreement-copy ol {
    margin-bottom: 1.75rem;
    margin-top: 0.75rem;
}

.agreement-section[b-gt98fpxy4l]  .agreement-copy li {
    margin-bottom: 0.65rem;
}

.agreement-section[b-gt98fpxy4l]  .agreement-section-number {
    color: var(--main-text);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem !important;
    text-transform: uppercase;
}

.agreement-section[b-gt98fpxy4l]  .section-video-button {
    font-size: 0.75rem;
    height: 1.575rem;
    line-height: 1;
    margin-bottom: 4px;
    margin-left: 10px;
    padding: 0 0.54rem;
    position: relative;
    top: -0.125rem;
    vertical-align: middle;
}

.agreement-section[b-gt98fpxy4l]  .section-video-button:focus-visible {
    box-shadow: 0 0 0 0.2rem var(--green-buttons-footer-semi-light);
    outline: 0;
}

.agreement-section[b-gt98fpxy4l]  .agreement-subtitle {
    color: var(--main-text);
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1.25rem;
}

.agreement-section[b-gt98fpxy4l]  .agreement-roman-list {
    list-style-type: lower-roman;
}

.agreement-section[b-gt98fpxy4l]  .agreement-alpha-list {
    list-style-type: lower-alpha;
}

.agreement-section[b-gt98fpxy4l]  .agreement-emphasis {
    border: 0;
    color: var(--main-text);
    font-weight: 700;
    margin: 2rem 0;
    padding: 0;
    text-transform: uppercase;
}

.agreement-section[b-gt98fpxy4l]  .agreement-copy-compact {
    margin-top: 0;
}

.agreement-section[b-gt98fpxy4l]  .agreement-copy-continuation {
    border-top: 0;
    margin-top: 1.75rem;
    padding-top: 0;
}

.acknowledgement[b-gt98fpxy4l] {
    align-items: flex-start;
    border-top: 1px solid var(--grey-bar);
    cursor: pointer;
    display: flex;
    gap: 0.85rem;
    padding: 1rem 0;
}

.acknowledgement input[b-gt98fpxy4l] {
    flex: 0 0 auto;
    margin-top: 0.25rem;
}

.acknowledgement span[b-gt98fpxy4l] {
    color: var(--main-text);
    font-size: 1rem;
    line-height: 1.55;
    text-transform: uppercase;
}

.acknowledgement strong[b-gt98fpxy4l] {
    color: var(--main-text);
    display: block;
    margin-bottom: 0.15rem;
}

.section-acknowledgement[b-gt98fpxy4l] {
    background: var(--box-bg);
    border: 1px solid var(--grey-bar);
    border-radius: 4px;
    margin: 2.25rem auto 4rem;
    max-width: 900px;
    padding: 1.25rem;
}

.agreement-postscript[b-gt98fpxy4l] {
    color: var(--secondary-text);
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

.quality-scale[b-gt98fpxy4l] {
    color: var(--secondary-text);
    display: grid;
    font-size: 0.75rem;
    gap: 1rem;
    grid-template-columns: minmax(220px, 1fr) minmax(300px, 1.2fr);
    text-align: center;
}

.quality-scale-options[b-gt98fpxy4l] {
    display: grid;
    gap: 0.35rem;
    grid-column: 2;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quality-question[b-gt98fpxy4l] {
    align-items: center;
    border-top: 1px solid var(--grey-bar);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(220px, 1fr) minmax(300px, 1.2fr);
    padding: 0.8rem 0;
}

.quality-question p[b-gt98fpxy4l] {
    font-weight: 600;
    margin: 0;
}

.quality-options[b-gt98fpxy4l] {
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quality-options label[b-gt98fpxy4l] {
    cursor: pointer;
    margin: 0;
    text-align: center;
    -webkit-user-select: none;
    user-select: none;
}

.quality-options input[b-gt98fpxy4l] {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.quality-options span[b-gt98fpxy4l] {
    align-items: center;
    border: 1px solid var(--grey-bar);
    border-radius: 4px;
    display: flex;
    font-weight: 650;
    height: 42px;
    justify-content: center;
    -webkit-user-select: none;
    user-select: none;
    width: 100%;
}

.quality-options input:checked + span[b-gt98fpxy4l] {
    background: var(--green-buttons-footer);
    border-color: var(--green-buttons-footer);
    color: var(--button-text);
}

.quality-options input:focus-visible + span[b-gt98fpxy4l] {
    box-shadow: 0 0 0 0.25rem var(--green-buttons-footer-semi-light);
}

.quality-options input:disabled + span[b-gt98fpxy4l] {
    background: var(--box-bg);
    color: var(--secondary-text);
    cursor: not-allowed;
}

.no-medication[b-gt98fpxy4l] {
    align-items: center;
    display: flex;
    font-size: 0.9rem;
    gap: 0.5rem;
    grid-column: 2;
    text-transform: uppercase;
}

.questionnaire-section[b-gt98fpxy4l] {
    border: 0;
    border-top: 1px solid var(--grey-bar);
    margin-top: 1.5rem;
    padding: 1.25rem 0 0;
}

.questionnaire-question[b-gt98fpxy4l] {
    align-items: center;
    border-top: 1px solid var(--grey-bar);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 180px;
    padding: 0.75rem 0;
}

.questionnaire-question label[b-gt98fpxy4l] {
    line-height: 1.4;
}

.agreement-actions[b-gt98fpxy4l] {
    border-top: 1px solid var(--grey-bar);
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.firma-signing-frame[b-gt98fpxy4l] {
    border: 1px solid var(--grey-bar);
    border-radius: 4px;
    display: block;
    height: 900px;
    width: 100%;
}

.firma-signing-frame-container[b-gt98fpxy4l] {
    min-height: 620px;
    position: relative;
}

.firma-signing-loading[b-gt98fpxy4l] {
    align-items: center;
    background: var(--box-bg);
    display: flex;
    gap: 0.75rem;
    inset: 0 0 auto;
    justify-content: center;
    min-height: 8rem;
    padding: 1.5rem;
    position: absolute;
    z-index: 1;
}

.signing-verification[b-gt98fpxy4l] {
    align-items: center;
    background: var(--box-bg);
    border: 1px solid var(--grey-bar);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    min-height: 18rem;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.signing-verification h3[b-gt98fpxy4l],
.signing-verification p[b-gt98fpxy4l] {
    margin: 0;
}

.signing-verification p[b-gt98fpxy4l] {
    color: var(--secondary-text);
    max-width: 38rem;
}

@media (max-width: 767.98px) {
    .agreement-heading[b-gt98fpxy4l] {
        align-items: stretch;
        flex-direction: column;
    }

    .agreement-progress[b-gt98fpxy4l] {
        align-self: flex-start;
    }

    .agreement-document[b-gt98fpxy4l] {
        padding: 2rem 0;
    }

    .agreement-section[b-gt98fpxy4l]  .agreement-copy {
        font-size: 1.0625rem;
    }

    .agreement-section[b-gt98fpxy4l]  .agreement-section-number {
        font-size: 1.5rem;
    }

    .agreement-section[b-gt98fpxy4l]  .agreement-copy h3 {
        font-size: 1.2rem;
    }

    .quality-scale[b-gt98fpxy4l] {
        display: none;
    }

    .quality-question[b-gt98fpxy4l],
    .questionnaire-question[b-gt98fpxy4l] {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .no-medication[b-gt98fpxy4l] {
        grid-column: 1;
    }

    .firma-signing-frame[b-gt98fpxy4l] {
        height: 78vh;
        min-height: 620px;
    }
}
