/* Custom styles for interactive topology table */

.topology-search {
    margin-bottom: 15px;
}

.topology-search input {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.topology-table-container {
    overflow-x: auto;
}

.topology-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.topology-table th {
    background-color: #f5f5f5;
    padding: 12px 8px;
    text-align: left;
    border-bottom: 2px solid #ddd;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.topology-table th:hover {
    background-color: #e8e8e8;
}

.topology-table th::after {
    content: ' ↕';
    color: #999;
    font-size: 12px;
}

.topology-table th.sort-asc::after {
    content: ' ↑';
    color: #333;
}

.topology-table th.sort-desc::after {
    content: ' ↓';
    color: #333;
}

.topology-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
}

.topology-table tbody tr:hover {
    background-color: #f9f9f9;
}

.topology-table a {
    color: #2980b9;
    text-decoration: none;
}

.topology-table a:hover {
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #999;
    font-style: italic;
}
