.tab-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: none;
    flex-direction: column;
}

.tab-section.active {
    display: flex;
}

.assessment-page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: black;
}

.assessment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.assessment-back-button {
    background: #151515;
    border: 3px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    padding: 2rem 3rem;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    min-width: 15rem;
    min-height: 5rem;
}

.assessment-header-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.assessment-help-button {
    background: #151515;
    border: 3px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    min-height: 5rem;
    min-width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    padding: 2rem 3rem;
}

.assessment-menu-button {
    background: #151515;
    border: 3px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    padding: 2rem 3rem;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    min-width: 15rem;
    min-height: 5rem;
}

.assessment-title-section {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.assessment-main-title {
    color: #FF6600;
    font-size: 3.5rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
    margin-left: 6rem;
}

.assessment-title-underline {
    height: 2px;
    background-color: #FF6600;
    margin-top: 1rem;
    margin-left: 6rem;
    margin-right: 6rem;
}

.assessment-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 6rem;
    margin-bottom: 2rem;
}

.assessment-card {
    border: 4px solid #5d2500;
    border-radius: 3rem;
    padding: 2rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#bodyCompositionCard {
    background-image: url('../image/img1.png');
    background-size: 50% 100%;
    background-position: right center;
    background-repeat: no-repeat;
}

#fitnessCard {
    background-image: url('../image/img2.png');
    background-size: 50% 100%;
    background-position: right center;
    background-repeat: no-repeat;
}

.assessment-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(21, 21, 21, 0.7);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

#bodyCompositionCard.selected {
    border-color: #FF6600;
    background-image: url('../image/img7.png'), url('../image/img1.png');
    background-size: 50% 100%, 50% 100%;
    background-position: right center, right center;
    background-repeat: no-repeat, no-repeat;
}

#fitnessCard.selected {
    border-color: #FF6600;
    background-image: url('../image/img7.png'), url('../image/img2.png');
    background-size: 50% 100%, 50% 100%;
    background-position: right center, right center;
    background-repeat: no-repeat, no-repeat;
}

.card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-title {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.title-line {
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin: 0;
    line-height: 1.1;
}

.title-first {
    color: #FF6600;
    font-size: 3.5rem;
    margin-bottom: 0.2rem;
}

.title-letter-b {
    font-size: 4.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.title-letter-f {
    font-size: 4.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.title-second {
    color: #ffffff;
    font-size: 3.5rem;
    margin-bottom: 0.2rem;
}

.title-third {
    color: #ffffff;
    font-size: 3.5rem;
}

.title-third-empty {
    height: 3.5rem;
    margin-bottom: 0.2rem;
}

.card-requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.requirement-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.requirement-text {
    color: #FF6600;
    font-size: 2rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.assessment-bottom {
    display: flex;
    justify-content: right;
    padding: 8rem 7.5rem;
    flex-shrink: 0;
}

.assessment-start-button {
    background: #FF6600;
    border: none;
    border-radius: 1rem;
    color: #000000;
    padding: 2rem 6rem;
    font-size: 3rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
    min-width: 25rem;
    height: 8rem;
    transition: all 0.3s ease;
}

.assessment-start-button:hover {
    background: #ff8833;
    transform: translateY(-2px);
}

.assessment-start-button:disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

/* 评估帮助弹窗样式 */
.assessment-help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.assessment-help-overlay.active {
    display: flex;
}

.assessment-help-modal {
    width: calc(100% - 12rem);
    max-height: 72vh;
    background: #151515;
    border-radius: 1.2rem;
    padding: 2.4rem 3.2rem 2.8rem;
    display: flex;
    flex-direction: column;
}

.assessment-help-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.8rem;
}

.assessment-help-modal-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
}

.assessment-help-modal-close {
    width: 4rem;
    height: 4rem;
    border: none;
    background-color: transparent;
    background-image: url('../icon/close.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    cursor: pointer;
}

.assessment-help-modal-body {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    padding-right: 1.5rem;
}

.assessment-help-modal-body h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    text-indent: 0;
}

.assessment-help-modal-body p {
    margin: 0;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    line-height: 1.6;
    text-indent: 2em;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
}

.assessment-help-modal-body .assessment-help-question + p,
.assessment-help-modal-body .assessment-help-question + ul {
    margin-top: 0;
    margin-bottom: 1.6rem;
    padding-left: 3rem;
    text-indent: 0;
}

.assessment-help-modal-body .assessment-help-question + ul {
    margin-left: 3rem;
    padding-left: 2rem;
}

.assessment-help-modal-body .assessment-help-section-label + p,
.assessment-help-modal-body .assessment-help-section-label + ul {
    margin-top: 0.4rem;
    margin-bottom: 1.6rem;
    padding-left: 3rem;
}

.test-report-help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.test-report-help-overlay.active {
    display: flex;
}

.test-report-help-modal {
    width: calc(100% - 12rem);
    min-height: 90rem;
    background: #151515;
    border-radius: 1.2rem;
    padding: 2.4rem 3.2rem 2.8rem;
    display: flex;
    flex-direction: column;
}

.test-report-help-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.8rem;
}

.test-report-help-modal-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
}

.test-report-help-modal-close {
    width: 4rem;
    height: 4rem;
    border: none;
    background-color: transparent;
    background-image: url('../icon/close.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.test-report-help-modal-close:hover {
    opacity: 0.7;
}

.test-report-help-modal-close:active {
    opacity: 0.5;
}

.test-report-help-modal-body {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    line-height: 1.6;
    text-align: justify;
    padding-right: 1.5rem;
}

.test-report-help-question {
    margin: 2rem 0 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
}

.test-report-help-modal-body p {
    margin: 0;
    padding-left: 3rem;
    text-align: left;
}

.test-report-help-modal-body .test-report-help-question + p {
    margin-top: 0;
    margin-bottom: 1.6rem;
    padding-left:6rem;
}

.test-report-help-modal-body .test-report-help-question:first-child {
    margin-top: 0;
}
.assessment-help-modal-body .assessment-help-no-justify {
    text-align: left;
    text-indent: 2em;
}

.assessment-help-modal-body p + p {
    margin-top: 0.8rem;
}

.assessment-help-modal-body ul {
    margin: 0.8rem 0 1.2rem 5rem;
    padding: 0;
    list-style: disc;
    color: #ffffff;
    font-size: 1.6rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    line-height: 1.6;
}

.assessment-help-modal-body li {
    margin-bottom: 0.4rem;
    text-indent: 0;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
}

.assessment-help-modal-body[lang="en"] p,
.assessment-help-modal-body[lang="en"] li {
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}

.assessment-help-modal-body[lang="en"] p {
    text-indent: 2em;
}

.assessment-help-modal-body[lang="en"] .assessment-help-question,
.assessment-help-modal-body[lang="en"] .assessment-help-subtitle,
.assessment-help-modal-body[lang="en"] .assessment-help-section-label {
    text-indent: 0;
}

.assessment-help-modal-body .assessment-help-subtitle {
    margin: 0.8rem 0 0.4rem;
    text-indent: 0;
    margin-left: -0.5em;
    font-weight: 600;
}

.assessment-help-modal-body .assessment-help-question {
    margin: 1.6rem 0 0.8rem;
    font-size: 1.8rem;
    font-weight: 400;
    text-indent: 0;
}

.assessment-help-modal-body .assessment-help-section-label {
    margin: 0.8rem 0 0.4rem;
    font-weight: 400;
    text-indent: 0;
}
