@charset "UTF-8";

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /* font-family: "Roboto", sans-serif; */
  overflow-x: hidden;
  overflow-y: hidden;
  flex-direction: column;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.container {
  display: flex;
  flex-direction: row;
  border: 1px solid #ccc;
  background-color: #fff;
  width: 100vw;
  overflow-x: hidden;
  overflow-y: hidden;
  height: 96vh;
  border: none;
  max-width: 100vw !important;
}

footer {
  height: 3.8vh;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  /* Ajoute une ombre douce */
  border: 1px solid #1c255ede;
  position: absolute;
  bottom: 0;
}

.footer_text {
  padding-right: 1vw;
  color: #928f8f;
}

.first {
  min-height: 97vh;
  background-color: #e0e0e0;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background: var(--color-primary);
  flex-basis: 0;
  border: none;
}

.first__header {
  padding: 3vh 1vw;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.first__container__top {
  display: flex;
  flex-direction: column;
  gap: 3vh;
  padding: 0 1vw;
  padding-bottom: 3vh;
  align-items: center;
}

.first__container__guide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3vh 1vw;
  border-bottom: 1px solid var(--color-border-first);
  border-top: 1px solid var(--color-border-first);
}

.first__bottom {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.first__bottom__light {
  display: flex;
  flex-direction: row;
  margin: 2vh auto;
  gap: 0.5vw;
}

.first__closed {
  padding: 2.5vh 0;
  display: flex;
  flex-direction: column;
  min-width: 8vw;
  align-items: center;
}

.first__closed__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4vh;
  padding-bottom: 5vh;
}

.first__closed__header img {
  max-width: 49px;
}

.first__closed__top {
  display: flex;
  flex-direction: column;
  gap: 5vh;
  padding-bottom: 5vh;
  border-bottom: 2px solid #9ba8f6;
  width: 100%;
  align-items: center;
}

.first__closed__play {
  padding: 5vh 0;
  border-bottom: 2px solid #9ba8f6;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.first__closed__profile {
  padding: 6vh 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4vh;
  align-items: center;
  justify-content: center;
}

