/* assets/css/myopsagent-docs.css */

/* ============================================================
   MyOpsAgent Documentation Styles
   ============================================================ */

/* ------------------------------------------------------------
   LAYOUT
------------------------------------------------------------ */

.docs-layout {
    display: flex;
    gap: 40px;
    margin-top: 120px;
}

.docs-sidebar {
    width: 260px;
    border-right: 1px solid #e5e5e5;
    padding-right: 20px;
}

.docs-sidebar a {
    display: block;
    padding: 10px 0;
    color: #334155; /* slate-700 */
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.docs-sidebar a.active {
    color: #0d6efd;
    font-weight: 700;
}

.docs-content {
    flex: 1;
    max-width: 900px;
    background-color: #ffffff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
    .docs-layout {
        flex-direction: column;
    }
    .docs-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: 20px;
    }
}

/* ------------------------------------------------------------
   DOCUMENT PAGE BASE
------------------------------------------------------------ */

.doc-page {
    background-color: #ffffff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    color: #1f2937; /* slate-800 */
    line-height: 1.75;
}

/* ------------------------------------------------------------
   HEADER
------------------------------------------------------------ */

.doc-header .doc-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: #6b7280; /* slate-500 */
    margin-bottom: 0.75rem;
}

.doc-header .doc-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    color: #111827; /* slate-900 */
    text-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.doc-header .doc-intro {
    font-size: 1.05rem;
    color: #374151; /* slate-700 */
    max-width: 720px;
    margin-bottom: 1rem;
    line-height: 1.75;
}

/* ------------------------------------------------------------
   SECTION HEADINGS
------------------------------------------------------------ */

.doc-section {
    margin-top: 3rem;
}

.doc-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b; /* slate-800 */
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.doc-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155; /* slate-700 */
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

/* ------------------------------------------------------------
   BODY TEXT
------------------------------------------------------------ */

.doc-section p {
    margin-bottom: 1rem;
    color: #374151; /* slate-700 */
    line-height: 1.75;
    font-size: 1rem;
}

.doc-section ul,
.doc-section ol {
    margin-bottom: 1.25rem;
    padding-left: 1.4rem;
}

.doc-section li {
    margin-bottom: 0.4rem;
    color: #374151;
}

/* ------------------------------------------------------------
   CODE BLOCKS
------------------------------------------------------------ */

.doc-code-block {
    margin: 1.25rem 0;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #0f172a; /* deep navy */
    color: #e2e8f0; /* light slate */
    overflow: hidden;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9rem;
}

.doc-code-header {
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8; /* slate-400 */
    background: #020617;
}

.doc-code-block pre {
    margin: 0;
    padding: 1rem 1.2rem;
    overflow-x: auto;
}

.doc-code-block code {
    white-space: pre;
}
