.card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem;
}

.table td, .table th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.5rem;
    position: relative;
    max-width: 200px;
    min-width: 100px;
}

.table thead {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.table thead th {
    font-weight: 500;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #f8f9fa;
}

.table td {
    vertical-align: middle;
    cursor: pointer;
}

.cell-content {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    padding-right: 15px;
}

.cell-content.truncated::after {
    content: "...";
    position: absolute;
    right: 0;
    color: #666;
}

.expanded-row td {
    white-space: normal;
    max-width: none;
}

.expanded-row .cell-content {
    white-space: normal;
    word-wrap: break-word;
}

.expanded-row .cell-content.truncated::after {
    display: none;
}

.resizer {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: transparent;
    cursor: col-resize;
}

.resizer:hover {
    background: rgba(0,0,0,0.1);
}

.resizing {
    user-select: none;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-responsive {
    max-height: 70vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .input-group,
    .search-terms-container {
        width: 100%;
    }
} 