/* Custom styles for Ada documentation */

/* Autogenerated documentation marker */
.autogen-doc::before {
    content: "🤖 ";
    font-size: 0.9em;
    margin-right: 0.3em;
    opacity: 0.8;
}

.autogen-doc {
    font-weight: 500;
    color: inherit;
}

/* Optional: style for autogen indicator in TOC */
.toctree-l1 .autogen-doc,
.toctree-l2 .autogen-doc,
.toctree-l3 .autogen-doc {
    font-style: italic;
}

/* Add subtle background highlight for autogen sections */
.autogen-doc {
    padding: 0 0.2em;
    border-radius: 3px;
    background: rgba(114, 156, 199, 0.08);
}

/* Tooltip on hover (optional enhancement) */
.autogen-doc {
    position: relative;
    cursor: help;
}

.autogen-doc:hover::after {
    content: "Auto-generated from code";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3em 0.6em;
    background: #333;
    color: #fff;
    font-size: 0.75em;
    white-space: nowrap;
    border-radius: 3px;
    margin-bottom: 0.3em;
    font-style: normal;
    z-index: 1000;
    pointer-events: none;
}
