body{
    margin: 0px;
    padding: 0px;
    background-color: #FDF0E7;
    font-family: "Rajdhani", sans-serif;
    font-weight: 400;
    font-style: normal;
    height: 85vh;
}
body p{
    font-family: "Rajdhani", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* BOUTTON  */
.button_slide {
    color: black;
    border: 2px solid rgb(248, 165, 178);
    border-radius: 5px;
    padding: 18px 36px;
    display: inline-block;
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 rgb(250, 180, 192);
    -webkit-transition: ease-out 0.4s;
    -moz-transition: ease-out 0.4s;
    transition: ease-out 0.4s;
}

.slide_left:hover {
    box-shadow: inset 0 0 0 50px rgb(250, 180, 192);
    color: white;
}

/* FIN DES BOUTTON */

/*EFFET BAR SOUS LES TEXTE DU MENU*/
#nav_dashboard ul li{
    list-style: none;
    text-transform: capitalize;
    padding: 0 10px;
    margin-top: 15px;
    position: relative;
    color: white;
}
#nav_dashboard ul li:hover{
    background-color: rgba(252, 202, 210, 0.7);
}
#nav_dashboard ul li::before{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 5%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background-color: rgb(250, 180, 192);
    transition: all 0.5s;
}
#nav_dashboard ul li:hover::before{
    width: 90%;
}
/*FIN EFFET BAR SOUS LES TEXTE DU MENU*/

/*EFFET BAR SOUS LES TEXTE DU MENU PRODUIT*/
.admin_commande_nav ul li{
    list-style: none;
    text-transform: capitalize;
    padding: 0 10px;
    margin-top: 15px;
    position: relative;
}
.admin_commande_nav ul li::before{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 5%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background-color: rgb(250, 180, 192);
    transition: all 0.5s;
}
.admin_commande_nav ul li:hover::before{
    width: 90%;
}
/*FIN EFFET BAR SOUS LES TEXTE DU MENU PRODUIT*/

.contener{
    max-width: 1200px;
    margin: auto;
    padding: 15px;
    margin-top: 50px;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
    min-height: 100%;
    margin-bottom: -0px;
}
a{
    text-decoration: none;
    color: black;
}
/*MESSAGE D'ERREUR */
#msg_error{
    background-color: rgba(220, 53, 70, 0.65);
    border-radius: 5px;
    padding: 0 20px;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}
#msg_error ul{
    padding: 0;
    padding-top: 10px;
    list-style: none;
}
#msg_error .fa-xmark{
    position: absolute;
    top: 5px;
    right: 10px;
}
#msg_error i{
    cursor: pointer;
}
/*PAGES CONNEXION ADMIN*/
.login_admin{
    height: 100vh;
    width: 100%;
    background: linear-gradient(45deg, #d2001a, #7462ff, #f48e21, #23d5ab);
    background-size: 300% 300%;
    animation: color 12s ease-in-out infinite;
}
@keyframes color{
    0%{
        background-position: 0 50%;
    }
    50%{
        background-position: 100% 50%;
    }
    100%{
        background-position: 0 50%;
    }
}
/* .container_login_admin{
    height: 100vh;
    width: 100%;
    background: linear-gradient(45deg, #d2001a, #7462ff);
} */
.content {
    position: relative;
    z-index: 1;
    padding: 20px;
    color: #fff;
    text-align: center;
}
.contener_login_admin{
    position: absolute;
    top: 50%;
    left: 50%;
    transform:  translate(-50%, -50%);
    background-color: transparent;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    height: 500px;
    width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/*Formulaire de connexion*/
#email_form_admin_login{
    position: relative;
}
#email_form_admin_login input{
    background: transparent;
    outline: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    height: 35px;
    width: 250px;
}
#email_form_admin_login i{
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
#password_form_admin_login{
    margin-top: 10px;
    position: relative;
}
#password_form_admin_login input{
    outline: none;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    height: 35px;
    width: 250px;
}
#password_form_admin_login i{
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
#submit_form_admin_login{
    margin-top: 15px;
}

/*DASHBOARD ADMIN*/
#contener_header{
    width: 100%;
    height: 50px;
    background-color: #1A1A1D;
    position: fixed;
    top: 0px;
}
#nav_dashboard{
    position: fixed;
    top: 50px;
    left: 0px;
    width: 10%;
    height: 100%;
    background-color: #1A1A1D;
    display: flex;
    justify-content: center;
}
#nav_dashboard ul li{
    list-style: none;
}
#nav_dashboard ul{
    padding: 0;
}
.contener_dashboard{
    max-width: 1800px;
    margin: auto;
    padding: 15px;
    margin-top: 50px;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
    min-height: 100%;
    margin-bottom: -0px;
}

/*DASHBOARD UTILISATEUR*/
table{
    width: 100%;
    border-collapse: collapse;
}
th, td{
    padding: 10px;
    box-sizing: border-box;
    text-align: left;
}
tr:nth-of-type(even){
    background: #dfdede;
}

