@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    /* Colors */
    --bf-primary: #000000;
    --bf-secondary: #ffffff;
    --bf-accent: #E91E63;
    --bf-accent-light: #FCE4EC;
    --bf-accent-dark: #C2185B;

    /* Grays */
    --bf-gray-50: #fafafa;
    --bf-gray-100: #f5f5f5;
    --bf-gray-200: #eeeeee;
    --bf-gray-300: #e0e0e0;
    --bf-gray-400: #bdbdbd;
    --bf-gray-500: #9e9e9e;
    --bf-gray-600: #757575;
    --bf-gray-700: #616161;
    --bf-gray-800: #424242;
    --bf-gray-900: #212121;

    /* Typography */
    --bf-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bf-font-size-base: 16px;
    --bf-font-size-sm: 14px;
    --bf-font-size-xs: 12px;
    --bf-font-size-lg: 18px;
    --bf-font-weight-normal: 400;
    --bf-font-weight-semibold: 600;
    --bf-font-weight-bold: 700;

    /* Spacing (8px grid) */
    --bf-spacing-xs: 4px;
    --bf-spacing-sm: 8px;
    --bf-spacing-md: 16px;
    --bf-spacing-lg: 24px;
    --bf-spacing-xl: 32px;
    --bf-spacing-2xl: 48px;

    /* Border Radius */
    --bf-radius-sm: 4px;
    --bf-radius-md: 6px;
    --bf-radius-lg: 8px;
    --bf-radius-xl: 12px;

    /* Shadows */
    --bf-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --bf-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --bf-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --bf-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --bf-transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --bf-transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index layers - FIXED VALUES */
    --bf-z-overlay: 999998;
    --bf-z-sidebar: 999999;
    --bf-z-active-bar: 50;
}

/* Global font family */
body,
.bf-filter-wrapper,
.bf-filter-wrapper * {
    font-family: var(--bf-font-family);
}

/* Ensure proper stacking context */
.bf-filter-wrapper {
    position: relative;
    z-index: 1;
}

.bf-overlay {
    z-index: 999998 !important;
}

.bf-sidebar {
    z-index: 999999 !important;
}