.hbb-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: none !important;
}

.hbb-table th, .hbb-table td {
    /* border: 1px solid #ccc; */
    padding: 8px;
    text-align: left;
    white-space: nowrap;      /* 한 줄만 표시 */
    overflow: hidden;         /* 넘치는 텍스트 숨김 */
    text-overflow: ellipsis;  /* ... 처리 */
    color: #fff;
}
.hbb-table tbody tr:hover {
    background: #393939;
    cursor: pointer;
}

.hb-table-first {
    border-left: none !important;
}

.hb-table-last {
    border-right: none !important;
}


.hb-id {
    max-width: 100px;
    width: 100px; /* table-layout: fixed일 때 반드시 width 지정 필요 */
    text-align: center !important;
}

.hb-title {
    width: auto;             /* 나머지 공간 차지 */
}

.hb-date {
    width: 130px;
    text-align: center !important;
}

.hb-lebel{
    color: #fff !important;
    text-align: center !important;
}

#hbb-popup{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    background:rgb(49 49 49 / 70%);
    color:#000;
    padding:20px;
    z-index:9999;
    border:1px solid #000;
    width:100%;
    height: 100%;
}

.hbb-popup-wrap {
    display: flex;
    flex-direction: column; /* 세로 정렬 */
    width: 100%;
    max-width: 1080px;
    min-width: 1080px;
    top: 50%;
    left: 50%;
    position: absolute;
    background: #fff;
    transform: translate(-50%, -50%);
    padding: 25px;
    height: 80%;
    max-height: 80%;
    overflow-y: auto;
}

.hbb-title-wrap {
    flex: 0 0 auto; /* 고정 높이 */
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
    margin-bottom: 30px;
}

.hbb-title-wrap h3 {
    color: #000;
    padding: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#hbb-popup-content {
    color: #000;
    padding: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    flex: 1 1 auto; /* 남는 공간을 차지 */
    overflow-y: auto; /* 내용이 많을 때 스크롤 */
    margin-bottom: 30px;
}

.hbb-popup-wrap a {
    color: #000 !important;
}

.hbb-popup-close-button {
    position: absolute;
    right: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border: 1px solid #000;
    background: #000;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hbb-popup-close-button p {
    margin: 0;
    color: #fff;
    padding-top: 4px;
}

#hbb-popup-sign{
    display: flex;
    margin-bottom: 15px;
}

#hbb-popup-files {
    flex: 0 0 auto; /* 고정 높이 */
    border-top: 1px solid #000;
    padding-top: 15px;
}

#hbb-popup-files p{
    padding-bottom: 0;
}

/* 페이지 버튼 기본 스타일 */
#hbb-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hbb-page-btn {
    background-color: #000;
    border: 1px solid #000;
    padding: 5px 10px;
    margin: 2px;
    cursor: pointer;
    color: #fff;
    padding-top: 7px;
}

/* 선택된 페이지 버튼 */
.hbb-page-btn.active {
    background-color: #393939;
    border: 1px solid #393939;
    color: #fff;
}

#hbb-search-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 5px;
}

#hbb-search-btn {
    height: 25px;
    border: 1px solid #fff;
    background: #fff;
    margin-left: 5px;
    color: #000;
}

#hbb-search-btn:hover{
    background: #000;
    color: #fff;
}

#hbb-search-input {
    background: #000;
    border: none;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    color: #fff;
    height: 40px;
    border-radius: 0px 20px 20px 0px;
}

.search-icon{
    display: flex;
    align-items: center;
    padding-right: 14px;
    padding-left: 15px;
    margin-top: 0;
    height: 40px;
    border: 1px solid #fff;
    border-right: 0;
    border-radius: 20px 0 0 20px;
}

.hvhmMe {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon-svg{
    height: 20px;
    line-height: 20px;
    width: 20px;
    display: inline-block;
    color: #fff;
    fill: currentColor;
}

@media screen and (max-width:1200px){
    .hbb-popup-wrap {
        width: 100%;
        max-width: 80%;
        min-width: unset;
        top: 50%;
        left: 50%;
        position: absolute;
        background: #fff;
        transform: translate(-50%, -50%);
        padding: 25px;
        height: 80%;
        max-height: 80%;
        overscroll-behavior-y: auto;
    }
}


@media screen and (max-width:767px){
    .hb-table-first {
        display: none;
    }

    .hb-table-last {
        padding: 0 !important;
        width: 90px !important;
    }

    #hbb-search-input{
        width: 100%;
    }
}