@import 'tailwindcss';
@import '../../vendor/livewire/flux/dist/flux.css';

@source '../views';
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../vendor/livewire/flux-pro/stubs/**/*.blade.php';
@source '../../vendor/livewire/flux/stubs/**/*.blade.php';

@custom-variant dark (&:where(.dark, .dark *));

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';

    --color-zinc-50: #fafafa;
    --color-zinc-100: #f5f5f5;
    --color-zinc-200: #e5e5e5;
    --color-zinc-300: #d4d4d4;
    --color-zinc-400: #a3a3a3;
    --color-zinc-500: #737373;
    --color-zinc-600: #525252;
    --color-zinc-700: #404040;
    --color-zinc-800: #262626;
    --color-zinc-900: #171717;
    --color-zinc-950: #0a0a0a;

    --color-app-bg: #09090B;
    --color-app-surface: #18181B;
    --color-app-border: #27272A;
    --color-app-red: #EC6A5F;
    --color-app-yellow: #F4BF4F;
    --color-app-green: #61C554;

    --color-accent: var(--color-neutral-800);
    --color-accent-content: var(--color-neutral-800);
    --color-accent-foreground: var(--color-white);

    --color-primary-50: #f0f3fd;
    --color-primary-100: #e5eafa;
    --color-primary-200: #cfd8f6;
    --color-primary-300: #b2beef;
    --color-primary-400: #929ce7;
    --color-primary-500: #787ddc;
    --color-primary-600: #615dce;
    --color-primary-700: #5853b7;
    --color-primary-800: #444192;
    --color-primary-900: #3b3a75;
    --color-primary-950: #232244;

    --color-app-primary-50: oklch(0.958 0.012 291.4);
    --color-app-primary-100: oklch(0.915 0.027 292.8);
    --color-app-primary-200: oklch(0.839 0.051 291.47);
    --color-app-primary-300: oklch(0.755 0.081 290.76);
    --color-app-primary-400: oklch(0.674 0.11 290.49);
    --color-app-primary-500: oklch(0.589 0.137 290.02);
    --color-app-primary-600: oklch(0.506 0.16 288.92);
    --color-app-primary-700: oklch(0.418 0.144 288.02);
    --color-app-primary-800: oklch(0.321 0.111 288.33);
    --color-app-primary-900: oklch(0.232 0.08 287.92);
    --color-app-primary-950: oklch(0.183 0.064 288.2);

}

@layer theme {
    .dark {
        --color-accent: var(--color-white);
        --color-accent-content: var(--color-white);
        --color-accent-foreground: var(--color-neutral-800);
    }
}

@layer base {

    *,
    ::after,
    ::before,
    ::backdrop,
    ::file-selector-button {
        border-color: var(--color-gray-200, currentColor);
    }
}

[data-flux-field]:not(ui-radio, ui-checkbox) {
    @apply grid gap-2;
}

[data-flux-label] {
    @apply !mb-0 !leading-tight;
}

input:focus[data-flux-control],
textarea:focus[data-flux-control],
select:focus[data-flux-control] {
    @apply outline-hidden ring-2 ring-accent ring-offset-2 ring-offset-accent-foreground;
}

/* \[:where(&)\]:size-4 {
    @apply size-4;
} */