.homebrainhealth .sectionHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.homebrainhealth .sectionLegend {
    font-family: "Metropolis Regular";
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 16px;
    width: 90%;
}

.homebrainhealth .sectionTitle {
    font-family: "Metropolis Semi Bold";
    font-size: 20px;
    letter-spacing: 0.2px;
    font-weight: 700;
    color: #1a1a2e;
}

.homebrainhealth .seeAllLink {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 17px;
    font-family: "Metropolis Semi Bold";
    letter-spacing: 0.16px;
    color: #1a1a2e;
    cursor: pointer;
}

.homebrainhealth .seeAllLink:hover {
    opacity: 0.8;
}

.homebrainhealth .seeAllLink .arrowIcon {
    width: 6px;
    height: 6px;
    border-right: 2px solid #1a1a2e;
    border-bottom: 2px solid #1a1a2e;
    transform: rotate(-45deg);
}

.homebrainhealth .cardsSkeletonContainer {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.homebrainhealth .cardSkeleton {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    animation: skeleton-loading 1s linear infinite alternate;
}

.homebrainhealth .brainCardsContainer {
    margin-bottom: 20px;
}

.homebrainhealth .brainScoresContainer {
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.homebrainhealth .brainScoreRow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.homebrainhealth .brainScoresContainer .brainScores {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.homebrainhealth .brainScoreIconContainer {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.homebrainhealth .brainScoreIcon {
    width: 25px;
    height: 25px;
    object-fit: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.homebrainhealth .brainScoreTimeContainer {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.homebrainhealth .brainScoreTime {
    font-family: "Metropolis Semi Bold";
    font-size: 18px;
    letter-spacing: 0.18px;
    color: #1a1a2e;
}

.homebrainhealth .brainScoreLabel {
    font-family: "Metropolis Regular";
    font-size: 16px;
    color: #1a1a2e;
}

.homebrainhealth .brainIconImage {
    position: absolute;
    right: 15px;
    top: 50px;
}

.homebrainhealth .sectionError {
    text-align: center;
    padding: 24px 16px;
    color: #6b7280;
    font-size: 14px;
}

.homebrainhealth .neurotag-card-name {
    font-size: 16px;
    letter-spacing: 0.16px;
}

/* DARK MODE */
.dark .homebrainhealth .sectionTitle {
    color: rgba(255, 255, 255, 0.87);
}

.dark .homebrainhealth .sectionLegend {
    color: rgba(255, 255, 255, 0.6);
}

.dark .homebrainhealth .seeAllLink {
    color: white;
}

.dark .homebrainhealth .seeAllLink .arrowIcon {
    border-right-color: white;
    border-bottom-color: white;
}

.dark .homebrainhealth .cardSkeleton {
    animation: skeleton-loading-dark 1s linear infinite alternate;
}

.dark .homebrainhealth .brainScoreTime {
    color: rgba(255, 255, 255, 0.87);
}

.dark .homebrainhealth .brainScoreLabel {
    color: rgba(255, 255, 255, 0.6);
}

.dark .homebrainhealth .sectionError {
    color: rgba(255, 255, 255, 0.6);
}

.homebrainhealth .cardsSkeletonContainer.hide,
.homebrainhealth .brainCardsContainer.hide,
.homebrainhealth .brainScoresContainer.hide,
.homebrainhealth .sectionError.hide {
    display: none;
}

/* MOBILE */
@media (max-width: 1199px) {
    .homebrainhealth .brainScoresContainer .brainScores {
        flex-direction: column;
    }
}
