/* ===== TICKETS REPORT PAGE - Prefix: fxtr- ===== */
/* Page shell, table and pagination come from city-zones.css / pagination.css; only the filter
   panel and the report-specific cells live here. */

.fxtr-filters {
    border-radius: 22px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, .04) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .08) !important;
    padding: 18px !important;
    margin-bottom: 12px !important;
}

/* Auto-fitting grid: eight filters that reflow from four columns down to one. */
.fxtr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px 16px;
}

.fxtr-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* The search box earns a full row of its own on wide screens. */
.fxtr-field-wide {
    grid-column: 1 / -1;
}

.fxtr-inline-spinner {
    margin-left: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: none;
    letter-spacing: 0;
}

.fxtr-btn-reset {
    border-color: rgba(75, 62, 123, .28) !important;
    color: #4B3E7B !important;
    font-weight: 800 !important;
}

/* ── Table cells ── */
.fxtr-ticketno {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: 12px;
    font-weight: 800;
    color: #4B3E7B;
    background: rgba(75, 62, 123, .08);
    border: 1px solid rgba(75, 62, 123, .16);
    border-radius: 6px;
    padding: 2px 7px;
    white-space: nowrap;
}

.fxtr-subject {
    display: inline-block;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.fxtr-chip {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(75, 62, 123, .08);
    border: 1px solid rgba(75, 62, 123, .2);
    color: #4B3E7B;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* ── Status pills, one per TicketStatus ── */
.fxtr-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.fxtr-status-new        { background: rgba(59, 130, 246, .12);  border: 1px solid rgba(59, 130, 246, .3);  color: #1D4ED8; }
.fxtr-status-inprogress { background: rgba(245, 158, 11, .12);  border: 1px solid rgba(245, 158, 11, .32); color: #B45309; }
.fxtr-status-onhold     { background: rgba(107, 114, 128, .12); border: 1px solid rgba(107, 114, 128, .3); color: #4B5563; }
.fxtr-status-resolved   { background: rgba(16, 185, 129, .12);  border: 1px solid rgba(16, 185, 129, .3);  color: #047857; }
.fxtr-status-closed     { background: rgba(75, 62, 123, .12);   border: 1px solid rgba(75, 62, 123, .3);   color: #4B3E7B; }

/* ── Two-line cell: a name with a quieter line beneath (Claimed By) ── */
.fxtr-stack {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.3;
}

.fxtr-stack-main {
    font-weight: 700;
    color: #2D2350;
    white-space: nowrap;
}

.fxtr-stack-sub {
    font-size: 11px;
    font-weight: 700;
    color: #6B7280;
    white-space: nowrap;
}

.fxtr-unclaimed {
    color: #9CA3AF;
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    white-space: nowrap;
}
