/* Shared left-rail menu styling -- used by the Binders, Trade Network, and
   Account side menus (_BindersSideMenu.cshtml, _TradeSideMenu.cshtml,
   _AccountSideMenu.cshtml). Each page's markup differs (different links,
   different active-route checks), but they all render the same class names
   here, so changing how the menu looks only ever needs to happen in this one
   file instead of three times. */

.ce-side-nav-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ce-side-nav-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 6px;
    padding: 0 4px;
    color: rgba(255, 255, 255, 0.44);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ce-side-nav-section a {
    color: #d4a853;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: none;
    text-decoration: none;
}

.ce-side-nav-section a:hover {
    color: #ffd88f;
}

.ce-side-nav-stack {
    display: grid;
    gap: 6px;
}

.ce-side-nav-link {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 900;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ce-side-nav-link:hover {
    transform: translateX(1px);
    border-color: rgba(212, 168, 83, 0.18);
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
}

.ce-side-nav-link-active {
    border-color: rgba(212, 168, 83, 0.2);
    background: linear-gradient(90deg, rgba(212, 168, 83, 0.18), rgba(212, 168, 83, 0.06));
    color: #f4cf80;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 14px 34px rgba(0, 0, 0, 0.18);
}

.ce-side-nav-link-disabled {
    color: rgba(255, 255, 255, 0.34);
    cursor: not-allowed;
}

.ce-side-nav-link-soon {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ce-side-nav-submenu {
    display: grid;
    gap: 5px;
    margin: -2px 0 2px 42px;
    padding-left: 12px;
    border-left: 1px solid rgba(212, 168, 83, 0.18);
}

.ce-side-nav-submenu-link {
    display: block;
    padding: 7px 10px;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.74rem;
    font-weight: 800;
    text-decoration: none;
}

.ce-side-nav-submenu-link:hover,
.ce-side-nav-submenu-link-active {
    background: rgba(212, 168, 83, 0.09);
    color: #f4cf80;
}

.ce-side-nav-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 9px;
    color: #d4a853;
}

.ce-side-nav-icon svg {
    width: 18px;
    height: 18px;
}

.ce-side-nav-pro-tip {
    margin-top: 14px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.68), rgba(7, 11, 18, 0.48));
    text-align: center;
}

.ce-side-nav-pro-tip-rule {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    color: #d4a853;
    font-size: 1.35rem;
}

.ce-side-nav-pro-tip-rule::before,
.ce-side-nav-pro-tip-rule::after {
    content: "";
    height: 1px;
    background: rgba(212, 168, 83, 0.22);
}

.ce-side-nav-pro-tip-label {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ce-side-nav-pro-tip-copy {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    line-height: 1.4;
}

.ce-side-nav-pro-tip-button {
    display: inline-flex;
    justify-content: center;
    margin-top: 10px;
    min-width: 120px;
    border: 1px solid rgba(212, 168, 83, 0.32);
    border-radius: 10px;
    color: #f4cf80;
    padding: 8px 12px;
    font-size: 0.76rem;
    font-weight: 900;
    text-decoration: none;
}
