﻿.resident-main-page {
    padding-left: 1.5625rem;
    width: 97%;
    height: 100%;
}




    .resident-main-page .resident-top-bar {
        display: flex;
        justify-content: space-between;
    }

        .resident-main-page .resident-top-bar .left-part {
            display: flex;
            flex-direction: column;
            height: inherit;
        }

        .resident-main-page .resident-top-bar .right-part {
            display: flex;
            flex-direction: row;
            align-items: center;
            height: inherit;
            gap: 0.625rem;
        }



    .resident-main-page .resident-grid {
    }

        .resident-main-page .resident-grid .tag-chambre {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            width: fit-content;
            padding-left: 0.25rem;
            padding-right: 0.25rem;
            min-width: 1.8125rem;
            height: 1.5rem;
            border-radius: 0.1875rem;
            font-size: 0.875rem;
            background-color: #26BAA4;
            border: 1px solid #26BAA4;
            color: white;
        }

            .resident-main-page .resident-grid .tag-chambre.no-chambre {
                background-color: var(--abs-light-purple);
                border: 1px solid var(--abs-light-purple);
            }



        .resident-main-page .resident-grid .tag-gir {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            width: 1.8125rem;
            min-width: 1.8125rem;
            height: 1.75rem;
            border-radius: 1.25rem;
            font-size: 0.75rem;
        }

            .resident-main-page .resident-grid .tag-gir.gir-1 {
                background: #DB504A;
                color: #FFFFFF;
            }

            .resident-main-page .resident-grid .tag-gir.gir-2 {
                background: #DB504A;
                color: #FFFFFF;
            }

            .resident-main-page .resident-grid .tag-gir.gir-3 {
                background: #E78B88;
                border: 1px solid #DB504A;
                color: #FFFFFF;
            }

            .resident-main-page .resident-grid .tag-gir.gir-4 {
                background: #E78B88;
                border: 1px solid #DB504A;
                color: #FFFFFF;
            }

            .resident-main-page .resident-grid .tag-gir.gir-5 {
                border: 1px solid #DB504A;
                color: #AA2622;
            }

            .resident-main-page .resident-grid .tag-gir.gir-6 {
                border: 1px solid #DB504A;
                color: #AA2622;
            }



