@import url("https://use.typekit.net/ptd8amo.css");
@import url("https://use.typekit.net/evu1xsd.css");
@import url("https://use.typekit.net/pip0aal.css");

/* @import url('//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css'); */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-stretch: normal;
    src: url(https://fonts.gstatic.com/s/opensans/v40/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVc.ttf) format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    src: url(https://fonts.gstatic.com/s/opensans/v40/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVc.ttf) format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-stretch: normal;
    src: url(https://fonts.gstatic.com/s/opensans/v40/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVc.ttf) format('truetype');
}

@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500');


body {
    background: #f1f1f1;
    font-family: "amplitude", sans-serif;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
}

/* Largeur et hauteur de la scrollbar */
::-webkit-scrollbar {
    width: 5px;
    /* Largeur de la scrollbar */
    height: 10px;
    /* Hauteur de la scrollbar */
}

/* Couleur de fond de la scrollbar */
::-webkit-scrollbar-track {
    background-color: #444;
    /* Couleur de fond */
}

/* Couleur de la poignée (thumb) */
::-webkit-scrollbar-thumb {
    background-color: burlywood;
    /* Couleur de la poignée */
    border-radius: 5px;
    /* Bord arrondi de la poignée */
}

/* Couleur de la poignée lorsqu'elle est survolée */
::-webkit-scrollbar-thumb:hover {
    background-color: cadetblue;
    /* Couleur de la poignée survolée */
}


::selection {
    background: #CCC;
}

* {
    margin: 0;
    padding: 0;
    cursor: default;
}

a,
button {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

input {
    font-family: "amplitude", sans-serif;
}

input:focus {
    border-color: #222;
    box-shadow: 0 0 5px #222;
    outline: none;
}

:root {
    --linear-pink: linear-gradient(45deg, #e59797, #c2a8f5);
    --linear-peach: linear-gradient(336deg, #c59393, #5b756a);
    --red: indianred;
}


/* LOGIN */
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: transparent;
    outline: none;
}

.custom--client {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    z-index: 10;
    margin: 0;
    top: 0;
    background-size: cover;
    left: 0;
    padding: 0;
    position: fixed;
    background-image: url('../app/user/login-background.jpg');
    /* Utilisez /storage/ pour accéder aux images dans le dossier storage/app/public */
    background-position: center;
}


.login--section {
    width: 98vw;
    display: flex;
    height: 75vh;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    overflow-x: hidden !important;
    flex-flow: column;
    flex-grow: column;

}

.submit {
    font-family: "amplitude", sans-serif;
    border: 0;
    background: var(--linear-pink);
    box-shadow: inset -11px -5px 100px 1px #474747;
    color: #fffefe;
    text-transform: uppercase;
    padding: clamp(4px, 0.5vw, 11px);
    font-size: clamp(10px, 0.8vw, 12px);
    width: clamp(40px, 6vw, 363px);
    border-radius: 7px;
    padding-inline: 0;
    font-weight: 600;
    margin-top: 3vh;
    cursor: pointer;
    transition: all 0.6s ease;
}

.submit:hover {
    box-shadow: inset -11px -5px 100px 1px #285393c7;
    transition: all 0.6s ease;
}

.login {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    height: 50vh;
    position: relative;
    z-index: 100;
    flex-flow: column;
}

.login label {
    padding: 0;
    margin: 0;
}

.login-txt {
    border: none;
    padding: clamp(10px, 1.2vw, 14px);
    font-size: clamp(10px, 1vw, 17px);
    width: clamp(180px, 25vw, 350px);
    border-radius: 11px;
    font-weight: 800;
    font-family: "amplitude", sans-serif;
    text-align: center;
    background: #3f3f3f !important;
    color: #fffefe;
}

.overlay--login {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #ffffff59;
    z-index: 10000;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.form-group {
    padding-top: 0.8vw;
}

.form-group span {
    position: absolute;
    width: fit-content;
    display: flex;
    right: 0;
    justify-content: center;
    margin-top: -26px;
    padding: 0.5vw;
    font-size: clamp(8px, 0.7vw, 12px);
    color: var(--red);
    text-align: center;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
}

.forget {
    display: block;
    text-align: right;
    align-self: flex-end;
    padding-top: 9px;
    font-size: clamp(8px, 0.8vw, 12px);
    margin-right: 6px;
    color: gray;
    cursor: pointer;
    opacity: 0;
    transition: all 0.5s ease;
}

.forget a {
    text-decoration: none;
    color: gray;
}

.forget:hover {
    opacity: 1;
    transition: all 0.5s ease;
}

/* MENU */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: -webkit-fill-available;
    width: 260px;
    background: #11101d;
    z-index: 100;
    transition: all 0.5s ease;
}

.sidebar.close {
    width: 78px;
}

.sidebar .logo-details {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
}

.sidebar .logo-details i {
    font-size: 30px;
    color: #fff;
    height: 50px;
    min-width: 78px;
    text-align: center;
    line-height: 50px;
}

.sidebar .logo-details .logo_name {
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    transition: 0.3s ease;
    transition-delay: 0.1s;
}

.sidebar.close .logo-details .logo_name {
    transition-delay: 0s;
    opacity: 0;
    pointer-events: none;
}

.sidebar .nav-links {
    height: calc(100vh - 79px);
    padding: 0px 0 0px 0;
    position: relative;
    overflow: auto;
    top: 79px;
}

.sidebar.close .nav-links {
    overflow: visible;
}

.sidebar .nav-links::-webkit-scrollbar {
    display: none;
}

.sidebar .nav-links li {
    position: relative;
    list-style: none;
    transition: all 0.4s ease;
    cursor: pointer;
}

.sidebar .nav-links li.bar:hover,
.sidebar .nav-links li.bar.showMenu .icon-link {
    background: #281b30;
}

.sidebar .nav-links li .icon-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.sidebar.close .nav-links li .icon-link {
    display: block
}

.sidebar.close .nav-links li .icon-link a.expand-a {
    pointer-events: auto !important;
}

/* .sidebar .nav-links li .icon-link a.expand-a {
    pointer-events: none !important;
} */

.sidebar .nav-links li i {
    height: 50px;
    min-width: 78px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar .nav-links li.showMenu i.arrow {
    transform: rotate(0deg);
}

.sidebar.close .nav-links i.arrow {
    display: none;
}

.sidebar .nav-links li a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sidebar .nav-links li a .link_name {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    transition: all 0.4s ease;
    cursor: pointer;
}

.sidebar.close .nav-links li a .link_name {
    opacity: 0;
    pointer-events: none;
}

.sidebar .nav-links li .sub-menu {
    padding: 10px 40px 10px 80px;
    background: #1d1b31;
    display: none;
}

.sidebar .nav-links li.showMenu .sub-menu {
    display: block;
}

.sidebar .nav-links li.showMenu .icon-link {
    background: inherit;
}

.sidebar .nav-links li .sub-menu a {
    color: #fff;
    font-size: 13px;
    padding: 5px 0;
    opacity: 0.6;
    transition: all 0.12s ease;
}

.sidebar .nav-links li .sub-menu a:hover {
    opacity: 1;
}

.sidebar.close .nav-links li .sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-top: 0;
    padding: 10px 20px;
    border-radius: 0 6px 6px 0;
    opacity: 0;
    width: max-content;
    display: block;
    pointer-events: none;
    min-height: 30px;
    transition: 0s;
}

.sidebar.close .nav-links li:hover .sub-menu {
    top: 0;
    opacity: 1;
    pointer-events: auto;
    background: #281b2f;
    transition: all 0.4s ease;
}

.sidebar .nav-links li .sub-menu .link_name {
    display: none;
}

.sidebar.close .nav-links li .sub-menu .link_name {
    font-size: 18px;
    opacity: 1;
    display: block;
    margin-top: 2px;
    padding: 9px 0;
}

.sidebar .nav-links li .sub-menu.blank {
    opacity: 1;
    pointer-events: auto;
    padding: 3px 20px 6px 16px;
    opacity: 0;
    pointer-events: none;
}

.sidebar .nav-links li:hover .sub-menu.blank {
    top: 50%;
    transform: translateY(-50%);
}

.sidebar .profile-details {
    position: fixed;
    top: 0;
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #11101d;
    padding: 13px 0;
    transition: all 0.5s ease;
}

.sidebar.close .profile-details {
    width: 78px;
}

.sidebar .profile-details .profile-content {
    display: flex;
    align-items: center;
    margin-left: 1px;
}

.sidebar .profile-details img {
    height: 52px;
    width: 52px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 14px 0 12px;
    background: #11101d;
    transition: all 0.5s ease;
    cursor: pointer;
}

.sidebar.close .profile-details img {
    padding: 0;
}

.sidebar .profile-details .profile_name,
.sidebar .profile-details .job {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.sidebar.close .profile-details i,
.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job {
    display: none;
}

.sidebar .profile-details .job {
    font-size: 12px;
}

.main-section {
    position: relative;
    background: transparent;
    height: 100%;
    left: 260px;
    width: calc(100% - 260px);
    transition: all 0.5s ease;
}

.sidebar.close~.main-section {
    left: 78px;
    width: calc(100% - 78px);
}

.main-section .main-content {
    height: 60px;
    display: flex;
    align-items: center;
}

.main-section .main-content .bx-menu,
.main-section .main-content .text {
    color: #f1f1f1;
    font-size: 35px;
}

.main-section .main-content .bx-menu {
    margin: 18px 15px 0;
    cursor: pointer;
}

.main-section .main-content .text {
    font-size: 26px;
    font-weight: 600;
    /* position: absolute; */
    width: fit-content;
    top: 41px;
    cursor: default;
}

.fixed-top {
    position: fixed;
    z-index: 100;
    display: flex;
    width: calc(100% - 78px);
    background: #11101d;
    justify-content: space-between;
    height: 26px;
    padding: 24px 0;
    align-items: center;
    text-transform: uppercase;
    top: 0px;
    right: 0;
    color: #f1f1f1;
    transition: all 0.5s ease;
}

.fixed-top.open {
    width: calc(100% - 260px);
    transition: all 0.5s ease;
}

.fixed-top i {
    font-size: 31px;
    padding-right: 19px;
    padding-left: 20px;
}

.fixed-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bx.bx-log-out {
    text-align: right !important;
    right: -98px;
    position: fixed;
    min-width: unset !important;
    top: 13px;
    left: 218px;
    z-index: 100;
    width: fit-content;
}

.close .dotted {
    display: none;
}

.dotted {
    display: block;
    color: #cecece;
    padding-right: 25px;
    cursor: pointer;
}

.profile-details button {
    border: none;
    background: none;
}

/* PUBLISH */

.flex__SAUVEGARDE {
    display: flex;
    margin-right: 15px;
    position: relative;
    top: 2px;
}

.flex__SAUVEGARDE div {
    margin-left: 0px;
}

#PUBLISH {
    margin-left: -7px;
}

.SAUVEGARDE {
    position: relative;
    z-index: 200;
    cursor: pointer;
    /* top: 0; */
    /* display: block; */
    transform: 1;
    /* transform-origin: top left; */
    /* left: 0; */
}

.SAUVEGARDE .button {
    position: relative;
    display: flex;
    justify-content: space-around;
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    height: fit-content;
    width: max-content;
    padding: 0 2px;
    /* border: 2px solid white; */
    /* background: linear-gradient(312deg, #b3f4ff, #7332c9); */
    border-radius: 10px;
    cursor: pointer;
    box-shadow: inset -17px -20px 300px 1px transparent;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), box-shadow 1s ease;
    overflow: hidden;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.SAUVEGARDE .button:hover {
    opacity: 1;
    transition: all 0.4s ease;
}

.flex__SAUVEGARDE .flags {
    display: flex;
    flex-flow: column;
    position: relative;
    top: 9.5px;
    margin-left: 10px;
}

.flex__SAUVEGARDE .flags .flag {
    width: 8px;
    height: 8px;
    border-radius: 100%;
    border: gray solid 1px;
    background: #222222;
    margin-bottom: 4px;
    box-shadow: 0px 0px 9px 1px transparent;
    transition: all 3s ease;
}

.flex__SAUVEGARDE .flags .flag.green {
    background: lime;
    border: lime solid 1px;
    box-shadow: 0px 0px 9px 1px greenyellow;
    transition: all 1s ease;
}

.flex__SAUVEGARDE .flags .flag.red {
    background: #ff5800;
    border: #ff5800 solid 1px;
    box-shadow: 0px 0px 9px 1px #ff2f2f;
    transition: all 1s ease;
}

/* #SAVE .button {
    background: linear-gradient(312deg, #ffb3b3, #8f32c9);
} */
/* 
.SAUVEGARDE .button.active {
    height: 15px;
} */

.SAUVEGARDE .button::before {
    content: "";
    position: absolute;
    top: 10px;
    left: -100%;
    height: 15px;
    width: 100%;
    cursor: pointer;
    background: linear-gradient(312deg, #b3f4ff, #2d813796);
    border-radius: 55px;
    transition: all 2s ease-in-out;
}

.SAUVEGARDE .button.active {
    opacity: 1;
    animation: layer 2s ease-in-out forwards;
}

@keyframes layer {
    0% {
        color: magenta;
    }

    100% {
        color: green;
    }
}

.SAUVEGARDE .button .content {
    height: 100%;
    width: 70px;
    display: flex;
    padding: 11px;
    cursor: pointer;
    align-items: center;
    justify-content: flex-end;
    transition: all 0.2s ease;
    transition-delay: 0.2s;
}

.SAUVEGARDE .button .content i,
.SAUVEGARDE .button .content .button-text {
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    padding: 0 !important;
    transition: color 0.6s ease;
}

.SAUVEGARDE .button .content .button-text {
    font-size: 14px;
    margin-left: 0px;
}

.SAUVEGARDE .button .content i {
    transition: color 0.6s ease, margin-top 1s linear;
}

/* ALERT */
.alert.alert-success {
    display: block;
    position: fixed;
    width: fit-content;
    z-index: 1000;
    color: #222;
    top: 100px;
    right: 20px;
    padding: 1vw;
    pointer-events: none;
    background: linear-gradient(271deg, #2edb24, #62d527);
    border-radius: 10px;
    box-shadow: 7px 6px 10px #00000026;
    animation: fadeOut 5s ease forwards;
}

.alert.alert-danger {
    display: block !important;
    position: fixed;
    width: fit-content;
    z-index: 1000;
    color: #222;
    top: 100px;
    right: 20px;
    padding: 1vw;
    background: linear-gradient(271deg, #db2424, #d54a27);
    border-radius: 10px;
    box-shadow: 7px 6px 10px #00000026;
    animation: fadeOut 5s ease forwards;
}

.alert.danger ul li {
    display: block !important;
    position: fixed;
    width: fit-content;
    z-index: 1000;
    color: #222;
    top: 100px;
    right: 20px;
    margin-bottom: 20px;
    list-style: none;
    padding: 1vw;
    background: linear-gradient(271deg, #db2424, #d52727);
    border-radius: 10px;
    box-shadow: 7px 6px 10px #00000026;
    animation: fadeOut 10s ease forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

.red-hot {
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 15px;
    border-radius: 50%;
    right: 28px;
    background: red;
    pointer-events: none;
    opacity: 1;
    transition: all 0.4s ease;
}

.red-hot.none {
    opacity: 0;
    transition: all 0.4s ease;
}

.notification.none {
    display: none;
}

#LOADER {
    display: flex;
    opacity: 1;
    width: calc(100% - 78px);
    height: 100vh;
    background: linear-gradient(180deg, white, #c5c5c5c2);
    position: fixed;
    top: 74px;
    right: 0;
    z-index: 20000;
    overflow: hidden;
    pointer-events: auto;
    transition: all 0.7s ease;
}

#LOADER.open {
    width: calc(100% - 260px) !important;
    transition: all 0.5s ease;
}

/* #LOADER.open .cs-loader-inner {
    padding: 0 !important;
} */

#LOADER::selection,
.cs-loader::selection,
.cs-loader label::selection {
    background: transparent;
    color: inherit;
}

.cs-loader {
    position: absolute;
    top: -10vh;
    left: 0;
    height: 100%;
    width: 100%;
}

.cs-loader-inner {
    transform: translateY(-50%);
    top: 50%;
    position: absolute;
    width: calc(100% - 200px);
    color: blanchedalmond;
    padding: 0 100px;
    text-align: center;
}

.cs-loader-inner label {
    font-size: 20px;
    opacity: 0;
    display: inline-block;
}

@keyframes lol {
    0% {
        opacity: 0;
        color: rgb(205 148 163);
        transform: translateX(-300px);
    }

    33% {
        opacity: 1;
        transform: translateX(0px);
    }

    66% {
        opacity: 1;
        transform: translateX(0px);
    }

    100% {
        opacity: 0;
        color: rgb(148, 205, 153);
        transform: translateX(300px);
    }
}

@-webkit-keyframes lol {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-300px);
    }

    33% {
        opacity: 1;
        -webkit-transform: translateX(0px);
    }

    66% {
        opacity: 1;
        -webkit-transform: translateX(0px);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(300px);
    }
}

.cs-loader-inner label:nth-child(6) {
    -webkit-animation: lol 3s infinite ease-in-out;
    animation: lol 3s infinite ease-in-out;
}

.cs-loader-inner label:nth-child(5) {
    -webkit-animation: lol 3s 100ms infinite ease-in-out;
    animation: lol 3s 100ms infinite ease-in-out;
}

.cs-loader-inner label:nth-child(4) {
    -webkit-animation: lol 3s 200ms infinite ease-in-out;
    animation: lol 3s 200ms infinite ease-in-out;
}

.cs-loader-inner label:nth-child(3) {
    -webkit-animation: lol 3s 300ms infinite ease-in-out;
    animation: lol 3s 300ms infinite ease-in-out;
}

.cs-loader-inner label:nth-child(2) {
    -webkit-animation: lol 3s 400ms infinite ease-in-out;
    animation: lol 3s 400ms infinite ease-in-out;
}

.cs-loader-inner label:nth-child(1) {
    -webkit-animation: lol 3s 500ms infinite ease-in-out;
    animation: lol 3s 500ms infinite ease-in-out;
}