
.labels {
    display: inline-block;
    width: 40%;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    vertical-align: middle;
    font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
}

    .labels::before {
        content: "● ";
        color: black;
        /*color: #4f00ca;*/
        font-weight: bold;
    }

.inputsSelect {
    display: inline-block;
    width: 25%;
    padding: 3px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    vertical-align: middle;
    text-align: center;
    text-align-last: center;
    margin: 2px;
    font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
}

div#pnlInputs div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

#Questionnaire_Container {
    position: relative;
    margin-bottom: 30px;
    margin-top: 25px;
    padding: 20px;
    background-color: #E0E0FB;
    border: 1px solid #ccc;
    border-radius: 8px;
}

#Questionnaire_Body {
    margin-bottom: 20px;
    margin-top: 20px;
    position: relative;
}

#Questionnaire_Header {
    background-color: #20113E;
    margin-bottom: 30px;
    padding: 6px;
    color: #fff;
    box-sizing: border-box;
    font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
}

#Questionnaire_Warning {
    color: red; /* Sets the warning text color to red */
    font-weight: bold; /* Makes the warning text bold */
    margin-bottom: 15px; /* Adds spacing below the warning message */
    font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
    text-align:left;
}

#Questionnaire_Approval {
    color: rgba(0, 0, 0, 0.8);
    font-weight: bold; /* Makes the text bold */
    margin-bottom: 15px; /* Adds spacing below the Approval message */
    font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
    text-align: left;
}

/* Position submit button at the bottom edge of Main_Container */
.external-validate-btn {
    position: relative;
    text-align: center;
    margin-top: 20px;
    z-index: 1001;
}

    .external-validate-btn .btn {
        padding: 10px 20px;
        font-size: 16px;
        background-color: #4f00ca;
        color: #fff;
        border: none;
        border-radius: 2.5em;
        cursor: pointer;
        box-sizing: border-box;
        font-family: TTNormsProBold, arial, sans-serif;
    }

        .external-validate-btn .btn:hover {
            background-color: #C053EF;
        }

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.carousel {
    display: flex;
    width: 100%;
    flex: 1; /* Take up available space */
    min-height: 0; /* Allow shrinking */
}

.carousel-slide {
    display: none;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    flex: 1;
    min-height: fit-content;
}

    .carousel-slide:first-child {
        display: block;
    }


#Questionnaire_Container .carousel-nav {
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    background-color: #E0E0FB;
    color: white;
    border: none;
    /*    padding: 15px 20px;*/
    cursor: pointer;
    z-index: 1000;
    font-size: 70px;
    border-radius: 0px;
    transition: background-color 0.3s;
    color: rgba(75, 0, 202, 0.8);
}

    #Questionnaire_Container .carousel-nav:hover {
        background-color: #E0E0FB;
    }

    #Questionnaire_Container .carousel-nav.left {
        left: 160px;
    }

    #Questionnaire_Container .carousel-nav.right {
        right: 160px;
    }


.carousel-nav.disabled,
.carousel-nav:disabled {
    background-color: rgba(75, 0, 202, 0.3) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    cursor: not-allowed !important;
    opacity: 0.5;
}

    .carousel-nav.disabled:hover,
    .carousel-nav:disabled:hover {
        background-color: rgba(75, 0, 202, 0.3) !important;
    }

#btnRestart {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4f00ca;
    color: #fff;
    border: none;
    border-radius: 2.5em;
    cursor: pointer;
    box-sizing: border-box;
    font-family: TTNormsProBold, arial, sans-serif;
}

    #btnRestart:hover {
        background-color: #C053EF;
    }


#RestartQuestionnaireBtn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1001;
}


#Results {    
    position: relative;
    top: unset;
    left: unset;
    transform: none;
    width: 100%;
    max-width: 600px;
    margin: 0 auto; /* Center horizontally */
    text-align: center;
    z-index: 1002;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 0; /* Let content define height */
    max-height: none; /* Remove any max-height if set */
    overflow: visible; /* Show all content */
    display: block; /* Default block display */
}



    #Results span {
        font-size: 24px;
        font-weight: bold;
        color: #4f00ca;
        font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
        display: block;
        margin-bottom: 20px;
    }

    #Results .approved-status {
        color: #4CAF50 !important; /* Green color for approved */
        font-size: 20px;
        font-weight: bold;
        font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
        display: flex;
        margin: 0 auto;
        /*margin-bottom: 20px;
        margin-top: 40px;*/
        min-height: fit-content;
        flex-direction: column;
    }

    #Results .denied-status {
        color: #951515 !important;
        font-size: 20px;
        font-weight: bold;
        font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
        display: flex;
        margin: 0 auto;
        /*margin-bottom: 20px;
        margin-top: 40px;*/
        min-height: fit-content;
        flex-direction: column;
    }

#RestartQuestionnaireBtn {
    position: relative;
    margin-top: 20px;
    text-align: center;
}


