*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.menu{
    width: 100%;
    padding: 0.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-basis: auto;
    justify-content: center;
}
.nav{
    flex-wrap: nowrap !important;
}
.menu .container li{
    display: block;
    list-style: none;
    padding: 1rem;
}
.menu .container li a{
    display: block;
    height: 2rem;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.5);;
    font-size: 1.3vw;
    font-weight: 400;
}
.menu .container li a:hover{
    color:#000;
}
.menu .container .libt a{
    display:block;
}
.menu .container .libt .toolslist{
    position: absolute;
    z-index: 1000;
    background: white;
    box-shadow: 0 1px 2px #666;
    display:none;
    opacity:1;
    padding: 0.5rem 1rem 1rem 0.5rem;
}
.menu .container .libt:hover .toolslist{
    display:block;
}
.dataset-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.dataset-table-header,
.dataset-table-cell {
    padding: 8px 12px;
    text-align: left;
}
.dataset-table-header {
    background-color: #f2f2f2;
    font-weight: bold;
    font-size: 18px;
}
.dataset-table-row:nth-child(even) {
    background-color: #f9f9f9;
}
tr:hover{
    background-color: #f5f5f5;
}
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:1rem ;
}
.pagination-status {
    color: #666;
}
.pagination-navigation {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination-item {
    margin: 0 3px;
}
.pagination-link,
.pagination-disabled {
    display: block;
    padding: 6px 12px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
}
.pagination-link:hover {
    background-color: #e9e9e9;
}
.pagination-active .pagination-link {
    background-color: #e9e9e9;
    color: black;
    border-color: black;
}
.pagination-disabled {
    color: #ccc;
    cursor: not-allowed;
}
.publication-icon {
    margin-right: 5px;
}
.Select{
    width: 80%;
    height: 2rem;
    display: flex;
    font-size:18px;
}
.image-container{
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: #f5f5f5;
    width: 100%;
}

.thumbnail {
    width: calc(48% - 5px);
    height: calc(50% - 2px);
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.enlarged {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 10;
    cursor: pointer;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 24px;
    z-index: 11;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#searchInput {
    padding: 7px;
    width: 100%;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination .pagination-controls{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
.pagination-controls a {
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    border: 1px solid #ddd;
}
.pagination-controls a.active {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}
.pagination-controls a:hover:not(.active) {
    background-color: #ddd;
}
.pagination-info {
    font-size: 14px;
    color: #666;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.pagination a {
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 4px;
    border-radius: 4px;
}

.pagination a.active {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.pagination-info {
    text-align: center;
    margin: 10px 0;
    color: #666;
}
h4{
    font-size: 1.7rem;
    font-weight: 400;
}
h1{
    font-weight: 600;
    font-size: 4rem;
}
h5{
    font-size: 1.5rem;
    font-weight: 400;
}
.button{
    width: 70%;
    display: flex;
    justify-content: center;
}
button{
    font-size: 20px;
    background-color: white;
    border: none;
    margin: 1rem;
    padding: 1rem 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover{
    background-color: rgb(224, 224, 224);
    border-radius: 5px;
}
button.active{
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.treeview{
    width: 20%;
    border: 1px solid #dadada;
    border-radius: 5px;
    height: 760px;
}
.treeview .treeview-title{
    height: 60px;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: row;
    padding-left: 2rem;
    align-items: center;
    font-size: 20px;
}
.tree {
    width: 100%;
    flex: 1;
    height: 700px;
    overflow: auto;
    padding: 4px 0;
    position: relative;
}
.tree summary {
    outline: 0;
    padding-left: 30px;
    list-style: none;
    background: repeating-linear-gradient(90deg, #999 0 1px, transparent 0px 2px)
    0px 50%/20px 1px no-repeat;
    /* background: linear-gradient(#999,#999) 0px 50%/20px 1px no-repeat; */
}
.tree details:last-child {
    background-size: 1px 23px;
}
.tree > details:not(:last-child) > details:last-child {
    background-size: 1px 100%;
}
.tree details {
    width: 100%;
    padding-left: 40px;
    background: repeating-linear-gradient(#999 0 1px, transparent 0px 2px) 40px
    0px/1px 100% no-repeat;
    /* background: linear-gradient(#999, #999) 40px 0px/1px 100% no-repeat; */
}
.tree > details {
    background: none;
    padding-left: 0;
}
.tree > details > summary {
    background: none;
}
.tree summary {
    display: flex;
    width: 100%;
    align-items: center;
    height: 46px;
    font-size: 15px;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.85);
    cursor: default;
}
.tree summary label{
    display: flex;
    width: 100%;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 0rem !important;
    font-size: 21px;
    font-weight: 400;
}
.tree summary::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    height: 38px;
    background: #eef2ff;
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: 0.2s;
}
.tree summary:hover::after {
    opacity: 1;
}
.tree summary:not(:only-child)::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-right: 8px;
    border: 1px solid #999;
    background: linear-gradient(#999, #999) 50%/1px 10px no-repeat,
    linear-gradient(#999, #999) 50%/10px 1px no-repeat;
}
.tree details[open] > summary::before {
    background: linear-gradient(#999, #999) 50%/10px 1px no-repeat;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
th, td {
    padding: 5px 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
    white-space: normal; /* 允许换行 */
    word-wrap: break-word; /* 允许长单词换行 */
    vertical-align: middle!important;
}
#table-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
a{
    text-decoration: none;
    color: #007bff;
    font-size: 18px;
}
pre{
    margin-bottom: 0!important;
}
a:hover{
    color: black;
    text-decoration: black;
}
.py-2 .container{
    border: 1px solid #dadada;
}