@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&display=swap');

@font-face {
    font-family: Avenir LT Std;
    src: url(../font/AvenirLTStd-Book.woff);
    font-weight: 400;
}

@font-face {
    font-family: Avenir LT Std;
    src: url(../font/AvenirLTStd-Heavy.woff);
    font-weight: 700;
}


.manage_options.quiz-progress {
    margin-bottom: 20px;
}

/* 23-10-25  */
.stp-form-quiz-container {
    max-width: 900px;
    margin: 70px auto 0;
}

.quiz-pages {
    padding: 35px 45px;
    border: 1px solid #1933821A;
    border-radius: 20px;
    box-shadow: 0px 5px 12px 0px #00000005;
}

.site-footer {
    display: none;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

.quiz-navigation {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.quiz-page {
    margin-bottom: 20px;
}

.stp-quiz-question {
    margin-bottom: 35PX;
    padding: 0px;
}

.stp-quiz-question h1 {
    font-family: Avenir LT Std;
    font-weight: 700;
    font-size: 16px;
    line-height: 23px;
    color: #000000;
}

.quiz-answers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quiz-answer {
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #EBEDF2;
    padding: 15px;
    position: relative;
}

.quiz-answer span {
    font-family: Inter;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
}


.quiz-answer:has(input:checked) {
    background: #FF6D3F;
    color: #FFFFFF;
}

.quiz-answer input[type="radio"] {
    position: absolute;
    opacity: 0;
}

/* Progress Bar */
.quiz-progress {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #6c757d;
}

/* Email Collection Step */
.email-collection-step {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.email-collection-step h3 {
    font-family: Schibsted Grotesk;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 35px;
    color: #000000;
}

.one-last-step {
    border: 1px solid #1933821A;
    box-shadow: 0px 5px 12px 0px #00000005;
    border-radius: 20px;
    padding: 32px 34px;
}

.step-subtitle {
    font-family: Schibsted Grotesk;
    font-weight: 700;
    font-style: Medium;
    font-size: 20px;
    line-height: 23px;
    margin-bottom: 34px;
    color: #000000;
    text-align: center;
}

.form-fields {
    text-align: left;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    gap: 22px;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 14px;
    font-family: Avenir LT Std;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    text-transform: capitalize;
    color: #000000;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #D4D4D4;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder {
    font-family: Avenir LT Std;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-transform: capitalize;
    color: #000000;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.validation-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Consent Checkbox */
.consent-section {
    margin: 30px 0;
    text-align: left;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.consent-checkbox input {
    margin-right: 10px;
    margin-top: 3px;
}

.consent-text {
    font-family: Avenir LT Std;
    font-weight: 400;
    font-style: 55 Roman;
    font-size: 14px;
    line-height: 26px;
    text-align: center;
    color: #000000;
}

/* Navigation Buttons */
.quiz-navigation {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.quiz-navigation button {
    background-color: #193382;
    color: #FFFFFF;
    width: 142px;
    padding: 15px;
    border-radius: 10px;
    font-family: Avenir LT Std;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-navigation button.quiz-submit-btn {
    width: auto;
}

.quiz-navigation button img {
    padding-left: 7px;
    margin-top: -2px;
}

.prev-page {
    background-color: #95a5a6;
    color: white;
}

.quiz-navigation button:hover {
    background-color: #193382;
    color: #FFFFFF;
}

.step-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: start;
    flex: 1;
    position: relative;
}

.step:last-child {
    flex: 0;
}

.step-content {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #A1AEBE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #A1AEBE;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.circle.completed {
    background-color: #FF6D3F;
    border-color: #FF6D3F;
    color: white;
}

.circle.completed i::before {
    background-color: #FF6D3F;
}

.circle.current {
    background-color: #FF6D3F;
    border-color: #FF6D3F;
    color: white;
}

.circle.current i::before {
    background: #FF6D3F;
}

.circle i {
    font-size: 16px;
}

.line {
    flex: 1;
    height: 3px;
    background-color: #A1AEBE;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

.line.active {
    background-color: #FF6D3F;
}

.circle i::before {
    background: #A1AEBE;
    border-radius: 50%;
}

.step-label {
    font-family: Avenir LT Std;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    text-align: center;
    white-space: nowrap;
    color: #000000;
    margin-top: 10px;
}

/* Remove line from last step */
.step:last-child .line {
    display: none;
}

/* ================ */
.one-last-step h3 {
    margin: 0;
    color: #ff6d3f;
}

.email-collection-step img.step-5-img {
    max-width: 360px;
}

.one-last-step p.step-subtitle {
    margin-top: 10px;
    color: #193382;
}

.one-last-step button.quiz-submit-btn {
    background: #ff6d3f;
}

@media (max-width:767px) {
    .stp-form-quiz-container {
        max-width: 626px;
    }

    .circle {
        width: 30px;
        height: 30px;
    }

    .circle i {
        font-size: 10px;
    }

    .quiz-pages {
        padding: 35px 55px;
    }

    .step-progress {
        margin: 0 auto 50px;
    }

    .email-collection-step h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .one-last-step {
        padding: 22px 24px;
    }

}

@media (max-width:575px) {
    .quiz-pages {
        padding: 25px 35px;
    }

    .form-fields {
        flex-direction: column;
    }

    .stp-quiz-question {
        margin-bottom: 25px;
    }

    .stp-form-quiz-container {
        max-width: 426px;
    }

    .step-progress {
        margin: 0 auto 40px;
        padding: 0 10px;
        align-items: flex-start;
        margin-top: 20px;
    }

    .step-content {
        justify-content: center;
    }

    .line {
        margin: 0 5px;
    }

    .quiz-navigation button {
        font-size: 14px;
    }

    .quiz-answers {
        justify-content: center;
    }

    .quiz-answers {
        flex-direction: column;
        align-items: center;
    }

    .quiz-answer {
        width: 100%;
    }

    .stp-quiz-question h1 {
        text-align: left;
    }

    .step-label {
        white-space: normal;
    }
}

@media (max-width:375px) {
    .quiz-pages {
        padding: 15px 20px;
    }

    .step-label {
        font-size: 12px;
    }

    .step-progress {
        margin: 0 auto 30px;
        margin-top: 20px;
    }

    .circle {
        width: 20px;
        height: 20px;
    }

    .circle i {
        font-size: 5px;
    }

    .stp-quiz-question {
        margin-bottom: 15px;
    }
}