/*
 ===============================================================
 PinCabOS - Admin Background Unified V1

 Même background que pincabos-public.css / Accueil.
 ===============================================================
 */

html,
body {
    min-height:100%;
}

body {

    /*
     * EXACTEMENT LA MEME COMPOSITION QUE L'ACCUEIL
     */

    background:
        radial-gradient(
            circle at 8% -5%,
            rgba(255,138,31,.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 75% -10%,
            rgba(148,100,255,.18),
            transparent 36%
        ),
        radial-gradient(
            circle at 100% 40%,
            rgba(44,219,255,.07),
            transparent 30%
        ),
        #05060a !important;

    background-attachment:
        fixed !important;
}


/*
 * Grille commune.
 *
 * Un peu plus visible que précédemment,
 * mais toujours discrète.
 */

body::before {

    content:"" !important;

    position:fixed !important;
    inset:0 !important;

    pointer-events:none !important;

    opacity:.62 !important;

    background-image:
        linear-gradient(
            rgba(255,255,255,.028) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.028) 1px,
            transparent 1px
        ) !important;

    background-size:
        48px 48px !important;

    background-position:
        0 0 !important;

    z-index:0 !important;
}


/*
 * Le contenu doit rester au-dessus de la grille.
 */

body > * {
    position:relative;
    z-index:1;
}


/*
 * Exceptions :
 * les overlays/modals gardent leur propre niveau.
 */

.modal,
.modal-backdrop,
.dialog,
[role="dialog"] {
    z-index:1000;
}
