/* Wider layout */
.wy-nav-content {
    max-width: 1280px !important;
}

/* Sidebar header */
.wy-side-nav-search {
    background-color: #e60064 !important;
}

/* Mobile top bar */
.wy-nav-top {
    background-color: #e60064 !important;
}

/* Sidebar active item */
/*.wy-menu-vertical li.current > a {
    background-color: #374151 !important;
}*/

/* Sidebar hover */
/*.wy-menu-vertical a:hover {
    background-color: #4b5563 !important;
}*/

/* Links */
/*a {
    color: #2563eb;
}

a:hover {
    color: #1d4ed8;
}*/

/* Better readable content */
/*body {
    font-size: 16px;
}*/

.caption-text {
    color: #e60064 !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Manual screenshots + click-to-zoom lightbox (see lightbox.js) ---- */
/* Targets content images served from manual/img/ only, so theme chrome
   (logo, sidebar) is untouched. */
.rst-content img[src*="img/"] {
    max-width: 100%;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
    cursor: zoom-in;
    display: block;
    margin: 12px auto;
}
#manual-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    cursor: zoom-out;
    padding: 24px;
}
#manual-lightbox.open { display: flex; }
#manual-lightbox img {
    max-width: 96%;
    max-height: 96%;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
