/* Active filter chips for the Analytics page (see
   resources/views/filament/user/pages/analytics/filter-chips.blade.php).
   The panel's Tailwind utilities aren't compiled for app blade views — we
   register this stylesheet via Css::make() in UserPanelProvider instead.
   Brand color stops match the `primary` palette in the same provider so
   the chips stay in lockstep if the brand blue ever shifts. */

.analytics-filter-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.analytics-filter-chips__label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin-right: 0.25rem;
}

.analytics-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.25rem 0.25rem 0.75rem;
    background: #e2e9ff;             /* primary 50 */
    color: #0d2ea0;                  /* primary 700 */
    border: 1px solid #b7c6ff;       /* primary 200 */
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
}

.analytics-filter-chip__category {
    color: #6b7280;
    font-weight: 400;
}

.analytics-filter-chip__separator {
    color: #9ca3af;
    margin: 0 0.25rem;
}

.analytics-filter-chip__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    color: #3d66de;                  /* primary 500 */
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.analytics-filter-chip__remove:hover {
    background: #b7c6ff;             /* primary 100 */
    color: #051248;                  /* primary 900 */
}

.analytics-filter-chip__remove svg {
    width: 0.75rem;
    height: 0.75rem;
}

.analytics-filter-chips__clear {
    font-size: 0.75rem;
    color: #6b7280;
    text-decoration: underline;
    text-underline-offset: 2px;
    background: transparent;
    border: 0;
    cursor: pointer;
    margin-left: 0.25rem;
}

.analytics-filter-chips__clear:hover {
    color: #374151;
}
