/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Generic Styles */
[data-elementor-type="wp-page"],
[data-elementor-type="error-404"]{
    margin-top: -80px;
}
.elementor-button[disabled]{
    background-color: #DBDBDB !important;
    color: #B7B7B7 !important;
    cursor: not-allowed;
}
.elementor-button[disabled] .elementor-button-icon path{
    fill: #B7B7B7;
}
a[disabled] {
    pointer-events: none;
    cursor: not-allowed;
}
/* Quiz start form */
#sp-quiz-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    font-size: 16px;
    color: #4a4a4a;
}
#sp-quiz-form input[type="text"] {
    border: none;
    border-bottom: 2px solid #707070;
    padding: 8px 0;
    width: 100%;
    outline: none;
    background: transparent;
    font-size: 16px;
    line-height: 20px;
    color: #4a4a4a;
    border-radius: 0;
}
#sp-quiz-form input[type="text"]::placeholder {
    color: #B7B7B7;
}
#sp-quiz-form > div {
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.radio-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    font-weight: normal;
    font-size: 16px;
    color: #4a4a4a;
}

/* Hide native radio input */
.radio-group input[type="radio"] {
    display: none;
}

/* Custom visual box */
.radio-group .custom-radio {
    width: 39px;
    height: 39px;
    border: 3px solid #4a4a4a;
    margin-left: 8px;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
}

/* Selected state */
.radio-group input[type="radio"]:checked + .custom-radio:after {
    background-color: #FFC600;
    content: '';
    width: 27px;
    height: 27px;
    position: absolute;
    left: 3px;
    top: 3px;
}

/* Select Dropdown */
body .select2-container{
    max-width: 301px;
    margin-top: 25px;
}
body .select2-container--default .select2-selection--single{
    background-color: #FFC600;
    border: 0;
    border-radius: 10px;
    height: 63px;
    display: flex;
    align-items: center;
    padding-left: 15px;
}
body .select2-container--default .select2-selection--single .select2-selection__arrow{
    width: 15px;
    top: 30%;
    right: 20px;
    background-image: url(./assets/images/arrow-down.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
body .select2-container--default .select2-selection--single .select2-selection__rendered{
    color: #6E6E6E;
    line-height: 20px;
    font-size: 16px;
    text-transform: capitalize;
}
body .select2-container--default .select2-selection--single .select2-selection__arrow b{
    display: none;
}
body .select2-container--default .select2-results>.select2-results__options{
    max-height: 450px;
    overflow-y: auto;
    font-size: 16px;
    color: #B7B7B7;
    padding: 5px;
    text-transform: capitalize;
}
body .select2-container--open .select2-dropdown--above{
    border-radius: 10px;
    border: 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 16%);
    border-radius: 5px;
    margin-top: -25px;
}
body .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
    background-color: #FFC600;
    color: #4A4A4A;
}
body .select2-results__option{
    padding: 3px 10px;
    border-radius: 5px;
}
body .select2-container--open .select2-selection__arrow{
    transform: rotate(180deg);
}
/* Quiz page */
.qsm-question-page{
    display: flex;
    flex-wrap: wrap;
}
.qsm-question-page .quiz_section,
.qsm-question-page .pages_count{
    width: 100%;
}
.qsm-question-page .pages_count{
    order: 1;
}
.qsm-question-page .quiz_section{
    order: 2;
}
.mlw_qmn_new_question{
    font-size: 29px;
    line-height: 45px;
    color: #4A4A4A;
    font-family: 'ShellHeavy', Sans-serif;
}
.quiz_section .qmn_check_answers .qsm_check_answer  .qsm-input-label{
    font-size: 20px;
    line-height: 26px;
    color: #4A4A4A;
    display: flex;
    align-items: flex-start;
}
.qsm-quiz-container input[type=checkbox]{
    display: none;
}
.qsm-quiz-container label.qsm-input-label{
    position: relative;
}
.qsm-quiz-container label.qsm-input-label:before{
    content: '';
    width: 39px;
    height: 39px;
    min-width: 39px;
    border: 3px solid #4a4a4a;
    display: inline-block;
    box-sizing: border-box;
    margin-right: 15px;
}
.qsm-quiz-container input[type=checkbox]:checked + label.qsm-input-label:after{
    content: '';
    background-color: #FFC600;
    width: 28.5px;
    height: 28.5px;
    position: absolute;
    left: 5px;
    top: 5px;
}
.qsm_check_answer.mrq_checkbox_class {
    margin-bottom: 10px;
}
.qsm-page .pages_count{
    color: #B7B7B7;
}
.qsm-page .pages_count{
    font-size: 35px;
    line-height: 40px;
    font-family: 'ShellBold';
}
.qsm-page .pages_count span{
    color: #4A4A4A;
}
body .quiz_section .mlw_qmn_new_question{
    min-height: 90px;
    display: block;
}
body .qsm-pagination{
    display: none;
}
body #mlw_error_message,
body .qsm-quiz-form .qmn_error:after{
    display: none;
}
body .qsm-quiz-form .qmn_error .qmn_check_answers{
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
}
body .qmn_error_message{
    margin: 0;
    padding: 0;
    font-size: 16px;
    border: 0;
    background-color: transparent;
    color: #DD1D21;
}

