/* ==========================================================================
   WPDM Stats — Download History
   Refined minimal admin UI on the shared stats design system. Accents come
   from the plugin-wide brand token (--color-primary), so this page follows
   the user's chosen UI color and matches the rest of the admin.
   ========================================================================== */

.w3eden {
    --st-accent:        var(--color-primary, #4a8eff);
    --st-accent-rgb:    var(--color-primary-rgb, 74, 142, 255);

    --st-surface:       #ffffff;
    --st-surface-2:     #f5f7fa;
    --st-border:        #e6eaf0;
    --st-border-2:      #eef1f5;
    --st-border-strong: #d7dde6;

    --st-text:          #1f2733;
    --st-text-2:        #5a6675;
    --st-text-3:        #8a97a7;

    --st-radius:        14px;
    --st-radius-sm:     10px;
    --st-shadow:        0 1px 2px rgba(20, 28, 42, 0.05);
    --st-shadow-md:     0 6px 20px rgba(20, 28, 42, 0.07);

    --st-pos:           #1aa260;
    --st-neg:           #e5484d;
}

/* Shared card chrome */
.w3eden .wpdm-history-filters,
.w3eden .results-header,
.w3eden .elegant-table-container {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    box-shadow: var(--st-shadow);
}

/* --------------------------------------------------------------------------
   Filters panel
   -------------------------------------------------------------------------- */
.w3eden .wpdm-history-filters { overflow: hidden; }

.w3eden .filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--st-border-2);
    background: var(--st-surface);
}

.w3eden .filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.w3eden .filter-title i { color: var(--st-accent); font-size: 0.95rem; }

.w3eden .filter-title h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 650;
    color: var(--st-text);
}

.w3eden .active-filters-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    background: rgba(var(--st-accent-rgb), 0.08);
    border: 1px solid rgba(var(--st-accent-rgb), 0.16);
    border-radius: 999px;
    color: var(--st-accent);
    font-size: 0.72rem;
    font-weight: 600;
}

/* Quick date presets */
.w3eden .quick-filters-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--st-border-2);
}

.w3eden .quick-filters-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--st-text-3);
}

.w3eden .quick-filters-title i { color: var(--st-text-3); }

.w3eden .quick-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.w3eden .quick-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    color: var(--st-text-2);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.w3eden .quick-filter-btn i { font-size: 0.78rem; opacity: 0.8; }

.w3eden .quick-filter-btn:hover {
    border-color: var(--st-border-strong);
    background: var(--st-surface-2);
    color: var(--st-text);
}

.w3eden .quick-filter-btn.active {
    background: rgba(var(--st-accent-rgb), 0.10);
    border-color: rgba(var(--st-accent-rgb), 0.30);
    color: var(--st-accent);
}

/* Filters grid */
.w3eden .filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    align-items: start;
    padding: 18px 20px;
}

.w3eden .filter-section.date-section { grid-column: span 2; }

.w3eden .section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
}

.w3eden .section-header i { color: var(--st-accent); font-size: 0.85rem; }

.w3eden .section-header h4 {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--st-text-2);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.w3eden .clear-filter { margin-left: auto; }

.w3eden .clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    color: var(--st-text-3);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.w3eden .clear-btn:hover { background: rgba(229, 72, 77, 0.10); color: var(--st-neg); }

.w3eden .date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.w3eden .date-input-group { display: flex; flex-direction: column; gap: 5px; }

/* Inputs + Select2 (made to match) */
.w3eden .wpdm-history-filters .datepicker.form-control,
.w3eden .wpdm-history-filters .form-control {
    height: auto;
    padding: 9px 12px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    color: var(--st-text);
    font-size: 0.84rem;
    box-shadow: none;
    cursor: pointer;
}

.w3eden .wpdm-history-filters .form-control:focus {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px rgba(var(--st-accent-rgb), 0.16);
}

.w3eden .select2-container { width: 100% !important; }

.w3eden .select2-container--default .select2-selection--multiple,
.w3eden .select2-selection {
    min-height: 40px;
    padding: 2px 8px;
    background: var(--st-surface);
    border: 1px solid var(--st-border) !important;
    border-radius: 8px;
}

.w3eden .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--st-accent) !important;
    box-shadow: 0 0 0 3px rgba(var(--st-accent-rgb), 0.16);
}

.w3eden .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 4px 4px 0 0;
    padding: 2px 8px;
    background: rgba(var(--st-accent-rgb), 0.10);
    border: 1px solid rgba(var(--st-accent-rgb), 0.20);
    border-radius: 6px;
    color: var(--st-text);
    font-size: 0.78rem;
}

