.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: "Roboto", sans-serif;
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.emakx-button-primary, .emakx-button-primary[type="submit"] {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #2168A6;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    justify-content: center;
    font-family: "Roboto Condensed", Sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    text-transform: uppercase;
    padding: 16px 32px 16px 32px;
    border: none;
}

.emakx-button-primary svg {
    transition: transform 0.3s ease;
}

.emakx-button-primary:hover,
.emakx-button-primary:focus {
    background-color: #0D1E33;
    color: #fff;
}

.emakx-button-primary:hover svg {
    transform: translateX(5px);
}

.quiz-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #F5E6D3;
    color: #8B6914;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.quiz-badge svg {
    width: 14px;
    height: 14px;
}

.quiz-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.quiz-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.quiz-progress {
    margin-bottom: 30px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.question-number {
    font-weight: 500;
}

.progress-percentage {
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #E5E5E5;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #2168A6;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.quiz-content {
    background-color: #F8F9FA;
    border: 2px solid #E0E7FF;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 20px;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.question-card {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    text-align: center;
}

.question-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.question-card.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.question-card.fade-in {
    display: block;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInQuestion 0.4s ease forwards;
}

@keyframes fadeInQuestion {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.3;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.answer-option {
    padding: 16px 20px;
    background-color: #FFFFFF;
    border: 2px solid #E0E7FF;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1em;
    color: #1a1a1a;
    text-align: left;
    text-wrap: auto;
}

.answer-option:hover, .answer-option:focus {
    border-color: #2168A6;
    background-color: #2168a630;
    color: #000;
}

.answer-option.selected {
    background-color: #2168A6;
    border-color: #2168A6;
    color: #fff;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.prev-btn {
    text-transform: uppercase;
    background: none;
    border: none;
    color: #666;
    font-size: 0.75em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    transition: color 0.2s ease;
    font-size: 0.75em;
}

.prev-btn:hover {
    color: #1a1a1a;
    background: none;
}

.prev-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



.next-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}


.next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.user-info-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
    text-align: center;
    line-height: 1.5;
}


.user-info-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
    text-align: center;
    line-height: 1.5;
}

.user-info-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-family: "Roboto", Sans-serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.2em;
}

#quiz-user-info-form .form-group input {
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-family: "Roboto", sans-serif;
    list-style: 1.2;
    color: #6A7282;
    transition: all 0.2s ease;
    background-color: #F0F3F7;
}

.form-group input:focus {
    outline: none;
    background-color: #e8e8e8;
}

.form-group input::placeholder {
    color: #999;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 16px;
}

.back-to-quiz-btn.prev-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #666;
    font-size: 0.75em;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.back-to-quiz-btn.prev-btn:hover {
    color: #1a1a1a;
    background: none;
}

.back-to-quiz-btn.prev-btn:hover svg {
    transform: translateX(-5px);
}

.back-to-quiz-btn.prev-btn:hover svg {
    transform: translateX(-5px);
}

.quiz-navigation .submit-info-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #2168A6;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    justify-content: center;
    font-family: "Roboto Condensed", Sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    text-transform: uppercase;
    padding: 16px 32px 16px 32px;
    border: none;
}

.quiz-navigation .submit-info-btn svg {
    transition: transform 0.3s ease;
}

.quiz-navigation .submit-info-btn:hover, .quiz-navigation .submit-info-btn:focus {
    background-color: #0D1E33;
}

.quiz-navigation .submit-info-btn:hover svg {
    transform: translateX(5px);
}

.quiz-results {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.quiz-results.show {
    opacity: 1;
    transform: translateY(0);
}

.results-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #2168A61A;
    color: #2168A6;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid #2168A6;
}

.results-title {
    font-size: 2em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 40px 0;
}

.score-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 40px;
}

.score-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-ring-bg {
    fill: none;
    stroke: #E5E5E5;
    stroke-width: 8;
}

.score-ring-fill {
    fill: none;
    stroke: #D4AF37;
    stroke-width: 8;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1s ease;
    stroke-linecap: round;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.score-label {
    display: block;
    font-size: 16px;
    color: #666;
    margin-top: 8px;
    font-weight: 500;
}

.candidate-status {
    margin-bottom: 30px;
}

.candidate-status svg {
    color: #D4AF37;
    margin-bottom: 12px;
}

.status-text {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 12px;
}

.status-message {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.consultation-btn {
    display: inline-flex;
}

.retake-btn {
    display: block;
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 0;
    transition: color 0.2s ease;
    margin-top: 16px;
    width: 100%;
}

.retake-btn:hover {
    color: #1a1a1a;
    background: none;
}

.quiz-disclaimer {
    background-color: rgb(201, 162, 39, 0.1);
    border-radius: 6px;
    padding: 20px;
    font-size: 12px;
    color: #1C2C42;
    line-height: 1.5;
    text-align: left;
    border: 1px solid #c9a227;
}

@media (max-width: 768px) {

    .quiz-title {
        font-size: 28px;
    }

    .quiz-content {
        padding: 30px 20px;
    }

    .question-text {
        font-size: 20px;
    }

    .user-info-form {
        grid-template-columns: 1fr;
    }

    .back-to-quiz-btn {
        width: 100%;
        justify-content: center;
    }

    .submit-info-btn {
        width: 100%;
    }

    .emakx-button-primary, .emakx-button-primary[type="submit"] {
        padding: 8px 14px 8px 14px;
        font-size: 0.75em;
    }
    

    .score-circle {
        width: 150px;
        height: 150px;
    }

    .score-value {
        font-size: 36px;
    }
    .form-group label {
        font-size: .875em;
        
    }
    #quiz-user-info-form .form-group input {
        font-size: .875em;
    }
    .results-title {
        font-size: 1.5em;
        margin: 0 0 20px 0;
    }
    .score-circle {
        margin: 0 auto 20px;
    }
}
