
body {
    font-family: 'Lato', sans-serif;
}

    body::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
        border-radius: 10px;
        background-color: #fff;
    }

    body::-webkit-scrollbar {
        width: 10px;
        background-color: #fff;
    }

    body::-webkit-scrollbar-thumb:hover {
        background-color: rgb(185, 184, 184);
    }

    body::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
        background-color: rgb(204, 203, 203);
    }

    .container {
        overflow-x: clip;
    }

.odd-row {
    background-color: #c7c7c7;
}

.home-section {
    background: linear-gradient(90deg, rgba(235, 235, 235, 1) 0%, rgba(150, 193, 197, 1) 100%);
}

.home {
    background: url("../img/home.png");
    height: 100vh;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.btn-learn-now {
    border: none;
    border-radius: 2rem;
    width: 14rem;
    font-size: 1rem;
}

.btn-learn-now:hover {
    background-color: rgba(242, 111, 51, 0.8);
}

.btn-complete {
    border: none;
    border-radius: 2rem;
    width: 14rem;
    font-size: 1rem;
}

.btn-complete:hover {
    background-color: rgba(242, 111, 51, 0.8);
}

.home-group-btn {
    top: 60% !important;
    width: 65.6%;
}

.footer {
    background-color: #144e8c;
    font-size: 1rem;
}

.footer ul {
    padding: 0;
    margin: 0;
}

.footer-list-first {
    list-style: none;
}

.footer-list {
    list-style: none;
    padding-left: 4rem;
    margin-bottom: 1rem;
}

.footer-title {
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-title a {
    color: #fff;
    text-decoration: none;
}

.footer-title a:hover {
    text-decoration: underline;
}

.footer-icon {
    margin-top: 10px;
}

.footer-icon a {
    color: #fff;
    margin-right: 10px;
    text-decoration: none;
    font-size: 1.5rem;
}

.footer-icon a:last-child {
    margin-right: 0;
}

.footer-logo {
    user-select: none;
    max-width: 3.5rem;
    margin-bottom: 1rem;
}

.footer-none-mobile {
    display: block;
}

.footer-yes-mobile {
    display: none;
}

.background {
    background-image: url('../img/background.png');
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 14rem;
}

.description {
    margin-top: 6rem;
    margin-bottom: 3rem;
}

.method-section {
    font-size: 1rem;
}

.method-section .container {
    padding-right: 3rem;
    padding-left: 3rem;
}

.method {
    position: relative;
    margin-bottom: 5rem;
}

.method-img {
    opacity: 0.96;
    position: absolute;
    width: 300px;
}

.method-content {
    border-radius: 2rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    padding-left: 10rem;
    cursor: pointer;
}

.method-content__title {
    color: #144e8c;
    font-size: 1.2rem;
    font-weight: 500;
}

.method-content__author {
    font-size: 0.9rem;
}

.method-content__description {
    font-size: 0.8rem;
    line-height: 1rem;
}

.method-content__rating {
    font-size: 0.7rem;
    color: #F05A22;
}

.method-content__icon {
    text-align: right;
}

.modal-content {
    border: none;
}

.btn-close-modal {
    float: right;
    font-weight: bold;
}

.modal-title {
    font-weight: bold;
    color: #F05A22;
}

.holland-section {
    font-size: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

    .holland-section .container {
        padding-right: 3rem;
        padding-left: 3rem;
    }

.user-info-section {
    font-size: 1rem;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.user-info-section .container {
    padding-right: 3rem;
    padding-left: 3rem;
}

.holland-explain {
    padding: 0.5rem;
    box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
    border-radius: 0.5rem;
    max-width: 420px;
    margin-bottom: 4rem;
}

    .holland-explain p {
        font-weight: 500;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

.mbti-section {
    font-size: 1rem;
    padding-top: 10rem;
    padding-bottom: 2rem;
}

.mbti-section .container {
    padding-right: 3rem;
    padding-left: 3rem;
}

.result-section {
    font-size: 1rem;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.star-checked {
    color: #F05A22;
}

.secondary-color {
    color: #F05A22;
}

.holland-explain-answer {
    line-height: 1.2rem;
}

.holland-question {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.holland-question-number {
    color: #144E8C;
}

    .holland-question-number .number {
        font-size: 1.5rem;
        font-weight: 500;
        user-select: none;
    }

.holland-question-number .number-angles-right {
    font-size: 0.6rem;
}

.holland-question-content {
    color: #144E8C;
    font-size: 1.25rem;
    font-weight: 500;
    user-select: none;
}

.mbti-question {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.mbti-question-number {
    color: #144E8C;
}

    .mbti-question-number .number {
        font-size: 1.5rem;
        font-weight: 500;
        user-select: none;
    }

.mbti-question-number .number-angles-right {
    font-size: 0.6rem;
}

.mbti-question-content {
    color: #144E8C;
    font-size: 1.25rem;
    font-weight: 500;
    user-select: none;
}

.holland-question-star-group {
    margin-left: 2rem;
}

    .holland-question-star-group .star {
        font-size: 1.2rem;
        margin: 0.3rem;
        cursor: pointer;
        user-select: none;
    }

.holland-pagination .holland-pagination-previous {
    margin-right: 1rem;
}

.holland-pagination .holland-pagination-next {
    margin-left: 1rem;
    cursor: pointer;
}

.holland-pagination-disable {
    color: rgb(192, 191, 191);
}

.mbti-pagination .mbti-pagination-previous {
    margin-right: 1rem;
}

.mbti-pagination .mbti-pagination-next {
    margin-left: 1rem;
    cursor: pointer;
}

.mbti-pagination-disable {
    color: rgb(192, 191, 191);
}


.btn-complete .icon-right {
    font-size: 0.8rem;
}

.mbti-answer {
    cursor: pointer;
    width: fit-content;
    background-color: #144E8C;
    margin: 0.5rem 0;
    border-radius: 1.5rem;
    position: relative;
}

.mbti-answer:hover {
    background-color: #144E8C;
}

.mbti-answer__content {
    color: #fff;
    font-size: 1rem;
    margin: 0.3rem 0.6rem 0.3rem 0;
    user-select: none;
}

.mbti-answer__circle {
    background-color: #fff;
    margin: 7px 9px 7px 7px;
    border-radius: 50%;
    max-width: 20px;
    max-height: 20px;
    min-width: 20px;
    min-height: 20px;
    width: 20px;
    height: 20px;
    text-align: center;
}

.mbti-answer__circle--symbol {
    color: #144e8c;
    font-weight: 500;
    line-height: 20px;
    font-size: 1rem;
    user-select: none;
}

.mbti-answer--active {
    background-color: #F05A22;
}

.mbti-answer--active:hover {
    background-color: #F05A22;
}

.mbti-answer--active .mbti-answer__circle--symbol {
    color: #F05A22;
}

.mbti-answer--active::before {
    content: '';
    position: absolute;
    border-color: #F05A22;
    border-style: solid;
    border-width: 0 0.3em 0.25em 0;
    height: 1em;
    top: 53%;
    left: -1.4em;
    margin-top: -0.7em;
    transform: rotate(45deg);
    width: 0.5em;
}

.famous-people {
    width: 30%;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    max-width: 430px;
    max-height: 290px;
    min-width: 110px;
    min-height: 120px;
}

.famous-people__first {
    width: 32%;
    position: absolute;
    height: 50%;
    top: 4%;
    right: 36%;
}

.famous-people__second {
    width: 32%;
    position: absolute;
    height: 50%;
    top: 37%;
    right: 2%;
}

.famous-people__third {
    width: 32%;
    position: absolute;
    height: 50%;
    top: 53%;
    right: 56%;
}

.famous-people__first--img {
    width: 100%;
    height: 64%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    max-height: 93px;
}

.famous-people__first--title {
    color: #144e8c;
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
}

.famous-people__second--img {
    width: 100%;
    height: 64%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.famous-people__second--title {
    color: #144e8c;
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
}

.famous-people__third--img {
    width: 100%;
    height: 64%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.famous-people__third--title {
    color: #144e8c;
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
}

.result-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: #144e8c;
    margin-bottom: 5%;
}

.result-title__horizontal-line {
    border-bottom: 1px solid #144e8c;
    width: 20px;
    margin: 0 10px;
}

.result-description__title {
    font-size: 1rem;
    font-weight: 700;
    color: #144e8c;
}

.result-description__content {
    font-size: 1rem;
    text-align: justify;
}

.celebrity-table {
    border: 1px solid #8e8e8e;
    font-size: 1rem;
}

    .celebrity-table th {
        font-weight: 700;
        color: #144e8c;
        border: 1px solid #8e8e8e;
        padding: 0.75rem;
    }

    .celebrity-table td {
        border: 1px solid #8e8e8e;
        padding: 0.75rem;
    }

    .celebrity-table td p {
        color: #F05A22;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

.mbti-symbol {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mbti-symbol-group {
    display: flex;
    flex-direction: column;
}

.mbti-symbol p {
    font-weight: 900;
    color: #144e8c;
    font-size: 3rem;
    margin-bottom: 0;
}

    .mbti-symbol div {
        color: #F05A22;
        margin-bottom: 0.25rem;
    }

    .mbti-symbol .highlight {
        color: #144e8c;
    }

.result-table {
    font-size: 1rem;
}

.result-table th {
    text-align: center;
    font-weight: 700;
    border: 1px solid #8e8e8e;
    padding: 0.75rem;
}

.result-table td {
    border: 1px solid #8e8e8e;
    padding: 0.75rem;
    min-width: 300px;
}

    .result-table td a {
        color: rgba(0, 0, 0, 0.7) !important;
        text-decoration: none;
    }

    .result-table td a:hover {
        color: #F05A22 !important;
        text-decoration: underline;
    }

.result-note {
    font-size: 1rem;
}

    .result-note .result-note__title{
        font-weight: bold;
        color: #144e8c;
    }

    .result-note .result-note__link {
        text-decoration: none;
        color: #144e8c;
    }

    .result-note .result-note__link:hover {
        text-decoration: underline;
        color: #F05A22;
    }

    .result-advice {
        font-size: 1rem;
    }

    .result-advice .result-advice__title {
        font-weight: bold;
        color: #144e8c;
    }

.back-method {
    font-size: 1rem;
    float: right;
}

    .back-method a {
        text-decoration: none;
        color: rgba(0,0,0,0.7);
    }

    .back-method a:hover {
        text-decoration: underline;
        color: #F05A22;
    }

.back-method .icon-right {
    font-size: 0.9rem;
}

.mbti-symbol-mobile {
    display:none;
}

.holland-symbol {
    font-weight: 700;
    color: #144e8c;
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .btn-learn-now {
        width: 10rem;
        font-size: 0.9rem;
    }
    .btn-complete {
        width: 14rem;
        line-height: 1.6rem;
        font-size: 1rem;
    }
    .home-group-btn {
        top: 56% !important;
        width: 63%;
    }
    .footer-list-first {
        padding-left: 1.5rem;
    }
    .footer-list {
        padding-left: 1.5rem;
    }
    .footer-icon {
        margin-top: 0;
    }
    .method-section {
        font-size: 0.8rem;
        padding-top: 1rem !important;
    }
    .method-section .container {
        padding-right: 0;
        padding-left: 0;
    }
    .method {
        margin-bottom: 2rem;
    }
    .description:last-child {
        margin-top: 0;
        margin-bottom: 0;
    }
    .description:last-child p {
        margin-top: 0;
        margin-bottom: 0;
    }
    .method-img {
        width: 270px;
    }
    .method-content__title {
        font-size: 1rem;
    }
    .method-content__author {
        font-size: 0.9rem;
    }
    .method-content__description {
        font-size: 0.8rem;
    }
    .method-content__rating {
        font-size: 0.7rem;
    }
    .background {
        background-size: 10rem;
    }
    .holland-explain {
        margin-bottom: 3rem;
    }
    .holland-question {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
        .mbti-section {
            padding-top: 6rem;
        }

        .result-section {
            padding-top: 6rem;
        }

    .famous-people {
        max-height: 150px;
    }

    .famous-people__first {
        top: 0%;
        right: 38%;
    }

    .famous-people__second {
        top: 30%;
    }

    .famous-people__third {
        top: 38%;
        right: 68%;
    }

    .famous-people__first--title {
        font-size: 0.8rem;
        margin-top: 0;
    }

    .famous-people__second--title {
        font-size: 0.8rem;
        margin-top: 0;
    }

    .famous-people__third--title {
        font-size: 0.8rem;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .btn-learn-now {
        width: 6.1rem;
        line-height: 0.6rem;
        font-size: 0.5rem;
    }

    .btn-complete {
        width: 13rem;
        line-height: 1.4rem;
        font-size: 0.9rem;
    }

    .home-group-btn {
        top: 54% !important;
    }

    .footer-none-mobile {
        display: none;
    }

    .footer-yes-mobile {
        display: block;
    }

    footer.footer {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 1rem;
        font-size: 0.8rem;
    }

    .footer-icon a {
        font-size: 1.5rem;
    }

    .method-section {
        font-size: 0.8rem;
        padding-top: 1rem !important;
    }

        .method-section .container {
            padding-right: 1rem;
            padding-left: 1rem;
        }

    .method {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .description:first-child {
        margin-top: 3rem;
    }

    .description:last-child {
        margin-top: 0;
        margin-bottom: 0;
    }

        .description:last-child p {
            margin-top: 0;
            margin-bottom: 0;
        }

    .method-img {
        position: relative;
        width: 13rem;
        margin-bottom: 1rem;
    }

    .method-content {
        border-radius: 0.5rem;
        padding: 1.5rem !important;
    }

    .method-content__title {
        font-size: 0.9rem;
    }

    .method-content__author {
        font-size: 0.8rem;
    }

    .method-content__description {
        font-size: 0.7rem;
    }

    .method-content__rating {
        font-size: 0.6rem;
    }

    .background {
        background-size: 5rem;
    }

    .holland-section {
        font-size: 0.9rem;
        padding-top: 4rem;
    }

        .holland-section .container {
            padding-right: 1rem;
            padding-left: 1rem;
        }

    .user-info-section {
        font-size: 0.9rem;
        padding-top: 4rem;
    }

        .user-info-section .container {
            padding-right: 1rem;
            padding-left: 1rem;
        }

    .mbti-section {
        font-size: 0.9rem;
        padding-top: 2rem;
    }

        .mbti-section .container {
            padding-right: 1rem;
            padding-left: 1rem;
        }

    .result-section {
        font-size: 0.9rem;
        padding-top: 1rem;
    }

        .result-section .container {
            padding-right: 1rem;
            padding-left: 1rem;
        }

    .holland-explain {
        margin-bottom: 2rem;
    }

        .holland-explain p {
            font-weight: 500;
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

    .holland-explain-answer {
        line-height: 1.2rem;
    }

    .holland-question {
        font-size: 0.9rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .holland-question-number .number {
        font-size: 1rem;
    }

    .holland-question-content {
        font-size: 0.9rem;
    }

    .mbti-question {
        font-size: 0.9rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .mbti-question-number .number {
        font-size: 0.9rem;
    }

    .mbti-question-content {
        font-size: 0.9rem;
    }

    .holland-question-star-group .star {
        font-size: 1.1rem;
    }

    .btn-complete .icon-right {
        font-size: 0.8rem;
    }

    .mbti-answer__content {
        font-size: 0.9rem;
        margin: 0 0.6rem 0 0;
    }

    .mbti-answer__circle {
        min-height: 16px;
        min-width: 16px;
        width: 16px;
        height: 16px;
    }

    .mbti-answer__circle--symbol {
        line-height: 16px;
    }

    .famous-people {
        max-height: 75px;
    }

    .famous-people__first {
        top: 0%;
        right: 38%;
    }

    .famous-people__second {
        top: 30%;
    }

    .famous-people__third {
        top: 38%;
        right: 68%;
    }

    .famous-people__first--title {
        font-size: 0.5rem;
        margin-top: 0;
    }

    .famous-people__second--title {
        font-size: 0.5rem;
        margin-top: 0;
    }

    .famous-people__third--title {
        font-size: 0.5rem;
        margin-top: 0;
    }

    .result-title {
        font-size: 1.1rem;
        font-weight: 900;
    }

    .result-description__title {
        font-size: 0.9rem;
    }

    .result-description__content {
        font-size: 0.9rem;
    }

    .mbti-symbol {
        display: none;
    }

    .celebrity-img {
        width: 100%;
    }

    .result-description__title {
        font-size: 0.9rem;
    }

    .result-description__content {
        font-size: 0.9rem;
    }

    .celebrity-table {
        font-size: 0.9rem;
    }

    .result-table {
        font-size: 0.9rem;
    }

    .result-note {
        font-size: 0.9rem;
    }

    .result-advice {
        font-size: 0.9rem;
    }

    .back-method {
        font-size: 0.9rem;
    }

    .mbti-symbol-mobile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .mbti-symbol-mobile-group {
        display: flex;
        flex-direction: column;
    }

        .mbti-symbol-mobile p {
            font-weight: bold;
            color: #144e8c;
            font-size: 2rem;
            margin-bottom: 0;
        }

        .mbti-symbol-mobile div {
            font-weight: bold;
            color: #F05A22;
            margin-bottom: 0.25rem;
        }

        .mbti-symbol-mobile .highlight {
            font-weight: bold;
            color: #144e8c;
        }

    .holland-symbol {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 320px) {
    .home-group-btn {
        top: 55% !important;
    }
}


.holland-question-star-group .star {
  font-size: 24px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  margin: 0 3px;
}

.holland-question-star-group .star:hover {
  transform: scale(1.15);
}

.holland-question-star-group .tooltip-bubble {
  visibility: hidden;
  opacity: 0;
  background-color: #F05A22;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 10px;
  position: absolute;
  z-index: 1000;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  transition: opacity 0.3s;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.holland-question-star-group .tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -4px;
  border-width: 4px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.holland-question-star-group .star:hover .tooltip-bubble {
  visibility: visible;
  opacity: 1;
}

/* Màu sao - ưu tiên cao hơn JavaScript */
.holland-question-star-group .star i {
  color: #ddd !important;
  transition: color 0.3s;
}

.holland-question-star-group .star:hover i {
  color: #F05a22 !important;
}

.holland-question-star-group input[type="radio"]:checked + .star i {
  color: #F05A22 !important;
}


.star {
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 24px;
}

.star:hover {
    transform: scale(1.1);
}