.first__closed__mode {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.first__container,
.first__closed {
  transition: display 0.3s ease-in-out;
}

.first__container > div {
  flex-shrink: 0;
}

/* white container */
.seconde {
  width: 25vw;
  max-width: 400px;
  /* background: var(--color-white); */
  overflow-y: auto;
  -ms-overflow-style: none;
  /* Pour Internet Explorer et Edge */
  scrollbar-width: thin;
  direction: rtl;
  box-sizing: border-box;
  background-attachment: var(--color-primary);
  padding-bottom: 1rem;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.seconde__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.seconde__header_title {
  border-bottom: 2px solid var(--color-grey);
  padding-bottom: 4px;
}

.seconde__header h1 {
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 500;
}

.seconde_tuto {
  background: white;
  height: 100vh;
  overflow-y: auto;
  -ms-overflow-style: none;
  /* Pour Internet Explorer et Edge */
  scrollbar-width: thin;
  direction: ltr;
  box-sizing: border-box;
  background-attachment: var(--color-primary);
  width: 50%;
  max-width: 400px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.seconde_tuto * {
  display: flex;
   justify-content: start;
   flex-direction: column;
}

.toggleButtonTitle_tuto {
  padding: 4px 12px;
  width: 100%;
  border-radius: 4px;
  color: var(--color-black);
}

.seconde_tuto {
  padding-top: 3vh;
}

.seconde * {
  direction: ltr;
  color: var(--color--second);
}

.seconde__header_search {
  position: relative;
  display: flex;
  margin-bottom: 24px;
}

.seconde__search-input-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: var(--color-dark-grey);
}

.seconde__search-input {
  padding: 16px;
  padding-left: 44px;
  background-color: var(--color-white);
}

.seconde__search-input::-moz-placeholder {
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  text-align: left;
  color: var(--color-border-placeholder);
}

textarea#Commentaire {
  color: var(--color-black);
  border-radius: 8px;
  padding: 10px;
  border-color: var(--color-very-light-grey);
}

.seconde__search-input::placeholder {
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  text-align: left;
  color: var(--color-border-placeholder);
}

.seconde__search-icon {
  position: absolute;
  top: 50%;
  left: 90%;
  transform: translateY(-50%);
  color: var(--color-border-placeholder);
  cursor: pointer;
  font-size: 14px;
}

.seconde__add {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: hidden;
}

.seconde__add_tuto {
  padding: 3vh 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.seconde__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.seconde__informations {
}

.seconde__informations__inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid #d2d7de;
  padding-bottom: 1rem;
}

.seconde__informations__inputs input {
  border-color: var(--color-border-grey);
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  background: #ffffff;
  padding: 1rem 0.5rem;
  /* font-family: "Roboto"; */
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  text-align: left;
  color: var(--color-dark-grey);
}

.seconde__informations__inputs input::-moz-placeholder {
  /* font-family: "Roboto"; */
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  text-align: left;
  color: var(--color-dark-grey);
  /* color: #9397a0; */
}

.seconde__informations__inputs input::placeholder {
  /* font-family: "Roboto"; */
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  text-align: left;
  color: var(--color-dark-grey);
}

.seconde__informations__add {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid #d2d7de;
  justify-content: flex-start;
  padding-bottom: 1rem;
}

.seconde__informations__add button {
}

.upload_files {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.Project__item {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.seconde__informations__pick {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #d2d7de;
  justify-content: flex-start;
}

.seconde__informations__options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.seconde__informations__description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.map {
  flex: 1;
  background-color: lightblue;
  background-repeat: no-repeat;
  background-position: initial;
  background-size: cover;
}
.dark-map {
  flex: 1;
  background-color: lightblue;
  background-repeat: no-repeat;
  background-position: initial;
  background-size: cover;
  filter: invert(307%) hue-rotate(217deg) brightness(110%) contrast(98%);
}
.profil{
  display: flex;
  gap: 1rem;
}
.profil-logo-container {
  width: 40px;
  height: 40px;
  padding: 4px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.714);
  display: flex;
  justify-content: center;
  align-items: center;
}
 
.profil-logo-container svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

 
.profil__description {
  display: flex;
  flex-direction: column;
}
 
.profil__description h3 {
  font-weight: medium;
  font-size: 14px;
  color: var(--color-white);
  /* text-transform: uppercase; */
}
 
.menu_profil{
  display: flex;
  flex-direction: column;
}
.profil__description span {
  color: var(--color-white);
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
}
 
.profil__description h4 {
  color: #6c6d6e;
}
 
.profil_container {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5vh;
  transition: 0.15s;
  cursor: pointer;
  color: var(--color-white);
  gap: 6px;
  padding: 12px;
  border-radius: 10px;
  border: solid 1px var(--color-light-opacity);
  font-size: 14px;
}
 
.profil_container:hover {
  background-color: #3f5c6d50;
}
 
.profil_container.selected {
  background-color: #3f5c6d !important;
}
 





.profil__top {
  display: flex;
  flex-direction: column;
  gap: 2vh;
  margin-bottom: 1vh;
  justify-content: center;
  align-items: center;
}

.profil__top h4 {
  font-weight: bold;
  font-size: 1rem;
  color: #000000;
  padding: 5px 10px;
  box-shadow: 0px 4px 6px rgb(152 124 124 / 13%);
}

.profil__image {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 20px;
}

.profil__circle {
  width: 15px;
  height: 15px;
  border-color: #2f6343;
  border-width: 2px;
  border-style: solid;
  background: #3de058;
  border-radius: 50%;
  position: absolute;
  left: 3vw;
  bottom: 0;
}

.profil__description {
}

.profil__description h3 {
  font-weight: medium;
  color: var(--color-white);
  /* text-transform: uppercase; */
}

.profil__description h4 {
  color: #6c6d6e;
}

.profil__description__span {
  width: 62px;
  height: 31px;
  border-radius: 10px;
  background: #3de058;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  text-align: center;
  color: #084227;
}

aside:last-of-type {
  flex-grow: 2;
  flex-basis: 0;
}

#projectButton img {
  width: 2vw;
  height: 2vw;
}

/* Media Queries pour adaptabilité */


.sidenav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 282px;
  padding: 32px;
}

.nav-group-logo-and-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-group-btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 82%;
}
.nav-btn {
  color: var(--color-white);
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 6px;
  padding: 12px;
  border-radius: 10px;
  border: solid 1px var(--color-light-opacity);
  transition: 0.15s;
  font-size: 14px;
}
 
.nav-btn svg {
  height: 20px;
  width: 20px;
}
 

.nav-btn:hover {
  background-color: #3f5c6d50;
}

.nav-btn-selected {
  background-color: #3f5c6d !important;
}

