.cbt-portal {
	max-width: 700px;
	margin: 20px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #1a1a1a;
}
.cbt-login-wrap {
	max-width: 380px;
	padding: 30px;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.cbt-login-wrap h2 { margin-top: 0; }
.cbt-login-wrap label { display: block; margin-top: 14px; margin-bottom: 4px; font-weight: 600; font-size: 14px; }
.cbt-login-wrap input[type="text"],
.cbt-login-wrap input[type="password"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 15px;
	box-sizing: border-box;
}
.cbt-btn {
	background: #2563eb;
	color: #fff;
	border: none;
	padding: 11px 20px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 18px;
}
.cbt-btn:hover { background: #1d4ed8; }
.cbt-btn:disabled { background: #94a3b8; cursor: not-allowed; }
.cbt-error {
	background: #fee2e2;
	color: #991b1b;
	padding: 10px 14px;
	border-radius: 6px;
	margin-bottom: 12px;
	font-size: 14px;
}
.cbt-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	background: #f1f5f9;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 15px;
}
.cbt-logout-link { color: #2563eb; text-decoration: none; font-weight: 600; }
.cbt-exam-list { list-style: none; padding: 0; margin: 0; }
.cbt-exam-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 18px;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	margin-bottom: 10px;
}
.cbt-exam-info strong { display: block; font-size: 16px; margin-bottom: 4px; }
.cbt-exam-info span { color: #64748b; font-size: 13px; }
.cbt-badge {
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
}
.cbt-badge-done { background: #dcfce7; color: #166534; }
.cbt-badge-violation { background: #fee2e2; color: #991b1b; }
.cbt-results-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 12px;
}
.cbt-results-table th,
.cbt-results-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid #e2e2e2;
	font-size: 14px;
}
.cbt-results-table th {
	background: #f1f5f9;
	font-weight: 700;
}

/* Exam taking */
.cbt-exam-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	background: #1e293b;
	color: #fff;
	border-radius: 8px;
	margin-bottom: 18px;
	position: sticky;
	top: 0;
	z-index: 10;
}
.cbt-timer {
	font-size: 20px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.cbt-timer.cbt-timer-warning { color: #fbbf24; }
.cbt-timer.cbt-timer-danger { color: #f87171; }
.cbt-question-block {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 18px;
	margin-bottom: 14px;
}
.cbt-question-number { font-weight: 700; color: #64748b; font-size: 13px; margin-bottom: 8px; }
.cbt-question-text { font-size: 16px; margin-bottom: 14px; line-height: 1.5; }
.cbt-option-label {
	display: block;
	padding: 12px 14px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	margin-bottom: 8px;
	cursor: pointer;
	transition: all 0.15s;
}
.cbt-option-label:hover { background: #f8fafc; }
.cbt-option-label.selected { border-color: #2563eb; background: #eff6ff; }
.cbt-option-label input { margin-right: 10px; }
.cbt-submit-bar {
	text-align: center;
	padding: 20px 0;
}
.cbt-result-box {
	text-align: center;
	padding: 40px 20px;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
}
.cbt-result-score {
	font-size: 42px;
	font-weight: 800;
	color: #2563eb;
	margin: 12px 0;
}