.w3eden .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: relative !important;
    color: var(--st-text-3);
    margin-right: 5px;
}

.w3eden .select2-dropdown {
    border: 1px solid var(--st-border);
    border-radius: 8px;
    box-shadow: var(--st-shadow-md);
}

.w3eden .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--st-accent);
}

/* Action buttons */
.w3eden .filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px 18px;
}

.w3eden .filter-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
}

.w3eden .filter-actions .btn-secondary {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-text-2);
    box-shadow: none;
}

.w3eden .filter-actions .btn-secondary:hover {
    border-color: var(--st-border-strong);
    background: var(--st-surface-2);
    color: var(--st-text);
}

/* --------------------------------------------------------------------------
   Results header
   -------------------------------------------------------------------------- */
.w3eden .results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 13px 18px;
    margin-bottom: 16px;
}

.w3eden .results-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.w3eden .results-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--st-text-2);
}

.w3eden .results-count i { color: var(--st-accent); }
.w3eden .results-count strong { color: var(--st-text); font-variant-numeric: tabular-nums; }

.w3eden .results-pagination-info {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: var(--st-text-3);
}

/* View toggle (segmented control) */
.w3eden .view-toggle {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: var(--st-surface-2);
    border: 1px solid var(--st-border);
    border-radius: 9px;
}

.w3eden .view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--st-text-2);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.w3eden .view-btn:hover { color: var(--st-text); }

.w3eden .view-btn.active {
    background: var(--st-surface);
    color: var(--st-accent);
    box-shadow: 0 1px 2px rgba(20, 28, 42, 0.08);
}

/* --------------------------------------------------------------------------
   Results table
   -------------------------------------------------------------------------- */
.w3eden .elegant-table-container { overflow: hidden; }

.w3eden .table-wrapper { overflow-x: auto; }

.w3eden .elegant-table {
    width: 100%;
    border-collapse: collapse;
}

.w3eden .elegant-table thead th {
    padding: 11px 16px;
    background: var(--st-surface-2);
    border-bottom: 1px solid var(--st-border);
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.w3eden .th-content {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--st-text-3);
}

.w3eden .th-content > i:first-child { color: var(--st-text-3); font-size: 0.75rem; }

.w3eden th.sortable { cursor: pointer; transition: background 0.15s ease; }
.w3eden th.sortable:hover { background: var(--st-border-2); }

.w3eden .sort-icon { margin-left: auto; opacity: 0.4; font-size: 0.7rem; }
.w3eden .sortable:hover .sort-icon { opacity: 0.7; }
.w3eden .sort-asc .sort-icon,
.w3eden .sort-desc .sort-icon { opacity: 1; color: var(--st-accent); }

.w3eden .elegant-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-border-2);
    vertical-align: middle;
    font-size: 0.84rem;
    color: var(--st-text);
}

.w3eden .elegant-row { transition: background 0.12s ease; }
.w3eden .elegant-row:hover,
.w3eden .elegant-row.row-hovered { background: var(--st-surface-2); }
.w3eden .elegant-table tbody tr:last-child td { border-bottom: none; }

/* Package cell */
.w3eden .package-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.w3eden .package-link {
    color: var(--st-text);
    font-weight: 600;
    text-decoration: none;
}

.w3eden .package-link:hover .package-title { color: var(--st-accent); }
.w3eden .package-title { transition: color 0.15s ease; }

.w3eden .package-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.w3eden .elegant-row:hover .package-actions { opacity: 1; }

.w3eden .action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--st-surface-2);
    border: 1px solid var(--st-border);
    color: var(--st-text-3);
    font-size: 0.74rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.w3eden .action-link:hover {
    border-color: rgba(var(--st-accent-rgb), 0.30);
    background: rgba(var(--st-accent-rgb), 0.08);
    color: var(--st-accent);
}

/* File cell */
.w3eden .file-info { display: flex; align-items: center; gap: 8px; }
.w3eden .file-icon { color: var(--st-text-3); font-size: 0.9rem; }
.w3eden .filename { color: var(--st-text-2); }

/* Version cell */
.w3eden .version-badge {
    display: inline-block;
    padding: 2px 9px;
    background: var(--st-surface-2);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--st-text-2);
    font-variant-numeric: tabular-nums;
}

.w3eden .no-version { color: var(--st-text-3); }

/* Date & time cell */
.w3eden .datetime-info { display: flex; flex-direction: column; gap: 2px; }
.w3eden .dt-date { font-weight: 600; color: var(--st-text); font-variant-numeric: tabular-nums; }
.w3eden .dt-meta { font-size: 0.74rem; color: var(--st-text-3); font-variant-numeric: tabular-nums; }

