﻿.section-container {
    max-width: 620px;
    margin: 40px auto;
    font-family: 'Poppins', sans-serif;
    color: var(--color-near-black);
}

.review-divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid var(--border-light);
}

.review-section-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.review-section-header button {
    background: none;
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    padding: 0px;

}

.disqualify-warning {
    display: flex;
    gap: 8px;
    background-color: var(--bg-warning-soft);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--color-yellow-warning);
}

.disqualify-warning svg {
    height: 20px;
    color: var(--color-golden-dim);
}

#intakeSteps {
    margin: 40px 0px 20px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#intakeSteps>div {
    height: 5px;
    width: 100%;
    background: var(--color-white);
    ;
    border-radius: 16px
}

#intakeSteps .completed-step {
    height: 5px;
    width: 100%;
    background: var(--primary-color);
}

.disqualify-warning p {
    font-size: 1rem;
    line-height: 1.3em;
    font-weight: 400;
    margin-bottom: 0px;
    color: var(--color-golden-dim);
    font-family: Lora, inter, "inter Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.question-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 12px;
}

.pace-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;
}

.pace-title .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.pace-subtitle {
    font-family: Poppins;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
}


.glp-list {
    background-color: var(--bg-purple-xlight);
    padding: 20px 20px 0 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.glp-list {
    padding-bottom: 20px;
    line-height: 20px;
}

.pace-question {
    font-size: 16px;
    margin: 20px 0;
    line-height: 28px;
    font-weight: 700;
}

.pace-card hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 24px 0;
}

/* Options */
.option-group.pace-options {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.option-group .option-card {
    flex: 1;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 24px 18px;
    text-align: center;
    cursor: pointer;
    background: var(--color-white);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Hide native radio */
.option-group .option-card input {
    position: absolute;
    opacity: 0;
}

/* Icon */
.option-group .option-card .icon {
    font-size: 44px;
    color: var(--color-pop-text);
}

.option-group .option-card .icon img {
    width: 44px;
    color: var(--color-pop-text);
}

/* Label */
.option-group .option-card span {
    font-size: 16px;
    font-weight: 500;
}

/* Selected */
.option-group .option-card:has(input:checked) {
    border-color: var(--primary-color);
    background: var(--primary-color-xlight);
}

/* Hover */
.option-group .option-card:hover {
    border-color: var(--primary-color);
}



/* for radio */

.option-group2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0px 20px 0px;
}

.consentOptions {
    margin: 0px;
    flex-direction: row !important;
}

.option-group2 .option-card {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 8px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: var(--color-black);
    background: var(--color-white);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.option-group2 .option-card input[type="radio"] {
    accent-color: var(--primary-color);
    cursor: pointer;
    margin-top: 2px;
}

.option-group2 .option-card span {
    font-size: 14px;
    flex: 1;
    font-weight: 500;
}

/* Selected state */
.option-group2 .option-card:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: var(--primary-color-xlight);
}

/* Hover */
.option-group2 .option-card:hover {
    border-color: var(--primary-color);
}

#review-list .label {
    line-height: 24px
}

#review-list .value {
    line-height: 28px
}

.quiz-banner img {
    width: 100%
}

/* text area */
.section-container textarea,
.section-container input[type="text"],
.section-container input[type="email"] {
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 8px 8px;
    width: 100%;
    font-weight: 500;
    min-height: auto;
    resize: none;
    margin-top: 5px;
    background: transparent;
}

.section-container textarea:focus,
.section-container input[type="text"]:focus,
.section-container input[type="email"]:focus {
    border-color: var(--primary-color);
}

.section-container textarea::placeholder {
    color: var(--border-hover);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.feetAndInchesContainer>div,
.dob>div {
    flex: 1
}

.review-stats {

    line-height: 1.6;
}

.review-result {
    margin: 20px 0;
}

/* Checkboxes */
.checkbox-group {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checkbox-item {
    display: flex;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-item input {
    accent-color: var(--primary-color);
    transform: scale(1.2);
    margin-top: 4px;
}

.checkbox-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-item a:hover {
    text-decoration: underline;
}

/* Button */
.primary-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--color-white);
    font-size: 18px;
    font-weight: 500;
    padding: 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease;
}

.primary-btn:hover {
    background: var(--primary-color-dark);
}

/* review page */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    margin: 24px 0 18px;
}

.edit-link {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
}

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

/* .review-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.review-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    font-size: 15px;
}

.review-row .long {
    grid-template-columns: 1fr 120px;
    align-items: start;
}

.review-row .label {
    color: #777;
    line-height: 1.5;
}

.review-row .value {
    font-weight: 500;
    text-align: right;
    color: #1d1d1f;
} */

