@import '../../../../vendor/filament/filament/resources/css/theme.css';

@source '../../../../app/Filament/Guest/**/*';
@source '../../../../resources/views/components/**/*';
@source '../../../../resources/views/filament/guest/**/*';
@source '../../../../resources/views/vendor/**/*';

::-webkit-scrollbar {
    width: .56vw !important;
    height: 8px !important;
}

::-webkit-scrollbar-button {
    width: 0px !important;
    height: 0px !important;
}

::-webkit-scrollbar-thumb {
    background: #e1e1e1 !important;
    border: 0px none #ffffff !important;
    border-radius: 50px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff !important;
}

::-webkit-scrollbar-thumb:active {
    background: #000000 !important;
}

::-webkit-scrollbar-track {
    background: #666666 !important;
    border: 0px none #ffffff !important;
    /* border-radius: 81px; */
}

::-webkit-scrollbar-track:hover {
    background: #666666 !important;
}

::-webkit-scrollbar-track:active {
    background: #333333 !important;
}

::-webkit-scrollbar-corner {
    background: transparent !important;
}

.fi-breadcrumbs .fi-breadcrumbs-item-label {
    @apply text-xs!;
}

.choices__item--selectable {
    @apply cursor-pointer!;
}

.fi-sidebar {
    @apply bg-white! dark:bg-gray-900!;
}

.fi-sidebar-item a,
.fi-tenant-menu-trigger {
    @apply hover:bg-gray-200/50! hover:dark:bg-gray-800!;
}

.fi-sidebar-item-active a {
    @apply bg-gray-200/50! dark:bg-gray-800!;
}

.fi-btn.fi-color-primary {
    box-shadow: none !important;
    transition: filter 0.15s ease !important;
}

.fi-btn.fi-color-primary:hover {
    filter: brightness(0.93);
    text-decoration: none !important;
}

/**
 * `.fi-simple-main` is Filament's login-card box — white/gray-900 background,
 * ring, rounded corners, `my-16` and a `max-w-*` cap (see
 * `vendor/filament/filament/resources/css/components/layout.css`). Exactly
 * right for `CreateWorkspace`'s centered form card, but it shows through as
 * an unwanted rectangle behind a full-bleed page like the landing, whose own
 * content is wider than that box. Scoped to only the landing page (via the
 * marker class on its root) so `CreateWorkspace` keeps its card look.
 */
/**-- Pas de `>` : `.fi-landing-page` est un petit-enfant de `.fi-simple-main`
     (imbriqué via `.fi-simple-page` puis `.fi-simple-page-content`, posés
     par `page.simple.blade.php`), pas un enfant direct. --}}**/
.fi-simple-main:has(.fi-landing-page) {
    @apply m-0 max-w-none bg-transparent p-0 shadow-none ring-0 dark:bg-transparent dark:ring-0;
}

