.table-card-category-container {
    box-sizing: border-box;
    width: 100vw;
    height: calc(100vh - 150px);
    display: flex;
    justify-content: center;
    position: fixed;
}

.table-card-category-container .content-container {
    width: 80%;
    height: 80%;
    padding: 10vh 1vw;
    background-image: url("../img/list1-bg.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: relative;
}

.table-card-category-container .card-layout {
    width: 100%;
    height: 100%;
    position: relative;
}

.table-card-category-container .list-item {
    width: 210px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    transform: translateX(-50%);
}

.table-card-category-container .list-item.has-attachment {
    cursor: pointer;
}

.table-card-category-container .image-panel {
    text-align: center;
    width: 100%;
    background-image: url("../img/base.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.table-card-category-container .image-panel .cover {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 12vh;
}

.table-card-category-container .name {
    width: 260px;
    margin-top: 20px;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 500;
    font-size: 24px;
    color: #274071;
    text-align: center;
    line-height: 1.3;
}

.table-card-category-container .list-item.has-attachment:hover .name {
    color: #005bac;
}

.table-card-category-container .pagination-container {
    position: absolute;
    right: 3vw;
    bottom: 3vh;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Source Han Sans CN, Source Han Sans CN;
}

.table-card-category-container .page-btn {
    min-width: 72px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(39, 64, 113, 0.35);
    border-radius: 16px;
    color: #274071;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.table-card-category-container .page-btn:disabled {
    color: #9aa8bf;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.45);
}

.table-card-category-container .page-info {
    color: #274071;
    font-size: 14px;
}

.table-card-category-container .empty-result {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #999;
    font-size: 18px;
}

.table-card-category-container .preview-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

.table-card-category-container .preview-box {
    width: 78vw;
    height: 78vh;
    padding: 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-sizing: border-box;
}

.table-card-category-container .preview-toolbar {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.table-card-category-container .preview-title {
    flex: 1;
    min-width: 0;
    color: #274071;
    font-size: 18px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-card-category-container .preview-download,
.table-card-category-container .preview-close {
    height: 32px;
    line-height: 32px;
    padding: 0 18px;
    border: none;
    border-radius: 16px;
    color: #fff;
    background: #d93025;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.table-card-category-container .preview-fullscreen {
    height: 30px;
    line-height: 30px;
    padding: 0 14px;
    border: none;
    border-radius: 15px;
    color: #fff;
    background: #274071;
    cursor: pointer;
}

.table-card-category-container .preview-close {
    background: #8a8f99;
}

.table-card-category-container .preview-body {
    position: relative;
    height: calc(100% - 52px);
    overflow: auto;
    background: #f5f7fb;
    border: 1px solid rgba(39, 64, 113, 0.2);
    border-radius: 6px;
}

.table-card-category-container .preview-body:fullscreen {
    width: 100vw;
    height: 100vh;
    border: none;
    border-radius: 0;
    background: #fff;
}

.table-card-category-container .preview-image {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.table-card-category-container .preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.table-card-category-container .preview-message {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 16px;
}

@media (max-width: 1280px) {
    .table-card-category-container .list-item {
        width: 150px;
    }

    .table-card-category-container .image-panel .cover {
        max-width: 100px;
        max-height: 100px;
    }

    .table-card-category-container .name {
        width: 220px;
        font-size: 20px;
    }
}
