* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

nav {
    background-color: #112e51;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #1a4480;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a4480;
    min-width: 350px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    padding: 12px 16px;
    border-bottom: 1px solid #112e51;
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.container {
    background: white;
    padding: 2rem;
}

h2 {
    color: #112e51;
    margin-bottom: 1rem;
    font-size: 2rem;
}

h3 {
    color: #1a4480;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h4 {
    color: #1a4480;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

section {
    margin-bottom: 2rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    list-style-position: outside;
}

ul ul, ul ol, ol ul, ol ol {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.container > section > ol,
.container > section > ul {
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: #0071bc;
}

a:hover {
    text-decoration: underline;
}

.requirement-header {
    background-color: #f1f1f1;
    padding: 1rem;
    border-left: 4px solid #112e51;
    margin-bottom: 1rem;
    position: relative;
}

.requirement-header h2 {
    cursor: help;
}

.tooltip {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 0.5rem;
    background-color: #112e51;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    z-index: 100;
    width: 350px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 0.9rem;
    font-weight: normal;
    line-height: 1.6;
}

.tooltip ol, .tooltip ul {
    margin-left: 1.5rem;
    margin-bottom: 0;
}

.requirement-header:hover .tooltip {
    display: block;
}

.requirement-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.required {
    background-color: #e31c3d;
    color: white;
}

.recommended {
    background-color: #02bfe7;
    color: white;
}

.changelog {
    background-color: #fef0e6;
    padding: 1rem;
    border-left: 4px solid #ff7e00;
    margin: 1rem 0;
}

.note {
    background-color: #e7f6f8;
    padding: 1rem;
    border-left: 4px solid #02bfe7;
    margin: 1rem 0;
}

code {
    background-color: #f1f1f1;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

pre {
    background-color: #f1f1f1;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1rem 0;
}

pre code {
    padding: 0;
}

footer {
    border-top: 3px solid #112e51;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

footer h3 {
    color: #112e51;
    margin-top: 0;
}

footer table {
    border-collapse: collapse;
    margin: 0 auto;
}

footer td {
    padding: 0.25rem 1rem 0.25rem 0;
    text-align: left;
}

footer td:first-child {
    font-weight: bold;
}
