/* © 2025 DocAug Inc. All rights reserved. Use of this code outside https://coveredornot.com is strictly prohibited. */
.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 100%;
}

.table-wrapper {
    height: 500px;
    overflow-y: auto;
    overflow-x: auto;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.data-table thead {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 10;
}

.data-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    cursor: pointer;
    user-select: none;
    position: relative;
    background: #f8f9fa;
}

.data-table th:hover {
    background: #e9ecef;
}

.data-table th.sortable::after {
    content: '↕';
    margin-left: 8px;
    color: #6c757d;
    font-size: 12px;
}

.data-table th.sort-asc::after {
    content: '↑';
    color: #007bff;
}

.data-table th.sort-desc::after {
    content: '↓';
    color: #007bff;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.data-table tr:hover {
    background-color: #f8f9fa;
}

.btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin: 2px;
    transition: background-color 0.2s;
}
/* 
.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}
 */
.guideline-cell {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guideline-url {
    color: #007bff;
    text-decoration: none;
}

.guideline-url:hover {
    text-decoration: underline;
}

.actions-cell {
    white-space: nowrap;
}

/* Scrollbar styling */
.table-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
