body {
    font-family: "Chakra Petch", sans-serif;
    color: #000;
    max-width: 1024px;
    margin: 0 auto;
}

a {
    color: #30B8F8;
}


.btn-primary,
.btn-primary:hover {
    background: #30B8F8;
    border-color: #30B8F8;
}

.btn-primary:hover {
    background: #30B8F8 !important;
    color: #fff !important;
}

.btn-success,
.btn-success:hover {
    background: #169F7B;
    border-color: #169F7B;
}

.btn {
    border-radius: 24px;
    font-size: 27px;
}

.btn-check:checked+.btn,
.btn-primary.active,
.btn-primary.show,
.btn-primary:first-child:active,
:not(.btn-check)+.btn:active {
    border-color: #30B8F8;
    background: #30B8F8 !important;
    color: #fff !important;
}

.btn-outline-primary,
.btn-outline-primary:hover {
    border-color: #30B8F8 !important;
    color: #30B8F8;
    background: transparent !important;
}

.btn-outline-primary:hover {
    color: #30B8F8 !important;
}

.border-success {
    border: 1px solid #169F7B;

}

.bg-light {
    background: #F7F7F8;
    padding-bottom: 2px;
}

.card {
    border-radius: 16px;
    padding: 10px;
}

.homeArea .card {
    min-height: 178px;
}

.text-title {
    top: 40px;
    right: 10px;
    text-align: right;
    background: rgba(255, 255, 255, 0.8);

    /* Add these CSS properties to handle text truncation */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40%;
    /* Adjust this width based on your design */
}

.active.nav-pill {
    background: #30B8F8;
    border-radius: 100%;
    color: #fff;
    text-align: center;
    width: 40px;
    height: 40px;
    padding: 0;
    padding-top: 8px;

}

.nav-step span.line {
    height: 2px;
    background: #30B8F8;
    position: absolute;
    display: inline-block;
    width: 26px;
    top: 18px;
    z-index: -1;
}

.nav-pill {
    background: #fff;
    border-radius: 100%;
    border: 1px solid #30B8F8;
    color: #30B8F8;
    text-align: center;
    width: 40px;
    height: 40px;
    padding: 0;
    padding-top: 8px;
    margin-left: 18px;
}


.form-label-choice{
    font-size: 27px;
    display:unset;
}

::placeholder {
    text-align: center;
}

.stepArea {
    margin-top: -20px;
}

.stepArea .nav-item {
    position: relative;
}

.documentTestArea .form-label {
    color: #169F7B;
    font-size: 16px;
    margin-bottom: 0;
}

.sleelessQuestionArea .form-label {
    color: #855c9d;
    font-size: 16px;
    margin-bottom: 0;
}

.sleelessQuestionArea .form-check-input:checked {
    background-color: #855c9d !important;
    border-color: #855c9d !important;
}

.ridingriskQuestionArea .form-label {
    color: #c84653;
    font-size: 16px;
    margin-bottom: 0;
}

.ridingriskQuestionArea .form-check-input:checked {
    background-color: #c84653;
    border-color: #c84653;
}


/* radio button */
.form-check-input:checked {
    background-color: #30B8F8;
    border-color: #30B8F8;
    width: 50px;
    height: 50px;
    text-align: center;
}

.form-check-input {
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 50px;
    height: 50px;
    float: none !important;
    margin: 0 !important;
}

.card-primary .form-check-input:checked {
    background-color: #169F7B;
    border-color: #169F7B;
    width: 30px;
    height: 30px;
    text-align: center;
}

.card-primary .form-check-input {
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 30px;
    height: 30px;
    float: none !important;
    margin: 0 !important;
}

.nav-link:focus,
.nav-link:hover {
    color: #30B8F8;
}

.table.text-green,
.table.text-green>:not(caption)>*>* {
    color: #169F7B !important;
    font-weight: normal;
}

.alert-success-2 {
    --bs-alert-bg: #25BF00;
    color: #fff;
}

.alert-warning-2 {
    color: #fe8200;
}

.alert-danger-2 {
    color: #d33142;
}

.boxArea {
    min-height: 700px;
}

.humanArea {
    max-width: 1024px;
    width: 320px;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}