.resident-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 25.625rem;
    width: 100%;
    height: 8.125rem;
    background: var(--bgcolor);
    border: 1px solid var(--bgcolor);
    border-radius: 0.5rem;
}

    .resident-panel.privacy-locked {
        pointer-events: none !important;
    }
    .dotation-grid.netsoins .resident-panel.privacy-locked .picto-container {
        pointer-events: all !important;
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
        -ms-user-drag: none;
        user-drag: none;
    }
    .dotation-grid.netsoins .resident-panel.privacy-locked .picto-container img {
        pointer-events: none !important;
    }
    .resident-panel .trenche-warning {
        pointer-events: all !important;
        color: orange !important;
        font-size: 2rem !important;
        cursor: pointer !important;
    }

    .resident-panel .info-icon {
        pointer-events: auto !important;
        cursor: pointer;
    }

    .resident-panel .group-label{
        margin-left: 1rem;
        padding-left: 0.75rem;
        width: 100%;
    }
    
    /*.k-drawer-expanded .resident-panel .group-label{*/
    /*    padding-top: 0;*/
    /*    width: 10rem;*/
    /*    text-overflow: ellipsis;*/
    /*    overflow: hidden;*/
    /*    white-space: nowrap;*/
    /*    transition: all 350ms ease-out;*/
    /*}*/


    .resident-panel.selected {
        border-left: 0.25rem solid var(--secondary);
        border-radius: 0.5rem;
    }

    .resident-panel .top {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        padding: 0;
        margin-top: 0.625rem;
        width: 100%;
        height: 6rem;
    }

        .resident-panel .top .tag-chambre {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            height: 1.5rem;
            background: #26BAA4;
            border: 1px solid #26BAA4;
            border-radius: .25rem;
            color: var(--white);
            font-size: 0.875rem;
            margin: 0 0.625rem;
            width: fit-content;
            padding: .125rem .25rem;
        }

        .resident-panel .top .display-name {
            height: 100%;
            display: block;
            width: 100%;
            font-size: 0.9375rem;
            flex-grow: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: normal;
            flex-shrink: 10;
        }

        .resident-panel .top .pdts {
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            width: 15rem;
            min-width: 15rem;
            padding: 0;
            height: 100%;
        }

            .resident-panel .top .pdts .alese {
                display: flex;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                padding: 0;
                isolation: isolate;
                width: 5rem;
                height: 4.625rem;
                border: 1px dashed var(--icons);
                border-radius: 0.375rem;
                position: relative;
            }

                .resident-panel .top .pdts .alese.picto {
                    border: none;
                }

            .resident-panel .top .pdts .reco-accepted {
                border: 1px solid #23A995 !important;
            }

            .resident-panel .top .pdts .reco-rejected {
                border: 1px solid #DB504A !important;
            }

            .resident-panel .top .pdts .reco-published {
                border: 1px solid #4264D0 !important;
            }

            .resident-panel .top .pdts .reco-initial {
                border: 1px solid orange !important;
            }



    .resident-panel .reco-status-container-slip-alese {
        position: absolute;
        background-color: transparent;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        pointer-events: none;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        border-radius: 0.25rem;
    }

    .resident-panel .reco-status-slip-alese {
        align-self: flex-end;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 1.625rem;
        height: 1.625rem;
        color: white;
        z-index: 1000;
        border-top-left-radius: 0.1875rem;
    }

        .resident-panel .reco-status-slip-alese.reco-accepted {
            background-color: #23A995;
        }

        .resident-panel .reco-status-slip-alese.reco-rejected {
            background-color: #DB504A;
            border:  0.125rem solid #DB504A;
        }

        .resident-panel .reco-status-slip-alese.reco-published {
            background-color: #4264D0;
            border:  0.125rem solid #4264D0;
        }

        .resident-panel .reco-status-slip-alese.reco-initial {
            background-color: orange;
        }



    .resident-panel .top .pdts .alese-empty, .resident-panel .top .pdts .slip-empty {
        border: 1px dashed var(--icons);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        width: 5rem;
        height: 4.625rem;
        color: var(--placeholder);
        border-radius: 0.375rem;
    }

    .resident-panel .top .alese-slip-text {
        font-size: .75rem;
        inline-size: 2.5rem;
        overflow: hidden;
        white-space: normal;
        text-align: center;
        margin: auto !important;
    }

    .resident-panel .top .pdts .slip {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0;
        isolation: isolate;
        width: 5rem;
        height: 4.625rem;
        border: 1px dashed var(--icons);
        border-radius: 0.375rem;
        position: relative;
    }

        .resident-panel .top .pdts .slip.picto {
            border: none;
        }

    .resident-panel .top .pdts .menu-resident {
        height: 3.75rem;
        background-color: var(--bgcolor);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 0 !important;
    }

        .resident-panel .top .pdts .menu-resident > i {
            color: #26baa4;
            font-size: 1.125rem;
        }

        .resident-panel .top .pdts .menu-resident * .k-menu-expand-arrow {
            display: none;
        }

        .resident-panel .top .pdts .menu-resident * .k-menu-link {
            gap: 0;
        }

        .resident-panel .top .pdts .menu-resident * .k-menu {
            background-color: red !important;
        }

    .resident-panel .abs-drop-panel {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-direction: row;
    }

    .resident-panel .dispositif-container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        flex-grow: 1;
        gap: .5rem;
        padding: 0 .625rem 0 0.75rem;
        width: 100%;
    }

        .resident-panel .dispositif-container .dispositifs {
            display: flex;
            align-items: center;
            justify-content: left;
            align-self: flex-start;
            flex-direction: row;
            gap: 0.625rem;
            flex-grow: 1;
            height: 100%;
        }

            .resident-panel .dispositif-container .dispositifs .dispositif-chip.two-chips > .k-chip {
                max-width: 10rem;
            }


        .resident-panel .dispositif-container .show-more {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            font-size: 0.75rem;
            color: var(--abs-light-purple);
            cursor: pointer;
            flex-shrink: 0;
        }

        .resident-panel .dispositif-container .add-more {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            cursor: pointer;
            flex-shrink: 0;
        }

            .resident-panel .dispositif-container .add-more .add-more-icon {
                color: var(--secondary);
            }

        .resident-panel .dispositif-container .reco-container {
            width: 1.5rem;
            height: 100%;
            align-self: flex-end;
            justify-content: center;
            align-items: center;
            display: flex;
            align-items: center;
        }

            .resident-panel .dispositif-container .reco-container .reco {
                width: 1.5rem;
                height: 1.5rem;
                justify-content: center;
                display: flex;
                align-items: center;
                border-radius: 50%;
                font-size: 0.75rem;
                line-height: 1rem;
                color: var(--white);
                background-color: #DB504A;
            }

.dispositifs-in-panel {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: left;
    align-items: flex-start;
    align-self: flex-start;
    flex-direction: row;
    gap: 0.625rem;
    flex-grow: 1;
    height: 6.25rem;
}

    .dispositifs-in-panel .dispositif-chip {
        background-color: #EFF2FB;
    }

.resident-panel .k-chip-solid-base {
    background-color: #EFF2FB;
}

