/* ADict Library Documentation - Module Pages Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    padding: 32px 48px;
    max-width: 1200px;
}

/* Main content wrapper */
.content {
    max-width: 100%;
}

/* Headers */
h1 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 8px;
}

h2 {
    font-size: 1.6rem;
    color: #1a1a2e;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #4CAF50;
}

h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 24px 0 12px;
}

h4 {
    font-size: 1rem;
    color: #555;
    margin: 16px 0 8px;
}

/* Subtitle */
.subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

/* Sections */
.section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.section h2 {
    margin-top: 0;
}

/* Code */
code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    color: #d63384;
}

pre {
    background: #282c34;
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    margin: 16px 0;
}

pre code {
    background: none;
    color: #abb2bf;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

tr:hover {
    background: #f8f9fa;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin: 16px 0;
    border-left: 4px solid;
}

.alert-info {
    background: #e3f2fd;
    border-color: #2196F3;
    color: #1565c0;
}

.alert-warning {
    background: #fff3e0;
    border-color: #FF9800;
    color: #e65100;
}

.alert-success {
    background: #e8f5e9;
    border-color: #4CAF50;
    color: #2e7d32;
}

/* Links */
a {
    color: #4CAF50;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin: 12px 0;
    padding-left: 24px;
}

li {
    margin: 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }

    h1 {
        font-size: 2rem;
    }
}

