/* ========================================================================== */
/* ADMIN --> LOGS                                                             */
/* ========================================================================== */

.logs-wrapper {
    padding: 60px 70px;
    margin-left: var(--sidenav-width);
    margin-top: var(--topnav-height);
    margin-bottom: 300px;
}

@media (max-width: 991.98px) {
    .logs-wrapper {
        padding: 24px var(--page-gutter);
    }
}

/* HEADER */
.logs-header {
    margin-bottom: 45px;
}

.logs-header h1 {
    font-size: 2.6rem;
    font-weight: 650;
    color: #032f4f;
    margin-bottom: 8px;
}

.logs-sub {
    margin-top: 6px;
    font-size: 1.1rem;
    max-width: 700px;
    color: #4f6b80;
    line-height: 1.6;
}

/* SECTION */
.logs-section {
    margin-top: 45px;
}

.logs-section-title {
    font-size: 1.24rem;
    text-transform: uppercase;
    letter-spacing: 0.07rem;
    font-weight: 700;
    color: #022a46;
    margin-bottom: 18px;
    margin-top: 40px;
}

/* FILTER CARD */
.logs-filters-card {
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.logs-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.filter-field {
    display: flex;
    flex-direction: column;
}

.filter-field label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04rem;
    color: rgba(2, 42, 70, 0.68);
    margin-bottom: 6px;
}

.filter-field input,
.filter-field select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: white;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

.filter-field input:hover,
.filter-field select:hover {
    border-color: rgba(0, 0, 0, 0.18);
}

.filter-field input:focus,
.filter-field select:focus {
    border-color: #3da5ff;
    box-shadow: 0 0 0 3px rgba(61, 165, 255, 0.35);
    outline: none;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

/* QUICK FILTER PILLS */
.logs-quick-filters {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-filter-pill {
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: white;
    color: #032f4f;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-filter-pill:hover {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, 0.18);
}

.quick-filter-pill.active {
    background: #2d64d8;
    color: white;
    border-color: #2d64d8;
}
/* LOG TABLE — Base styles are centralized in admin-shared.css */
/* This section intentionally removed; see admin-shared.css for .logs-table styles */


.log-message {
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* LOG LEVEL BADGES - refine shared badge styles */
.log-level.info {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.log-level.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.log-level.error {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.log-level.critical {
    background: #3b0000;
    color: #fff;
}

/* EMPTY + SKELETON STATES */
.empty-state {
    text-align: center;
    padding: 2.5rem;
    color: #6b7f8e;
    font-size: 0.95rem;
}

.skeleton-row td {
    height: 38px;
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: logs-pulse 1.5s infinite;
}

@keyframes logs-pulse {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* EXPORT */
.logs-export {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

/* LOG DETAILS CARD */
.log-details-section {
    max-width: 700px;
}

.log-details-card {
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.log-details-message {
    font-family: monospace;
    background: #f8fafc;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 18px;
    font-size: 0.92rem;
    color: #032f4f;
    line-height: 1.6;
}

.log-details-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    font-size: 0.9rem;
    color: #032f4f;
}

.log-details-meta strong {
    color: rgba(2, 42, 70, 0.68);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03rem;
}

/* Dark mode → css/dark/admin/dark-admin-logs.css */

