.aod-directory {
	box-sizing: border-box;
}
.aod-search {
	margin-bottom: 1rem;
}
.aod-search-input {
	width: 100%;
	max-width: 480px;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	outline: none;
	background: #fff;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.aod-search-input:focus {
	border-color: #94a3b8;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.aod-directory-grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 16px;
}
.aod-right {
	display: flex;
	flex-direction: column;
}
@media (max-width: 800px) {
	.aod-directory-grid {
		grid-template-columns: 1fr;
	}
}
.aod-tree {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.aod-hierarchy {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px;
}
.aod-tree .aod-node {
	margin: 4px 0;
}
.aod-tree ul {
	margin: 6px 0 6px 12px;
	padding-left: 12px;
	border-left: 1px dashed #e2e8f0;
}
.aod-node-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	padding: 4px 6px;
	background: #f5f5f5;
	border-radius: 4px;
	position: relative;
	line-height: 1.3;
	transition: background 0.15s ease;
}
.aod-node.aod-expanded > .aod-node-label {
	background: #e7f0ff;
}
.aod-node.aod-has-children > .aod-node-label {
	padding-left: 28px;
}
.aod-node.aod-has-children > .aod-node-label::before {
	content: "+";
	position: absolute;
	left: 6px;
	top: 50%;
	transform: translateY(-50%);
	color: #1f2937;
	font-size: 12px;
	line-height: 1;
	width: 16px;
	height: 16px;
	border: 1px solid #cbd5e1;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	font-weight: 700;
}
.aod-node.aod-has-children.aod-expanded > .aod-node-label::before {
	content: "−";
}
.aod-node-label:hover {
	background: #eef2f7;
}
.aod-results .aod-empty {
	color: #666;
}
.aod-results {
	position: relative;
	min-height: 40px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 10px;
}
.aod-right .aod-search {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 8px;
	gap: 8px;
}
.aod-table {
	width: 100%;
	border-collapse: collapse;
}
.aod-table th,
.aod-table td {
	text-align: left;
	border: 1px solid #ddd;
	padding: 8px;
	vertical-align: top;
}
.aod-table thead th {
	background: #f1f5f9;
	font-weight: 600;
}
.aod-table tbody tr:nth-child(even) {
	background: #f9fafb;
}
.aod-table tbody tr:hover {
	background: #eef2f7;
}
.aod-loading {
	opacity: 0.6;
}
.aod-loading::after {
	content: "";
	position: absolute;
	top: 8px;
	right: 8px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #cbd5e1;
	border-top-color: #2b6cb0;
	animation: aod-spin 0.8s linear infinite;
}
@keyframes aod-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}


