<!-- table copied from Wikipedia. -->
.container {
	max-width: 1200px;
	margin: 0 auto;
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h4 {
	text-align: center;
	color: #333;
	margin-bottom: 30px;
}
table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}
th, td {
	padding: 12px;
	text-align: left;
	border: 1px solid #ddd;
}
th {
	background-color: #f8f9fa;
	font-weight: bold;
	color: #333;
}
tr:nth-child(even) {
	background-color: #f9f9f9;
}
.degree {
	text-align: center;
	font-weight: bold;
}
.polynomial {
	font-family: 'Courier New', monospace;
	font-size: 0.9em;
}
.extrema {
	font-family: 'Courier New', monospace;
	font-size: 0.9em;
}
.error {
	text-align: right;
	font-family: 'Courier New', monospace;
}
.fraction {
	display: inline-block;
	text-align: center;
	vertical-align: middle;
}
.fraction .num {
	display: block;
	border-bottom: 1px solid black;
	padding-bottom: 2px;
}
.fraction .den {
	display: block;
	padding-top: 2px;
}

.math-box {
    background: #f8f9fa;
    padding: 18px;
    border-left: 4px solid #007bff;
    border-radius: 6px;
    margin: 20px 0;
    text-align: center;
    font-size: 1.1em;
}

.important-theorem {
    background: #e7f3ff;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #b8daff;
    margin: 20px 0;
    font-size: 1.05em;
}

.algorithm-steps ol {
    background: #f4f4f9;
    padding: 20px 40px;
    border-radius: 8px;
    margin: 20px 0;
}

.algorithm-steps li {
    margin-bottom: 16px;
}

.note {
    color: #5a5a5a;
    font-style: italic;
    margin-top: 20px;
}