#mlw_error_message_bottom{
    position: absolute;
    bottom: -110px;
}
/* Quiz results circle */
.circular-progress {
    width: 245px;
    height: 245px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.circular-progress .inner-circle {
    width: 185px;
    height: 185px;
    border-radius: 50%;
    position: absolute;
    background-color: #EDEDED;
}
.circular-progress .percentage {
    position: absolute;
    font-size: 50px;
    font-weight: bold;
    z-index: 1;
    color: #4A4A4A;
}

/* False Question Answers page */
#frage-heading {
    font-family: 'ShellBold';
    text-align: center;
    font-size: 35px;
    margin-bottom: 20px;
    line-height: 40px;
    color: #B7B7B7;
}
#frage-heading span{
    color: #4A4A4A;
}
.pagination-controls button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
#qsm-paged-results .qsm-question-title{
    min-height: 90px;
    font-family: 'ShellHeavy', Sans-serif;
    margin: 0;
}
#qsm-paged-results .qsm-question-list{
    margin: 0;
    padding: 0;
    list-style: none;
}
#qsm-paged-results .qsm-question-list li{
    padding-left: 55px;
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 26px;
    display: flex;
    align-items: center;
    color: #4A4A4A;
}
#qsm-paged-results .qsm-question-list li:before{
    content: '';
    width: 39px;
    height: 39px;
    border: 3px solid #4A4A4A;
    display: block;
    position: absolute;
    left: 0;
}
.wrong-ans-selected-icon{
    background-image: url('./assets/images/wrong.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 8px;
}
.is-correct-ans-icon,
.right-ans-selected-icon{
    background-image: url('./assets/images/right.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 26px;
    height: 22px;
    position: absolute;
    left: 7px;
}
#result-quiz-nxt{
    cursor: pointer;
}
#qsm-paged-results {
    padding-bottom: 30px;
}
#result-quiz-nxt.finalbutton .elementor-button-text{
    margin-right: -150px;
}
.otgs-development-site-front-end{
    display: none;
}

/* Custom Language Switcher */
#custom-language-switcher {
    display: flex;
    gap: 4rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}
#custom-language-switcher .lang-option {
    display: block;
    position: relative;
    cursor: pointer;
    font-weight: 500;
    color: #4a4a4a;
    font-size: 16px;
    line-height: 20px;
    font-family: 'ShellMedium', Sans-serif;
    border-bottom: 1px solid #6E6E6E;
    min-width: 235px;
    padding-bottom: 5px;
}
#custom-language-switcher .lang-option input[type="radio"] {
    display: none;
}
.radio-mark {
    height: 32px;
    width: 32px;
    border: 2px solid #FFC600;
    border-radius: 100%;
    position: relative;
    order: 2;
    display: inline-block;
    float: right;
    margin-top: -5px;
}
.radio-mark::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    height: 22px;
    width: 22px;
    border-radius: 100%;
    background: #FFC600;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
input[type="radio"]:checked + .radio-mark::after {
    opacity: 1;
}
.lang-label {
    order: 1;
    margin-top: 5px;
    width: 100%;
}
.lang-selection-error{
    position: absolute;
    top: 0px;
    color: #DD1D21;
    font-size: 18px;
    font-family: 'ShellBold';
}

/*PDF PAGE*/
.sp-pdf-wrapper {
    font-family: 'ShellHeavy', Sans-serif;
    font-size: 16px;
    color: #222;
	margin-top: 20px;
}

.sp-pdf-row {
    display: flex;
    gap: 100px;
    margin-bottom: 20px;
	color: var( --e-global-color-d62c04e );
}

.sp-pdf-col {
    flex: 1;
	gap: 20px;
    display: flex;
    flex-direction: column;
}

.sp-pdf-label {
    margin-bottom: 4px;
}

.sp-pdf-value {
    font-weight: bold;
    border-bottom: 2px solid #ccc;
    padding: 4px 0;
    margin-bottom: 10px;
}

.sp-pdf-question {
    margin-top: 20px;
	display: flex;
    gap: 40px;
	color: #222;
}

.sp-pdf-options {
    display: flex;
    gap: 20px;
}

.sp-pdf-option {
    display: flex;
    align-items: center;
    gap: 8px;
	
}

.sp-pdf-checkbox {
    width: 26px;
    height: 26px;
    border: 1px solid #4a4a4a;
    display: inline-block;
    background-color: transparent;
}

.sp-pdf-checkbox.checked {
    background-color: #FFC700;
	box-shadow: 0px 0px 0px 2px #fff inset
}

.sp-pdf-note{
	font-family: 'ShellMedium';
    font-size: 14px;
    line-height: 20px;
    margin-top: 20px;
	color: #4a4a4a;
}

.sp-pdf-signature {
    display: flex;
    max-width: 100%;
    gap: 70px;
	font-family: 'ShellMedium';
}

a#clear-signature-1,
a#clear-signature-2{
    position: absolute;
    bottom: 50px;
    right: 0;
    font-size: 11px;
    color: #000;
    line-height: 16px;
}

.sp-pdf-driversign,
.sp-pdf-agentsign{
    position: relative;
}

.sp-pdf-nm {
    font-size: 11px;
    line-height: 3px;
    color: #125DCF;
    width: 81%;
	font-family: Arial;
}

.sp-pdf-desig{
	font-size: 15px;
    line-height: 25px;
    position: relative;
    top: 7px;
}
/* Hide personal details fields */
.qsm_contact_div{
    display: none;
}
/* Generate PDF Button Loader and Disabled states */
/* Basic disabled state */
#generate-pdf.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Create the loader circle in the icon's place */
#generate-pdf.is-loading::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 0.8s ease-in-out infinite;
    position: absolute;
    left: 17px;
    top: 9px;
}

/* Animation keyframes */
@keyframes spin {
    to { transform: rotate(360deg); }
}