@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
/* 1990s Textbook Style */
body {
    font-family: "Inria Serif", "Times New Roman", Georgia, serif;
    font-size: 12pt;
    font-weight: 400;
    line-height: 1.4;
    color: #222;
    background-color: #f9f7f0;
    margin: 0;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    min-height: 100vh;
    position: relative;
    padding-bottom: 60px; /* Space for copyright */
}

/* Headings */
h1 {
    font-size: 24pt;
    color: #003366;
    border-bottom: 2px solid #6699cc;
    padding-bottom: 6px;
    margin-top: 24px;
    margin-bottom: 16px;
}

h2 {
    font-size: 18pt;
    color: #336699;
    border-bottom: 1px dotted #99ccff;
    padding-bottom: 4px;
    margin-top: 20px;
    margin-bottom: 14px;
}

h3 {
    font-size: 14pt;
    color: #0066cc;
    margin-top: 16px;
    margin-bottom: 12px;
}

h4, h5, h6 {
    font-size: 12pt;
    color: #0066cc;
    font-style: italic;
    margin-top: 14px;
    margin-bottom: 10px;
}

/* Lists */
ul, ol {
    margin-left: 30px;
    padding-left: 10px;
}

ul {
    list-style-type: square;
}

ol {
    list-style-type: decimal;
}

li {
    margin-bottom: 8px;
}

/* Form Elements */
input, textarea, select {
    font-family: "Inria Serif", "Times New Roman", serif;
    font-size: 12pt;
    padding: 4px;
    border: 1px solid #99a;
    background-color: #fff;
    color: #222;
}

input[type="submit"], input[type="button"], button {
    background-color: #336699;
    color: white;
    border: 1px solid #003366;
    padding: 6px 12px;
    cursor: pointer;
}

input[type="submit"]:hover, input[type="button"]:hover, button:hover {
    background-color: #003366;
}

fieldset {
    border: 1px solid #99a;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f0f5fa;
}

legend {
    font-weight: bold;
    color: #336699;
    padding: 0 10px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 11pt;
}

th {
    background-color: #336699;
    color: white;
    text-align: left;
    padding: 8px 12px;
    border: 1px solid #003366;
}

td {
    padding: 6px 12px;
    border: 1px solid #99a;
    background-color: #fff;
}

tr.disabled {
    color: #999;
    background-color: #f0f0f0;
}

tr.disabled td {
    background-color: #f0f0f0;
}

/* Special Classes */
.copyright {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10pt;
    color: #666;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Page Elements */
.page-number {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 10pt;
    color: #666;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Special textbook elements */
.note {
    background-color: #f0f5fa;
    border-left: 4px solid #6699cc;
    padding: 12px;
    margin: 15px 0;
}

.example {
    background-color: #f9f9f9;
    border: 1px dashed #99a;
    padding: 12px;
    margin: 15px 0;
}

.key-term {
    font-style: italic;
    color: #003366;
}