@import '_content/BlazorColorPicker/BlazorColorPicker.19a8bqc7m0.bundle.scp.css';
@import '_content/BlazorWinOld/BlazorWinOld.ecjfnn5ndo.bundle.scp.css';
@import '_content/GntPlanning.Components/GntPlanning.Components.rnf8vi1ict.bundle.scp.css';
@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */

/* Hide toggles */
.drawer-toggle[b-e4ceb29rnj],
.dark-toggle[b-e4ceb29rnj] {
    display: none;
}

/* ---------------------- */
/*        APP BAR         */
/* ---------------------- */

.AppBar[b-e4ceb29rnj] {
    position: fixed;
    top: 0;
    left: 0;
    height: 56px;
    width: 100%;
    background: var(--gntplanning-appbar-bg);
    color: var(--gntplanning-appbar-text);
    border-bottom: 1px solid var(--gntplanning-border);
    display: flex;
    align-items: center;
    padding: 0 12px;
    z-index: 1000;
}

.burger svg[b-e4ceb29rnj] {
    width: 24px;
    height: 24px;
    fill: var(--gntplanning-appbar-text);
}

.burger[b-e4ceb29rnj] {
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .burger:hover[b-e4ceb29rnj] {
        background: rgba(0,0,0,0.1);
    }


.appbar-title[b-e4ceb29rnj] {
    margin-left: 12px;
    font-size: 20px;
    font-weight: bold;
}

.appbar-actions[b-e4ceb29rnj] {
    align-items: center;
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.avatar[b-e4ceb29rnj],
.action-btn[b-e4ceb29rnj],
.dark-btn[b-e4ceb29rnj] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #eee;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #696969;
}

.dark-btn[b-e4ceb29rnj] {
    background: #ddd;
}

    .avatar:hover[b-e4ceb29rnj],
    .action-btn:hover[b-e4ceb29rnj],
    .dark-btn:hover[b-e4ceb29rnj] {
        background: #ccc;
    }

/* ---------------------- */
/*         DRAWER         */
/* ---------------------- */

.Drawer[b-e4ceb29rnj] {
    position: fixed;
    top: 56px;
    left: 0;
    width: 260px;
    height: calc(100vh - 56px);
    background: var(--gntplanning-drawer-bg);
    border-right: 1px solid var(--gntplanning-border);
    padding: 20px 0;
    transform: translateX(-260px);
    transition: transform 0.3s ease, width 0.3s ease;
    z-index: 900;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.drawer-bottom[b-e4ceb29rnj] {
    margin-top: auto;
}

/* Mobile : ouvert */
.drawer-toggle:checked ~ .Drawer[b-e4ceb29rnj] {
    transform: translateX(0);
}

/* Drawer items */
.Drawer[b-e4ceb29rnj]  a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease-in-out;
    white-space: nowrap;
    text-decoration: none;
    color: var(--gntplanning-text);
}

    .Drawer[b-e4ceb29rnj]  a:hover,
    .Drawer[b-e4ceb29rnj]  a.active {
        background: #f7f6f6;
        border-left: 5px solid #bd291c;
        color: #000000;
    }

.Drawer .icon[b-e4ceb29rnj] {
    flex-shrink: 0;
    margin-right: 12px;
}

.drawer-separator[b-e4ceb29rnj] {
    border: none;
    border-top: 1px solid var(--gntplanning-border);
    margin: 16px 16px;
    opacity: 0.5;
}

/* Desktop : mini drawer toujours visible */
@media (min-width: 900px) {
    .Drawer[b-e4ceb29rnj] {
        transform: translateX(0);
        width: 80px;
        overflow: visible;
    }

        .Drawer[b-e4ceb29rnj]  a {
            position: relative;
            padding: 20px;
            justify-content: center;
        }

        .Drawer .icon[b-e4ceb29rnj] {
            margin-right: 0;
        }

        .Drawer .label[b-e4ceb29rnj] {
            display: none;
        }

        /* Tooltip CSS sur les items du mini-drawer */
        .Drawer[b-e4ceb29rnj]  a::after {
            content: attr(data-label);
            position: absolute;
            left: 72px;
            top: 50%;
            transform: translateY(-50%);
            background: #333;
            color: #fff;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 13px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.15s ease;
            z-index: 1100;
        }

        .Drawer[b-e4ceb29rnj]  a:hover::after {
            opacity: 1;
        }

    /* Desktop : drawer ouvert */
    .drawer-toggle:checked ~ .Drawer[b-e4ceb29rnj] {
        width: 260px;
        overflow: hidden;
    }

        .drawer-toggle:checked ~ .Drawer[b-e4ceb29rnj]  a {
            padding: 12px 20px;
            justify-content: flex-start;
        }

        .drawer-toggle:checked ~ .Drawer .icon[b-e4ceb29rnj] {
            margin-right: 12px;
        }

        .drawer-toggle:checked ~ .Drawer .label[b-e4ceb29rnj] {
            display: inline;
        }

        .drawer-toggle:checked ~ .Drawer[b-e4ceb29rnj]  a::after {
            display: none;
        }
}
/* ---------------------- */
/*          MAIN          */
/* ---------------------- */

.Main[b-e4ceb29rnj] {
    margin-top: 34px;
    padding: 20px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    transition: margin-left 0.3s ease;
}
/* Smartphone : padding horizontal réduit */
@media (max-width: 899px) {
    .Main[b-e4ceb29rnj] {
        padding-left: 10px;
        padding-right: 10px;
    }
}
/* Desktop : MiniDrawer actif */
@media (min-width: 900px) {
    .Main[b-e4ceb29rnj] {
        margin-left: 70px;
    }

    .drawer-toggle:checked ~ .Main[b-e4ceb29rnj] {
        margin-left: 250px;
    }
}
/* /Components/Pages/Index.razor.rz.scp.css */
.flex-row[b-k1cjgv2qjs] {
    display: flex;
    gap:5px;
}


.separator[b-k1cjgv2qjs] {
    width: 1px;
    height: 30px;
    background-color: #e8e8e8;
    margin: 0 8px;
}
/* /Components/Pages/Print.razor.rz.scp.css */

[b-flbqbubyd9] .mt-1 {
    margin-top: 10px;
}

.flex-container[b-flbqbubyd9] {
    padding: 0;
    margin: 0;
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

[b-flbqbubyd9] .flex-item {
    height:unset;
    margin: 2px 8px 8px 8px;
    padding: 5px 12px 12px 12px;
    flex: 1 1 250px;
}

[b-flbqbubyd9] custom-card {
    height: unset;
    border: unset
}

[b-flbqbubyd9] .ml-30 {
    margin-left: 30px;
}

/* Orientation */
.paper-orientation[b-flbqbubyd9] {
    display: flex;
    gap: 20px;
}

.paper-orientation > label[b-flbqbubyd9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

    .paper-orientation > label:hover[b-flbqbubyd9] {
        background-color: var(--neutral-fill-secondary-rest);
        border-radius: 8px;
    }

.paper-orientation > label input[b-flbqbubyd9] {
    display: none; /* Masque le bouton radio */
}

.icon[b-flbqbubyd9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px;
    transition: border-color 0.3s;
}

    .icon img[b-flbqbubyd9] {
        width: 50px;
        height: 50px;
    }

    .icon p[b-flbqbubyd9] {
        margin: 0px 0 0;
        font-size: 14px;
        color: #333;
    }

input:checked + .icon[b-flbqbubyd9] {
    border-color: #036ac4; /* Couleur bleue quand sélectionné */
    background: var(--fill-color);
}

/* Margins */
.container-margin[b-flbqbubyd9] {
    position: relative;
    width: 180px;
    height: 80px;
    margin-bottom: 14px;
}

.gray-frame[b-flbqbubyd9] {
    position: absolute;
    top: 50%;
    left: 120px;
    width: 160px; /* Largeur du cadre gris */
    height: 80px; /* Hauteur du cadre gris */
    transform: translate(-50%, -50%);
    border: 1px solid #ccc; /* Trait gris */
}

.input[b-flbqbubyd9] {
    position: absolute;
    width: 70px;
}

.top[b-flbqbubyd9] {
    top: -14.5px;
    left: 46%;
}

.bottom[b-flbqbubyd9] {
    bottom: -17.5px;
    left: 65%;
    transform: translateX(-50%);
}

.left[b-flbqbubyd9] {
    top: 50%;
    transform: translateY(-50%);
}

.right[b-flbqbubyd9] {
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
}

/* Container Dates */
.container-dates[b-flbqbubyd9] {
    container-name: trigger-container;
    container-type: inline-size;
    width: 100%;
}

.flex-dates[b-flbqbubyd9] {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 12px;
}

@container trigger-container (max-width: 320px) {
    .flex-dates[b-flbqbubyd9] {
        flex-direction: column;
    }
}

.align-adjust-button[b-flbqbubyd9] {
    display: grid;
    align-items: end;
    padding-bottom: 4px;
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.flex-container[b-yz2bgivigc] {
    padding: 0;
    margin: 0;
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

[b-yz2bgivigc] .flex-item {
    height: unset;
    margin: 2px 8px 8px 8px;
    padding: 5px 12px 12px 12px;
    flex: 1 1 250px;
}
