/* 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;
        font-size: 18px;
        transition: all .2s linear;
        color: var(--black);
    }

    body{
        overflow-x: hidden;
    }
    


    :root{
        --first: #0c1d61;
        --second: #30d475;
        --third: #7f8aab;
        
        --light-first: #0c1d6150;
        --light-second: #30d47550;
        --light-third: #7f8aab50;

        --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;

        --light-gray: #00000025;
        --gray: rgb(102, 101, 101);

        --border: 1px solid var(--light-gray);
        --box-shadow: 0 8px 16px rgba(0,0,0,.1);
        --degrade-blue: linear-gradient(to right, var(--first), var(--fourth));
        --degrade-blue-yellow: linear-gradient(to right, var(--first), var(--second));
    }

    ::-webkit-scrollbar{
        width: 8px;
        height: 8px;
        border-radius: 8px;
    }

    ::-webkit-scrollbar-track{
        background-color: transparent;
    }

    ::-webkit-scrollbar-thumb{
        background: var(--first);
    }

    /* img */
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    /* img */
/* css pou tout paj */

/* boutton */
    .flexBtn{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .flexBtn .btn{
        padding: 8px 16px;
        font-size: 17px;
        color: var(--white);
        text-wrap: nowrap;
        display: flex;
        align-items: center;
        border: none;
        border-radius: 18px;
        border: 1px solid var(--light-white);
    }

    .flexBtn .btn:hover{
        cursor: pointer;
        scale: 1.03;
    }

    .flexBtn .btn1{
        background: var(--second);
        i{
            color: var(--first);
        }
    }

    .flexBtn .btn2{
        background: var(--first);
        i{
            color: var(--second);
        }
    }
/* boutton */

/* titre */
    .box_title{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-bottom: 25px;
    }

    .title{
        text-align: center;
        color: var(--first);
        position: relative;
        padding-bottom: 5px;
    }
    
    .title:before{
        content: '';
        width: 40%; height: 2px;
        position: absolute;
        bottom: 0; left: 0;
        background: linear-gradient(to right, var(--first), var(--second));
    }

    .title span{
        color: var(--second);
    }

    .title, .title span{
        font-size: 35px;
    }
/* titre */

/* section */
    section{
        width: 90%;
        padding: 8px 32px;
        margin: 64px auto;
    }
    
    .first_section{
        margin-top: 16px;
    }
/* section */

/* form */
    .form_universel{
        width: 100%;
    }
    
    .form_universel fieldset{
        padding: .8rem;
        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 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: -.4rem;
        margin-left: 16px; 
    }

    .titre_champ i{
        color: var(--second);
    }

    .champ{
        width: 100%;
        margin: .6rem 0;
        outline: none;
        border: none;
        font-size: 15px;
        border-radius: 32px;
        padding: 14px;
        background-color: var(--light-first);
    }

    .champ:focus{
        border: 1px solid var(--first);
        background: none;
    }

    .textarea{
        height: 150px;
        resize: none;
        border-radius: 16px;
    }

    .champ::placeholder, .textarea::placeholder{
        color: var(--white);
    }

    .customfile{
        width: 100%;
        margin: .6rem 0;
        border-radius: .3rem;
        border: 1px solid var(--first);
    }

    .customfile::-webkit-file-upload-button{
        width: 115px;
        padding: 5px;
        color: var(--white);
        border: none;
        border-radius: .3rem;
        cursor: pointer;
        background-color: var(--first);
        color: white;
    }    
    
    .flex_champ{
        display: flex;
        justify-content: space-between;
        column-gap: 1rem;
    }
    
    .flex_champ div{
        width: 100%;
    }
    
    /* form container */
        .container_form{
            display: flex;
            gap: 32px;
        }
        
        .description_form{
            flex: 0 0 500px;
            background: var(--first);
            padding: 32px;
            border-radius: 16px;
        }
        
        .description_titre{
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--first);
            color: var(--white);
            padding: 8px;
            margin-bottom: 16px;
            border-radius: 8px;
            border-left: 7px solid var(--second);
            font-size: 18px;
        }
        
        .description_form p{
            white-space: pre-line;
            text-align: justify;
            color: var(--white);
        }
        
        .container_form .form_universel{
            flex-shrink: 1;
        }
    /* form container */
/* 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-gray);
        color: var(--white);
        box-shadow: var(--box-shadow);
    }
/* empty */

/* table */    
    table{
        width: 100%;
        margin: 0 auto;
        border-collapse: collapse;
    }
    
    .scroll_table{
        overflow-x: auto;
        padding-bottom: 16px;
    }

    .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(--green);
        background-size: contain;
        color: white;
        position: sticky;
        top: -1px;
        z-index: 1;
    }

    thead th{
        padding: 8px;
        text-wrap: nowrap;
        font-weight: 500;
        text-align: center;
        text-transform: capitalize;
    }

    thead th:first-child{
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
    }

    thead th:last-child{
        border-top-right-radius: 16px;
        border-bottom-right-radius: 16px;
    }

    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;
            border-radius: 8px;
            text-transform: capitalize;
        }

        .btn_action:hover{
            scale: 1.05;
        }
        
        .action1{
            background: var(--bluetxt);
        }
        .action2{
            background: var(--red);
        }
        .action3{
            background: var(--green);
        }        
    /* btn action */
/* table */

/* design dechirure */
    .designBottom{
        position: absolute;
        bottom: -10px; left: 0;
        width: 100%;
        z-index: 100;
    }
    
    @media screen and (max-width: 400px){
        .designBottom{
            bottom: -5px;
        }
    }
/* design dechirure */

/* responsive */
    /* font */
        @media screen and (max-width: 650px) {
            *{
                font-size: 16px;
            }
        }

        @media screen and (max-width: 450px) {
            *{
                font-size: 14px;
            }
        }
    /* font */
    
    /* section */
        @media screen and (max-width: 550px){
            section{
                padding: 8px 16px;
            }
        }
        
        @media screen and (max-width: 450px){
            section{
                padding: 8px 0;
            }
        }
    /* section */

    /* bouton */
        @media screen and (max-width: 650px) {
            .flexBtn .btn{
                padding: 7px 15px;
                font-size: 17px;
            }
        }

        @media screen and (max-width: 450px) {
            .flexBtn .btn{
                padding: 6px 14px;
                font-size: 16px;
            }
        }
    /* bouton */

    /* titre */
        @media screen and (max-width: 650px) {
            .title, .title span{
                font-size: 28px;
            }
            
            .subtitle, .subtitle i{
                font-size: 14px;
            }
        }

        @media screen and (max-width: 450px) {
            .title, .title span{
                font-size: 24px;
            }
            
            .subtitle, .subtitle i{
                font-size: 13px;
            }
        }
    /* titre */
    
    /* form */
        @media screen and (max-width: 1100px){
            .container_form{
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .description_form{
                flex: 0 0 100%;
            }
        }
        
        @media screen and (max-width: 800px) {
            .form_universel{
                width: 100%;
            }
        }

        @media screen and (max-width: 480px) {
            .titre_champ, .champ, .customfile{
                font-size: 14px;
            }
        }
        
        @media screen and (max-width: 450px) {
            .flex_champ{
                flex-wrap: wrap;
            }
        }
    /* 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 */






