@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #547078;
    --secondary-color: #252323;
    --title-color: #001F35;
    --text-color: #091d25;
    --error-color: rgb(195, 49, 12);
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
    list-style: none;
    outline: none;
}

body {
    background-color: #0010170a;
}

a {
    color: var(--title-color);
}

hr {
    margin: 20px auto;
    border: 1px solid rgb(220, 220, 220);
}

.btn {
    padding: 15px 30px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
}

.btn:hover {
    box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    color: white;
    background-color: var(--primary-color);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    border-right: 2px solid rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

#errors-box {}

#errors-box div {
    color: var(--error-color);
    padding: 10px;
    font-size: 14px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    background-color: rgb(255, 212, 205);
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    -moz-backdrop-filter: blur(6px);
    -ms-backdrop-filter: blur(6px);
    -o-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999999;
}

.loader img {
    height: 40px;
}

.container {
    margin: 0px auto;
    width: 1100px;
    max-width: 100%;
    padding: 0px 20px;
}

.body-fond {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.full-height {
    min-height: 100vh;
}

#loader-upload {
    position: fixed;
    z-index: 20;
    bottom: 20px;
    right: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    display: none;
}

#loader-upload h2 {
    font-size: 16px;
}

#loader-upload .percent-bar {
    height: 10px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    background-color: #d2e4ea;
    overflow: hidden;
}

#loader-upload .percent-bar div {
    height: 100%;
    width: 0;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    background-color: var(--primary-color);
}

.flexbox {
    display: flex;
    gap: 10px;
}

.flexcenter {
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

h1 {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--title-color);
}

h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--title-color);
}

