@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

:root{
    --primary-color: #37A8DB;
    --secondary-color: #2D3F51;
}
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    box-sizing: border-box;
    list-style: none;
    outline: none;
}
a{
    color: var(--primary-color);
}
.btn{
    display: inline-block;
    padding: 10px 20px;
    color: black;
    background-color: rgb(235,235,235);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.btn-primary{
    color: white;
    background-color: var(--secondary-color);
}
.message-error{
    padding: 10px;
    background-color: rgb(200,0,0);
    color: white;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin-bottom: 10px;
}
.message-success{
    padding: 10px;
    background-color: #A5D11A;
    color: white;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin-bottom: 10px;
}
.upload-file{
    padding: 15px;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}
.upload-file img{
    height: 20px;
    vertical-align: middle;
    margin-right: 10px;
}
#fileSelected .delete-file{
    display: inline-block;
    vertical-align: middle;
    height: 15px;
    width: 15px;
    text-align: center;
    line-height: 15px;
    font-size: 9px;
    background-color: rgb(200,0,0);
    color: white;
    margin-left: 10px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    cursor: pointer;
}
#canvas_container {
    width: 500px;
    height: 350px;
    overflow: auto;
}
#zoom_controls{
    text-align: center;
    margin-top: 20px;
}
#zoom_controls button{
    height: 40px;
    width: 40px;
    font-size: 30px;
    font-weight: 100;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border: 1px solid rgb(200,200,200);
}
.container{
    max-width: 1200px;
    margin: 0px auto;
    position: relative;
}
.loader{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(255,255,255,0.9);
    display: none;
}
.loader svg{
    fill: var(--primary-color);
    height: 100px;
    width: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}
#loader-upload{
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 99;
    padding: 20px;
    background-color: rgba(255,255,255,1);
    display: none;
    z-index: 10;
}
#loader-upload .content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    width: 700px;
}
#loader-upload .content h2{
    height: 30px;
    margin-bottom: 10px;
}
#loader-upload .content p{
    font-size: 18px;
}
#loader-upload .content span{
    font-size: 18px;
    margin-top: 5px;
    display: inline-block;
    color: var(--primary-color);
}
#loader-upload .content .percent-bar{
    background-color: rgb(240,240,240);
    height: 5px;
    margin-top: 30px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    overflow: hidden;
}
#loader-upload .content .percent-bar div{
    background-color: var(--primary-color);
    height: 100%;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    transition: 0.1s;
    -webkit-transition: 0.1s;
    -moz-transition: 0.1s;
    width: 0px;
}
.error{
    background-color: rgb(235,0,0);
    padding: 10px;
    color: white;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
}


.full-height{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0px;
}
.form-co{
    width: 90%;
    max-width: 300px;
}
.form-co .logo{
    width: 100%;
}
.form-co form{
    margin-top: 20px;
    padding: 30px;
    background-color: #F6F6F6;
    box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin-bottom: 20px;
}
.form-co form label{
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
}
.form-co form input{
    height: 35px;
    width: 100%;
    padding-left: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.form-co form input[type=submit]{
    margin-bottom: 0px;
    color: white;
    background-color: var(--primary-color);
    margin-top: 10px;
    cursor: pointer;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}
.form-co form input[type=submit]:hover{
    background-color: var(--secondary-color);
}
.form-co p{
    text-align: center;
    font-size: 14px;
    color: black;
    margin-top: 10px;
}
.form-co p a{
    color: rgb(150,150,150);
}
.form-co p a:hover{
    text-decoration: underline;
}
header{
    position: sticky;
    top:0px;
    width: 100%;
    padding: 10px 20px;
    background-color: white;
    border-bottom: 1px solid rgb(200,200,200);
    z-index: 10;
}
header .mobile-logo{
    display: none;
}
header ul{

}
header ul li{
    display: inline-block;
    margin: 0px 20px;
    vertical-align: middle;
}
header ul li a{
    color: var(--secondary-color);
}
header ul .current-page a{
    color: var(--primary-color);
    font-weight: 600;
}
header ul li .logo{
    height: 60px;
}
header .logout{
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    color: var(--secondary-color); 
    padding: 10px;
    border: 1px solid var(--secondary-color); 
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
header .logout img{
    height: 20px;
    vertical-align: middle;
    margin-left: 10px;
}
.page-title{
    margin: 40px 0px;
    font-size: 30px;
    color: var(--secondary-color);
}
.page-title img{
    vertical-align: middle;
    height: 30px;
    margin: 0px 10px;
}
.admin-form{
    max-width: 500px;
    margin-top: 40px;
}
.admin-form input, .admin-form select{
    height: 40px;
    width: 100%;
    padding-left: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    border: 1px solid rgb(220,220,220);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.admin-form textarea{
    height: 100px;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    border: 1px solid rgb(220,220,220);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    resize: vertical;
}
.admin-form input[type=checkbox]{
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 10px;
    margin-top: 20px;
}
.column{
    margin: 20px 0px;
    border: 1px solid rgb(220,220,200);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding-left: 20px;
    background-color: rgb(245,245,245);
}
.table-head{
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    font-weight: bold;
    background-color: white;
}
.column .row{
    flex: 1;
    padding: 10px;
}
.column .row:last-child{
    text-align: right;
}
.column .row .icone{
    height: 12px;
    vertical-align: middle;
    margin-right: 10px;
    opacity: 0.5;
}
.infos-bat{
    margin-top: 40px;
}
.infos-bat b{
    font-size: 30px;
}
.bat-verify{
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
}
.bat-verify .box{
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(50% - 30px);
    margin: 15px;
    background-color: #F6F6F6;
    box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 30px;
}
.bat-verify .box h2{
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
}
.bat-verify .box p{
    text-align: center;
}
.bat-verify .box .infos-user img{
    display: block;
    height: 100px;
    margin: 0px auto;
    margin-bottom: 20px;
}
.bat-verify .box .infos-user b{
    color: var(--secondary-color);
}
.form-verify-bat{
    box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 30px;
    background-color: #F6F6F6;
    margin-top: 15px;
    margin: 15px 15px;
    margin-bottom: 40px;
}
.form-verify-bat .double-input{
    display: flex;
    gap: 20px;
}
.form-verify-bat .double-input div{
    flex: 1;
}
.form-verify-bat input{
    height: 35px;
    width: 100%;
    padding-left: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.form-verify-bat textarea{
    height: 100px;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    resize: vertical;
}
.form-verify-bat input[type=checkbox]{
    height: 20px;
    width: 20px;
    vertical-align: middle;
    margin-top: 20px;
}
.form-verify-bat input[type=submit]{
    margin-bottom: 0px;
    color: white;
    background-color: #A5D11A;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}
.form-verify-bat p{
    margin-bottom: 20px;
    text-align: center;
}
.form-verify-bat input[type=submit]:hover{
    background-color: var(--primary-color);
}
.form-verify-bat a{
    display: block;
    text-align: center;
    margin-top: 20px;
    background-color: rgb(200,0,0);
    color: white;
}
.open-menu-mobile, .close-menu-mobile{
    display: none;
}
#navigation_controls{
    text-align: center;
    margin-top: 20px;
}
#navigation_controls input{
    height: 40px;
    width: 40px;
    font-size: 16px;
    font-weight: 100;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border: 1px solid rgb(200,200,200);
    text-align: center;
}
#navigation_controls button{
    height: 40px;
    font-size: 16px;
    font-weight: 100;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border: 1px solid rgb(200,200,200);
    text-align: center;
    padding: 0px 15px;
}
#search{
    position: absolute;
    top: 50%;
    right: 200px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}
#search img{
    height: 20px;
    cursor: pointer;
}
#search .content{
    display: none;
    position: fixed;
    top: 40px;
    right: 0px;
    height: 400px;
    width: 400px;
    background-color: white;
    z-index: 100;
    box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: 1px solid rgb(220,220,220);
    overflow: hidden;
}
#search .content input{
    width: 100%;
    height: 40px;
    padding-left: 10px;
    font-size: 16px;
    border: none;
    background-color: rgb(230,230,230);
}
#result-search{
    position: absolute;
    top: 40px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow-y: auto;
}
#result-search h2{
    font-size: 16px;
    background-color: var(--secondary-color);
    padding: 10px 20px;
    color: white;
}
#result-search .result{
    padding: 10px 20px;
    border-bottom: 1px solid rgb(220,220,220);
}
#result-search .result a{
    color: var(--secondary-color);
}
#result-search .result .id{
    font-size: 12px;
}
#result-search .result a:hover{
    color: var(--primary-color);
}



