/* Sidebar */
.sidebar {
    width: 250px;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    border-right: 1px solid #eee;
    background: #fff;
    z-index: 1000;
}

/* Sidebar links */
.sidebar-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #555;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

/* Submenu links (smaller + muted) */
.sidebar-menu .collapse .nav-link {
    font-size: 14px;
    padding: 10px 20px;
    color: #666;
}

/* Hover / Active */
.sidebar-menu .nav-link:hover {
    background: #f0f8ff;
    color: #0891B2;
}

.sidebar-menu .nav-link.active {
    background: #e6f7fb;
    color: #0891B2;
    border-left: 3px solid #0891B2;
}

.sidebar-menu .nav-link[aria-expanded="true"] .toggle-icon {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* ===== Top Navbar ===== */
/* Default (sidebar open) */
.top-navbar {
    position: fixed;
    top: 0;
    left: 250px;
    /* matches sidebar width */
    width: calc(100% - 250px);
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    transition: all 0.3s ease;
}

/* Collapsed sidebar */
.top-navbar.collapsed {
    left: 0;
    width: 100%;
    transition: all 0.3s ease;
}

/* Collapsed Sidebar */
.sidebar.collapsed {
    margin-left: -250px;
    /* hide sidebar */
    transition: margin 0.3s ease;
}

/* Main content shift */
.main-content {
    margin-left: 250px;
    padding: 20px;
}

.main-content.collapsed {
    margin-left: 0;
    transition: margin 0.3s ease;
}

/* ===== Market Access priorities table style ===== */
table.table th,
table.table td {
    vertical-align: middle;
}

.form-check-input:checked {
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #0891B2 !important;
    border-color: #0891B2 !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(8, 145, 178, 0.25);
    border-color: #0891B2;
}