/* Basic Reset & Font Styles */
body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f8f9fa; /* Light gray background */
    color: #333;
}

/* Page Layout */
.container {
    max-width: 960px;
    margin: 0 auto; /* Center the content */
    padding: 30px;
    background-color: #ffffff; /* White content background */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Subtle shadow */
}

/* Headings */
h1 {
    font-size: 2.5em;
    color: #0056b3; /* Darker blue for main title */
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    text-align: center;
}

h2 {
    font-size: 1.8em;
    color: #0056b3;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

h3 {
    font-size: 1.4em;
    color: #004085; /* Slightly darker blue */
    margin-top: 25px;
    margin-bottom: 10px;
}

h4 {
    font-size: 1.1em;
    color: #343a40; /* Dark gray */
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Paragraphs */
p {
    margin-bottom: 1em;
}

/* Lists */
ul, ol {
    margin-left: 25px;
    margin-bottom: 1em;
}

ul li, ol li {
    margin-bottom: 0.5em;
}

/* Strong/Bold text */
strong {
    font-weight: bold;
    color: #343a40;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.9em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

table th, table td {
    border: 1px solid #dee2e6; /* Light gray border */
    padding: 12px 15px;
    text-align: left;
}

table th {
    background-color: #e9ecef; /* Slightly darker gray for headers */
    font-weight: bold;
    color: #495057;
    white-space: nowrap; /* Prevent headers from wrapping too aggressively */
}

table tr:nth-child(even) {
    background-color: #f2f2f2; /* Zebra striping for readability */
}

table tr:hover {
    background-color: #e9f5ff; /* Light blue on hover */
}

/* Code Blocks */
pre {
    background-color: #272c34; /* Dark background for code */
    color: #f8f8f2; /* Light text color */
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto; /* Enable horizontal scrolling for long lines */
    margin-bottom: 20px;
    font-family: 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

pre code {
    display: block; /* Ensure code block takes full width */
    white-space: pre-wrap; /* Allows breaking long lines */
    word-break: break-all; /* Breaks words if necessary */
}

/* Inline Code */
code {
    background-color: #e9ecef;
    color: #c7254e; /* Reddish color for inline code */
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.88em;
    white-space: nowrap; /* Keep inline code on one line */
}

/* Links */
a {
    color: #007bff; /* Standard blue link color */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Specific elements for context */
.note {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    margin-bottom: 15px;
}