﻿body {
    margin: 0;
}

.quiz-container {
    width: 100%;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: #fff;
    height: 100vh;
    box-sizing: border-box;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dash-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

    .dash-progress span {
        flex: 1;
        height: 6px;
        background: #ddd;
        border-radius: 5px;
    }

/*        .dash-progress span.active {
            background: #4f8cff;
        }*/


.quiz-blue .dash-progress span.active {
    background: #4f8cff;
}

.quiz-green .dash-progress span.active {
    background: #1bbf73;
}


#questionText {
    font-size: 2.2rem;
    font-family: lato;
    font-weight: 700;
    color: #3b3b3b;
    margin-bottom: 25px;
}


.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.option-card {
    padding: 25px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 21px;
    color: #3b3b3b;
    font-family: 'Lato';
    background: #F2F2F2;
}

/*    .option-card.selected {
        border: 2px solid #4f8cff;
        background: #729DE9;
        color: white;
    }*/

/* BLUE */
.quiz-blue .option-card.selected {
    border: 2px solid #4f8cff;
    background: #729DE9;
    color: white;
}

/* GREEN */
.quiz-green .option-card.selected {
    border: 2px solid #1bbf73;
    background: #1bbf73;
    color: white;
}

.quiz-buttons {
    text-align: center;
    margin-top: 20px;
}

.back-btn {
    display: none;
    margin-right: 10px;
    background: transparent;
    color: #729DE9;
    border: 1px solid #729DE9;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.next-btn {
    background: #4f8cff;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
}

/* GREEN THEME */

.quiz-green .back-btn {
    color: #1bbf73;
    border: 1px solid #1bbf73;
}

.quiz-green .next-btn {
    background: #1bbf73;
}


.next-btn {
    margin-top: 20px;
    padding: 10px 30px;
    background: #4f8cff;
    color: white;
    border: none;
    border-radius: 8px;
}

.user-form {
    display: none;
    margin-top: 30px;
}

    .user-form h2 {
        text-align: center;
        margin-left: 2rem;
        font-weight: 700;
        font-size: 2.2rem;
        color: #3b3b3b;
        font-family: 'Lato';
    }

    .user-form p {
        text-align: center;
        margin-bottom: -13px;
        margin-top: -1rem;
        font-size: 20px;
        color: #3b3b3b;
        font-family: 'Lato';
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 46px;
    max-width: 1000px;
    margin: 30px auto;
}

    .form-grid div {
        display: flex;
        flex-direction: column;
    }

    .form-grid label {
        font-size: 20px;
        margin-bottom: 6px;
        text-align: left;
        color: #3b3b3b;
        font-family: 'Lato';
    }

/*    .form-grid input {
        width: 100%;
        padding: 14px;
        border-radius: 8px;
        border: 1px solid #729DE9;
        outline: none;
        background: #f1f3ff;
        font-size: 20px;
    }*/

.quiz-blue .form-grid input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #729DE9;
    outline: none;
    background: #f1f3ff;
    font-size: 20px;
}
.quiz-green .form-grid input {
    border: 1px solid #1bbf73;
    background: #ecfdf5;
    font-size: 20px;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
}

.checkbox-section {
    max-width: 900px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

    .checkbox-item input {
        width: 18px;
        height: 17px;
        cursor: pointer;
        margin-top: 0rem;
        margin-left: -3rem;
    }

.submit-btn {
    background: #729DE9;
    padding: 11px 35px;
    border: none;
    color: white;
    border-radius: 8px;
    margin-top: 9px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    letter-spacing: 1px;
    font-weight: 500;
}

/* RESULT MODAL */
.result-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
}

.result-card {
    background: #fbfbfb;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    width: 564px;
    margin-top: 4rem;
}

    .result-card h2 {
        white-space: nowrap;
        font-size: 2.2rem;
        font-weight: 700;
        font-family: 'Lato';
    }

.gauge {
    width: 250px;
    height: 125px;
    position: relative;
    overflow: hidden;
    margin: 20px auto;
}

.gauge-fill {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient(red 0deg, red 0deg, #eee 0deg);
    transform: rotate(-90deg) !important;
}

.gauge-cover {
    position: absolute;
    width: 200px;
    height: 100px;
    background: white;
    border-radius: 200px 200px 0 0;
    bottom: 0;
    left: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .gauge-cover span {
        font-size: 50px;
        color: #3b3b3b;
        font-weight: 900;
        font-family: 'Lato';
    }

.done-btn {
    padding: 7px 36px;
    border: 1px solid #888;
    background: white;
    border-radius: 5px;
    font-size: 18px;
    letter-spacing: 1px;
}

#maturityTitle {
    font-size: 25px;
    margin-top: 15px;
    font-weight: 700;
    font-family: 'Lato';
}

#maturityDesc {
    font-size: 20px;
    margin-top: 8px;
    color: #3b3b3b;
    font-family: 'Lato';
}
.modal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-logo img {
    height: 45px;
}

.home-btn {
    padding: 11px 30px;
    background: transparent;
    color: #3b3b3b;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid;
    font-size: 18px;
    letter-spacing: 1px;
}

.quiz-buttons button {
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    letter-spacing: 1.5px;
    font-weight: 600;
}
