/**
 * Documentation Sidebar Styles
 * 
 * Styles for the documentation sidebar navigation
 * 
 * @package Alpha Insights
 * @version 1.0.0
 */

.wpd-docs-sidebar-wrapper {
	border: 1px solid #f4f4f9;
	background-color: white;
	-webkit-box-shadow: 0 2px 4px 0 rgba(12, 0, 46, 0.04);
	box-shadow: 0 2px 4px 0 rgba(12, 0, 46, 0.04);
	border-radius: 7px;
	padding: 20px;
}

.wpd-docs-sidebar-wrapper .elementor a {
	color: inherit;
}

.wpd-docs-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpd-docs-list li {
	margin: 0;
	padding: 0;
}

.wpd-docs-nav-item {
	display: block;
	padding: 15px 0;
	color: #555;
	text-decoration: none;
	border-top: 1px solid transparent;
	border-bottom: 1px solid #e0e0e0;
	transition: all 0.2s ease;
	position: relative;
	font-size: 14px;
	line-height: 1.5;
}

a.wpd-docs-nav-item {
	color: inherit;
}

.wpd-docs-nav-item:hover {
	color: #03aaed;
}

.wpd-docs-nav-item.wpd-active-doc {
	color: #03aaed;
	font-weight: 500;
}

.wpd-docs-folder-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
	font-weight: 500;
	color: #333;
	cursor: pointer;
	border-bottom: 1px solid #e0e0e0;
	transition: all 0.2s ease;
	user-select: none;
	font-size: 14px;
	line-height: 1.5;
}

.wpd-docs-folder-toggle:hover {
	color: #03aaed;
}

.wpd-docs-folder-toggle.wpd-active-parent {
	color: #03aaed;
}

.wpd-docs-folder-toggle-icon {
	transition: transform 0.3s ease;
	font-size: 14px;
	margin-left: 10px;
	color: #999;
	line-height: 1;
}

.wpd-docs-folder-toggle:hover .wpd-docs-folder-toggle-icon {
	color: #03aaed;
}

.wpd-docs-folder-toggle.wpd-active-parent .wpd-docs-folder-toggle-icon {
	color: #03aaed;
}

.wpd-docs-folder-toggle-icon.expanded {
	transform: rotate(90deg);
}

.wpd-docs-folder-toggle-icon span {
	font-size: 14px;
}

.wpd-docs-folder-children {
	list-style: none;
	margin: 0;
	padding: 0;
	padding-left: 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.wpd-docs-folder-children.expanded {
	max-height: 5000px;
}

.wpd-docs-folder-children li {
	padding-left: 0;
}

.wpd-docs-folder-children .wpd-docs-nav-item {
	padding-left: 0;
	font-size: 13px;
}

.wpd-docs-folder-children .wpd-docs-folder-toggle {
	padding-left: 0;
	font-size: 13px;
}

/* Progressive indentation for nested folders */
.wpd-docs-folder-children .wpd-docs-folder-children {
	padding-left: 20px;
}

.wpd-docs-folder-children .wpd-docs-folder-children .wpd-docs-folder-children {
	padding-left: 20px;
}

.wpd-docs-folder-children .wpd-docs-folder-children .wpd-docs-folder-children .wpd-docs-folder-children {
	padding-left: 20px;
}
