/* Reports & Audit Styles */

.audit-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.audit-table th {
    padding: 12px 24px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.audit-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
    color: #1e293b;
    vertical-align: middle;
}

.audit-timestamp {
    color: #475569;
}

.audit-user-id {
    font-weight: 500;
}

.role-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    background: #dbeafe;
    color: #2563eb;
    text-transform: uppercase;
}

.audit-action {
    font-weight: 700;
    color: #0f172a;
}

.audit-details {
    color: #64748b;
}

/* Header section */
.audit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.audit-title h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.audit-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Container for the table to add shadow and border radius */
.table-container {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.search-container {
    margin-bottom: 24px;
}

.audit-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
}

.audit-search-wrapper i {
    position: absolute;
    left: 12px;
    color: #94a3b8;
}

.audit-search-wrapper input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.875rem;
    outline: none;
    background: #f8fafc;
    transition: all 0.2s;
}

.audit-search-wrapper input:focus {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
