/* css pou tout paj */
    *{
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        text-decoration: none;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        transition: all .2s linear;
    }

    body{
        overflow-x: hidden;
    }

    :root{
        --yellow: #fdbd56;
        --blue: #0249ae;
        --green: #56bda3;
        --dark-blue: #0a0629;
        --light-white: #ffffff50;
        --white: #ffffff;
        --black: #000000;
        --light-black: #00000050;
        --gray: rgb(102, 101, 101);
        --light-gray: #00000025;
        --border: 1px solid var(--light-black);
        --box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    }

    ::-webkit-scrollbar{
        width: .5rem;
        height: .5rem;
    }

    ::-webkit-scrollbar-track{
        background-color: transparent;
    }

    ::-webkit-scrollbar-thumb{
        background-color: var(--blue);
    }
/* css pou tout paj */

/* boutton */
    .flexBtn{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .flexBtn .btn{
        padding: 8px 16px;
        font-size: 18px;
        color: var(--white);
        border-radius: 8px;
        text-wrap: nowrap;
        display: flex;
        align-items: center;
        border: none;
    }

    .flexBtn .btn:hover{
        cursor: pointer;
        scale: 1.05;
    }

    .flexBtn .btn1{
        background-color: var(--blue);
    }

    .flexBtn .btn2{
        background-color: var(--yellow);
    }
/* boutton */

/* titre */
    h2.titre{
        position: relative;
        left: 50%;
        transform: translateX(-50%);        
        max-width: max-content;
        font-size: 32px;
        font-weight: bolder;
        color: var(--blue);
        text-align: center;
        padding: 8px;
    }

    h2.titre::before{
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--yellow);
        bottom: 0; left: 50%;
        transform: translateX(-50%);
        animation: animate3 5s linear infinite;
    }

    @keyframes animate3 {
        0%{
            width: 20%;
        }
        50%{
            width: 100%;
        }
        100%{
            width: 20%;
        }
    }
/* titre */

/* titre backend */
    h2.titreBackend{
        text-align: center;
        font-size: 32px;
        color: var(--light-black);
        margin-bottom: 16px;
    }
/* titre backend */

/* section */
    section{
        width: 100%;
        padding: 8px 32px;
        margin: 16px auto;
    }
/* section */

/* form */
    .form_universel{
        width: 40rem;
        margin: 0 auto;
    }

    .form_universel fieldset{
        padding: 1rem;
        border: 1px solid var(--light-gray);
        border-radius: .5rem;
        margin-bottom: 1rem;
    }

    .form_universel fieldset legend{
        padding: .2rem 1rem;
        color: var(--light-gray);
        border: 1px solid var(--light-gray);
        border-radius: .5rem;
    }

    .titre_champ i{
        color: var(--yellow);
        transform: translatey(2px);
    }

    .champ{
        width: 100%;
        margin: .6rem 0;
        border-radius: .3rem;
        border: none;
        outline: none;
        padding: .6rem;
        font-size: 15px;
        background-color: var(--light-gray);
    }

    .champ:focus{
        border: 1px solid var(--blue);
        background: none;
    }

    .textarea{
        height: 10rem;
        resize: none;
    }

    .champ::placeholder, .textarea::placeholder{
        color: black;
    }

    .customfile{
        width: 100%;
        margin: .6rem 0;
        border-radius: .3rem;
        border: 1px solid var(--blue);
    }

    .customfile::-webkit-file-upload-button{
        width: 9rem;
        padding: .6rem;
        color: var(--white);
        border: none;
        border-radius: .3rem;
        cursor: pointer;
        background-color: var(--blue);
        color: white;
    }    
    
    .flex_champ{
        display: flex;
        justify-content: space-between;
        column-gap: 1rem;
    }
    
    .flex_champ div{
        width: 100%;
    }
/* form */

/* empty */
    .empty{
        width: 70%;
        margin: 0 auto;
        margin-bottom: 1rem;
        border:var(--border);
        border-radius: .3rem;
        padding: .5rem;
        text-align: center;
        font-size: 19px;
        background: var(--light-gay);
        color: var(--white);
        box-shadow: var(--box-shadow);
    }
/* empty */

/* table */    
    table{
        width: 100%;
        margin: 0 auto;
        border-collapse: collapse;
    }
    
    .scroll_table{
        max-height: 400px;
        overflow : auto;
        padding-bottom: 1rem;
    }

    .scroll_table::-webkit-scrollbar{
        width: .2rem;
        height: .2rem;
    }

    .scroll_table:hover::-webkit-scrollbar{
        width: .4rem;
        height: .4rem;
    }

    .scroll_table::-webkit-scrollbar-track{
        background-color: #ccc;
        border-radius: .5rem;
    }

    .scroll_table::-webkit-scrollbar-thumb{
        background-color: var(--blue);
        border-radius: .5rem;
    }

    thead{
        background: var(--blue);
        background-size: contain;
        color: white;
        position: sticky;
        top: -1px;
        z-index: 1;
    }

    thead th{
        padding: .3rem;
        text-wrap: nowrap;
    }

    tbody td{
        padding: .3rem;
    }

    tbody tr:nth-child(even){
        background: var(--light-gray);
    }

    th, td{
        border: 1px solid #ccc;
    }

    /* btn action */
        .action{
            display: flex;
            justify-content: center;
            align-items: center;
            column-gap: .8rem;
        }

        .action i{
            color: var(--blue);
            font-size: 18px;
        }

        .action i:hover{
            scale: 1.08;
        }

        .action button{
            background: none;
            border: none;
            cursor: pointer;
        }

        .action .bx-trash{
            color: var(--yellow);
        }
    /* btn action */
/* table */


/* responsive */
    /* bouton */
        @media screen and (max-width: 650px) {
            .flexBtn .btn{
                padding: 7px 15px;
                font-size: 17px;
                border-radius: 7px;
            }
        }

        @media screen and (max-width: 450px) {
            .flexBtn .btn{
                padding: 6px 14px;
                font-size: 16px;
                border-radius: 6px;
            }
        }
    /* bouton */

    /* titre */
        @media screen and (max-width: 650px) {
            h2.titre{
                font-size: 28px;
            }
        }

        @media screen and (max-width: 450px) {
            h2.titre{
                font-size: 24px;
            }
        }
    /* titre */
    
    /* form */
        @media screen and (max-width: 800px) {
            .form_universel{
                width: 100%;
            }
        }

        @media screen and (max-width: 480px) {
            .titre_champ, .champ, .customfile{
                font-size: 14px;
            }
        }
    /* form */

    /* empty */
            @media screen and (max-width: 950px){
                .empty{
                    font-size: 16px;
                }
            }

            @media screen and (max-width: 610px){
                .empty{
                    font-size: 15px;
                }
            }

            @media screen and (max-width: 480px){
                .empty{
                    font-size: 14px;
                }
            }

            @media screen and (max-width: 380px){
                .empty{
                    font-size: 13px;
                }
            }
        /* empty */
/* responsive */
