/* 考试容器 */
#exam-ongoing {
    margin: 0 auto;
}

.exam-header {
    display: flex;
    justify-content: space-between;
    margin: 10px 10px;
    padding: 10px;
    background: #1e293b;
    border-radius: 5px;
    color: var(--primary-color);
    flex-wrap: wrap;
}

.question-box {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.1);    
}
.question-box.selected{
	background: linear-gradient(180deg, #00544c, #001816);
}
.options {
    margin-top: 15px;
}

.option {
    display: block;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.option:hover {
    background: #f9f9f9;
}

.option.selected {
    border-color: #2196F3;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination button {
    margin: 0 5px;
    padding: 8px 8px;
    min-width: 80px;
}

.submit-btn {
    background: #f44336;
    color: white;
    margin-left: 20px;
    padding: 5px;
    min-width: 80px;    
    border-radius: 6px;
}

.exam-result {
    text-align: center;
    padding: 40px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    line-height: 3rem;
    display: grid;
    align-items: center;
    justify-items: center;
    width: 400px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 进度条容器 */
.progress-container {
    min-width: 56px;
    height: 28px;
    background: #2d3a50;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* 动态进度条 */
#progress-bar {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

/* 进度文字 */
#progress-percent {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

#progress-text {
    color: var(--primary-color);
}

.start-btn {
    padding: 12px 40px;
    font-size: 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.exam-start {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.exam-rules {
    border: 2px solid #2196F3;
    padding: 20px;
    border-radius: 8px;
    line-height: 3rem;
}
.page-dots {
    flex: 1;
    margin: 10px;
    display: flex;
    gap: 5px;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0d1425;
}

.dot.active {
    background: var(--primary-color);
}

.examName-zh{
	font-size: 1.1rem; 
	font-weight: 600;
	color: rgb(216 130 2); 
	letter-spacing: 3px;
}
.examName{
	font-size: 1rem; 
	font-weight: 600;
	color: rgb(216 130 2); 
}
.exam-timer{
	min-width: 400px;
}
.examSubmit{
	display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

@media (max-width: 768px) {
	.exam-header {
	    margin: 5px 10px;
	    gap: 5px
	}
	.examName-zh{
		font-size: 1.2rem; 
		letter-spacing: 0;
	}
	.examName{
		font-size: 1.1rem; 
		letter-spacing: 0;
	}
	.exam-timer{
		min-width: 100%;
		font-size: 0.8rem;
    	text-align: center;
	}
	.page-dots{
		margin: 5px;
	}
	.progress-container{
		min-width: 70px;
	}
	.submit-btn {
	    margin-left: 5px;
	}
	.examSubmit{
    	gap:10px;
    	width:100%;
	}

}