.nav-logout-btn {
  color: var(--color-secondary);
  font-size: small;
}

.nav-logo {
  width: 100%;
}

.nav-separator {
  width: 100%;
  border: solid 1px var(--color-light-opacity);
  align-self: stretch;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.btn-edit {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-edit svg {
  position: absolute;
  right: 8px;
  width: 16px;
  height: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.toggleButton {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}

.toggleButton_tuto {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.toggleButton .toggleContainer.visible {
  align-items: center;
   padding: 10px 10px;
   justify-content: start;
   transition: height 0.3s ease;
   white-space: nowrap;
}

.button-content {
  background-color: var(--color-white);
  border: 1px solid var(--color-very-light-grey);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  color: var(--color-black);
  transition: 0.15s;
}

.button-content:hover {
  background-color: var(--color-primary-very-low-opacity);
}
.button-content.active {
  border-radius: 15px 15px 0px 0px;
  border-color: var(--color-grey);
  /* background-color: var(--color-primary-very-low-opacity); */
  /* color: #ffffff; */
  border-bottom: none;
}

.button-content svg {
  transition: 0.2s ease;
}
.button-content.active svg {
  rotate: 90deg;
}

.toggleContainer {
  /* background-color: #ffffff; */
  background-color: var(--color-white);
  display: flex;
  /* Change display to flex for visible state */
  align-items: center;
  justify-content: center;
  transition: height 0.3s ease;
  white-space: nowrap;
  border-radius: 0px 0px 15px 15px;
  border: 1px solid var(--color-grey);
  box-shadow: 5px 5px 5px #00000005;
  border-top: none;
  display: none;
}

.toggleContainer.active {
  display: block;
}

.toggleContainer_tuto {
  display: flex;
  /* Change display to flex for visible state */
  align-items: start;
  padding: 10px 10px;
  justify-content: center;
  transition: height 0.3s ease;
  white-space: nowrap;
}

.hidden {
  display: none;
  /* Hide with display: none */
}

.Project {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px;
  padding-top: 0px;
  gap: 20px;
}

.loading-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-very-low-opacity);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-low-opacity);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: medium;
  margin-bottom: 20px;
}

.loading-btn span {
  display: block;              /* ou inline-block si besoin */
  white-space: nowrap;         /* empêche le retour à la ligne */
  overflow: hidden;            /* masque le débordement */
  text-overflow: ellipsis;     /* ajoute "…" si trop long */
  max-width: 100%;  
  font-size: 56%;
}



.Project .separator {
  height: 1px;
  width: 100%;
  background-color: var(--color-very-light-grey);
}

.separator-part {
  height: 2px;
  width: 100%;
  margin-top: 20px;
  background-color: var(--color-very-light-grey);
}
.Project__description {
  padding-bottom: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.Project__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.Project__item .title {
  width: 100%;
  color: var(--color-dark-grey);
  font-weight: 400;
}

.Project__item .response {
  width: 100%;
  word-break: break-all;
  color: var(--color-primary);
  font-weight: 500;
}

.Project__item_tuto li {
  font-weight: bold;
}

.Project__item_tuto ol {
  font-size: 18px;
  font-style: normal;
  color: #192030;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  list-style-type: disc;
  margin-left: 26px;
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.Project__status {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #d2d7de;
  align-items: center;
}

.Project__group_visibilty_tracking {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.Project__visibility {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 0;
}

.Project__visibility h2 {
  font-size: 20px;
  font-weight: medium;
  text-align: left;
  margin-bottom: 12px;
}

.Project__visibility__list_item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.Project__visibility__item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.Project__visibility__item .title {
  font-weight: 400;
  font-size: 12px;
}

.toggleContainer-separator {
  height: 1px;
  width: 100%;
  background: var(--color-grey);
}
.Project__visibility__buttons {
  display: flex;
  flex-direction: row;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.Project__visibility__button {
  border-radius: 5px;
  background: var(--color-primary-very-low-opacity);
  color: var(--color-primary);
  width: 2vw;
  height: 4vh;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.15s ease;
}

.Project__visibility__button svg {
  width: 2vw;
  height: 2vh;
}

.Project__visibility__button:hover {
  background: var(--color-primary-low-opacity);
}

.Project__tracking {
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding: 10px 0;
}

.Project__tracking__desription {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.Project__tracking__desription1 {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.Project__tracking__map {
  position: relative;
  display: inline-block;
  /* border: 2px solid var(--color-primary); */
  border: 2px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  overflow: hidden;
  transition: 0.15s;
}

.Project__tracking__map:hover {
  border: 2px solid var(--color-primary);
}

.Project__tracking__map:hover .MapZoom {
  transform: rotate(45deg);
  background: var(--color-greenbutton);
}

.title {
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  text-align: left;
  color: #4d4d4d;
  flex-basis: 50%;
  word-wrap: break-word;
  white-space: break-spaces;
  max-width: 55%;
}

.title_tuto {
  color: var(--color-black);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-weight: 500;
  font-size: 18px;

}


.tutorialContent p {
  color: var(--color-dark-grey);
}

.subtitle_tuto {
  color: var(--color-black);
  display: flex;
  gap: 1rem;
  font-weight: 400;
  font-size: 20px;
  cursor: pointer;
  flex-direction: row;
}

.title_tuto img {
  display: flex;
  margin-top: -7%;
  margin-top: auto;
}

.response {
  font-size: 14px;
  font-style: normal;
  text-align: left;
  color: #9397a0;
  width: 300px;
  /* Définit une largeur fixe */
  word-wrap: break-word;
  /* Gérer les longs mots */
  overflow-wrap: break-word;
  /* Support étendu pour les vieux navigateurs */
  white-space: normal;
  /* Assure que le texte peut passer à la ligne */
}

.response h4 {
  word-wrap: break-word;
  white-space: normal;
  /* Permet de gérer correctement le retour à la ligne */
  overflow-wrap: break-word;
  /* Alternative pour la prise en charge */
  text-decoration: none;
  text-align: left;
}

.status__finished {
  color: var(--color-greenbutton);
  background-color: #ffffff;
  border: 1px solid var(--color-greenbutton);
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  text-align: center;
  padding: 8px 25px;
  border-radius: 16px;
}

.status__loading {
  color: #e05526;
  background-color: #ffffff;
  border: 1px solid #e05526;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  text-align: center;
  padding: 8px 25px;
  border-radius: 16px;
  display: none;
}

.ProjectMap {
  display: block;
  transition: transform 0.3s ease, border 0.3s ease;
  width: 100%;
  filter: var(--style-little-map-filter);
  overflow: hidden;
}

.ProjectMap__container {
  overflow: hidden;
}

.MapZoom {
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0.5;
  background: #707070;
  border-radius: 50%;
  display: flex;
  transition: transform 0.3s ease, border 0.3s ease;
  color: white;
}

.arrow-up,
.arrow-down {
  margin: 2px 0;
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 15px;
}

.screenshot {
  /* font-family: "Roboto"; */
  font-size: 11px;
  font-weight: normal;
  font-style: normal;
  text-align: left;
  color: #a9a7a7;
  text-decoration: underline;
  display: flex;
  flex-direction: row;
  gap: 10px;
  text-decoration: none;
}

.option {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

.option input {
  width: 20.1px;
  height: 20.1px;
  background: var(--color-greenbutton);
}

.option span {
  /* font-family: "Roboto"; */
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  text-align: left;
  color: #4d4d4d;
}

#description {
  border-color: #c4cbd4;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  min-height: 15vh;
  padding: 0.5rem 0.5rem;
}

#description::after {
  border-color: #c4cbd4;
  border-width: 1px;
  border-style: solid;
}

:root {
  --button-font-size: 1rem;
  /* Base font size for buttons */
  --button-padding: 1rem 3.5rem;
  /* Padding for buttons */
  --button-border-radius: 0.9375rem;
  /* Border radius for buttons */
  --button-gap: 0.9375rem;
  /* Gap between elements inside buttons */
  --button-height: 3rem;
  /* Height for buttons */
  --color-primary: #1a3647;
  --color-primary-low-opacity: #1a364720;
  --color-primary-very-low-opacity: #1a364710;
  --color-secondary: #ec6608;
  --color-secondary-low-opacity: #ec660820;
  --color-secondary-very-low-opacity: #ec660810;
  --color-beige: #f6ece1;
  --color-dark-grey: #555555;
  --color-white: #fcfcfc;
  --color-black: #0c1c26;
  --color-grey: #d1d7da;
  --color-very-light-grey: #e8ebed;
  --color-light-grey: #f7f7f7;
  --color-light-opacity: #ffffff20;
  --color-orange: #ef4922;
  --color-greenbutton: #46b3be;
  --color-greenbutton: #46b3be;
  --color-border-first: #3347bf;
  --color-border-grey: #c4cbd4;
  --color-border-placeholder: #9397a0;
  --color-hoverbutton: #5e6dcd;
  --color-searchBackground: #ededed;
  --profile-background: white;
  --profile-color: none;
  --color-light-button: #151c4a;
  --inputBackground: rgba(30, 47, 151, 0.5);
  --borderProfile: none;
  --buttonOkBackground: rgba(30, 47, 151, 0.5);
  --hoverfa: white;
  --titleTuto: rgb(24, 88, 191);
  --border-light-button: white;
  --border-light-button: transparent;
  --style-little-map-filter: none;
  --color-button-project: white;
  --color--second: none;
  --color-new-project-buttun: #1e2f97;
}

[data-theme="dark"] {
  --color-primary: #020618;
  --color-secondary: #050b29;
  --color-orange: #232a49;
  --color-greenbutton: #1f3b59c7;
  --color-border-first: white;
  --color-border-grey: black;
  --color-border-placeholder: black;
  --color-hoverbutton: rgb(58, 57, 57);
  --profile-background: #050b29;
  --profile-color: white;
  --borderProfile: 1px solid black;
  --inputBackground: white;
  --buttonOkBackground: #4d9093;
  --hoverfa: #002500;
  --titleTuto: black;
  --color-searchBackground: white;
  --color-light-button: #000000;
  --border-light-button: white;
  --style-little-map-filter: brightness(50%) contrast(208%);
  --color-button-project: #232a49;
  --color--second: #ffffff;
  --color-new-project-buttun: #75200c;
}

.analytics {
  background-color: var(--color-primary);
  height: "96vh";
}

.button {
  width: 100%;
  height: var(--button-height);
  border: 1px solid transparent;
  border-radius: var(--button-border-radius);
  background: rgba(255, 255, 255, 0.7);
  background: #ffffff;
  /* font-family: "Roboto"; */
  font-size: var(--button-font-size);
  font-style: normal;
  text-align: left;
  color: #151c4a;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--button-gap);
  cursor: pointer;
}

.selected {
  background: rgba(255, 255, 255, 0.7) !important;
}

.button_tutorial {
  width: 100%;
  height: var(--button-height);
  border: 1px solid transparent;
  background: #ffffff;
  /* font-family: rgb(255, 255, 255); */
  font-size: var(--button-font-size);
  font-style: normal;
  text-align: left;
  color: #151c4a;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--button-gap);
  cursor: pointer;
  margin-bottom: -2%;
}

.button__orange {
  width: 100%;
  height: calc(var(--button-height));
  border-color: var(--color-orange);
  border-width: 1px;
  border-style: solid;
  border-radius: var(--button-border-radius);
  background: var(--color-orange);
  /* font-family: "Roboto"; */
  font-size: var(--button-font-size);
  font-weight: 500;
  font-style: normal;
  text-align: center;
  color: #e4dfd6;
  cursor: pointer;
}

.button__blue_hovered {
}

button {
  background: transparent;
  border: 1px solid transparent;
}

.light_buttom {
  border-radius: var(--button-border-radius);
  background: var(--color-light-button);
  border: 3px solid var(--border-light-button);
  display: flex;
  flex-direction: row;
  gap: var(--button-gap);
  justify-content: center;
  align-items: center;
  padding: var(--button-padding);
  /* font-family: "Roboto"; */
  font-size: var(--button-font-size);
  font-weight: 500;
  font-style: normal;
  text-align: center;
  color: #e4dfd6;
  cursor: pointer;
  width: 9vw;
}

#Little-Mode {
  color: white !important;
}

.dark_buttom {
  border-radius: var(--button-border-radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid transparent;
  display: flex;
  flex-direction: row;
  gap: var(--button-gap);
  justify-content: center;
  align-items: center;
  padding: var(--button-padding);
  /* font-family: "Roboto"; */
  font-size: var(--button-font-size);
  font-weight: 500;
  font-style: normal;
  color: #151c4a;
  width: 9vw;
  cursor: pointer;
}

.blue__button {
}

.cancel__button {
}

.devis {
  border-radius: 10px;
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.05));
  background: var(--color-orange);
  padding: 0.7rem 1rem;
  /* font-family: "Roboto"; */
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
}

/*# sourceMappingURL=index.css.map */

.loading-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  backdrop-filter: blur(100px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loading-text {
  font-size: 24px;
  font-weight: 500;
  color: #4d4d4d;
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.loading-text .dots {
  display: flex;
  margin-left: 5px;
}

.loading-text .dots div {
  width: 8px;
  height: 8px;
  background-color: #4d4d4d;
  border-radius: 50%;
  margin: 0 2px;
  animation: blink 1.4s infinite both;
}

.loading-text .dots div:nth-child(1) {
  animation-delay: 0s;
}

.loading-text .dots div:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-text .dots div:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }
}

.lottie-container {
  width: 200px;
  height: 200px;
}

.status {
  /* font-family: "Roboto"; */
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  color: var(--color-greenbutton);
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.status__circle {
  width: 10px;
  height: 10px;
  background: var(--color-greenbutton);
  border-radius: 50%;
}

.PopupMap {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leaflet-popup-content {
  margin: 15px !important;
  border-radius: 15px;
}

.leaflet-popup-content-wrapper {
  border: 2px solid #a0a1a2 !important;
}

#xgreen {
  color: var(--color-greenbutton);
}

.screenshot:hover i {
  display: inline;
}

.screenshot i {
  display: none;
  cursor: pointer;
  margin-left: 10px;
}

.loginContainer {
  /* font-family: Arial, sans-serif; */
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.auth-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  gap: 28px;
  position: absolute;
  width: 500px;
  background: rgb(255 255 255 / 44%);;
  border-radius: 20px;
  flex: none;
  flex-grow: 0;
  z-index: 1;
  height: fit-content;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
}

.auth-container-logo {
  width: 200px;
  margin: 0 auto;
}

.auth-form-title {
  font-weight: 500;
  font-size: 22px;
  color: var(--color-primary);
}

.btn-secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  gap: 10px;
  width: 100%;
  background: var(--color-primary-very-low-opacity);
  border: 1px solid var(--color-primary-low-opacity);
  border-radius: 10px;
  flex: none;
  color: var(--color-primary);
  cursor: pointer;
  transition: 0.15s;
}

.btn-secondary:hover {
  background: var(--color-primary-low-opacity);
}

.btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  gap: 10px;
  width: 100%;
  background: var(--color-primary);
  border: 1px ;
  border-radius: 10px;
  flex: none;
  color: var(--color-white);
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.15s;
}

.btn-primary:hover {
  filter: brightness(1.2);
}

.btn-primary-sm {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: var(--color-primary);
  border: 1px solid var(--color-light-grey);
  border-radius: 4px;
  flex: none;
  color: var(--color-white);
  cursor: pointer;
  transition: 0.15s;
}

.btn-primary-sm:hover {
  filter: brightness(1.2);
}

.auth-form-forget-password {
  text-decoration: underline;
}

.company-logo-container {
  width: 150px;
  margin-bottom: 20px;
}

.company-logo {
  width: 100%;
}

.logo-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #fff;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.forgot-password-title {
  font-size: 20px;
}

.forgot-password-text {
  font-size: 20px;
  color: var(--color-dark-grey);
}

.form-group-input-label {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
}
.input-forget-password{
  padding: 12px 16px; /* haut/bas : 12px, gauche/droite : 16px */
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  font-size: 1rem;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 15px;
  width: 100%;
}

.form-group label,
label {
  font-size: 16px;
  color: var(--color-dark-grey);
}

.form-group input,
input {
  /* Auto layout */
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px;
  gap: 10px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e8ebed;
  border-radius: 8px;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
}

input:focus {
  outline-color: #928f8f;
}

.btn {
  width: 100%;
  padding: 10px;
  background-color: #e9460a;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.btn:hover {
  background-color: #d03e08;
}
.text {
  display: inline-block;
  max-width: 200px;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-line;
}

.text-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ReportContainer {
  background-color: #ffffff;
  /* display: flex; */
  /* align-items: center; */
  padding: 10px 10px;
  /* justify-content: space-between; */
  transition: height 0.3s ease;
  white-space: nowrap;
  border-radius: 0px 0px 15px 15px;
  border: 1px solid var(--color-border-grey);
}

.rapport-area {
  background-color: var(--color-light-grey);
  flex: 1;
  position: relative;
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  padding: 32px;
}


.rapport {
  width: 90%;
  height: 70%;
  border-radius: 8px;
  box-shadow: 0px 3px 6px 11px rgb(0 0 0 / 26%);
  align-content: center;
}

.rapport-area img {
  width: 100%;
  display: block;
  border-color: #ffffff30 !important;
  /* Bordure blanche */
  border-radius: 8px;
   max-height: 80%;
   object-fit: contain; 
}

.rapport-area .rapport-area-category {
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-size: 16px;
}

.rapport-area .rapport-area-title {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 32px;
}

.tuto-description {
  width: 93%;
  height: 30%;
  border-color: white !important;
  /* Bordure blanche */
  border-style: solid !important;
  border-radius: 8px;
  border: 3px;
  color: var(--color-secondary);
  text-decoration: solid;
  box-shadow: 0px 3px 6px 11px rgb(0 0 0 / 26%);
  margin-top: 2%;
  overflow-y: auto;
}

.profile_images_container {
  width: 4vw;
  height: 4vw;
}

.account-input-file-area {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid var(--color-very-light-grey);
  cursor: pointer;
  transition: 0.15s;
}

.account-input-file-area:hover {
  background-color: var(--color-primary-very-low-opacity);
}

.account-input-file-area img {
  max-width: 30%;
  max-height: 40px;
}

.account-input-file-area span {
  color: var(--color-dark-grey);
  font-size: 14px;
}

.profilPage {
  display: flex;
  flex-direction: column;
  max-height: 100vh;
  padding: 32px;
  width: 400px;
  gap: 2vh;
  scrollbar-width: none;
  overflow-y: auto;
  box-sizing: border-box;
  overflow-x: hidden;
  scrollbar-width: thin;
  direction: rtl;
  background: #fff;
  color: var(--profile-color);
}

.profilPage * {
  direction: ltr;
}

.profile-container {
  width: 100%;
  --color-greenbutton: root;
  /* Assure que le container prend toute la largeur */
}

.profile-container .input-group {
  margin-bottom: 2vh;
  width: 100%;
  /* Prend toute la largeur disponible */
  display: flex;
  flex-direction: column;
  gap: 1vh;
}

.input-wrapper {
  position: relative;
  width: 100%;
  /* Assure que l'input wrapper prend toute la largeur disponible */
}

/* input {
  width: 100%;
  padding: 3vh;
  font-size: 16px;
  border-radius: 15px;
  border: none;
  background-color: var(--inputBackground);
  color: #000000;
  outline: none;
  box-sizing: border-box;
  border: var(--borderProfile);
} */

.forgot-password-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.fa-solid.fa-pen,
.fa-regular.fa-copy,
.fa-regular.fa-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: black;
  transition: color 0.3s ease;
  font-size: 16px;
  /* Taille de l'icône */
}

.fa-solid.fa-pen {
  right: 20px;
}

.fa-regular.fa-copy {
  right: 3vw;
}

.fa-regular.fa-eye {
  right: 3vw;
}

.fa-solid.fa-pen:hover,
.fa-regular.fa-copy:hover,
.fa-regular.fa-eye:hover {
  color: var(--hoverfa);
}

.icon-close {
  text-align: center;
  margin-top: 2vh;
  cursor: pointer;
}

.fa-light.fa-x {
  font-size: 16px;
  background-color: white;
  border-radius: 50%;
  padding: 1vh;
  border: 1px solid black;
}

.profile-input {
  background-color: var(--color-primary-very-low-opacity) !important;
}
/* Style de l'input en mode édition */
.editable {
  background: none !important;
}

/* Style du bouton "OK" */
.ok-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background-color: rgba(30, 47, 151, 0.5);
  color: black;
  border: none;
  padding: 0.5vh 1vh;
  font-size: 16px;
  border-radius: 5px;
  display: none;
  /* Masqué par défaut */
}

