*{
    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;
}
.py-2 .container{
    border: 1px solid #dadada;
}
.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: 17px;
}
.dataset-table-body {
    font-size: 15px;
}
.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;
}
.clusterSelect{
    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: 4px;
    padding: 10px;
    background-color: #f5f5f5;
    width: 100%;
}
.image_3d{

}
.thumbnail {
    width: calc(48% - 5px);
    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: space-between;
    align-items: center;
    flex-direction: column;
}
.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;
}
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}
.lazy-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lazy-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 加载指示器样式 */
.loading-placeholder {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    border-radius: 4px;
    margin: 10px 0;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading {
    text-align: center;
    padding-top: 250px;
    color: #666;
}
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);
}
#chart-container {
    width: 550px !important;
    height: 500px !important;
    min-width: 550px;
    min-height: 500px;
}
#deg{
    width: 550px !important;
    height: 500px !important;
}
.table-hover tbody tr {
    cursor: pointer;
}