.reco-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-height: 40rem;
    overflow-y: auto;
}

    .reco-list .reco-container {
        border-bottom: 1.5px solid var(--borders);
        padding: 0.9375rem;
        display: flex;
        flex-direction: column;
        gap: 0.3125rem;
    }

        .reco-list .reco-container .reco-titre h5 {
            color: var(--secondary);
            text-transform: uppercase;
            letter-spacing: 0.2em;
        }

        .reco-list .reco-container .reco-tranche-commentaire {
            height: 1.5rem;
        }



        .reco-list .reco-container .reco-tranche-horaire {
            height: 1.5rem;
        }

            .reco-list .reco-container .reco-tranche-horaire span {
                font-size: 0.75rem;
                color: #262B32;
            }

        .reco-list .reco-container .reco-produit {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 0.9375rem;
            margin-top: 0.5rem;
        }

            .reco-list .reco-container .reco-produit .reco-image {
            }

            .reco-list .reco-container .reco-produit .reco-bouton-essayer {
            }

            .reco-list .reco-container .reco-produit .reco-acceptation {
            }

                .reco-list .reco-container .reco-produit .reco-acceptation p {
                    font-size: 0.875rem;
                    color: #46505D;
                }


.resident-edit {
    height: 100%;
    display: flex;
    gap: 1.25rem;
    padding: 0 0.5rem;
    flex-direction: column;
}

    .resident-edit .label {
        font-size: 0.75rem;
    }

    .resident-edit .genre {
        width: 40%;
    }

    .resident-edit .prenom-nom {
        height: 5.9375rem;
        display: flex;
        gap: 1.25rem;
        flex-direction: row;
    }

        .resident-edit .prenom-nom .prenom {
            width: 50%;
            display: flex;
            flex-direction: column;
            gap: 0.3125rem;
        }

        .resident-edit .prenom-nom .nom {
            display: flex;
            width: 50%;
            flex-direction: column;
            gap: 0.3125rem;
        }


    .resident-edit .naissance-poids-taille {
        height: 5rem;
        display: flex;
        gap: 1.25rem;
        flex-direction: row;
    }

        .resident-edit .naissance-poids-taille .naissance {
            width: 33%;
            display: flex;
            flex-direction: column;
            gap: 0.3125rem;
        }

        .resident-edit .naissance-poids-taille .poids {
            display: flex;
            width: 33%;
            flex-direction: column;
            gap: 0.3125rem;
        }

        .resident-edit .naissance-poids-taille .taille {
            display: flex;
            width: 33%;
            flex-direction: column;
            gap: 0.3125rem;
        }

    .resident-edit .ligne-directe-protection {
        height: 5rem;
        display: flex;
        gap: 1.25rem;
        flex-direction: row;
    }

        .resident-edit .ligne-directe-protection .ligne-directe {
            width: 50%;
            display: flex;
            flex-direction: column;
            gap: 0.3125rem;
        }

        .resident-edit .ligne-directe-protection .protection {
            display: flex;
            width: 50%;
            flex-direction: column;
            gap: 0.3125rem;
        }






    .resident-edit .section-groupe-chambre {
        height: 5rem;
        display: flex;
        gap: 1.25rem;
        flex-direction: row;
    }

        .resident-edit .section-groupe-chambre .section {
            display: flex;
            width: 40%;
            flex-direction: column;
            gap: 0.3125rem;
        }

        .resident-edit .section-groupe-chambre .groupe {
            display: flex;
            width: 40%;
            flex-direction: column;
            gap: 0.3125rem;
        }

        .resident-edit .section-groupe-chambre .chambre {
            display: flex;
            width: 20%;
            flex-direction: column;
            gap: 0.3125rem;
        }

.resident-dropdown-panel {
    display: flex;
    flex-direction: row;
    justify-content: left;
    height: 3.125rem;
    width: 17.1875rem;
    align-items: top;
}

    .resident-dropdown-panel .chambre-numero {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 1.5rem;
        background: #26BAA4;
        border: 1px solid #26BAA4;
        border-radius: .25rem;
        color: var(--white);
        font-size: 0.875rem;
        margin: 0.5rem 0.625rem;
        width: 2.5rem;
        min-width: 2.5rem;
        padding: .125rem .25rem;
    }

        .resident-dropdown-panel .chambre-numero.empty {
            background-color: var(--abs-light-purple);
            border: 1px solid var(--abs-light-purple);
        }

    .resident-dropdown-panel .nom-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 0.625rem;
        align-items: left;
        font-size: 0.875rem;
    }

        .resident-dropdown-panel .nom-section .display-name {
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            width: 12.5rem;
        }



.resident-edit .dependance {
    /*    height: 5rem;
    display: flex;
    gap: 1.25rem;
    flex-direction: column;*/
}

    .resident-edit .dependance .gir {
        height: 5rem;
    }


.resident-edit .note {
}


.resident-edit .note .k-input{
    height: unset;
}

    .resident-edit .note textarea {
        height: 7.5rem;
        min-height: 7.5rem;
        resize: none;
    }
