/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e88e5;
    --primary-dark: #1976d2;
    --primary-light: #bbdefb;
    --accent-color: #ff6d00;
    --text-color: #333;
    --text-light: #666;
    --background-color: #f5f8fa;
    --card-color: #fff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* 头部样式 */
.app-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.logo-animation {
    background-color: white;
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
}

.logo-animation i {
    font-size: 30px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
}

.app-header h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* 主区域样式 */
.app-main {
    flex: 1;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.features-section {
    margin-top: 50px;
    margin-bottom: 30px;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.feature-card {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.selection-section {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    margin-top: 20px;
}

.selection-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.selection-section h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.selection-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.selection-step {
    margin-bottom: 20px;
}

.selection-step h3 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.3rem;
}

.database-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.option-card {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 20px;
    width: 100%;
    max-width: 400px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    position: relative;
}

.option-card:hover {
    border-color: var(--primary-light);
    background-color: #f0f7ff;
    transform: translateY(-3px);
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.option-card input[type="radio"]:checked + .option-content {
    border-color: var(--primary-color);
    background-color: rgba(30, 136, 229, 0.05);
}

.option-content {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: var(--transition);
}

.option-content i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.option-content h4 {
    margin-bottom: 5px;
    color: var(--text-color);
    font-weight: 600;
}

.option-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.exam-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.exam-card {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.exam-card:hover {
    border-color: var(--primary-light);
    background-color: #f0f7ff;
    transform: translateY(-3px);
}

.exam-card.selected {
    border-color: var(--primary-color);
    background-color: rgba(30, 136, 229, 0.05);
}

.exam-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.exam-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 10px;
}

.exam-card li {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 3px 0;
}

.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    grid-column: 1 / -1;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(30, 136, 229, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.start-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    margin: 40px auto 0;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.start-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.4);
    transform: translateY(-2px);
}

.start-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.3);
}

/* 底部区域样式 */
.app-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 20px 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-section h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-section p {
    color: #bdc3c7;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
    font-size: 0.9rem;
}

/* 保留原有的模块样式 */
.breadcrumb {
    text-align: left;
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
}

.breadcrumb a {
    color: #1e88e5;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

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

section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #1e88e5;
    margin-bottom: 10px;
}

