/* ABM docs content styling — sits on top of the site's /style.css.
   Reuses the CoderTricks palette: #667eea→#764ba2 gradient, #2c3e50 headings,
   white cards, #e1e5e9 borders. Only adds typography + doc components. */

.doc-wrap {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
    max-width: 880px;
    margin: 0 auto 40px;
    padding: 48px 56px;
}

/* Breadcrumb / back link */
.doc-breadcrumb {
    max-width: 880px;
    margin: 0 auto 16px;
    font-size: 14px;
}
.doc-breadcrumb a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}
.doc-breadcrumb a:hover { text-decoration: underline; }

/* Typography */
.doc-wrap h1 {
    font-size: 30px;
    color: #2c3e50;
    line-height: 1.25;
    margin-bottom: 6px;
}
.doc-wrap h2 {
    font-size: 23px;
    color: #2c3e50;
    margin: 38px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e1e5e9;
}
.doc-wrap h3 {
    font-size: 18px;
    color: #34495e;
    margin: 26px 0 10px;
}
.doc-wrap h4 { font-size: 16px; color: #34495e; margin: 20px 0 8px; }
.doc-wrap p { margin: 12px 0; line-height: 1.7; color: #333; }
.doc-wrap ul, .doc-wrap ol { margin: 12px 0 12px 4px; padding-left: 22px; line-height: 1.7; color: #333; }
.doc-wrap li { margin: 6px 0; }
.doc-wrap a { color: #667eea; }
.doc-wrap strong { color: #2c3e50; }
.doc-wrap hr { border: none; border-top: 1px solid #e1e5e9; margin: 32px 0; }

/* Inline + block code */
.doc-wrap code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    color: #c0392b;
}
.doc-wrap pre {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
}
.doc-wrap pre code { background: none; color: #2c3e50; padding: 0; }

/* Tables */
.doc-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 15px;
}
.doc-wrap th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: left;
    padding: 10px 12px;
    font-weight: 600;
}
.doc-wrap td {
    padding: 10px 12px;
    border-bottom: 1px solid #e1e5e9;
    vertical-align: top;
}
.doc-wrap tr:nth-child(even) td { background: #f8f9ff; }

/* Callout boxes (markdown blockquotes) */
.doc-wrap blockquote {
    margin: 18px 0;
    padding: 14px 18px;
    background: #f8f9ff;
    border-left: 4px solid #667eea;
    border-radius: 0 8px 8px 0;
}
.doc-wrap blockquote p:first-child { margin-top: 0; }
.doc-wrap blockquote p:last-child { margin-bottom: 0; }
.doc-wrap blockquote.warning {
    background: #fff3cd;
    border-left-color: #f0ad4e;
}
.doc-wrap blockquote.warning strong { color: #8a6d00; }

/* Status checklist */
.doc-wrap input[type="checkbox"] { margin-right: 8px; }

/* Doc footer meta */
.doc-meta {
    max-width: 880px;
    margin: 0 auto 60px;
    text-align: center;
    color: #6c757d;
    font-size: 13px;
}

@media (max-width: 700px) {
    .doc-wrap { padding: 28px 20px; }
}