.btn-ok {
  display: flex;
  gap: 12px;
  align-items: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
}

/* Afficher le bouton "OK" lorsque l'input est modifié */
input.editable ~ .ok-button {
  display: block;
}

/* Masquer l'icône de modification lorsque l'input est en mode édition */
input.editable ~ .fa-solid.fa-pen {
  display: none;
}

/* Masquer l'icône de modification lorsqu'elle est remplacée par le bouton "OK" */
.ok-button.shown {
  display: block;
}

.profile-img {
  display: block;
  max-width: 100px;
  max-height: 40px;
  object-fit: contain;
  margin-bottom: 12px;
}

.img_profile {
  width: 100%;
  height: 100%;
}

.refresh-img {
  position: absolute;
  top: 30%;
  left: 30%;
  width: 40px;
  /* Taille de la deuxième image */
  height: 40px;
  /* Ajustez cette valeur pour redimensionner l'image */
  opacity: 0;
  /* Caché par défaut */
  transition: opacity 0.3s ease;
  /* Transition douce pour l'affichage */
}

.profil__image:hover .refresh-img {
  opacity: 1;
  /* Affiche l'image au survol */
}

.new-password-fields {
  margin-top: 10px;
  flex-direction: column;
  gap: 8px;
  display: none;
  border: 1px solid var(--color-very-light-grey);
  border-radius: 8px;
  padding: 16px;
  transition: all 0.3s ease;
  position: relative;
  color: var(--color-black);
  /* Position relative pour positionner la flèche */
}

