/* Documentation Styles - Extends main styles.css */

/* Additional documentation-specific color variables */
:root {
    --warning-bg: #fff3cd;
    --warning-border: #ffc107;
    --warning-text: #856404;
}

[data-theme="dark"] {
    --warning-bg: #3a3a00;
    --warning-border: #ffc107;
    --warning-text: #ffd966;
}

/* Documentation page layout - adjust for nav and footer */
body {
    padding-top: 80px; /* Account for fixed nav */
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

header .subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Nav styling is inherited from main styles.css */

h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

h4 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

p {
    margin-bottom: 15px;
    color: var(--text-primary);
}

ul, ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
    color: var(--text-primary);
}

code {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: "Consolas", "Monaco", "Courier New", monospace;
    font-size: 0.9em;
}

[data-theme="dark"] code {
    background-color: rgba(255, 255, 255, 0.1);
}

pre {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 20px;
}

[data-theme="dark"] pre {
    background-color: rgba(255, 255, 255, 0.05);
}

pre code {
    background: none;
    padding: 0;
    border: none;
}

.warning {
    background-color: var(--warning-bg);
    border-left: 4px solid var(--warning-border);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.warning strong {
    color: var(--warning-text);
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.warning p {
    color: var(--warning-text);
    margin-bottom: 0;
}

.info-box {
    background-color: rgba(0, 102, 204, 0.05);
    border-left: 4px solid #0066cc;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

[data-theme="dark"] .info-box {
    background-color: rgba(74, 158, 255, 0.1);
    border-left-color: #4a9eff;
}

.step {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .step {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.step h4 {
    margin-top: 0;
    color: #0066cc;
}

[data-theme="dark"] .step h4 {
    color: #4a9eff;
}

/* Link styling inherited from main styles.css */

/* Footer styling inherited from main styles.css */

.back-link {
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 40px;
    color: #0066cc;
    font-weight: 500;
    text-decoration: none;
}

[data-theme="dark"] .back-link {
    color: #4a9eff;
}

.back-link:hover {
    text-decoration: underline;
}

.tips-box {
    background-color: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

[data-theme="dark"] .tips-box {
    background-color: rgba(14, 165, 233, 0.1);
    border-left-color: #38bdf8;
}

.tips-box strong {
    color: #0369a1;
}

[data-theme="dark"] .tips-box strong {
    color: #7dd3fc;
}

.tips-box ul {
    margin-bottom: 0;
}