.question-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.type-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.type-btn {
    padding: 8px 15px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.type-btn.active {
    background-color: #1e88e5;
    color: white;
}

.question-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.question-title {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.code-block {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 15px;
    margin: 15px 0;
    overflow-x: auto;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre;
    color: #333;
}

.code-block code {
    display: block;
    white-space: pre;
}

.options {
    margin-bottom: 15px;
}

.option {
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.option:hover {
    background-color: #e3f2fd;
    border-color: #bbdefb;
}

.option.selected {
    background-color: #e3f2fd;
    border-left: 3px solid #1e88e5;
}

.option.correct {
    background-color: #e8f5e9;
    border-left: 3px solid #4caf50;
}

.option.incorrect {
    background-color: #ffebee;
    border-left: 3px solid #f44336;
}

.option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.option input[type="radio"],
.option input[type="checkbox"] {
    margin-right: 10px;
    min-width: 18px;
    min-height: 18px;
}

.option span {
    flex: 1;
}

.requirement {
    margin-bottom: 15px;
    line-height: 1.6;
}

.score {
    margin-bottom: 15px;
    font-weight: bold;
    color: #1e88e5;
}

.answer-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}

.show-answer-btn {
    padding: 8px 15px;
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.show-answer-btn:hover {
    background-color: #1976d2;
}

.answer-content {
    margin-top: 15px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
    border-left: 3px solid #1e88e5;
    display: none;
}

.answer-content.visible {
    display: block;
}

.question-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.question-controls button {
    padding: 8px 15px;
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.question-controls button:hover {
    background-color: #1976d2;
}

.question-controls button:disabled {
    background-color: #bbdefb;
    cursor: not-allowed;
}

button {
    padding: 10px 15px;
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

button:hover {
    background-color: #1976d2;
}

.hidden {
    display: none !important;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    .card {
        width: calc(50% - 20px);
    }
    
    header h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 1.5em;
    }
    
    .card {
        width: 100%;
    }
    
    .question-navigation {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .question-navigation h2 {
        margin-bottom: 10px;
        font-size: 1.4em;
    }
    
    .type-navigation {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .type-btn {
        padding: 6px 12px;
    }
    
    .question-item {
        padding: 15px;
    }
    
    .option {
        padding: 10px;
    }
    
    .question-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .question-controls button {
        width: 100%;
    }
    
    .option, button, .card {
        touch-action: manipulation;
    }
    
    button, .type-btn {
        padding: 12px 15px;
        font-size: 1rem;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    .code-block {
        font-size: 0.85rem;
    }
    
    .option {
        padding: 12px;
    }
    
    .option input[type="radio"],
    .option input[type="checkbox"] {
        transform: scale(1.2);
    }
    
    button {
        padding: 12px 18px;
        font-size: 1.1rem;
    }
    
    .code-block {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    button, .card, .option {
        touch-action: manipulation;
    }
}

/* 移动设备适配 */
@media (max-width: 576px) {
    .app-header {
        padding: 30px 15px;
    }
    
    .app-header h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .app-main {
        padding: 20px 15px;
    }
    
    .feature-card {
        width: 100%;
        padding: 20px;
    }
    
    .selection-section {
        padding: 25px 15px;
    }
    
    .option-card {
        padding: 10px;
    }
    
    .option-content {
        padding: 10px;
    }
    
    .start-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .footer-section {
        flex: 100%;
    }
}

/* 练习页面样式 */
.practice-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left {
    flex: 1;
}

.header-center {
    flex: 2;
    text-align: center;
}

.header-right {
    flex: 1;
    text-align: right;
}

.practice-header h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.back-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: var(--transition);
}

.back-link i {
    margin-right: 5px;
    font-size: 1.2rem;
}

.back-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

#exam-title {
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.practice-main {
    flex: 1;
    padding: 30px 20px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.question-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    box-shadow: var(--shadow);
}

#type-navigation {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.type-btn {
    padding: 8px 15px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.type-btn:hover {
    background-color: var(--primary-light);
}

.type-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.question-progress {
    font-weight: 500;
    color: var(--text-light);
    background-color: #f0f0f0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.question-container {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.question-item {
    margin-bottom: 20px;
}

.question-title {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.option {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.option:hover {
    border-color: var(--primary-light);
    background-color: #f0f7ff;
}

.option.selected {
    border-color: var(--primary-color);
    background-color: rgba(30, 136, 229, 0.05);
}

.option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    margin: 0;
}

.option input[type="radio"],
.option input[type="checkbox"] {
    margin-right: 12px;
}

.requirement {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.score, .criteria {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.score {
    color: var(--primary-color);
    font-weight: 500;
}

.answer-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
}

.show-answer-btn {
    background-color: #f0f0f0;
    color: var(--text-color);
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.show-answer-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.answer-content {
    margin-top: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid var(--primary-color);
    display: none;
}

.answer-content.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.question-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.question-controls button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
}

.question-controls button:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.question-controls button:disabled {
    background-color: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    box-shadow: none;
}

/* 代码块样式美化 */
.code-block {
    background-color: #2d2d2d;
    color: #f8f8f2;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    overflow-x: auto;
    font-family: 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block code {
    display: block;
    white-space: pre;
}

/* 结束练习按钮样式 */
.finish-btn {
    color: white;
    background-color: #4caf50;
    border: none;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.9rem;
    margin-left: 15px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.finish-btn i {
    margin-right: 5px;
    font-size: 1.1rem;
}

.finish-btn:hover {
    background-color: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* 结果页面样式 */
#result-section {
    padding: 20px 0;
    animation: fadeIn 0.5s ease;
}

.result-header {
    margin-bottom: 25px;
    text-align: center;
}

.result-header h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.result-summary {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.summary-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 150px;
    text-align: center;
    box-shadow: var(--shadow);
}

.summary-item .count {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.summary-item .label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.summary-item.correct .count {
    color: #4caf50;
}

.summary-item.incorrect .count {
    color: #f44336;
}

.summary-item.unanswered .count {
    color: #ff9800;
}

.result-container {
    margin-bottom: 30px;
}

.result-section-title {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.result-item {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.result-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.result-item-title {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.result-item-title .number {
    background-color: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 10px;
}

.result-status {
    display: flex;
    align-items: center;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.result-status.correct {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.result-status.incorrect {
    background-color: #ffebee;
    color: #c62828;
}

.result-status.unanswered {
    background-color: #fff3e0;
    color: #ef6c00;
}

.result-status i {
    margin-right: 4px;
    font-size: 1rem;
}

.result-item-content {
    padding: 20px;
}

.result-question {
    margin-bottom: 15px;
}

.result-question .question-text {
    margin-bottom: 10px;
    line-height: 1.6;
}

.result-options {
    margin-bottom: 15px;
}

.result-option {
    display: flex;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    align-items: center;
}

.result-option.selected {
    background-color: #e3f2fd;
    border-left: 3px solid #1e88e5;
}

.result-option.correct {
    background-color: #e8f5e9;
    border-left: 3px solid #4caf50;
}

.result-option.incorrect {
    background-color: #ffebee;
    border-left: 3px solid #f44336;
}

.result-option .option-letter {
    font-weight: 600;
    width: 25px;
    display: inline-block;
}

.result-option i {
    margin-left: auto;
    font-size: 1.1rem;
}

.result-option i.bx-check {
    color: #4caf50;
}

.result-option i.bx-x {
    color: #f44336;
}

.result-explanation {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.result-explanation h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.result-actions button {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.result-actions .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.result-actions .btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.result-actions .btn-secondary {
    background-color: #f5f5f5;
    color: var(--text-color);
}

.result-actions .btn-secondary:hover {
    background-color: #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.result-actions button i {
    margin-right: 8px;
    font-size: 1.2rem;
} 