.latest-result-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.latest-result-link:hover {
    background-color: #005177;
    color: #ffffff;
    text-decoration: none;
}

.widget_latest_result_widget .latest-result-link {
    display: block;
    text-align: center;
    margin: 10px 0;
}

#wp-admin-bar-latest-result .ab-item {
    color: #ffffff !important;
}

#wp-admin-bar-latest-result:hover .ab-item {
    background-color: #005177 !important;
}

.quiz-container {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quiz-container .qsm-quiz-container {
    max-width: 100%;
    margin: 0 auto;
}

.quiz-results-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.quiz-results-container h1 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.quiz-results-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 2rem 0;
}

.quiz-results-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.quiz-results-table thead th {
    background: #2c3e50;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 1.2rem 1.5rem;
    text-align: left;
}

.quiz-results-table tbody td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #edf2f7;
    color: #4a5568;
    font-size: 1rem;
    vertical-align: middle;
}

.quiz-results-table tbody tr:last-child td {
    border-bottom: none;
}

.quiz-results-table tbody tr:hover td {
    background-color: #f8fafc;
}

.quiz-results-table .button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #4299e1;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 120px;
}

.quiz-results-table .button:hover {
    background: #3182ce;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #fff !important;
    text-decoration: none;
}

.quiz-result-details {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.quiz-result-details h1 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.result-info {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.result-info p {
    margin: 0.8rem 0;
    color: #4a5568;
    font-size: 1.1rem;
}

.result-info strong {
    color: #2d3748;
    font-weight: 600;
}

.quiz-questions {
    margin-top: 2rem;
}

.question {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.question:hover {
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.question h3 {
    color: #2d3748;
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.question p {
    margin: 0.5rem 0;
    color: #4a5568;
    font-size: 1rem;
}

.question strong {
    color: #2d3748;
    font-weight: 600;
}

.result-actions {
    margin-top: 2rem;
    text-align: center;
}

.result-actions .button {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background: #4299e1;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0 0.5rem;
}

.result-actions .button:hover {
    background: #3182ce;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #fff !important;
    text-decoration: none;
}

.score {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
}

.answer-text {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background: #f7fafc;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.points {
    margin-top: 0.5rem;
    color: #4299e1;
    font-weight: 500;
}

.user-answer.correct .answer-text {
    background: #c6f6d5;
    color: #2f855a;
}

.user-answer.incorrect .answer-text {
    background: #fed7d7;
    color: #c53030;
}

.result-actions .button:last-child {
    background: #718096;
}

.result-actions .button:last-child:hover {
    background: #4a5568;
}

@media screen and (max-width: 768px) {
    .quiz-container {
        padding: 10px;
    }
    .quiz-results-table {
        margin: 1rem 0;
    }
    .quiz-results-table th,
    .quiz-results-table td {
        padding: 1rem;
    }
    .quiz-result-details {
        padding: 1rem;
        margin: 1rem;
    }
    .question {
        padding: 1rem;
    }
    .result-info {
        padding: 1rem;
    }
    .result-actions .button {
        display: block;
        margin: 0.5rem 0;
    }
} 