.table-container {
    height: 100%;
    width: 100%;
}

.table-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: auto;
}

.table-wrapper.has-sticky-header {
    overflow-y: auto;
}

.custom-table {
    width: 100%;
    padding: 0 32px;
}

.custom-table.empty-table {
    height: 100%;
}

.custom-table thead th {
    padding: 10px 0;
    font-family: Pretendard, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.02em;
    color: var(--color-text-bold);
}

.table-wrapper.has-sticky-header .custom-table th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.table-size-medium .custom-table th {
    padding: 11px 0;
}
.table-size-medium .custom-table td {
    padding: 16px 0;
}

.table-size-small .custom-table th {
    padding: 6px 0;
}

.table-size-small .custom-table td {
    padding: 8px 0;
}

.table-wrapper.no-underline .custom-table td {
    border-bottom: none;
}

.custom-table th {
    border-bottom: 1px solid var(--color-divider-lighter);
    background-color: var(--color-bg-subtler);
}

.custom-table td {
    font-family: Pretendard, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.02em;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-divider-lighter);
}

.custom-table__align-center {
    text-align: center;
}

.custom-table__align-left {
    text-align: left;
}

.table-header__title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.table-header__title.center {
    justify-content: center;
}

.table-header__sort-icon-block {
    display: block;
    flex-shrink: 0;
    pointer-events: auto;
    cursor: pointer;
}

.table-header__sort-icon-block .sort-icon {
    display: block;
    width: 9px;
    height: 9px;
    mask-repeat: no-repeat;
    mask-size: 9px 9px;
    mask-position: center;
    mask-image: url("../../../style/img/svg/ic_polygon_down.svg");
    background-color: var(--color-icon-disabled-on-subtler);
}
.table-header__sort-icon-block .sort-icon.active {
    background-color: var(--color-icon-on-subtler);
}

.table-header__sort-icon-block .sort-icon.sort-up {
    transform: rotate(180deg);
}

.table-header__sort-icon-block .sort-icon.sort-down {}

/* S: 스크롤 적용 시 사용 */
.custom-table__header-section {
    width: 100%;
}

.custom-table__body-section {
    height: 100%;
    overflow-y: scroll;
}
/* E: 스크롤 적용 시 사용 */

.custom-table__empty-state-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 13px;
}

.custom-table__empty-image {
    width: 220px;
}

.custom-table__empty-image > img{
    width: 100%;
    object-fit: contain;
}

.custom-table__empty-desc {
    font-family: Pretendard, sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 16px;
    letter-spacing: 0;
    text-align: center;
    color: var(--color-text);
}

.table-item__check-box {
    display: flex;
    justify-content: center;
    width: 100%;
}

.table-scroll-sentinel__row {
    height: 1px;
}

.table-scroll-sentinel__cell {
    height: 1px;
    border: none;
    padding: 0;
}

.table-scroll-sentinel__item {
    height: 1px;
    background: transparent;
}