/* css pou tout paj */
    /*========== GOOGLE FONTS ==========*/
    @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");
    @import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

    *{
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        text-decoration: none;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        transition: all .2s linear;
        font-size: 17px;
        color: var(--black);
    }

    body{
        overflow-x: hidden;
    }

    :root{
        --purple: #ba2a7b;
        --pink: #ff93c6;

        --red: red;
        --blue: blue;
        --yellow: #e6cd28;
        --green: #0f923f;

        --greenbg : #75ebb3;
        --greentxt : #0c5532;

        --yellowbg : #f8d796;
        --yellowtxt : #b1790b;

        --redbg : #f8a6a0;
        --redtxt : #550c06;

        --bluebg : #a5cffd;
        --bluetxt : #035dbe;

        --graybg : #b0b0b0;
        --graytxt : #242424;

        --white: #ffffff;
        --light-white: #ffffff50;
        --black: #000000;
        --light-black: #00000050;
        --gray: rgb(102, 101, 101);
        --light-gray: #00000025;
        --border: 1px solid var(--light-black);
        --box-shadow: 0 8px 16px rgba(0,0,0,.1);
    }

    ::-webkit-scrollbar{
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-track{
        background-color: transparent;
    }

    ::-webkit-scrollbar-thumb{
        background-color: var(--purple);
    }
/* css pou tout paj */

/* boutton */
    .flexBtn{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .flexBtn .btn{
        padding: 8px 16px;
        font-size: 16px;
        color: var(--white);
        text-wrap: nowrap;
        display: flex;
        align-items: center;
        border: none;
    }

    .flexBtn .btn:hover{
        cursor: pointer;
        scale: 1.03;
    }

    .flexBtn .btn1{
        background: var(--purple);
    }

    .flexBtn .btn2{
        background: var(--pink);
    }

    .flexBtn .btn3{
        background: var(--white);
        color: var(--black);
    }
/* boutton */

/* titre */
    .titre{    
        position: relative;
        left: 50%;
        transform: translatex(-50%);
        margin-bottom: 16px;
        width: max-content;
    }

    .titre span{
        font-size: 60px;
        color: var(--purple);
        font-weight: bolder;
        letter-spacing: 8px;
        opacity: .15;
    }

    .titre h2{    
        position: absolute;
        width: max-content;
        left: 50%; top: 50%;
        transform: translate(-50%,-50%);
        font-size: 45px;
        color: var(--purple);            
        font-weight: 800;
        font-family: "Caveat", cursive;
        text-align: center;
    }

    .titre h2 div{
        padding: 1px;
        width: 60%;
        background: var(--purple);
    }
/* titre */

/* titre backend */
    h2.titreBackend{
        position: relative;
        left: 50%;
        transform: translateX(-50%);        
        max-width: max-content;
        font-size: 28px;
        font-weight: 800;
        color: var(--light-black);
        text-align: center;
        text-transform: capitalize;
        margin-bottom: 16px;
    }
/* titre backend */

/* section */
    section{
        width: 90%;
        padding: 8px 32px;
        margin: 32px auto;
    }
    
    section:first-child{
        margin-top: -140px;
    }
/* section */

/* empty */
    .empty{
        width: 70%;
        margin: 0 auto;
        margin-bottom: 16px;
        border: var(--border);
        border-radius: 5px;
        padding: 8px;
        text-align: center;
        color: var(--black);
        box-shadow: var(--box-shadow);
    }
/* empty */

/* table */    
    table{
        width: 100%;
        margin: 0 auto;
        border-collapse: collapse;
    }
    
    .scroll_table{
        overflow-x: 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(--green);
        border-radius: .5rem;
    }

    thead{
        background: var(--purple);
        background-size: contain;
        position: sticky;
        top: -1px;
        z-index: 1;
    }

    thead th{
        padding: 8px;
        text-wrap: nowrap;
        font-weight: 500;
        text-align: center;
        text-transform: capitalize;
        color: var(--white);
        border: 1px solid var(--light-white);
    }

    tbody td{
        padding: 16px .3rem;
    }

    tbody tr:nth-child(even){
        background: var(--light-gray);
    }

    th, td{
        border: none;
    }

    /* btn action */
        .action{
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            flex-wrap: nowrap;
        }

        .btn_action{
            text-wrap: nowrap;
            padding: 5px 8px;
            border: none;
            cursor: pointer;
            color: var(--white);
            font-size: 14px;
            text-transform: capitalize;
            border-radius: 8px;
        }

        .btn_action:hover{
            scale: 1.05;
        }
        
        .action1{
            background: var(--blue);
        }
        .action2{
            background: var(--red);
        }
        .action3{
            background: var(--green);
        }        
    /* btn action */
/* table */

/* form */
    .form_universel{
        max-width: 1000px;
        margin: 0 auto;
    }

    .form_universel fieldset{
        padding: 16px;
        border: 1px solid var(--light-gray);
        border-radius: 8px;
        margin-bottom: 16px;
    }

    .form_universel fieldset legend{
        padding: .2rem 16px;
        color: var(--light-gray);
        border: 1px solid var(--light-gray);
        border-radius: 8px;
    }

    .titre_champ{
        font-size: 18px;
        display: flex;
        align-items: center;
        column-gap: 5px;
    }

    .titre_champ i{
        color: var(--pink);
    }

    .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(--purple);
        background: none;
    }

    .textarea{
        height: 150px;
        resize: none;
    }

    .champ::placeholder, .textarea::placeholder{
        color: black;
    }

    .customfile{
        width: 100%;
        margin: .6rem 0;
        border-radius: .3rem;
        border: 1px solid var(--purple);
        font-size: 14px;
    }

    .customfile::-webkit-file-upload-button{
        width: 130px;
        padding: .6rem;
        color: var(--white);
        border: none;
        border-radius: .3rem;
        cursor: pointer;
        background-color: var(--purple);
        color: white;
        font-size: 14px;
    }    
    
    .flex_champ{
        display: flex;
        justify-content: space-between;
        column-gap: 16px;
    }
    
    .flex_champ div{
        width: 100%;
    }
/* form */

/* main */
    .mainBody{
        margin-top: 370px;
    }
/* main */


/* responsive */
    /* font */
        @media screen and (max-width: 650px) {
            *{
                font-size: 16px;
            }
        }

        @media screen and (max-width: 450px) {
            *{
                font-size: 15px;
            }
        }
    /* font */

    /* 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, h2.titreBackend{
                font-size: 25px;
            }
        }

        @media screen and (max-width: 450px) {
            h2.titre, h2.titreBackend{
                font-size: 22px;
            }
        }
    /* titre */

    /* section */
        @media screen and (max-width: 650px) {
            section{
                padding: 8px 16px;
            }
        }

        @media screen and (max-width: 450px) {
            section{
                padding: 8px 10px;
            }
        }
    /* section */
    
    /* 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 */
/* responsive */
