/*
 * Styles for the reusable report-download widget
 * (App\Filament\Widgets\ReportDownloadWidget). Registered with Filament via
 * FilamentAsset so the classes are available inside the admin panel without a
 * Tailwind theme build.
 */
.rdw-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
}

.rdw-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.rdw-table thead tr {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.rdw-table tbody tr + tr {
    border-top: 1px solid #eef0f3;
}

.rdw-th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #6b7280;
}

.rdw-td {
    padding: 1rem;
    color: #374151;
    vertical-align: middle;
}

.rdw-th--right,
.rdw-td--right {
    text-align: right;
}

.rdw-jobid {
    font-weight: 600;
    color: #111827;
}

.rdw-expire {
    color: #6b7280;
}

.rdw-na {
    font-size: 0.75rem;
    color: #9ca3af;
}

.rdw-empty {
    padding: 2.5rem 1rem;
    text-align: center;
    color: #6b7280;
}

.rdw-empty__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rdw-empty__icon {
    width: 1.75rem;
    height: 1.75rem;
    color: #9ca3af;
}

.rdw-empty__text {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Dark mode (Filament toggles the `.dark` class on <html>). */
.dark .rdw-wrap {
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .rdw-table thead tr {
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark .rdw-table tbody tr + tr {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.dark .rdw-th {
    color: #9ca3af;
}

.dark .rdw-td {
    color: #d1d5db;
}

.dark .rdw-jobid {
    color: #ffffff;
}

.dark .rdw-expire,
.dark .rdw-empty {
    color: #9ca3af;
}
