﻿.jumbotron p {
    font-size: 16px;
}

/* Sidebar Navigation Styles */

/* Mobile first: sidebar is static and full width on small screens */
.sidebar-nav {
    position: relative;
    margin-bottom: 1.5rem;
}

.sidebar-nav .card {
    border-radius: 0.5rem;
}

.sidebar-nav .card-header {
    border-radius: 0.5rem 0.5rem 0 0;
}

/* Sidebar links list styling */
.sidebar-links-list {
    overflow-y: auto;
    max-height: 50vh;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-links-list .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-links-list .nav-item:last-child {
    border-bottom: none;
}

.sidebar-links-list .nav-link {
    display: block;
    padding: 0.625rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-links-list .nav-link:hover {
    background-color: rgba(1, 49, 73, 0.08);
    color: #013149;
}

/* Active state - Bootstrap 5 scrollspy adds .active to the <a> element */
.sidebar-links-list .nav-link.active {
    background-color: rgba(1, 49, 73, 0.12);
    color: #013149;
    font-weight: 500;
    border-left-color: #013149;
}

/* Scroll offset for sections with fixed nav - applied to navigable cards */
[data-navigation] {
    scroll-margin-top: 70px;
}

/* Tablet and larger: sticky sidebar that floats with scroll */
@media (min-width: 992px) {
    .sidebar-nav {
        position: sticky;
        top: 68px;
        margin-bottom: 0;
        z-index: 100;
    }

    .sidebar-links-list {
        max-height: calc(100vh - 130px);
    }
}

/* Print styles - hide sidebar */
@media print {
    #sidebar-parent,
    .sidebar-nav {
        display: none !important;
    }
}