/* Audit History Offcanvas Styles */

.audit-history-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 30px;
    border-left: 2px solid #e9ecef;
}

.audit-history-item:last-child {
    border-left: 0;
    padding-bottom: 0;
}

.audit-history-icon {
    position: absolute;
    left: -12px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.audit-history-icon.create {
    background-color: #34c38f;
}

.audit-history-icon.update {
    background-color: #556ee6;
}

.audit-history-icon.soft_delete,
.audit-history-icon.delete {
    background-color: #f46a6a;
}

.audit-history-icon.restore {
    background-color: #50a5f1;
}

.audit-history-content {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
}

.audit-history-meta {
    font-size: 0.875rem;
    color: #6c757d;
}

.audit-history-author {
    font-weight: 600;
    color: #495057;
}

.audit-history-changes {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
}

.audit-change-item {
    font-size: 0.875rem;
    padding: 5px 0;
}

.audit-change-field {
    font-weight: 600;
    color: #495057;
}

.audit-change-value {
    color: #6c757d;
}

.audit-change-old {
    text-decoration: line-through;
    opacity: 0.6;
}