.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 1000;
}

    .carousel-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(75, 0, 202, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        position: relative;
    }

        .carousel-dots .dot:hover {
            background-color: rgba(75, 0, 202, 0.6);
            transform: scale(1.2);
        }

        .carousel-dots .dot.active {
            background-color: #4f00ca;
            border-color: #ffffff;
            box-shadow: 0 0 8px rgba(75, 0, 202, 0.6);
            transform: scale(1.3);
        }

        .carousel-dots .dot.result-dot {
            background-color: rgba(192, 83, 239, 0.3);
            width: 14px;
            height: 14px;
            cursor: not-allowed;
        }

            .carousel-dots .dot.result-dot.active {
                background-color: #C053EF;
                border-color: #ffffff;
                box-shadow: 0 0 8px rgba(192, 83, 239, 0.6);
            }

            .carousel-dots .dot.result-dot:hover {
                background-color: rgba(192, 83, 239, 0.3); 
                transform: none;
            }


        .carousel-dots .dot::before {
            content: attr(title);
            position: absolute;
            bottom: 25px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 11px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
        }

        .carousel-dots .dot:hover::before {
            opacity: 1;
        }


@media (max-width: 480px) {
    .carousel-dots {
        display: none;
    }
}

.page-link {
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

    .page-link:hover {
        color: #004499;
        text-decoration: none;
    }

    .page-link:visited {
        color: #0066cc;
    }

/* Remove bullet points from approval message list */
#approvalList {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 0;
}

    #approvalList li {
        margin-bottom: 15px;
        line-height: 1.6;
        padding: 10px;
        background-color: rgba(76, 175, 80, 0.1);
        /*border-left: 4px solid #4CAF50;*/
        border-left: 4px inset #ffd800;
        border-radius: 4px;
        text-align: left;
    }

#pnlDisclaimer {
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
}

#disclaimer-content {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    #disclaimer-content h2 {
        color: #20113E;
        font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 20px;
        text-align: center;
    }

.disclaimer-text {
    font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
}

    .disclaimer-text p {
        margin-bottom: 15px;
        text-align: left;
        overflow-wrap: break-word;
    }

.disclosure-section {
    background-color: #f8f9fa;
    border-left: 4px solid #4f00ca;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.agreement-section {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 20px;
    margin: 25px 0;
    text-align: left;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    line-height: 1.5;
}

    .agreement-checkbox input[type="checkbox"] {
        margin-right: 12px;
        margin-top: 2px;
        transform: scale(1.2);
        cursor: pointer;
    }

.disclaimer-navigation {
    text-align: center;
    margin-top: 25px;
}

#proceedBtn {
    padding: 12px 30px;
    font-size: 16px;
    background-color: #4f00ca;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-sizing: border-box;
    font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
}

    #proceedBtn:hover:not(:disabled) {
        background-color: #C053EF;
        transform: translateY(-2px);
    }

    #proceedBtn:disabled {
        background-color: #cccccc;
        cursor: not-allowed;
        opacity: 0.6;
    }

/* Special styling for disclaimer dot */
.carousel-dots .disclaimer-dot {
    background-color: rgba(32, 17, 62, 0.3);
    width: 14px;
    height: 14px;
}

    .carousel-dots .disclaimer-dot.active {
        background-color: #20113E;
        border-color: #ffffff;
        box-shadow: 0 0 8px rgba(32, 17, 62, 0.6);
    }

    .carousel-dots .disclaimer-dot:hover {
        background-color: rgba(32, 17, 62, 0.6);
        transform: scale(1.2);
    }

/* Responsive design for disclaimer */
@media (max-width: 768px) {
    #pnlDisclaimer {
        padding: 15px;
    }

    #disclaimer-content {
        padding: 20px;
    }

        #disclaimer-content h2 {
            font-size: 20px;
        }

    .disclaimer-text {
        font-size: 14px;
    }
}
/* Override logo positioning */
#Logo {
    float: none;
    padding-top: 10px;
    padding-right: 0;
    padding-left: 0.5px;
}

    #Logo img {
        float: none;
        margin-left: 0.5px;
        display: block;
    }

#divCountry {
    position: relative;
    align-items: flex-end;
}

#countryWarning {
    display: none;
    color: #EC602F;
    font-weight: bold;
    font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
    font-size: small;
    border-radius: 4px;
    line-height: 1.4;
    right: 0;
    max-width: 180px;
    min-width: 170px;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    align-self: flex-end; /* aligns warning to the right */
    margin-left: 600px;
}

/* Specific styling for divQualifyingQ to align label to the left */
#divQualifyingQ {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns all children to the left */
    margin-bottom: 1px;
}

    /* Force the label to align left */
    #divQualifyingQ .labels {
        text-align: left;
        align-self: flex-start; /* Ensures label stays on the left */
        width: 100%;
        margin-bottom: 1px;
    }

/* Qualifying questions list styling */
.qualifying-list {
    margin: 0 0 15px 0;
    padding-left: 70px;
    list-style-type: disc;
    color: #333;
    font-family: "TTNormsPro", Helvetica, Arial, sans-serif;
    width: 100%;
    text-align: left;
}

    .qualifying-list li {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.4;
        font-weight: normal;
        text-align: left;
    }

/* Position dropdown on the right */
#divQualifyingQ .inputsSelect {
    align-self: flex-end;
    margin-top: 10px;
}