.review-section {
    padding: 20px;
}

.review-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8px 0px;
    gap: 12px;
}

.edit-btn.is-hidden {
    visibility: hidden;
    /* keeps layout space */
}

/* Only show edit button in first row */
/* .review-row:not(.first-row) .edit-btn {
    visibility: hidden;
} */
.alt-section {
    background: var(--bg-section);
    border-radius: 8px;
}

/* .alt-review {
    background: #ffffff;
    border-radius: 8px;
} */

.label {
    color: var(--color-text-dim);
    font-size: 14px;
}

.value {
    font-weight: 500;
    color: var(--color-text-strong);
}

.edit-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 500;
}

/* Dropzone */
.upload-dropzone {
    border: 2px dashed var(--border-dashed);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    background: var(--bg-upload);
    cursor: pointer;
    transition: border-color 0.25s ease;
    margin: 10px 0 20px 0;
}

.upload-dropzone:hover {
    border-color: var(--primary-color);
}

.upload-dropzone .dropzone-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    color: var(--color-text-medium);
}

.upload-dropzone .upload-icon {
    font-size: 28px;
}

.upload-dropzone .browse {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Uploaded file pill */
.upload-dropzone .uploaded-file {
    margin-top: 14px;
    background: var(--color-upload-pill);
    color: var(--color-white);
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.upload-dropzone .file-name {
    font-size: 14px;
}

.upload-dropzone .remove-file {
    background: var(--color-white-20);
    border: none;
    color: var(--color-white);
    font-size: 16px;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
}

.upload-dropzone .remove-file:hover {
    background: var(--color-white-35);
}

.review-stats {
    display: flex;
    gap: 16px;
    text-align: center;
    padding: 0px 0px 24px 0px
}

.review-stats .review-pill>div {
    border-radius: 50px;
    padding: 12px 20px;
}

.review-stats .review-pill>p {
    font-family: Poppins;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    line-height: 22px;
    letter-spacing: 0%;
}

.review-stats .pill-value {
    font-family: Poppins;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
}

.review-pill .first-pill {
    border: 4px solid var(--color-pill-gold);
    height: 100%;
    max-height: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.review-pill .second-pill {
    border: 4px solid var(--color-text-input);
}

.review-pill .third-pill {
    background-color: var(--primary-color);
    color: var(--color-white);
    border: 4px solid var(--primary-color);
}

.review-pill .units {
    font-family: Poppins;
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

/* Responsive layout */
@media (max-width: 900px) {
    .option-group.pace-options {
        flex-direction: column;
    }

}

@media (max-width: 600px) {

    #calculate-estimate {
        max-width: 100%;
        margin: 16px 16px;
    }

    .section-container {
        margin: 20px 16px;
    }

    .feetAndInchesContainer,
    .dob {
        /*flex-direction: column*/
    }

    /*    .option-group>div {
        flex-direction: column
    }*/

}

/* text area */
.section-container .details-text-input {
    border-radius: 8px;
    border: 2px solid var(--border-light);
    padding: 15px 20px;
    width: 100%;
    resize: none;
    margin-top: 10px;
    margin-bottom: 10px;
}

.section-container .question-note {
    font-size: 0.875rem;
    line-height: 1.3em;
    font-weight: 400;
    margin-bottom: 0px;
    color: var(--color-note-muted)
}

#btnBack {
    border: none;
    background: transparent;
    cursor: pointer
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--color-overlay);
}

.modal-content {
    background: var(--color-white);
    width: 90%;
    max-width: 800px;
    margin: 5% auto;
    padding: 25px;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h2 {
    font-size: 20px;
    line-height: 32px
}

.modal-content p {
    font-size: 16px;
    line-height: 32px
}

.close-modal {
    float: right;
    font-size: 22px;
    cursor: pointer;
}

.link-btn {
    background: none;
    border: none;
    color: var(--color-link);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    text-decoration: underline;
}




/* graph start */

.graph-container .graph-block {
    text-align: center;
    margin-top: 64px;
    margin-bottom: 34px;
}

.graph-container .graph-wrapper {
    justify-content: center;
    align-items: stretch;
    padding-left: 16px;
    padding-right: 16px;
    display: block;
    position: relative;
}

.graph-container .graph-images {
    position: relative;
}

.graph-container .graph-dates {
    border-top: 1px solid var(--color-graph-purple);
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 16px;
    padding-bottom: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1em;
    display: flex;
}

.graph-container .result-graph-image {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    position: relative;
    /* filter: sepia(1); */
}

.graph-container .graph-line-image {
    z-index: 800;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    /* filter: sepia(1); */
}

.graph-container .graph-lines {
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 40px;
    display: flex;
    position: absolute;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
}

.graph-container .graph-horizontal-line {
    background-color: var(--color-graph-purple);
    width: 100%;
    height: 1px;
}

.graph-container .graph-goal {
    z-index: 900;
    justify-content: center;
    align-items: flex-start;
    width: 70px;
    min-width: 70px;
    display: flex;
    position: absolute;
    top: 0;
    bottom: 0;
}

.graph-container .graph-goal.start {
    margin-top: -39px;
    left: 2%;
}

.graph-container .graph-goal.finish {
    top: auto;
    bottom: 29%;
    right: 15px;
}

.graph-container .pop {
    background-color: var(--color-pop-bg);
    border: 4px solid var(--color-white);
    color: var(--color-pop-text);
    border-radius: 100%;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1em;
    display: flex;
}

.graph-container .pop.goal {
    background-color: var(--color-pop-bg);
    ;
    border: 4px solid var(--color-white);
    border-radius: 45px;
    color: var(--color-pop-text);
    width: auto;
    min-width: 100px;
    height: 0;
    min-height: 70px;
    padding: .5rem;
}

.graph-container .pop-metric {
    margin-bottom: 0;
    font-size: 10px;
    line-height: .8em;
}

.graph-container .pop-num {
    margin-top: 4px;
    margin-bottom: 2px;
    font-size: 16px;
    line-height: .8em;
}

.graph-container .pop-emote {
    margin-top: -27px;
    margin-bottom: 14px;
    font-size: 35px;
    position: relative;
    left: 9px;
}

.graph-container .goal-date {
    background-color: var(--color-pop-bg);
    border-radius: 8px;
    padding: 10px 16px 8px;
}

.graph-container .graph-date-txt {
    margin-left: auto;
    margin-right: auto;
    line-height: .8em;
}

.graph-container .graph-date-txt.goal-date {
    margin-right: 0;
    font-weight: 400;
}

.graph-container .graph-date-txt.start {
    position: relative;
    left: -33px;
}

.graph-container .graph-date-txt.mid {
    margin-left: auto;
}


/* graph end */


@media only screen and (max-width: 425px) {

    /* .section-container {
        max-width: 650px;
        margin: 40px auto;
        font-family: 'Poppins', sans-serif;
        color: #1d1d1f;
    } */
    .consentOptions {
        flex-direction: column !important;
        margin: 0px;

    }

    .section-container {
        margin: 26px 16px;
    }

    .question-container {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        gap: 12px;
    }

    .form-group {
        margin-bottom: 0px !important;
    }

    .details-section {
        margin-top: 15px !important;
    }



    .pace-question {
        font-size: 18px;
        margin: 20px 0;
        line-height: 28px;
        font-weight: 600;
    }

    .glp-list {
        background-color: var(--bg-purple-xlight);
        padding: 15px 15px 0 15px;
        border-radius: 10px;
    }

    .glp-list .pace-subtitle {
        padding-bottom: 15px;
        line-height: 20px;
    }

    .pace-subtitle {
        font-size: 16px;
        line-height: 24px;
        font-weight: 500;
    }

    .pace-title {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.4;
    }

    .pace-title .highlight {
        color: var(--primary-color);
        font-weight: 600;
    }

    /* input fields */
    .section-container .details-text-input {
        border-radius: 8px;
        border: 2px solid var(--border-light);
        background: var(--color-white);
        padding: 12px 15px;
        /**/
        width: 100%;
        resize: none;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .section-container textarea,
    .section-container input[type="text"] {
        border-radius: 8px;
        border: 1px solid var(--border-light);
        background: var(--color-white);
        padding: 8px;
        /**/
        font-weight: 500;
        width: 100%;
        min-height: auto;
        resize: none;
        margin-top: 10px;
        background: transparent;
    }

    .mt-res {
        margin-top: 10px;
    }

    .option-group .option-card .icon {
        font-size: 44px;
    }

    .option-group .option-card .icon img {
        width: 44px;
    }

    .option-group2 .option-card {
        flex: 1;
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 8px 8px;
        border: 1px solid var(--border-light);
    }

    .option-group2 .option-card input[type="radio"] {
        margin-top: 2px;
    }

    .option-group2 {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 10px 0px 10px 0px;
    }

    .review-stats {
        gap: 8px;
    }

    .review-stats .review-pill>div {
        border-radius: 50px;
        padding: 12px 20px;
    }

    .review-pill .units {
        font-weight: 500;
        font-size: 11px;
    }


}