/* Pseudo-élément pour ajouter une flèche au-dessus de la div */
.new-password-fields::before {
  content: "";
  /* Nécessaire pour le pseudo-élément */
  position: absolute;
  top: -19px;
  /* Positionne la flèche au-dessus de la div */
  left: 30%;
  /* Décalage horizontal de 30% de la largeur de la div */
  transform: translateX(-50%);
  /* Centre la flèche horizontalement */
  border-width: 10px;
  /* Taille de la flèche */
  border-style: solid;
  /* Type de bordure */
  border-color: transparent transparent var(--color-primary) transparent;
  /* Couleur de la flèche (bas de la flèche) */
}

.password-button {
  width: 100%;
  height: calc(var(--button-height));
  border-color: var(--color-orange);
  border-width: 1px;
  border-style: solid;
  border-radius: var(--button-border-radius);
  background: var(--color-orange);
  /* font-family: "Roboto"; */
  font-size: var(--button-font-size);
  font-weight: 500;
  font-style: normal;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  /* Transition douce pour les changements de couleur et ombre */
}

.password-button:hover {
  background-color: rgb(255, 0, 0);
  /* Couleur de fond lors du survol */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  /* Ombre portée plus prononcée lors du survol */
}

.password-button:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  /* Ombre portée réduite lors du clic */
  transform: translateY(2px);
  /* Effet de décalage pour simuler un appui */
}

