@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}

.page-template-templatesassessment-php #page {
    height: 100vh;
}

.page-template-assessment header.header-section {
    display: none;
}
.remove-back{
    opacity: 0;
}
.page-template-assessment footer.site-footer {
    display: none;
}

.quiz-heading {
    text-align: center;
}
.qz-Hdtitle {
    color: var(--Dark-blue, var(--dark-blue-text, #263238));
    text-align: center; 
    font-family: Poppins;
    font-size: clamp(18px, 1.8vw, 32px);
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}
.main-quiz-container {
    width: 100%;
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

.main-quiz-container::-webkit-scrollbar-thumb {
    background-color: #004638 !important;
    border-radius: 1rem !important;
}
.main-quiz-container::-webkit-scrollbar-track {
    background-color: #E6EDEB !important;
}
.main-quiz-container::-webkit-scrollbar {
    background-color: #E6EDEB !important;
    width: 6px !important;
    height: 6px !important;
}

.quiz-main-from {
    width: 100%;
}

.col-qztop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.hcol-btn {
    border: none;
    background: no-repeat;
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 0 0;
    max-width: 120px;
    cursor: pointer;
    font-size: 16px;
}

.hcol-btn:hover {
    color: #FC5A31;
}

.hcol-btn:hover svg path {
    fill: #FC5A31;
    stroke: #FC5A31;
}

i.arrow-back,
.save-draft-cion {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-style: normal;
}

.save-dft {
    justify-content: flex-end;
}

.quiz-container {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.progress-xbar {
    position: relative;
    height: 8px;
    background: rgb(0 93 139 / 20%);
    border-radius: 4px;
    margin-bottom: 20px;
}


.xprogress {
    height: 100%;
    width: 0%;
    /*Startwithnoprogress*/transition: width 0.3s ease;
    border-radius: 30px;
    background-color: var(--dark-blue-text, #263238);
}

.progress-text {
    position: absolute;
    left: 0%;
    transform: translateX(-50%);    
    color: var(--Dark-blue, var(--dark-blue-text, #263238));
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    transition: left 0.3s ease-in-out; 
}

.quiz-card {
    padding-top: 28px;
}

.forw-btn-col {
    display: flex;
    justify-content: end;
    margin-top: 30px;
}

.question {
    margin-bottom: 28px;
    color: var(--Dark-blue, var(--dark-blue-text, #263238));
    font-family: Poppins;
    font-size: clamp(17px, 1.2vw, 28px);
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.options {
    list-style: none;
    padding: 0;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-rows: auto;
    grid-auto-columns: 1fr;
    display: grid;
    position: relative;
    grid-template-columns: 1fr 1fr;
}

.options li {
    display: flex;
    padding: 16px 20px;
    align-items: flex-start;
    gap: 8px;
    border-radius: 10px;
    background: #F5F5F5;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0);
    color: var(--Dark-blue, var(--dark-blue-text, #263238));
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.options input[type="radio"],
.options input[type="checkbox"] {
    appearance: none;
    width: 18px;
    min-width: 18px;
    height: 18px;
    border: 2px solid var(--dark-blue-text, #263238);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease;
    transform: translateY(5px);
}

.options input[type="checkbox"] {
    border-radius: 4px;
    transform: translateY(4px);
}

.options li.active {
    border-radius: 10px;
    border: 2px solid var(--Body-Body, #004638);
    background: var(--Body-Body-Lightest, #E6EDEB);
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.30);
}

.options input[type="radio"]:checked {
    background: #E6EDEB;
    border-color: #004638;
}

.options input[type="checkbox"]:checked {
    background: #004638;
    border-color: #004638;
}

.options input[type="radio"]:checked::after {
    content: "";
    background: #004638;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50px;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.options input[type="checkbox"]:checked::after {
    content: '';
  position: absolute;
  right: 50%;
  top: 50%;
  width: 4px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  margin: -1px -1px 0 -1px;
  transform: rotate(45deg) translate(-50%, -50%);
  z-index: 2;
}

.info-box {
    margin-top: 30px;
    border-radius: 10px;
    background: var(--Body-Body-Lightest, #E6EDEB);
    display: flex;
    gap: 4px;
    overflow: hidden;
}

.quiz-img-wrap {
    flex: 0 0 220px;
}

.info-box .quiz-img-wrap .quiz-img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
    min-height: 132px;
}

.fatext-icon {
    display: flex;
}

.info-box p {
    color: var(--Dark-blue, var(--dark-blue-text, #263238));
    font-family: Poppins;
    font-size: clamp(14px, 1.2vw, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    padding: 12px 16px;
    align-self: center;
}

.title-option {
    color: var(--Dark-blue, var(--dark-blue-text, #263238));
    font-family: Poppins;
    font-size: clamp(16px, 2vw, 18px);
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 16px;
}

.grid-col {
    margin-bottom: 30px;
}

.btn {
    text-align: center;
    cursor: pointer;
    padding: 16px 24px;
    border-radius: 10px;
    background: #004638;
    color: #FFF;
    font-family: 'Poppins';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    border: none;
    outline: none;
    min-width: 220px;
    height: 50px;
}

.btn:hover {
   opacity: 0.8;
}
.result-page {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}


.result-page .heading-wrap-close {
    position: relative;
    padding: 0 24px;
}

.result-page .quiz-close-btn {
    position: absolute;
    right: 0;
    top: 4px;
}

.thankyoucard-share {
    text-align: center;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0px 0px 0px 5px rgba(0, 70, 56, 0.20);
    padding: 20px;
    margin-top: 15px;
}

span.icon-thanks {
    height: 40px;
    width: 40px;
    color: #4CAF50;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.circle {
    stroke-dasharray: 76;
    stroke-dashoffset: 76;
    animation: draw 1s forwards;
}
.tick {
    stroke-dasharray: 18;
    stroke-dashoffset: 18;
    animation: draw 1s forwards 1s;
}
@keyframes draw {
    to {
        stroke-dashoffset: 0;
   }
}

.thankyoucard-share h3 {
    color: #124637;
    font-family: Poppins;
    font-size: clamp(15px, 1.2vw, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}
.thankyoucard-share h3 strong {
    color: #4CAF50;
    text-align: center;
    font-family: Poppins;
    font-size: clamp(18px, 1.4vw, 20px);
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}
.rs-title {
    color: var(--Dark-blue, var(--dark-blue-text, #263238));
    text-align: center;
    font-family: Poppins;
    font-size: clamp(24px, 2.15vw, 32px);
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
}

.col-result {
    display: none;
}

.col-result-card {
    max-width: 960px;
    margin: 0 auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    grid-template-rows: auto;
    grid-auto-columns: 1fr;
    display: grid;
    position: relative;
    grid-template-columns: 1fr;
    margin-top: 40px;
}

.card-rs {
    border-radius: 20px;
    padding: 20px;
    width: 100%;
}

.card-first-content {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    background: rgba(38, 50, 56, 0.10);
}

.card-second-mail {
    background: var(--Body-Body-Lightest, #E6EDEB);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 30px 20px;
}

.top-textinsite {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.botinst-text {
    text-align: left;
    color: var(--Grey-text, #868686);
    font-family: Poppins;
    font-size: clamp(14px, 1vw, 16px);
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
}

.card-bot-gt {
    border-radius: 10px;
    background: var(--Body-Body, #004638);
    box-shadow: 0px 0px 0px 5px rgba(0, 70, 56, 0.20);
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
}

.card-top-wt {
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
    border-radius: 10px;
    background: var(--White, #FFF);
}

.intitle {
    text-align: center;
    font-family: Poppins;
    font-size: clamp(16px, 1.2vw, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
    color: #263238;
}

.inste-icon {
    display: flex;
}

.card-bot-gt .intitle {
    color: #ffffff;
}

.card-bot-gt .botinst-text {
    color: rgba(255, 255, 255, 0.70);
}

.crd-title {
    color: var(--dark-blue-text, #263238);
    text-align: center;
    font-family: Poppins;
    font-size: clamp(20px, 1.5vw, 24px);
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin-bottom: 4px;
}

.res-form-content {
    display: flex;
    gap: 20px;
}

.mailicon {
    border-radius: 70px;
    background: rgba(0, 70, 56, 0.10);
    display: flex;
    width: 55px;
    height: 55px;
    justify-content: center;
    align-items: center;
}

.mailicon svg {
    width: 30px;
    height: 30px;
}

.rsemail-title {
    color: var(--other-colors-dark-blue-text, #263238);
    font-family: Poppins;
    font-size: clamp(16px, 1.75vw, 20px);
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 4px;
}

.rsemail-text {
    color: var(--Grey-text, #868686);
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.col-result-card .form-row {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}
.col-result-card .form-row .col-sm {
    flex: 1;
}
.col-result-card .form-row .btnmail-col {
    flex: none;
}

.form-row input {
    border-radius: 8px;
    border: 1px solid var(--Border, #D4D6D7);
    background: var(--White, #FFF);
    display: flex;
    width: 100%;
    padding: 12px 16px 12px 40px;
    align-items: center;
    gap: 10px;
    color: var(--dark-blue-text, #263238);
    font-family: Poppins;
    font-size: clamp(14px, 1.2vw, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    outline: none;
    height: 50px;
}
#emailError {
    position: absolute;
    bottom: -18px;
    font-size: 12px;
}
button#submitButton:disabled {
    opacity: 0.5;
}
.col-sm {
    position: relative;
}

.email-span {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY( -50%);
    display: flex;
}

.email-span svg {
    width: 19px;
    height: 16px;
    opacity: 0.6;
}
.btn-det-results {
    color: #FFF;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    width: 100%;
    text-align: center;
    justify-content: center;
    height: 50px;
}

#page:has(.loaderadd)  {
    background: #fdfbfb;
    position: relative;
    z-index: 99999;
}


#page:has(.loaderadd) .main-quiz-container {
    opacity: 0.5;
    filter: blur(14px);
}
#toast-container .toast {
    width: 100%;
    max-width: 450px;
}
/* Media Quaries */
@media only screen and (min-width: 769px) {
    .main-quiz-container {
        min-height: 100vh;
        max-height: 100vh;
        overflow: auto;
    }
    .card-first-content {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .card-first-content .crd-title {
        grid-area: 1 / 2 / span 1 / span 10;
    }
    .card-first-content .card-top-wt {
        grid-area: 2 / 1 / span 1 / span 6;
    }
    .card-first-content .card-bot-gt {
        grid-area: 2 / 7 / span 1 / span 6;
    }
}
@media only screen and (min-width: 992px) {
    .quiz-container {
        width: 80%;
    }
    .question {
        margin-bottom: 40px;
    }
    .quiz-card {
        padding-top: 40px;
    }

    .result-page {
        min-height: 100vh;
        height: 100vh;
    }
    .result-center-wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-bottom: 55px;
    }
    .col-result-card {
        margin-top: 3vw;
    }
}
@media (min-width: 992px) and (max-width: 1440px) {
    .quiz-container {
        width: 82%;
        padding: 32px 20px;
    }
    .col-qztop {
        margin-bottom: 24px;
    }
    .qz-Hdtitle {
        font-size: clamp(18px, 1.75vw, 28px);
    }
    .quiz-card {
        padding-top: 24px;
    }
    .question {
        margin-bottom: 24px;
    }
    .options {
        grid-column-gap: 15px;
        grid-row-gap: 15px;
    }
    .options li {
        padding: 12px 18px;
        font-size: 16px;
    }
    .options input[type="radio"],
    .options input[type="checkbox"] {
        width: 16px;
        min-width: 16px;
        height: 16px;
    }
    .options input[type="checkbox"] {
        border-radius: 3px;
    }
    .options input[type="checkbox"]:checked::after {
        width: 4px;
        height: 8px;
    }
    .info-box {
        margin-top: 22px;
    }
    .quiz-img-wrap {
        flex: 0 0 180px;
    }
    .info-box p {
        font-size: clamp(13px, 1.2vw, 14px);
        padding: 12px;
    }
    .fatext-icon svg {
        width: 24px;
        height: 24px;
    }
    .forw-btn-col {
        margin-top: 20px;
    }
    .btn {
        padding: 12px 20px;
        min-width: 200px;
        height: 45px;
    }
    .btn-det-results {
        height: 50px;
    }

    .result-page {
        padding: 40px 20px;
    }
    .result-page .quiz-close-btn {
        /* margin-bottom: 20px; */
    }
    /* .rs-title {
        font-size: clamp(24px, 2.7vw, 36px);
    } */
}
@media only screen and (max-width: 768px) {
    .quiz-container {
        width: 100%;
        padding: 36px 20px;
    }
    .options li {
        padding: 16px 12px;
        font-size: 16px;
    }
    .options input[type="radio"],
    .options input[type="checkbox"] {
        width: 16px;
        min-width: 16px;
        height: 16px;
    }
    .options input[type="checkbox"] {
        border-radius: 3px;
    }
    .options {
        grid-template-columns: 1fr;
    }
    .info-box {
        flex-direction: column;
    }
    .hcol-btn {
        gap: 0;
        font-size: 0;
        padding: 4px;
        max-width: 33px;
    }
    
    .col-result-card .form-row {
        gap: 20px;
        flex-direction: column;
        margin-top: 8px;
    }
    .form-row input {
        height: 45px;
    }
    .btn-det-results {
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 500;
        height: 45px;
    }
    .btn {
      width: 100%;
    }

    .res-form-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
        margin-bottom: 5px;
    }
    .rsemail-title {
        margin-bottom: 8px;
    }
    .card-rs {
        padding: 20px;
    }
    .col-result-card {
        margin-top: 30px;
    }
    i.arrow-back, .save-draft-cion,
    .result-page .quiz-close-btn {
        font-size: 0;
    }
    .col-qztop {
        margin-bottom: 28px;
    }
    .result-page {
        padding: 30px 20px;
    }
}
