﻿.binder-shell {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    min-height: calc(100vh - 220px); /* rough: keeps footer down */
}

.binder-sidenav {
    width: 240px;
    flex: 0 0 240px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(0,0,0,.12);
    padding: 14px;
}

.binder-sidenav-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.binder-sidenav-title {
    font-weight: 700;
    font-size: 18px;
}

.binder-sidenav-sub {
    opacity: .7;
    font-size: 12px;
    margin-top: 2px;
}

.binder-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.binder-link {
    display: block;
    padding: 10px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    background: rgba(255,255,255,.04);
}

    .binder-link:hover {
        border-color: rgba(255,255,255,.12);
        background: rgba(255,255,255,.06);
    }

.binder-content {
    flex: 1 1 auto;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(0,0,0,.10);
    padding: 16px;
}

/* Page shell: sidebar + main */
.binders-layout {
    display: grid;
    grid-template-columns: 280px 1fr; /* sidebar + flexible content */
    gap: 24px;
    width: min(1600px, calc(100vw - 48px)); /* uses most of the screen */
    margin: 0 auto;
    padding: 24px 0;
}

/* If your site has a generic container with max-width: 1100px etc,
   override it ONLY on this page */
.binders-page .container,
.binders-page .content,
.binders-page main {
    max-width: none !important;
    width: 100% !important;
}

/* Make the right panel feel like a real app area */
.binders-main {
    min-height: calc(100vh - 220px); /* adjust based on header/footer height */
    padding: 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

/* Sidebar card */
.binders-sidebar {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}
..side-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nav-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-header {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-top: 6px;
}

.nav-item {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
}

    .nav-item:hover {
        background: rgba(255,255,255,0.05);
    }

    .nav-item.active {
        background: rgba(255,193,7,0.12); /* subtle gold */
        border-color: rgba(255,193,7,0.30);
    }

   