/* 错误页面专用样式 */

.error-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.error-icon {
    font-size: 64px;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.error-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 16px;
    font-weight: 600;
}

.error-message {
    background: #ffeaea;
    color: #e74c3c;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    border-left: 4px solid #e74c3c;
}

.back-link {
    display: inline-block;
    background: #7b61ff;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.back-link:hover {
    background: #6a51d3;
}

/* exam_closed.html 专用样式 */
.exam-closed-container {
    max-width: 500px;
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.exam-closed-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
}

.exam-closed-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.exam-closed-content {
    padding: 40px 30px;
}

.exam-closed-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.exam-closed-message h2 {
    color: #e74c3c;
    margin-bottom: 10px;
    font-size: 20px;
}

.exam-closed-message p {
    color: #666;
    line-height: 1.5;
}

.exam-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #667eea;
}

.exam-info p {
    margin: 5px 0;
    color: #495057;
}

.exam-closed-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (max-width: 480px) {
    .exam-closed-actions {
        flex-direction: column;
    }
}