/* Custom styles for Intellija Gateway manual */

/* Screenshot styling */
img {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 100%;
}

/* Screenshot captions */
em {
    display: block;
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: -15px;
    margin-bottom: 20px;
}

/* Admonition customization */
.admonition {
    margin: 1.5em 0;
}

/* Step numbers in procedures */
ol.procedure {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

ol.procedure > li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding-left: 50px;
    position: relative;
}

ol.procedure > li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #3f51b5;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: bold;
}

/* Code blocks */
pre {
    border-radius: 4px;
}

/* Tables */
table {
    margin: 20px 0;
}

/* Navigation breadcrumbs */
.md-nav--primary .md-nav__item--active > .md-nav__link {
    font-weight: 600;
}
