.allNote{
    .alert{
        background: rgba(0, 128, 0, 0.26);
        color: #006200;
        padding: 1rem;
        border-radius: .3rem;
        font-size: .85rem;
        font-weight: 300;
        margin-top: 1rem;
    }
    .alert-danger{
        color: red;
        font-size: .7rem;
        font-weight: 300;
    }
    .allTables{
        display: grid;
        grid-template-columns: 1fr 25rem;
        grid-gap: 1rem;
        margin-top: 1rem;
        table{
            background: white;
            border-radius: .3rem;
            box-shadow: 0 0 10px rgba(0,0,0,.05);
            width: 100%;
            tr{
                display: grid;
                grid-template-columns: 3fr 1fr 1fr 1fr;
                align-items: center;
                grid-gap: 1rem;
                padding: 1rem;
                th{
                    font-weight: 700;
                    color: $text1;
                    font-size: .85rem;
                    text-align: center;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    overflow: hidden;
                    display: grid;
                    align-items: center;
                    justify-content: center;
                }
                td{
                    font-weight: 300;
                    font-size: .85rem;
                    text-align: center;
                    color: $text1;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    overflow: hidden;
                    svg{
                        fill: $text1;
                        width: 1rem;
                        height: 1rem;
                        cursor: pointer;
                    }
                    img{
                        width: 2.5rem;
                        height: 2.5rem;
                        object-fit: cover;
                        border-radius: 5rem;
                        box-shadow: 0 0 10px rgba(0,0,0,.1);
                    }
                    .check{
                        background: $blue;
                        color: white;
                        padding: .2rem .5rem;
                        border-radius: 5px;
                    }
                    .unActive{
                        background: $red;
                        color: white;
                        padding: .2rem .5rem;
                        border-radius: 5px;
                    }
                    .active{
                        background: $green;
                        color: white;
                        padding: .2rem .5rem;
                        border-radius: 5px;
                    }
                    a{
                        display: grid;
                        align-items: center;
                        svg{
                            margin-left: .5rem;
                        }
                    }
                }
                .buttons{
                    display: grid;
                    grid-template-columns: auto auto auto;
                    grid-gap: .5rem;
                    a{
                        font-size: .8rem;
                        padding: .3rem;
                        border-radius: 5px;
                        color: white;
                        background: green;
                    }
                    button{
                        font-size: .8rem;
                        padding: .3rem;
                        border-radius: 5px;
                        color: white;
                        background: orange;
                        &:last-child{
                            background: red;
                        }
                    }
                }
                &:nth-child(even){
                    background: #eee;
                }
            }
        }
        .grid5{
            tr{
                grid-template-columns: repeat(auto-fit,minmax(1px ,1fr));
            }
        }
        .createFilled{
            background: white;
            border-radius: .3rem;
            box-shadow: 0 0 10px rgba(0,0,0,.05);
            padding: 1rem;
            .filledItems{
                display: grid;
                grid-template-columns: 1fr 1fr;
                grid-gap: .5rem;
                align-items: center;
            }
            .filledGrid{
                display: grid;
                grid-template-columns: 1fr auto auto;
                grid-gap: .5rem;
                align-items: center;
            }
            .filledItem2{
                display: grid;
                margin-bottom: 1rem;
                label{
                    color: $text1;
                    font-weight: 300;
                    font-size:.7rem;
                }
            }
            .dataLearn{
                margin-bottom: 1rem;
                ul{
                    padding: .5rem;
                    background: #f5f5f5;
                    border-radius: 5px;
                    li{
                        font-size: .7rem;
                        font-weight: 300;
                        color: $text1;
                        cursor: pointer;
                        margin-top: .5rem;
                        &:first-child{
                            margin-top: 0;
                        }
                    }
                }
            }
            .filledItem{
                display: grid;
                margin-bottom: 1rem;
                label{
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                    color: $text1;
                    font-weight: 300;
                    font-size:.7rem;
                    margin-bottom: .5rem;
                    span{
                        color: red;
                        border-bottom: 1px dashed red;
                        display: grid;
                        width: 5rem;
                        text-align: center;
                        cursor: pointer;
                        margin-right: .5rem;
                    }
                }
                input,textarea,select{
                    background: white;
                    border: 1px solid $border1;
                    padding: 0.4rem .5rem;
                    color: $text1;
                    border-radius: .3rem;
                    font-size: .7rem;
                    width: 100%;
                    transition: all .3s ease-in-out;
                    outline: transparent;
                    &:focus{
                        box-shadow: 0 3px 8px 0 rgba(0,0,0,.1);
                        border: 1px solid $blue;
                    }
                }
                input[type='checkbox']{
                    width: 2rem;
                }
            }
            h5{
                display: flex;
                justify-content: space-between;
                gap: 1rem;
                margin-bottom: 1rem;
                span{
                    font-size: .7rem;
                    font-weight: 300;
                    color: $text1;
                    &:last-child{
                        text-align: left;
                        direction: ltr;
                        color: red;
                    }
                }
            }
            .buttonForm{
                display: grid;
                grid-template-columns: 1fr 1fr;
                grid-gap: 1rem;
                button,h4{
                    background: $green;
                    color: white;
                    box-shadow: 0 0 10px rgba(0,0,0,.05);
                    padding: .3rem;
                    text-align: center;
                    border-radius: 5px;
                    cursor: pointer;
                }
                h4{
                    background: red;
                }
            }
        }
    }
    .popUp{
        background: rgba(0,0,0,.5);
        z-index: 4000;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        .popUpItem {
            width: 40%;
            margin: auto;
            background: white;
            border-radius: .4rem;
            position: relative;
            padding: 1rem;
            .title{
                font-size: 1.2rem;
                font-weight: 500;
                color: $text1;
                text-align: center;
            }
            p{
                margin-top: .5rem;
                font-size: 1rem;
                font-weight: 300;
                color: $text1;
                text-align: center;
            }
            .buttonsPop{
                display: grid;
                grid-template-columns: auto auto;
                justify-content: center;
                align-items: center;
                grid-gap: 1rem;
                margin-top: 2rem;
                button{
                    font-size: .9rem;
                    padding: .3rem 1rem;
                    border-radius: 5px;
                    background: green;
                    color: white;
                    &:nth-child(2){
                        background: red;
                    }
                }
            }
        }
    }
    @media screen and (max-width:700px) {
        .allTables{
            display: flex;
            flex-wrap: wrap-reverse;
            div{
                width: 100%;
            }
            .allData{
                overflow-x: scroll;
            }
            table{
                clear: both;
                margin-top: 6px !important;
                margin-bottom: 6px !important;
                max-width: none !important;
                border-collapse: separate !important;
                width: 100%;
                tr{
                    display: flex;
                    td,th{
                        min-width: 8rem;
                        ul{
                            min-width: 15rem;
                            li{
                                min-width: 5rem;
                            }
                        }
                    }
                }
            }
        }
    }
}