/*DASHBOARD NEW PRODUCTS*/
#form_new_products{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.elm_form_new_products{
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}
.elm_form_new_products #prix{
    width: 80px;
}
.elm_form_new_products #description{
    width: 600px;
    height: 500px;
    resize: none;
}
.elm_form_new_products #titre{
    width: 500px;
}
.elm_form_new_products #new_products{
    width: 150px;
}
/*PAGE COMMANDE.PHP*/
.contener_admin_commande{
    display: flex;
    flex-direction: row;
}
.admin_commande_nav{
    background-color: white;
    height: 140px;
    width: 170px;
    margin-right: 25px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.admin_commande_nav ul{
    padding: 5px 10px;
}
.admin_commande_nav ul li{
    list-style: none;
}
.content_table_panier{
    border-collapse: collapse;
    width: 100%;
    min-width: 400px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
}
.content_table_panier th, td{
    padding: 20px 0px;
    box-sizing: border-box;
    text-align: center;
    width: 200px;
}
.content_table_panier th{
    background-color: #22252A;
    color: white;
}
.content_table_panier tbody tr{
    border-bottom: 1px solid #dddddd;
}
.content_table_panier tbody tr:nth-of-type(even){
    background-color: #f3f3f3;
}
.content_table_panier tbody tr:last-of-type{
    border-bottom: 2px solid #ffcdd9;
}
.content_table_panier tr td lord-icon{
    border-radius: 2px;
}

/*PAGE DASHBOARD.PHP*/
.contener_commande_etat{
    display: flex;
    justify-content: space-between;
    background-color: white;
    padding: 20px 30px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}
.contener_commande_etat .contener_commande_etat_commandes{
    background-color: #6c757d;
    background: linear-gradient(0deg, rgba(144,149,154,1) 0%, rgba(108,117,125,1) 100%);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: auto;
    line-height: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}
.contener_commande_etat .contener_commande_etat_traitement{
    background-color: #ffc107;
    background: linear-gradient(0deg, rgba(219,207,170,1) 0%, rgba(255,193,7,1) 100%);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: auto;
    line-height: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}
.contener_commande_etat .contener_commande_etat_livraison{
    background-color: #17a2b8;
    background: linear-gradient(0deg, rgba(137,189,195,1) 0%, rgba(23,162,176,1) 100%);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: auto;
    line-height: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}
.contener_commande_etat .contener_commande_etat_terminer{
    background-color: #28a745;
    background: linear-gradient(0deg, rgba(123,189,136,1) 0%, rgba(40,167,69,1) 100%);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: auto;
    line-height: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}
.contener_graph_colum{
    display: flex;
    justify-content: space-between;
}
.contener_graph_colum .graph_colum_1{
    width: 600px;
    height: 600px;
}
.contener_graph_colum .graph_colum_2{
    width: 600px;
    height: 600px;
}

/* BOUTTON */
.btn-view{
    background:#ffc107;
    color:#fff;
    border:none;
    position:relative;
    height:30px;
    font-size:1em;
    padding:0 0.5em;
    cursor:pointer;
    transition:800ms ease all;
    outline:none;
    margin-right: 10px;
    border-radius: 5px;
}
.btn-view:hover{
    background:#fff;
    color:#ffc107;
}
.btn-view:before,.btn-view:after{
    content:'';
    position:absolute;
    top:0;
    right:0;
    height:2px;
    width:0;
    background: #ffc107;
    transition:400ms ease all;
}
.btn-view:after{
    right:inherit;
    top:inherit;
    left:0;
    bottom:0;
}
.btn-view:hover:before,.btn-view:hover:after{
    width:100%;
    transition:800ms ease all;
}

.btn-livraison{
    background:#17a2b8;
    color:#fff;
    border:none;
    position:relative;
    height:30px;
    font-size:1em;
    padding:0 0.5em;
    cursor:pointer;
    transition:800ms ease all;
    outline:none;
    margin-right: 5px;
    border-radius: 5px;
}
.btn-livraison:hover{
    background:#fff;
    color:#17a2b8;
}
.btn-livraison:before,.btn-livraison:after{
    content:'';
    position:absolute;
    top:0;
    right:0;
    height:2px;
    width:0;
    background: #17a2b8;
    transition:400ms ease all;
}
.btn-livraison:after{
    right:inherit;
    top:inherit;
    left:0;
    bottom:0;
}
.btn-livraison:hover:before,.btn-livraison:hover:after{
    width:100%;
    transition:800ms ease all;
}
.btn-cancel{
    background:#dc3545;
    color:#fff;
    border:none;
    position:relative;
    height:30px;
    font-size:1em;
    padding:0 0.5em;
    cursor:pointer;
    transition:800ms ease all;
    outline:none;
    margin-right: 10px;
    border-radius: 5px;
}
.btn-cancel:hover{
    background:#fff;
    color:#dc3545;
}
.btn-cancel:before,.btn-cancel:after{
    content:'';
    position:absolute;
    top:0;
    right:0;
    height:2px;
    width:0;
    background: #dc3545;
    transition:400ms ease all;
}
.btn-cancel:after{
    right:inherit;
    top:inherit;
    left:0;
    bottom:0;
}
.btn-cancel:hover:before,.btn-cancel:hover:after{
    width:100%;
    transition:800ms ease all;
}

#connexion_admin{
    border: 2px solid #010100;
    border-radius: 2px;
    padding: 10px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    background-color: #000;
    cursor: pointer;
}
#connexion_admin:hover::before {
    transform: scaleY(0);
}
#connexion_admin:hover::after {
    transform: scaleX(0);
}
#connexion_admin {
    color: #ffffff;
    transition: all 0.5s ease-in-out;
}
#connexion_admin:hover {
    color: #000000;
    transition: all 0.5s ease-in-out;
    background-color: white;
}
#connexion_admin::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    transition: all 0.5s ease-in-out;
    transform: scaleY(1);
}
#connexion_admin::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    transition: all 0.5s ease-in-out;
    transform: scaleX(1);
}

