body {
    background-color: #121212;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    width: auto;
    margin: 0;
    overflow: hidden;
    caret-color: transparent;   /* 커서 숨김 */
}

 /* 네비게이션 바 스타일 */
.navbar {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 80px;
    width: 100%;
    background-color: #000;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
.navbar-title {
    color: white;
    font-size: 26px;
    font-weight: bold;
    padding-left: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    background-color: #1e1e1e;
    padding: 10px;
    border-radius: 8px;
    width: 95%;
    margin-top: 10px;
}

h1 {
    text-align: center;
    color: white;
}

#fileTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
    color: white;
}
#fileTable th, #fileTable td {
    border: 1px solid #444;
    padding: 10px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* logfile_name 데이터 셀: 항상 2줄 높이 확보, 자동 줄바꿈 */
#fileTable td:nth-child(2) {
    text-align: left;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;  /* 최대 3줄까지만 표시 */
    line-clamp: 3;

    line-height: 1.4em;
    min-height: calc(2 * 1.4em);  /* 최소 2줄 공간 확보 */
    /* padding: 10px; */
}
#fileTable th:not([data-key="logfile_name"]),
#fileTable td:not(:nth-child(2)) {
    width: 130px;
}
td[data-key="file_size_mb"] {
    text-align: right;
}
td[data-key="uploaded_at"] {
    text-align: right;
}
td[data-key="measure_start"] {
    text-align: right;
}
td[data-key="measure_end"] {
    text-align: right;
}

#fileTable th {
    background-color: #2a2a2a;
    cursor: pointer;
}
#fileTable tr:nth-child(even) {
    background-color: #2a2a2a;
}
#fileTable tr:hover {
    background-color: #333;
}
#fileTable th {
    background-color: #282c34;  /* 헤더 배경: 다크+블루톤 */
    color: white;               /* 글씨는 흰색으로 고정 */
    cursor: pointer;
    position: relative;
    font-weight: bold;
}

#fileTable th:hover {
    background-color: #2d2f36;  /* hover 시 살짝 밝은 톤 */
}

#fileTable th .sort-arrow {
    margin-left: 5px;
    font-size: 12px;
    color: #bbb; /* 정렬 화살표는 약간 연한 회색 */
}


#pagination {
    text-align: center;
    margin-top: 20px;
}
#pagination button {
    margin: 0 5px;
    padding: 8px 12px;
    border: none;
    background-color: #666;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}
#pagination button:disabled {
    background-color: #007bff;
    cursor: default;
}
