.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 반투명 검정색 배경 */
    z-index: 999; /* 팝업 내용보다 위에 배치 */
    display: none; /* 기본적으로 숨겨두기 */
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index:999;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    height: 80vh;
    overflow: scroll;
    z-index: 1000;
    position: relative;
}

.popup-section {
    position: relative;
}

.act-btn{
    position: absolute;
    right: 0;
    z-index: 2;
}

.popup-content h2 {
    margin-top: 0;
}

.close-btn {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 12px 26px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-btn:hover {
    background-color: #005f8b;
}

/* 컨테이너 스타일 */
.admin-airtable-container {
    width: 100%;
    margin: 20px auto;
}

/* 필터 입력 폼 */
.filter-container {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-container input,
.filter-container select {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 테이블 스타일 */
.airtable-table-container {
    width: 100%;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
}

.airtable-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    text-align: left;
}

.airtable-table th, .airtable-table td {
    padding: 12px;
    border: 1px solid #ddd;
    white-space: nowrap;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 필터 적용 후 숨김 처리 */
.hidden {
    display: none;
}
.page-container{
    display: flex;
    justify-content: flex-end;
}

.page-container .pagination-next-button{
    float: right;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination button {
    margin: 0 5px;
}