/* User cell */
.w3eden .user-info { display: flex; align-items: center; gap: 9px; }

.w3eden .user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(var(--st-accent-rgb), 0.10);
    color: var(--st-accent);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.w3eden .user-avatar.guest-avatar { background: var(--st-surface-2); color: var(--st-text-3); }

.w3eden .user-main { display: flex; align-items: center; gap: 7px; min-width: 0; }
.w3eden .user-link { color: var(--st-text); font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w3eden .user-link:hover .user-name { color: var(--st-accent); }
.w3eden .user-name { transition: color 0.15s ease; }
.w3eden .guest-name { color: var(--st-text-3); font-weight: 500; }

.w3eden .user-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--st-surface-2);
    border: 1px solid var(--st-border);
    color: var(--st-text-3);
    font-size: 0.66rem;
    text-decoration: none;
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.w3eden .elegant-row:hover .user-edit { opacity: 1; }
.w3eden .user-edit:hover { color: var(--st-accent); border-color: rgba(var(--st-accent-rgb), 0.30); }

/* Location cell */
.w3eden .location-info { display: flex; flex-direction: column; gap: 2px; }
.w3eden .country-info { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--st-text); }
.w3eden .country-info i { color: var(--st-text-3); font-size: 0.78rem; }
.w3eden .ip-link { color: var(--st-text-3); font-size: 0.74rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.w3eden .ip-link:hover { color: var(--st-accent); }
.w3eden .location-unknown { display: inline-flex; align-items: center; gap: 6px; color: var(--st-text-3); }

/* System cell */
.w3eden .system-info { display: flex; flex-direction: column; gap: 2px; }
.w3eden .browser-info { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--st-text); }
.w3eden .browser-info .browser-icon { color: var(--st-text-3); font-size: 0.82rem; width: 16px; text-align: center; }
.w3eden .os-info { font-size: 0.78rem; color: var(--st-text-2); padding-left: 23px; }

/* --------------------------------------------------------------------------
   Card view
   -------------------------------------------------------------------------- */
.w3eden .cards-wrapper { display: none; }

.w3eden .elegant-table-container.card-view .table-wrapper { display: none; }

.w3eden .elegant-table-container.card-view .cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    padding: 18px;
}

.w3eden .download-card {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.w3eden .download-card::before { content: none; }

.w3eden .download-card:hover,
.w3eden .download-card.card-hovered {
    border-color: var(--st-border-strong);
    box-shadow: var(--st-shadow-md);
}

.w3eden .download-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--st-border-2);
    background: var(--st-surface-2);
}

.w3eden .card-package-title { margin: 0; font-size: 0.9rem; font-weight: 650; }
.w3eden .card-package-title a { color: var(--st-text); text-decoration: none; }
.w3eden .card-package-title a:hover { color: var(--st-accent); }

.w3eden .card-package-actions { display: flex; gap: 4px; flex-shrink: 0; }

.w3eden .card-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-text-3);
    font-size: 0.74rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.w3eden .card-action-link:hover {
    border-color: rgba(var(--st-accent-rgb), 0.30);
    color: var(--st-accent);
}

.w3eden .card-body { padding: 6px 16px 14px; }

.w3eden .card-field {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--st-border-2);
}

.w3eden .card-field:last-child { border-bottom: none; }

.w3eden .card-field-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--st-text-3);
    white-space: nowrap;
}

.w3eden .card-field-label i { font-size: 0.74rem; width: 14px; text-align: center; }

.w3eden .card-field-value { text-align: right; font-size: 0.82rem; color: var(--st-text); min-width: 0; }

.w3eden .card-version-badge {
    display: inline-block;
    padding: 2px 9px;
    background: var(--st-surface-2);
    border: 1px solid var(--st-border);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--st-text-2);
}

.w3eden .card-datetime { display: flex; flex-direction: column; gap: 1px; }
.w3eden .card-date { font-weight: 600; }
.w3eden .card-time { font-size: 0.78rem; color: var(--st-text-2); }
.w3eden .card-relative-time { font-size: 0.72rem; color: var(--st-text-3); }

.w3eden .card-user-info { display: inline-flex; align-items: center; gap: 7px; }
.w3eden .card-user-avatar { color: var(--st-text-3); }
.w3eden .card-user-name { color: var(--st-text); font-weight: 600; text-decoration: none; }
.w3eden .card-user-name:hover { color: var(--st-accent); }