@media screen and (max-width: 1100px) {
    .main-menu{
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        background-color: white;
        padding: 30px;
        z-index: 20;
        transform: translateX(110%);
        -webkit-transform: translateX(110%);
        -moz-transform: translateX(110%);
        -ms-transform: translateX(110%);
        -o-transform: translateX(110%);
        transition: 0.2s ease-in;
        -webkit-transition: 0.2s ease-in;
        -moz-transition: 0.2s ease-in;
    }
    .menu-open{
        transform: translateX(0%);
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -o-transform: translateX(0%);
    }
    .main-menu li{
        display: block;
        text-align: center;
        margin-top: 40px;
        font-size: 20px;
    }
    .main-menu li .logo{
        height: 120px;
    }
    header .mobile-logo{
        display: block;
        height: 60px;
    }
    header .logout{
        font-size: 0px;
    }
    header .logout img{
        margin-left: 0px;
    }
    .open-menu-mobile{
        display: block;
        height: 30px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        right: 70px;
    }
    .close-menu-mobile{
        display: block;
        height: 20px;
        position: absolute;
        top: 30px;
        right: 30px;
        opacity: 0.2;
    }
    .container{
        padding: 0px 20px;
    }
    .column{
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .column .row{
        flex: content;
        min-width: 150px;
        text-align: center;
    }
    .column .row .btn{
        text-align: center;
    }
    .table-head{
        display: none;
    }
    .bat-verify{
        
    }
    .bat-verify .box{
        width: 100%;
        margin: 0px;
        padding: 30px;
        margin-top: 20px;
    }
    #canvas_container {
        width: 300px;
        height: 300px;
        overflow: auto;
        border: 3px dashed rgb(220,220,220);
    }
    .form-verify-bat{
        padding: 20px;
        margin: 40px 0px;
    }
    #search{
        right: 130px;
    }
    #search .content{
        display: none;
        position: fixed;
        right: -130px;
        height: 400px;
        width: calc(100vw - 40px);
        background-color: white;
        z-index: 100;
        box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
        -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
        -moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.1);
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border: 1px solid rgb(220,220,220);
        overflow: hidden;
    }
    #search .content input{
        width: 100%;
        height: 40px;
        padding-left: 10px;
        font-size: 16px;
        border: none;
        background-color: rgb(230,230,230);
    }
    #result-search{
        position: absolute;
        top: 40px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        overflow-y: auto;
    }
    #result-search h2{
        font-size: 16px;
        background-color: var(--secondary-color);
        padding: 10px 20px;
        color: white;
    }
    #result-search .result{
        padding: 10px 20px;
        border-bottom: 1px solid rgb(220,220,220);
    }
    #result-search .result a{
        color: var(--secondary-color);
    }
    #result-search .result .id{
        font-size: 12px;
    }
    #result-search .result a:hover{
        color: var(--primary-color);
    }
}
