/* Evaluation Pages Styles */

/* Results Table Styles */
.results-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.results-table th {
    background-color: #4CBEB7 !important;
    color: white !important;
    border-color: #4CBEB7 !important;
}

.results-table .question-number {
    width: 50px;
    text-align: center;
    font-weight: bold;
    background-color: #f8f9fa;
}

.results-table .question-column {
    width: 35%;
}

.results-table .response-column {
    width: 10%;
}

.results-table .status-column {
    width: 10%;
}

.results-table .score-column {
    width: 10%;
}

.results-table .feedback-column {
    width: 20%;
}

.results-table .resources-column {
    width: 15%;
}



.feedback-text {
    font-style: italic;
    color: #6c757d;
}

.resources-text {
    font-size: 14px;
    color: #495057;
}

.response-badge {
    border-radius: 25px;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 20px;
    display: inline-block;
}

.response-yes {
    background-color: #329ACD;
    color: white;
}

.response-no {
    background-color: #329ACD;
    color: white;
}

.status-correct {
    color: #495057;
    font-weight: bold;
}

.status-incorrect {
    color: #6c757d;
    font-weight: bold;
}

/* Notes Page Styles */
.notes-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 15px;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
    color: #495057;
}

.add-note-form {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #dee2e6;
}

.note-field {
    margin-bottom: 16px;
}

.note-field .form-label {
    display: block;
    margin-bottom: 6px;
}

.note-form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.note-form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
}

.btn-add-note {
    background-color: #495057;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    width: 100%;
    font-weight: 600;
    margin-top: 8px;
}

.btn-add-note:hover {
    background-color: #343a40;
    color: white;
}

.note-list-label {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.note-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

.note-author {
    font-weight: bold;
    color: #495057;
}

.note-date {
    font-size: 14px;
    color: #6c757d;
}

.note-content {
    line-height: 1.6;
    color: #212529;
}

.back-btn {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Home page buttons */
.btn-start-evaluation {
    background-color: #329ACD;
    color: #fff;
    border: 1px solid #329ACD;
    padding: 12px 24px; 
    border-radius: 120px;
    font-size: 16px; 
}

.btn-learn-more {
    background-color: #ffff;
    color: black;
    border: 1px solid #ffff;
}

/* === Section Results Page === */
.section-score-display {
    font-size: 22px;
    font-weight: 700;
    color: #329ACD;
    margin-bottom: 4px;
}

.question-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    padding: 15px;
    margin-bottom: 16px;
}

.question-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.question-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.question-card-header-text {
    flex: 1 1 auto;
    margin-right: 20px;
}

.badge-score {
    background-color: #4CBEB7;
    color: white;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
}

.response-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.options-list {
    margin-top: 8px;
    font-size: 15px;
}

.option-row {
    padding: 6px 8px;
    border-radius: 4px;
}

.option-row-even {
    background-color: #f8f9fa;
}

.option-row-odd {
    background-color: #ffffff;
}

.option-row-selected {
    background-color: #ddf0f8;
    font-weight: 600;
    color: #1b4457;
}

.options-list-option-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-points {
    margin-left: 20px;
    font-weight: 600;
    font-size: 14px;
    color: #666;
}

.options-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    margin-bottom: 4px;
}

.option-feedback {
    margin-top: 4px;
    padding: 6px 10px;
    background-color: #fff8e1;
    border-left: 3px solid #ffc107;
    font-size: 15px;
    color: #555;
}

.question-feedback {
    margin-top: 10px;
    padding: 10px 14px;
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    font-size: 15px;
    color: #555;
}

.option-feedback-list {
    margin: 4px 0 0 0;
    padding-left: 20px;
    font-size: 15px;
    color: #555;
}

.option-feedback-list li {
    margin-bottom: 2px !important;
    line-height: 1.4;
}

.feedback-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9a7a00;
    margin-bottom: 4px;
}

.btn-return {
    background-color: #329ACD;
    border-color: #329ACD;
    color: white;
    border-radius: 25px;
    padding: 12px 30px;
}

.btn-return:hover {
    background-color: #2a82a8;
    border-color: #2a82a8;
    color: white;
}

@media screen and (max-width: 767px) {
    .response-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* === Evaluation Index Page === */
.evaluation-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 4px;
}

.eval-actions {
    text-align: center;
    margin-bottom: 24px;
}

.eval-notes-btn {
    border-radius: 25px;
    padding: 8px 20px;
    background-color: #AFC4C0;
    color: #000;
    border: 1px solid #AFC4C0;
    min-width: 240px;
    margin: 0 5px;
}

.eval-notes-btn:hover {
    background-color: #9db3af;
    color: #000;
    border-color: #9db3af;
}

.eval-exit-btn {
    border-radius: 25px;
    padding: 8px 20px;
    background-color: #000;
    color: white;
    border: 1px solid #000;
    min-width: 240px;
    margin: 0 5px;
}

.eval-exit-btn:hover {
    background-color: #333;
    color: white;
    border-color: #333;
}

.answer-button {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #6c757d;
    border-radius: 25px;
    background-color: white;
    color: #6c757d;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
    font-size: 16px;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.answer-button:hover {
    background-color: #f8f9fa;
    border-color: #495057;
    color: #495057;
}

.answer-button.yes {
    border-color: #495057;
    color: #495057;
}

.answer-button.yes:hover,
.answer-button.yes.selected {
    background-color: #329ACD;
    color: white;
    border-color: #329ACD;
}

.answer-button.no {
    border-color: #6c757d;
    color: #6c757d;
}

.answer-button.no:hover,
.answer-button.no.selected {
    background-color: #329ACD;
    color: white;
    border-color: #329ACD;
}

.answer-button.na {
    border-color: #6c757d;
    color: #6c757d;
}

.answer-button.na:hover,
.answer-button.na.selected {
    background-color: #329ACD;
    color: white;
    border-color: #329ACD;
}

.answer-button input[type="radio"] {
    display: none;
}

.multiple-choice-option {
    display: block;
    margin-bottom: 10px;
    padding: 10px 15px;
    border: 2px solid #6c757d;
    border-radius: 25px;
    background-color: white;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-weight: 500;
    font-size: 16px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.multiple-choice-option:hover {
    background-color: #f8f9fa;
    border-color: #495057;
    color: #495057;
}

.multiple-choice-option.selected {
    background-color: #329ACD;
    color: white;
    border-color: #329ACD;
}

.multiple-choice-option input[type="radio"],
.multiple-choice-option input[type="checkbox"] {
    display: none;
}

.question-item {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.question-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.question-number {
    width: 28px;
    height: 28px;
    background-color: #329ACD;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.question-item .question-text {
    font-size: 16px;
    line-height: 1.5;
    color: #212529;
    margin-bottom: 16px;
}

.evaluation-questions {
    display: block;
}

.yes-no-answers {
    text-align: right;
    margin-top: 20px;
}

.multi-select-container {
    margin-top: 20px;
}

.progress-circle {
    position: absolute;
    right: -35px;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background-color: #AFC4C0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    border: 4px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.progress-text {
    font-size: 16px;
}

.progress-bar-eval {
    background-color: #329ACD !important;
}

.progress-track-eval {
    background-color: #AFC4C0 !important;
}

@media screen and (max-width: 767px) {
    .progress-circle {
        right: -5px;
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .progress-text {
        margin-bottom: 15px;
        margin-top: 15px;
        display: table;
        text-align: left;
    }

    .eval-notes-btn,
    .eval-exit-btn {
        width: 100%;
        margin: 0 0 20px 0;
        min-width: unset;
    }

}