.w3eden .card-location-info { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.w3eden .card-country { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.w3eden .card-country i { color: var(--st-text-3); font-size: 0.74rem; }
.w3eden .card-location-link { color: var(--st-text-3); font-size: 0.74rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.w3eden .card-location-link:hover { color: var(--st-accent); }

.w3eden .card-system-info { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.w3eden .card-browser { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.w3eden .card-browser i { color: var(--st-text-3); }
.w3eden .card-os { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--st-text-2); }
.w3eden .card-os i { color: var(--st-text-3); }

/* --------------------------------------------------------------------------
   Table footer + pagination
   -------------------------------------------------------------------------- */
.w3eden .table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid var(--st-border-2);
}

.w3eden .elegant-pagination .pagination-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.w3eden .pagination-item,
.w3eden a.pagination-item,
.w3eden span.pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 8px;
    color: var(--st-text-2);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: all 0.15s ease;
}

.w3eden a.pagination-item:hover {
    border-color: rgba(var(--st-accent-rgb), 0.35);
    background: rgba(var(--st-accent-rgb), 0.06);
    color: var(--st-accent);
}

.w3eden .pagination-item.current {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: #fff;
}

.w3eden .pagination-item.dots {
    border-color: transparent;
    background: transparent;
    color: var(--st-text-3);
}

.w3eden .table-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.76rem;
    color: var(--st-text-3);
}

.w3eden .items-per-page,
.w3eden .total-items { display: flex; align-items: center; gap: 6px; }
.w3eden .items-per-page i,
.w3eden .total-items i { color: var(--st-text-3); }

/* --------------------------------------------------------------------------
   Empty state
   -------------------------------------------------------------------------- */
.w3eden .no-results-container {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    box-shadow: var(--st-shadow);
    padding: 56px 24px;
}

.w3eden .no-results-content {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.w3eden .no-results-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: var(--st-surface-2);
    color: var(--st-text-3);
    font-size: 1.4rem;
}

.w3eden .no-results-message h4 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--st-text);
}

.w3eden .no-results-message p { margin: 0 0 20px; font-size: 0.86rem; color: var(--st-text-2); line-height: 1.6; }

.w3eden .no-results-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.w3eden .btn-elegant {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.w3eden .btn-elegant.primary { background: var(--st-accent); color: #fff; border: 1px solid var(--st-accent); }
.w3eden .btn-elegant.primary:hover { filter: brightness(0.95); }
.w3eden .btn-elegant.secondary {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-text-2);
}
.w3eden .btn-elegant.secondary:hover { border-color: var(--st-border-strong); color: var(--st-text); }

/* --------------------------------------------------------------------------
   Notifications (triggered from JS)
   -------------------------------------------------------------------------- */
.elegant-notification {
    position: fixed;
    top: 42px;
    right: 20px;
    display: none;
    min-width: 240px;
    padding: 12px 16px;
    background: var(--st-surface, #fff);
    border: 1px solid var(--st-border, #e6eaf0);
    border-left: 3px solid var(--st-accent, #4a8eff);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(20, 28, 42, 0.10);
    color: var(--st-text, #1f2733);
    font-size: 0.84rem;
    z-index: 100001;
}

.elegant-notification i { color: var(--st-accent, #4a8eff); margin-right: 6px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 782px) {
    .w3eden .filters-grid { grid-template-columns: 1fr; }
    .w3eden .filter-section.date-section { grid-column: auto; }
    .w3eden .filter-actions { flex-direction: column; }
    .w3eden .filter-actions .btn { justify-content: center; }
    .w3eden .results-header { align-items: stretch; }

    .w3eden .elegant-table thead th,
    .w3eden .elegant-table tbody td { padding: 10px 12px; }

    /* Hide secondary columns on narrow screens */
    .w3eden .elegant-table .version-cell,
    .w3eden .elegant-table .system-cell,
    .w3eden .elegant-table th:nth-child(3),
    .w3eden .elegant-table th:nth-child(7) { display: none; }
}

@media (max-width: 560px) {
    .w3eden .date-inputs { grid-template-columns: 1fr; }
    .w3eden .table-footer { flex-direction: column; align-items: stretch; }
    .w3eden .elegant-table .location-cell,
    .w3eden .elegant-table th:nth-child(6) { display: none; }
}

/* Accessibility */
.w3eden .quick-filter-btn:focus-visible,
.w3eden .view-btn:focus-visible,
.w3eden .action-link:focus-visible,
.w3eden a.pagination-item:focus-visible,
.w3eden .clear-btn:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}
