.retake-detail-row {
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.retake-detail-cell {
    padding: 0 !important;
    border: none !important;
}

.retake-detail-content {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.retake-response-details {
    font-family: "Roboto", "Helvetica", sans-serif;
}

.detail-header {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.detail-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.detail-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
    text-align: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.detail-close:hover {
    background-color: #f0f0f0;
    color: #333;
}


.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-weight: 500;
    color: #555;
    font-size: 14px;
    margin: 0;
    min-width: 100px;
}

.detail-row span {
    color: #333;
    font-size: 14px;
    text-align: right;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.status-correct {
    background-color: #5cb85c;
    color: white;
}

.status-badge.status-incorrect {
    background-color: #d9534f;
    color: white;
}

.status-badge.status-partial {
    background-color: #f0ad4e;
    color: white;
}

.status-badge.status-not_answered {
    background-color: #f0f0f0;
    color: #666;
    border: 1px solid #ccc;
}

.score-display {
    font-weight: 500;
    color: #333;
}

.response-id,
.reference-id {
    font-family: monospace;
    font-size: 12px;
    color: #666;
    word-break: break-all;
    display: block;
    margin-top: 4px;
}

.retake-detail-error {
    color: #d9534f;
    font-style: italic;
    padding: 20px;
    text-align: center;
}

.lrn-circle.retake-response-detail:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.question-details-unavailable {
    color: #666;
    font-style: italic;
    padding: 8px 0;
}

.question-details-error {
    color: #d9534f;
    font-style: italic;
    padding: 8px 0;
}

.correct-answer {
    color: #5cb85c;
    font-weight: 500;
}

.selected-answer {
    color: #2196F3;
    font-weight: 500;
}

/* Percentage score styling */
.lrn-report-measure {
    text-align: center;
}


/* Assessment info header */
.assessment-info-header {
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 4px;
    min-height: 67px;
}

.assessment-info-header .row {
    margin-bottom: 0;
}

.assessment-info-title {
    margin: 0 0 8px 0;
    font-size: 1.5em;
    font-weight: 500;
}

.assessment-info-description {
    margin: 0 0 12px 0;
    color: #666;
}

.assessment-info-meta {
    font-size: 0.9em;
    color: #555;
}

@media (max-width: 768px) {
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .detail-row span {
        text-align: left;
    }
}
