/* Custom overrides to match the exact Interac Transaction Report design */

/* ===== TABLE STYLING ===== */

/* Remove Filament's default striped rows - clean white background */
.fi-ta-row:nth-child(even) {
    background-color: transparent !important;
}
.fi-ta-row.fi-striped {
    background-color: transparent !important;
}

/* Thin bottom borders for rows like the screenshot */
.fi-ta-row {
    border-bottom: 1px solid #e8ecf1 !important;
}

/* Table header - small gray text matching screenshot exactly */
.fi-ta-header-cell {
    font-size: 11px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    text-transform: none !important;
    padding: 10px 8px !important;
    white-space: nowrap !important;
    border-bottom: 2px solid #e5e7eb !important;
    background-color: #fff !important;
}

.fi-ta-header-cell-label {
    font-size: 11px !important;
    font-weight: 500 !important;
}

/* Table cell - compact rows like screenshot */
.fi-ta-cell {
    padding: 8px 8px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    color: #374151 !important;
}

/* Text inside cells */
.fi-ta-text-item,
.fi-ta-cell .fi-ta-text-item-label {
    font-size: 12px !important;
}

/* Table container - horizontal scroll for wide table */
.fi-ta-content {
    overflow-x: auto !important;
}

/* Ensure table is wide enough for all columns */
table.fi-ta-table {
    min-width: 1800px !important;
}

/* ===== HEADER ACTIONS (GENERATE / EXPORT buttons) ===== */

/* Place buttons side-by-side horizontally */
.fi-ta-header-ctn .fi-ta-actions {
    flex-direction: row !important;
    gap: 8px !important;
}

/* Button style - filled teal, no icons, compact */
.fi-ta-header-ctn .fi-btn {
    padding: 8px 24px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    min-width: 120px !important;
    justify-content: center !important;
}

/* Hide button icons to match screenshot exactly */
.fi-ta-header-ctn .fi-btn .fi-btn-icon {
    display: none !important;
}

/* ===== SEARCH ===== */
.fi-ta-search-field input {
    font-size: 13px !important;
}

/* ===== FILTER AREA INLINE ===== */
.fi-ta-header-toolbar {
    gap: 12px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

/* ===== PAGE TITLE ===== */
.fi-header-heading {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
}

/* ===== PAGINATION ===== */
.fi-ta-pagination {
    font-size: 13px !important;
}

/* ===== FONT FAMILY ===== */
.fi-ta,
.fi-ta * {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* ===== HIDE COLUMN TOGGLE ===== */
button[x-on\:click="toggleColumnVisibility"],
.fi-ta-col-toggle {
    display: none !important;
}

/* ===== REMOVE DARK MODE BACKGROUNDS ===== */
.fi-ta-ctn {
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
}
