.audit-log-grid-wrap {
    overflow-x: auto;
    margin-top: 0.5rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 4px;
}

.audit-log-grid {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
    white-space: normal !important;
    margin: 0;
}

.audit-log-grid th,
.audit-log-grid td {
    padding: 0.5rem 0.75rem !important;
    vertical-align: middle !important;
    text-align: left;
}

.audit-log-grid thead th {
    border-bottom: 2px solid var(--bs-border-color, #dee2e6);
    font-weight: 600;
    background-color: #fff;
}

.audit-log-grid .col-version {
    width: 4.5rem;
    white-space: nowrap;
}

.audit-log-grid .col-date {
    width: 11.5rem;
    white-space: nowrap;
}

.audit-log-grid .col-user {
    width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audit-log-grid .col-audit {
    width: 6.5rem;
    white-space: nowrap;
}

.audit-log-grid .col-action {
    width: auto;
    white-space: normal;
}

.audit-log-grid .col-view {
    width: 5.75rem;
    text-align: right;
    white-space: nowrap;
}

.audit-log-view-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: auto !important;
    max-width: none;
    margin: 0;
    padding: 4px 10px !important;
    font-size: 12px;
    line-height: 1.3;
    border-radius: 0;
    white-space: nowrap;
}