p {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.input {
    position: relative;
    margin-bottom: 10px;
    flex: 1;
}

.input img {
    position: absolute;
    top: 50%;
    right: 10px;
    height: 20px;
    margin-top: -10px;
    opacity: 0.5;
    cursor: pointer;
}

.input img:hover {
    opacity: 0.7;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=password],
input[type=number],
input[type=submit],
select {
    width: 100%;
    height: 50px;
    background-color: white;
    border: none;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    padding-left: 20px;
    padding-right: 40px;
    font-size: 15px;
}

textarea {
    width: 100%;
    height: 100px;
    background-color: white;
    border: none;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    padding: 20px;
    resize: vertical;
    font-size: 15px;
}

.empty-file {
    border-color: var(--error-color);
}

.empty-file::placeholder {
    color: var(--error-color);
}

.checkbox {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type=checkbox] {
    width: 20px;
    height: 20px;
    background-color: white;
    border: none;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin: 0;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
}

input[type=submit] {
    color: white;
    background-color: var(--primary-color);
    margin-top: 10px;
    cursor: pointer;
    border-color: var(--primary-color);
    padding-right: 10px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    border-right: 2px solid rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    height: 40px;
}

.notif {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--secondary-color);
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.notif .icone {
    height: 20px;
    border-right: 2px solid rgba(0, 0, 0, 0.1);
    padding-right: 20px;
}

.notif-important {
    background-color: rgb(255, 224, 194);
}

.notif-standard {
    background-color: #00b1e715;
    justify-content: center;
}

.modal-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    -moz-backdrop-filter: blur(6px);
    -ms-backdrop-filter: blur(6px);
    -o-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.modal-box .modal-content {
    background-color: #F5F9FA;
    width: 500px;
    max-height: 90%;
    max-width: 90%;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    z-index: 1;
    padding: 20px;
    overflow: auto;
}

.modal-box .modal-content .modal-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-box .modal-content .modal-title p {
    color: var(--title-color);
    font-weight: 700;
}

.modal-box .modal-content .modal-title .modal-close {
    height: 12px;
    cursor: pointer;
    opacity: 0.3;
}

.modal-box .modal-content .modal-title .modal-close:hover {
    opacity: 0.6;
}

.modal-box .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.table-content {
    width: 100%;
    overflow-x: auto;
}

.table_primary {
    width: 100%;
    border-collapse: collapse;
}

.table_primary thead tr {
    background-color: #e8f2f5;
}

.table_primary th {
    text-align: left;
    padding: 20px;
    color: var(--title-color);
}

.table_primary td {
    text-align: left;
    padding: 10px 20px;
}

.table_primary td img {
    height: 20px;
    vertical-align: middle;
    margin-right: 20px;
}

th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

th:last-child {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

/* ==============================
**      PAGE DE CONNEXION
** ==============================
*/

.form-co {
    position: relative;
    padding: 30px;
    border: 1px solid rgb(220, 220, 220);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    width: 400px;
    max-width: 100%;
    margin: 40px 0px;
    background-color: #e8f2f5;
    overflow: hidden;
}

.form-co .title-banner {
    padding: 15px;
    background-color: white;
    margin-top: -20px;
    margin-left: -20px;
    margin-right: -20px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;

}

.form-co .title-banner img {
    vertical-align: middle;
    height: 35px;
}

.google_signin {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* ==============================
**            DASHBOARD
** ==============================
*/
.dashboard {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e8f2f5;
}

.dashboard .top-bar {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 80px;
    z-index: 2;
    background-image: linear-gradient(#EAF2F5, #EAF2F5, #EAF2F5, transparent);
    padding-left: 20px;
    padding-right: 20px;
}

.dashboard .left-bar {
    position: absolute;
    left: 20px;
    top: 100px;
    bottom: 20px;
    width: 50px;
    z-index: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.dashboard .left-bar .overlay {
    background-image: linear-gradient(transparent, #EAF2F5);
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 60px;
    z-index: 2;
    position: fixed;
}

.dashboard .left-bar::-webkit-scrollbar,
.modal-box .modal-content::-webkit-scrollbar {
    width: 5px;
}

.dashboard .left-bar::-webkit-scrollbar-track,
.modal-box .modal-content::-webkit-scrollbar-track {
    box-shadow: -90px 0px 0px 0px lightgrey;
    border: solid 3px transparent;
}

.dashboard .left-bar::-webkit-scrollbar-thumb,
.modal-box .modal-content::-webkit-scrollbar-thumb {
    box-shadow: -90px 0px 0px 0px grey;
    border: solid 3px #c7dde4;
    border-radius: 10px;
}

.dashboard .main {
    position: absolute;
    top: 0px;
    left: 80px;
    right: 0px;
    bottom: 0px;
    overflow-y: auto;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 100px;
}

.dashboard-menu {
    width: 100%;
}

.dashboard-menu .item {
    position: relative;
    height: 40px;
    background-color: white;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    white-space: nowrap;
    width: 40px;
    text-align: center;
    margin-bottom: 10px;
    cursor: pointer;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
}

.dashboard-menu .item .title-page {
    position: absolute;
    top: 0px;
    left: 30px;
    color: var(--title-color);
    background-color: white;
    height: 40px;
    line-height: 40px;
    padding-left: 15px;
    padding-right: 10px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-top-left-radius: 0px;
    -webkit-border-top-left-radius: 0px;
    -moz-border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-bottom-left-radius: 0px;
    overflow: hidden;
    width: 0px;
    opacity: 0;
    display: none;
}

.dashboard-menu .item img {
    height: 20px;
    margin-top: 10px;
    opacity: 0.7;
}

.dashboard-menu .current-page {
    background-color: var(--title-color);
    border-bottom-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
}

.dashboard-menu .current-page .title-page {
    color: white;
    background-color: var(--title-color);
}

.dashboard-menu .current-page img {
    filter: invert(1);
    -webkit-filter: invert(1);
    -moz-filter: invert(1);
    -ms-filter: invert(1);
    -o-filter: invert(1);
    opacity: 1;
}

.dashboard .top-bar {
    display: flex;
    align-items: center;
}

.dashboard .top-bar .logo {
    height: 30px;
    flex: 0 0 auto;
}

.dashboard .top-bar .mobile_logo {
    height: 40px;
    flex: 0 0 auto;
    display: none;
}

.dashboard .top-bar .search {
    flex: 1;
}

.dashboard .top-bar .account-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}

.dashboard .top-bar .account-actions .item {
    padding: 10px 10px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    display: inline-block;
    background-color: white;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard .top-bar .account-actions .item img {
    height: 20px;
    vertical-align: middle;
    opacity: 0.7;
}

.dashboard .main h2 {
    font-weight: 400;
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.dashboard .main h1 {
    font-weight: 700;
    font-size: 40px;
    color: var(--title-color);
}

.dashboard .main .module-box {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 10px;
    max-width: 100%;
}

.dashboard .main .module-box .module {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    max-width: 100%;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
}

.dashboard .main .module-box .module .title {
    font-size: 20px;
    margin-bottom: 20px;
}

.dashboard .top-bar .search {
    padding-left: 20px;
    padding-right: 10px;
}

.dashboard .top-bar .search input {
    max-width: 400px;
    border: none;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    background-image: url(/src/icones/search.png);
    background-position: center right 10px;
    background-size: 20px;
    background-repeat: no-repeat;
}

.dashboard .form {
    max-width: 600px;
}

.dashboard .form .flex {
    display: flex;
    flex: 1;
    gap: 10px;
}

.dashboard .company-logo .logo {
    background-color: white;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
}

.dashboard .company-logo .logo img {
    width: 200px;
}

/* ==================================
/          Module page
=====================================*/

.module-app {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e8f2f5;
    padding: 20px;
}

.module-app .app-header {
    display: flex;
    gap: 20px;
    align-items: center;
}

.module-app .app-header h1 {
    margin: 0;
}
.module-app .app-main{
    position: absolute;
    top: 90px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    padding-left: 20px;
    padding-right: 20px;
    overflow-y: auto;

}

/*===================================*/

@media screen and (max-width: 1100px) {

    .dashboard .top-bar .logo {
        display: none;
    }

    .dashboard .top-bar .mobile_logo {
        display: block;
    }

    .dashboard .main {
        left: 80px;
    }

    .dashboard .main .module-box {
        flex-wrap: wrap;
    }

    .dashboard .main .module-box .module {
        flex: auto;
        flex-basis: 100%;
    }
}