body {
    background-color: #f8f9fa;
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    background-color: #fff;
    max-height: 600px;
    position: relative;
}

.resizable-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.resizable-table th, 
.resizable-table td {
    padding: 10px;
    border: 1px solid #dee2e6;
    width: 200px;
    min-width: 200px;
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    vertical-align: middle;
}

.resizable-table th {
    background-color: #f1f1f1;
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 8px;
}

.resizable-table th input.column-filter,
.resizable-table th select.column-filter {
    margin-top: 5px;
    font-size: 14px;
    padding: 4px 6px;
    height: 28px;
    width: 100%;
    box-sizing: border-box;
}

.resizable-table th div {
    display: flex;
    flex-direction: column;
    gap: 4px; /* 开始和结束时间输入框之间的间距 */
}

.grip {
    width: 5px;
    height: 100%;
    background: #ccc;
    cursor: col-resize;
    float: right;
}

.dragging {
    background: #e0e0e0;
}

.resizable-table td:hover {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    z-index: 2;
    background-color: #fff;
    position: relative;
}

.hidden {
    display: none;
}

.json-tooltip {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 400px;
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 12px;
    display: none;
}

.resizable-table td.json-cell {
    position: relative;
}

/* 添加到 style.css 中 */
.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.mb-3 {
    margin-bottom: 1rem;
}