@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;1,100&display=swap');


.health-quiz-container button,
.knowledge-quiz-container button,
.personal-survey-container button {
    font-family: 'Montserrat', sans-serif;
}

.health-quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 10px 20px 10px;
    font-family: 'Montserrat', sans-serif;
}

.quiz-progress {
    margin-bottom: 30px;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #0e0e49;
    font-size: 14px;
}

.question-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .question-card {
        padding: 20px 15px 30px 15px;
    }
}

.question-card h3 {
    color: #0e0e49;
    margin-bottom: 15px;
    font-size: 20px;
}

.question-description {
    color: #0e0e49;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    min-height: 250px;
    color: #0e0e49 !important;
}

.answers-container span {
    color: #0e0e49 !important;
}

.answer-btn {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.answer-btn:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.answer-btn.selected {
    border-color: #2ecc71;
    background: #d5f4e6;
    color: #0e0e49;
    font-weight: 600;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.nav-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.prev-btn {
    background: #95a5a6;
    color: white;
}

.next-btn,
.submit-btn {
    background: #3498db;
    color: white;
}

.submit-btn {
    background: #2ecc71;
}

.nav-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.results-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .results-container {
        padding: 30px 10px 30px 10px;
    }

    .knowledge-results {
        padding: 30px 10px 30px 10px;
    }
}

.score-display {
    text-align: center;
    margin: 30px 0;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 0 auto;
}

.score-number {
    font-size: 36px;
    font-weight: bold;
}

.score-label {
    font-size: 14px;
    opacity: 0.9;
}

.category-result {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.category-result h3 {
    margin-bottom: 10px;
}

.excellent {
    color: #27ae60;
}

.very-good {
    color: #2ecc71;
}

.good {
    color: #3498db;
}

.fair {
    color: #f39c12;
}

.needs-improvement {
    color: #e74c3c;
}

.answers-summary {
    margin: 25px 0;
}

.answer-summary {
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.save-btn,
.restart-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.save-btn {
    background: #2ecc71;
    color: white;
}

.save-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.restart-btn {
    background: #3498db;
    color: white;
}

.save-success {
    text-align: center;
    color: #27ae60;
    font-weight: bold;
    margin-top: 15px;
    padding: 10px;
    background: #d5f4e6;
    border-radius: 6px;
}



.welcome-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0px;
}

.welcome-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.welcome-header {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.welcome-header h1 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.brics-logo {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.welcome-content {
    padding: 40px 30px;
}

.welcome-greeting {
    font-size: 20px;
    font-weight: 600;
    color: #0e0e49;
    margin-bottom: 25px;
    text-align: center;
}

.welcome-text {
    line-height: 1.7;
    color: #0e0e49;
    margin-bottom: 30px;
}

.welcome-text p {
    margin-bottom: 20px;
}

.quiz-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.info-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.info-item span:last-child {
    font-size: 14px;
    color: #7f8c8d;
}

.welcome-actions {
    text-align: center;
    padding: 20px 0 10px;
}

@media (max-width: 768px) {
    .welcome-actions {
        text-align: center;
        padding: 0px 0 20px;
    }
}



.start-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}


@media (max-width: 768px) {
    .welcome-header {
        padding: 30px 20px;
    }

    .welcome-header h1 {
        font-size: 24px;
    }

    .welcome-content {
        padding: 30px 20px 0 20px;
    }

    .quiz-info {
        gap: 20px;
    }

    .info-item {
        flex: 1;
        min-width: 100px;
    }

    .start-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
}


.quiz-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.error-message {
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center;
    padding: 10px;
    background: #fdf2f2;
    border: 1px solid #e74c3c;
    border-radius: 6px;
}


.quiz-progress {
    margin-bottom: 30px;
    display: block;
}

.quiz-progress:has(~ .questions-container:not([style*="display: none"])) {
    display: block;
}

.quiz-progress:has(~ .welcome-container[style*="display: block"]) {
    display: none;
}




.knowledge-quiz-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

.question-header h3 {
    color: #0e0e49;
    margin-bottom: 15px;
    font-size: 22px;
    line-height: 1.4;
}

.expert-comment {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.comment-header {
    font-size: 18px;
    color: #0e0e49;
    margin-bottom: 10px;
}

.comment-content {
    line-height: 1.6;
    color: #5a6c7d;
}

.comment-content p {
    margin-bottom: 10px;
}

.comment-content p:first-child {
    color: #0e0e49;
    font-weight: 500;
}



.health-quiz-container .quiz-progress,
.health-quiz-container .questions-container,
.health-quiz-container .welcome-container,
.health-quiz-container .results-container {
    display: block;
}




.answer-btn.locked {
    cursor: not-allowed;
    opacity: 0.8;
}

.answer-btn.locked:not(.selected):hover {
    border-color: #e0e0e0;
    background: white;
}

.answer-btn.locked.selected {
    background: #d5f4e6;
    border-color: #2ecc71;
}




.knowledge-quiz-container .expert-comment.correct {
    background: #d5f4e6;
    border-left-color: #27ae60;
}

.knowledge-quiz-container .expert-comment.incorrect {
    background: #fdf2f2;
    border-left-color: #e74c3c;
}




.knowledge-quiz-container .answer-btn.locked.correct {
    background: #d5f4e6;
    border-color: #27ae60;
    color: #000000;
}

.knowledge-quiz-container .answer-btn.locked.incorrect {
    background: #fdf2f2;
    border-color: #e74c3c;
    color: #000000;
}

.knowledge-quiz-container .answer-btn.locked.selected:not(.correct):not(.incorrect) {
    background: #d5f4e6;
    border-color: #2ecc71;
}




.personal-survey-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}


@media (max-width: 768px) {
    .personal-survey-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 20px 0 20px 0;
        font-family: 'Montserrat', sans-serif;
    }
}

.survey-header {
    margin-bottom: 30px;
}

.survey-banner {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.survey-banner h1 {
    font-size: 24px;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.survey-banner h2 {
    font-size: 20px;
    margin: 0;
    font-weight: 500;
    opacity: 0.9;
}

.survey-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.survey-table {
    width: 100%;
    border-collapse: collapse;
}

.survey-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #0e0e49;
    border-bottom: 2px solid #e9ecef;
}


.form-select {
    color: #0e0e49;
}

.form-select option {
    color: #0e0e49;
}

.form-select option:checked {
    color: #0e0e49;
}

.survey-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    color: #0e0e49;
}

.survey-table tr:last-child td {
    border-bottom: none;
}

.survey-table td:first-child {
    font-weight: 500;
    color: #0e0e49;
    background: #f8f9fa;
}

.form-select,
.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}


.form-input::placeholder {
    color: #0e0e49;

}

.form-input {
    max-width: 100%;
}

.survey-actions {
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.submit-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


@media (max-width: 768px) {
    .survey-table {
        display: block;
        overflow-x: auto;
    }

    .survey-table th,
    .survey-table td {
        white-space: nowrap;
        min-width: 200px;
    }

    .survey-banner {
        padding: 20px;
    }

    .survey-banner h1 {
        font-size: 20px;
    }

    .survey-banner h2 {
        font-size: 18px;
    }
}


.personal-survey-container .error-border {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}


.knowledge-results {
    text-align: center;
    margin: 30px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.knowledge-results h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 24px;
}

.knowledge-score .score-number {
    font-size: 42px;
    font-weight: bold;
    color: #2c3e50;
}

.knowledge-score .score-label {
    font-size: 16px;
    color: #7f8c8d;
    margin-top: 10px;
}

.results-message {
    font-size: 18px;
    line-height: 1.6;
    color: #5a6c7d;
    margin-top: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.results-header {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: white;
    padding: 30px;
    border-radius: 12px 12px 0 0;
    text-align: center;
    margin: -30px -30px 30px -30px;
}

.results-header h1 {
    font-size: 24px;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.results-header h2 {
    font-size: 20px;
    margin: 0;
    font-weight: 500;
    opacity: 0.9;
}

.personal-survey-container .results-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}




.health-awareness-level {
    margin-top: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #4b6cb7;
}

.health-awareness-level h4 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.health-awareness-level .results-message {
    font-size: 16px;
    line-height: 1.6;
    color: #5a6c7d;
    text-align: center;
    margin: 0;
}



.guide-download {
    margin-top: 30px;
    text-align: center;
}

.guide-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    text-decoration: none;
    padding: 12px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    display: inline-block;
    border: none;
    line-height: 1.1;
}

.guide-btn:hover {

    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    color: white;
    text-decoration: none;
}


@media (min-width: 1024px) {
    .health-quiz-container {
        max-width: 1100px;
    }

    .knowledge-quiz-container {
        max-width: 1100px;
    }

    .personal-survey-container {
        max-width: 1100px;
    }

    .welcome-container {
        max-width: 1100px;
    }


    .question-card {
        padding: 40px;
    }

    .survey-table th,
    .survey-table td {
        padding: 20px;
    }
}


@media (max-width: 768px) {
    .guide-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
}



.survey-flex {
    display: flex;
    flex-direction: column;
}

.survey-header-row {
    display: flex;
    background: #f8f9fa;
    padding: 15px;
    font-weight: 600;
    color: #0e0e49;
    border-bottom: 2px solid #e9ecef;
}

.survey-row {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.survey-row:last-child {
    border-bottom: none;
}

.survey-question-col {
    flex: 0 0 66%;
    font-weight: 500;
    color: #0e0e49;
    background: #f8f9fa;
    padding: 10px;
}

.survey-answer-col {
    flex: 0 0 30%;
    padding: 10px;
}

.survey-header-row .survey-question-col {
    font-weight: 600;
}

@media (max-width: 768px) {

    .survey-header-row,
    .survey-row {
        flex-direction: column;
    }

    .survey-question-col,
    .survey-answer-col {
        width: 100%;
        padding: 0;
    }
}