

.sidebar-left {
    width: 300px; /* Increase width */
    flex-shrink: 0;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto; /* Enable scrolling for overflow */
    max-height: calc(100vh - 60px); /* Adjust for header/footer */
}

.navigation-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    padding: 10px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.navigation-button i {
    margin-right: 5px;
}

.next-button i {
    margin-right: 0;
    margin-left: 5px;
}

/* Partner logo wall — a static row, each logo sized by height only (natural
   width, no forced box, so nothing is stretched or letterboxed). Grayscale
   and dimmed by default, full colour on hover/focus: flattening every logo
   to one tone is what actually stops a colourful crest from outranking a
   plain wordmark next to it -- the mixed widths alone read as normal, the
   way any "as seen in" logo strip does. */
.partner-wall {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.75rem 2.5rem;
}

/* For a narrow column (the login branding panel), where the default gap
   would otherwise make a few wrapped rows take up more height than the
   panel can spare. */
.partner-wall--compact {
    gap: 0.75rem 1rem;
}

.partner-wall-item img {
    filter: grayscale(1);
    opacity: 0.65;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.partner-wall-item:hover img,
.partner-wall-item:focus-within img {
    filter: grayscale(0);
    opacity: 1;
}

.partner-wall--dark .partner-wall-item {
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
}

.partner-wall--compact.partner-wall--dark .partner-wall-item {
    padding: 0.3rem 0.6rem;
}

.partner-logo-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 800;
    font-size: 1.05rem;
    white-space: nowrap;
}

.partner-logo-monogram--small {
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
}

/* The discreet "Built by" line -- small, muted, no grayscale needed since
   it is already understated by size and colour alone. */
.partner-credit-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.partner-credit-line--light { color: #9ca3af; }
.partner-credit-line--dark { color: #bfdbfe; }

.partner-credit-line .partner-wall-item {
    display: inline-flex;
    align-items: center;
}

.partner-credit-line--dark .partner-wall-item {
    background: #fff;
    border-radius: 0.25rem;
    padding: 0.15rem 0.4rem;
}

@media (prefers-reduced-motion: reduce) {
    .partner-wall-item img {
        transition: none;
    }
}