@import 'tailwindcss';
@import '../../vendor/filament/support/resources/css/index.css';
@import '../../vendor/filament/notifications/resources/css/index.css';
@import '../../vendor/livewire/flux/dist/flux.css';
@import "../../node_modules/flowbite/src/themes/default";
@import "../../vendor/filament/tables/resources/css/index.css";
@import '../../vendor/filament/forms/resources/css/index.css';
@import '../../vendor/filament/actions/resources/css/index.css';
@plugin "flowbite/plugin";

@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';
@source "../../node_modules/flowbite";
@source '../../vendor/filament/notifications/resources/views/*.blade.php';


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

/* Re-assign Flux's gray of choice... */
@theme {
    --color-zinc-50: var(--color-slate-50);
    --color-zinc-100: var(--color-slate-100);
    --color-zinc-200: var(--color-slate-200);
    --color-zinc-300: var(--color-slate-300);
    --color-zinc-400: var(--color-slate-400);
    --color-zinc-500: var(--color-slate-500);
    --color-zinc-600: var(--color-slate-600);
    --color-zinc-700: var(--color-slate-700);
    --color-zinc-800: var(--color-slate-800);
    --color-zinc-900: var(--color-slate-900);
    --color-zinc-950: var(--color-slate-950);
}
@theme {
    --color-accent: var(--color-blue-500);
    --color-accent-content: var(--color-blue-600);
    --color-accent-foreground: var(--color-white);
}
@layer theme {
    .dark {
        --color-accent: var(--color-blue-500);
        --color-accent-content: var(--color-blue-400);
        --color-accent-foreground: var(--color-white);
    }
}

@layer base {

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

@supports (color: color-mix(in lab, red, red)) {
    .text-base-content\/50 {
        color: var(--color-zinc-500);
    }
    .dark .text-base-content\/50{
        color: white;
    }
}

@layer utilities {
    @media (hover:hover) {
        .hover\:data-current\:text-\(--color-accent-content\):hover[data-current] {
            color: var(--color-zinc-700);
        }
    }
}

@layer utilities {
    .data-current\:text-\(--color-accent-content\)[data-current] {
        color: ;
    }
    .dark .data-current\:text-\(--color-accent-content\)[data-current] {
        color: white;
    }
}

[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;
} */

/**
    The lines above are intact.
    The lines below were added by maryUI installer.
*/

/** daisyUI */
@plugin "daisyui" {
    themes: light --default, dark --prefersdark;
}

/* maryUI */
@source "../../vendor/robsontenorio/mary/src/View/Components/**/*.php";

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

/**
* Paginator - Traditional style
* Because Laravel defaults does not match well the design of daisyUI.
*/

.mary-table-pagination span[aria-current="page"] > span {
    @apply bg-primary text-base-100
}

.mary-table-pagination button {
    @apply cursor-pointer
}
input, textarea,select {
    --tw-ring-shadow:0 0 transparent !important;
}

/* Filament table tweaks */
.fi-ta-selection-indicator-actions-ctn {
    display: none !important;
}

.fi-ta-selection-indicator {
    gap: 0.75rem;
}