#password-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}



.copy-tag {
  background-color: #323632;
  /* Vert pour indiquer le succès */
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9em;
  margin-top: 2px;
  /* Ajoute un espace au-dessus du message */
  display: inline-block;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  /* Positionnement relatif à l'élément parent */
  top: 80%;
  /* Position sous le bouton */
  left: 90%;
  transform: translateX(-50%);
  /* Centrer horizontalement */
  white-space: nowrap;
}

.copy-tag.fade-out {
  opacity: 0;
}

.mobileContainer {
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  text-align: center;
  background-color: #1e3a8a;
  color: white;
  gap: 39px;
}

.css-a4tsjg {
  margin-top: 0 !important;
}

a.css-lll1vm-MuiButtonBase-root-MuiButton-root {
  background-color: #9a5421  !important; /* couleur de fond */
  color: white !important;             /* couleur du texte */
}
.MuiDataGrid-root {
  background-color: #f9f9f9; 
}


.custom-inset{
  inset: -3px !important;
}

.pdf-viewer {
  width: 90vw;
  max-width: 1000px;
  margin: 2rem auto;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.pdf-loading {
  text-align: center;
  padding: 1rem;
  color: #666;
}

.pdf-error {
  color: #ef4444;
  text-align: center;
  padding: 1rem;
}
.pdf-outer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color:var(--color-primary);
  padding-top: 2rem;
  padding-bottom: 2rem;
  max-height: 80vh;
}

.pdf-logo-bar {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
}

.pdf-logo {
  height: 40px;
  object-fit: contain;
}

.pdf-wrapper {
  background-color: #fff;
  width: 90vw;
  max-width: 1000px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pdf-scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.pdf-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.pdf-btn {
  padding: 0.5rem 1.5rem;
  background-color: #1e2f97;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
}

.pdf-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.pdf-page-info {
  color: #666;
    font-size: 1rem;

}

.react-pdf__Document {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.react-pdf__Page {
  margin: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  overflow: hidden;
}



.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.page {
  height: 96vh;
  padding-top: 64px; /* For fixed navbar */
  display: flex;
  flex-direction: column;
  background-color: var(--color-primary);
}

.container_pdf {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.pdf-header {
  position: absolute;
  top: 16px;
  left: 24px;
  z-index: 10;
}

.logo_pdf {
  height: 8vh;
  object-fit: contain;
}