.human {
    background-image: url(./img/h-1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 305px;
    height: 545px;
}

.humanChecking .form-label {
    background: rgb(255, 255, 255, 0.8);
}

.human-fat {
    background-image: url(./img/h-3.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 305px;
    height: 545px;


}

.human-2 {
    background-image: url(./img/h-2.png);
    background-repeat: no-repeat;
    background-position: center;
    height: 545px;
    background-size: 305px;


}

.humanResultFront {
    background-image: url(./img/h-front-check.png);
    background-repeat: no-repeat;
    background-position: center;
    height: 645px;
    background-size: 305px;
}

.humanResultBack {
    background-image: url(./img/h-back-check.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 305px;
    height: 645px;
}

.humanChecking .card {
    min-height: 142px;
}

.card-primary {
    background: #ff9546;
    border: 1px solid #30B8F8;
}

.text-h1 {
    bottom: 30px;
    position: absolute;
    right: 0;
    background: none !important;
    font-size: 27px;
}

.text-h2 {
    bottom: 40px;
    position: absolute;
    left: -15px;
    background: none !important;
    font-size: 27px;
}

.text-h3 {
    bottom: -127px;
    position: absolute;
    right: 0;
    background: none !important;
    font-size: 27px;
}

.text-h4 {
    bottom: -80px;
    position: absolute;
    left: 5px;
    background: none !important;
    font-size: 27px;
}

.text-h5 {
    bottom: 0px;
    position: absolute;
    right: -114px;
    background: none !important;
    font-size: 27px;
}

.text-h6 {
    bottom: -108px;
    position: absolute;
    background: none !important;
    font-size: 27px;
    right: 0;
}

.text-h7 {
    bottom: -70px;
    position: absolute;
    right: 0;
    background: none !important;
    font-size: 27px;
}

.text-h8 {
    bottom: -40px;
    position: absolute;
    left: -8px;
    background: none !important;
    font-size: 27px;
}

.text-h9 {
    bottom: -6px;
    position: absolute;
    left: 8px;
    background: none !important;
    font-size: 27px;
}

.text-h10 {
    bottom: -110px;
    position: absolute;
    right: 0;
    background: none !important;
    font-size: 27px;
}

.humanCheckingArea {
    height: 605px;
}

.text-green {
    color: #169F1B;
}

.text-red {
    color: #FF3B00;
}

.text-orange {
    color: #30B8F8;
}

.text-purple {
    color: #30B8F8;
}

.bg-primary-2 {
    background: #30B8F8;
    border-color: #30B8F8;
    ;
    color: #fff;
}

.card-img-top {
    width: 150px;
    margin: 0 auto;
}

.logo-rider {
    height: 40%;
}

.pointArea {
    position: relative;
}

.yellow-p {
    background: rgba(255, 173, 18, 0.9);
    border: 1px solid #F4D700;
}

.red-p {
    background: rgba(255, 59, 0, 0.9);
    border: 1px solid #F4D700;
}

.green-p {
    background: rgba(36, 191, 1, 0.9);
    border: 1px solid #177B00;
}

.neck-muscles {
    top: 133px;
    left: 150px;
}

.upper-arm-muscles-left {
    top: 204px;
    left: 193px;
}

.back-neck-muscles {
    top: 172px;
    left: 130px;
}

.hip-muscles {
    top: 280px;
    left: 130px;
}

.leg-muscles {
    top: 424px;
    left: 130px;
}

.chest-muscles {
    top: 169px;
    left: 181px;
}

.lateral-neck-muscles {
    top: 152px;
    left: 114px;
}

.forearm-muscles {
    top: 250px;
    left: 224px;
}

.lateral-muscles {
    top: 234px;
    left: 120px;
}

.anterior-thigh-muscles {
    top: 352px;
    left: 175px;
}

.point {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    -webkit-box-shadow: 10px 10px 12px -4px rgba(0, 0, 0, 0.18);
    -moz-box-shadow: 10px 10px 12px -4px rgba(0, 0, 0, 0.18);
    box-shadow: 10px 10px 12px -4px rgba(0, 0, 0, 0.18);
}

.form-check-login {
    width: 40px;
    height: 40px;
}

.form-check-label {
    font-size: large;
}

.custom-file-input {
    display: none;
}

.custom-file-label {
    cursor: pointer;
}

#loading {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    z-index: 1000;
    color: #d1d1d1;
}

.landing-page-body,
.landing-page-html {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.landing-page-body img {
    max-width: 100%;
    height: auto;
}

.question-hightlight {
    color: #30B8F8;
}

.disable-click {
    pointer-events: none;
}

.disable-click a {
    pointer-events: none;
}

.result-value {
    color: dimgray;
    font-size: 1.25rem;
}

.large-icon {
    font-size: 3rem;
}

.card-number .active {
    border: 1px solid #30B8F8;
    background: #30B8F8;
    color: #fff;
    text-decoration: none;
}

.card-number a {
    text-decoration: none;
}

.form-label {
    font-size: 27px;
}

::placeholder {
    text-align: center;
}

.stepArea {
    margin-top: -20px;
}

.stepArea .nav-item {
    position: relative;
}

.slidebar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.slidebar {
    overflow-x: auto;
    flex: 1;
    scroll-behavior: smooth;
    display: flex;
    justify-content: center;
}

.slidebar-content {
    display: flex;
    align-items: center;
    width: max-content;
}

.slide-item {
    margin-right: 1%;
    margin-left: 0%;
}

.scroll-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 26px;
    position: absolute;
    z-index: 1;
    display: none;
    /* Initially hidden, displayed conditionally via JavaScript */
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}

.form-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.img-restricted {
    max-width: 100px;
    max-height: 100px;
}

.cartoon-selection-container {
    max-width: 100%;
    margin: 0 auto;
}

.cartoon-grid-display {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
    white-space: nowrap;
}

.cartoon-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
    background-color: white;
    border: 2px solid transparent;
    flex-shrink: 0;
    min-width: 100px;
}

.cartoon-item:hover {
    transform: scale(1.05);
    border: 2px solid #30B8F8;
    box-shadow: 0 4px 8px rgba(84, 12, 85, 0.2);
}

.cartoon-item.selected {
    border: 3px solid #30B8F8 !important;
    background-color: rgba(84, 12, 85, 0.1);
    box-shadow: 0 0 15px rgba(84, 12, 85, 0.5);
}

.cartoon-option {
    width: 100px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cartoon-number {
    margin-top: 5px;
    font-size: 12px;
    font-weight: bold;
    color: #30B8F8;
}

@media (max-width: 768px) {
    .cartoon-grid-display {
        gap: 10px;
        padding: 15px;
    }
    
    .cartoon-option {
        width: 100px;
        height: 150px;
    }
    
    .cartoon-item {
        padding: 8px;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .cartoon-grid-display {
        gap: 8px;
        padding: 10px;
    }
    
    .cartoon-option {
        width: 100px;
        height: 150px;
    }
    
    .cartoon-item {
        min-width: 70px;
    }
}

@media (max-width: 768px) {
    .form-check-label {
        font-size: 12px;
    }

    .slide-item {
        min-width: 90px;
    }

    .result-value {
        font-size: 1rem;
    }

    .card .summaryscore {
        min-width: 15%
    }

    .card .summarymoji {
        min-width: 15%
    }

    .card .summarytext {
        min-width: 20%
    }

}

@media (max-width: 500px) {

    .card .summaryscore {
        min-width: 15%
    }

    .card .summarymoji {
        min-width: 15%
    }

    .card .summarytext {
        min-width: 55%
    }

    .card .summarycompare {
        margin-top: 5%
    }

    .img-restricted {
        max-width: 70px;
        max-height: 70px;
    }
}

/* Container to control the overflow and hide content when scrolling left */
.scroll-container {
    position: relative;
    overflow: hidden;
    /* Hide overflow content */
}

@media (max-width: 500px) {
    .table-responsive {
        max-height: 400px;
        overflow-x: scroll;
    }
}

.sticky-col {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background-color: #fff;
    /* Background to avoid overlap issues */
    z-index: 2;
    /* Ensure column stays on top */
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 3;
    /* Ensure header stays above the content */
    background-color: #fff;
    /* Match table background */
}

.sticky-header.sticky-col {
    z-index: 4;
    /* Ensure the intersection of header and column has highest priority */
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    background-color: #30B8F8;
    border-color: #30B8F8; 
}

.form-select {
    font-size:1.5em;
}

.form-control{
    font-size:1.5em;
}