﻿/******old CSS code **********/
 /*style.css*/
:root {
  --primary-color: #4A90E2;
  --primary-dark: #357ABD;
  --secondary-color: #666666;
  --text-color: #333;
  --text-light: #666;
  --border-color: #ddd;
  --success-color: #28a745;
  --error-color: #dc3545;
  --white: #fff;
  --chat-ai-bg: #e9e9eb;
  --chat-user-bg: #4A90E2;
}

.app-header{
  background-color: #4A90E2;
  color: white;
  display: none;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.2s;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#messagesConversationsList {
  z-index: 1000;
  overflow-y: auto;
  height: 60vh;
  }
/*
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--secondary-color);
  
  min-height: 100vh;
} */



/* Upload Section Styles */
 /* Upload Section Styles */
 .projet-upload-section {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: min(100%, 1200px);
  margin: 0 auto;
  box-sizing: border-box;
}

/* .section-title {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
} */

.projet-file-name {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  word-break: break-all;
}

.projet-upload-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

/* .form-group {
  position: relative;
} */

.projet-file-input {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  position: absolute;
  z-index: -1;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

/* Drop Zone Styles */
.drop-zone {
  width: 100%;
  height: 432px;
  min-height: 200px;
  padding: 2rem;
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 1.5rem 0;
  background-color: var(--white);
  position: relative;
  box-sizing: border-box;
}

.drop-zone:hover {
  border-color: var(--primary-color);
  background-color: rgba(74, 144, 226, 0.05);
}

.drop-zone.dragover {
  background-color: rgba(74, 144, 226, 0.1);
  border-color: var(--primary-color);
  transform: scale(1.01);
}

.drop-zone.file-loaded {
  border-color: var(--success-color);
  background-color: rgba(40, 167, 69, 0.05);
}

.drop-zone__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.drop-zone__icon {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.drop-zone__prompt {
  font-size: 1.2rem;
  color: var(--text-color);
  font-weight: 500;
}

.drop-zone__info {
  font-size: 0.9rem;
  color: var(--text-light);
}

.projet-file-name {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  word-break: break-all;
  transition: all 0.3s ease;
}

.projet-file-name.file-selected {
  color: var(--success-color);
  font-weight: 500;
}

.projet-file-name.error {
  color: var(--error-color);
}

.projet-file-input {
  display: none;
}

.projet-output-container {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: var(--white);
  border-radius: 4px;
  border: 1px solid var(--border-color);
  min-height: 100px;
  display: none;
}
.assistant-container{
  /* width: 60vw; */
  position: fixed;
    bottom:148px;
  right:40px;
  z-index: 1000;
}
/* Chat Container Styles */
.chat-container {
  background-color: var(--white);
  border-radius: 30px 30px 0px 30px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 1.3rem;
  /* display: none;  */
  flex-direction: column;
  overflow: hidden;
  position: relative;
  height: 52vh;
  border: 2px solid #418bce;
  /* width: 50%;
  margin-top: 5%;
  margin-left: 25%;  */
}

.chat-resize-handle {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border: 1px solid #c7d9ee;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: nwse-resize;
  box-shadow: 0 2px 8px rgba(25, 57, 99, 0.12);
  color: #356fae;
}

.chat-resize-handle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-resize-handle:hover {
  background: #eef5fd;
  border-color: #8cb5dd;
}

.chat-no{
  height: 60vh;
  color: var(--text-light);
}
.chat-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
}

.chatbox {
  flex-grow: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  padding: 0.75rem 1.25rem;
  border-radius: 18px;
  line-height: 1.5;
  max-width: 80%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message p {
  margin: 0;
}

.message p + p,
.message p + ul,
.message p + ol,
.message ul + p,
.message ol + p,
.message ul + ul,
.message ol + ol,
.message ul + ol,
.message ol + ul {
  margin-top: 0.7rem;
}

.message ul,
.message ol {
  margin: 0;
  padding-left: 1.35rem;
}

.message ol {
  list-style: decimal outside;
}

.message ul {
  list-style: disc outside;
}

.message li::marker {
  color: currentColor;
}

.message .chat-list-index {
  display: inline-block;
  min-width: 1.6rem;
  font-weight: 700;
}

.message li + li {
  margin-top: 0.2rem;
}

.message code {
  display: inline-block;
  padding: 0.05rem 0.35rem;
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.08);
  font-family: Consolas, Monaco, monospace;
  font-size: 0.92em;
}

.message .assistant-suggested-material {
  font-weight: 600;
  color: #1f3f8f;
}

.chat-color-ball {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 4px -2px 4px;
}

.user-message {
  background-color: var(--chat-user-bg);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.user-message,
.user-message p,
.user-message li,
.user-message strong,
.user-message span,
.user-message code {
  color: #ffffff;
}

.ai-message {
  background-color: var(--chat-ai-bg);
  color: var(--text-color);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  max-width: min(100%, 38rem);
}

.chat-input-area {
  display: flex;
  padding: 1rem;
  background-color: #f9f9f9;
  border-top: 1px solid var(--border-color);
}
#userInput {
  flex-grow: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  margin-right: 10px;
  font-size: 1em;
}
#userInput:focus {
  outline: none;
  border-color: #4A90E2;
}
#sendButton{
  /* background-color: #4A90E2; */
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.2s;
}


.chat-input {
  flex-grow: 1;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  margin-right: 0.75rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.chat-input:focus {
  border-color: var(--primary-color);
}

#chatAssistant .chat-input-area {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 16px;
}

#chatAssistant .chat-input-area .w-100 {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

#chatAssistant #userInput {
  width: 100%;
  border-radius: 16px;
  padding: 16px 18px;
  min-height: 86px;
  max-height: 190px;
  margin-right: 0;
  resize: none;
  line-height: 1.45;
}

#chatAssistant #sendButton {
  flex-shrink: 0;
  height: 72px;
  width: 72px;
  padding: 0;
  border-radius: 16px;
}

@media (max-width: 600px) {
  #chatAssistant {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-width: 0;
  }
}

.btn-send {
  background-color: var(--primary-color);
  color: var(--white);
  min-width: 80px;
}

.btn-send:hover {
  background-color: var(--primary-dark);
}

/* Scrollbar Styles */
.chatbox::-webkit-scrollbar {
  width: 8px;
}

.chatbox::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.chatbox::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.chatbox::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}
/* Progress Bar Styles */
.progress-bar-container {
width: 100%;
height: 20px;
background-color: #f0f0f0;
border-radius: 10px;
margin: 1rem 0;
overflow: hidden;
position: relative;
}

.progress-bar {
height: 100%;
background: linear-gradient(90deg, #4A90E2, #6BB9F0);
border-radius: 10px;
transition: width 0.3s ease;
position: relative;
}

.progress-text {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
font-size: 12px;
color: #333;
font-weight: bold;
text-shadow: 0 0 2px rgba(255, 255, 255, 0.7);
}

/* Animation for progress bar */
@keyframes progressAnimation {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

.progress-bar.uploading {
background: linear-gradient(90deg, #4A90E2, #6BB9F0, #4A90E2);
background-size: 200% 100%;
animation: progressAnimation 2s linear infinite;
}

.progress-bar-container {
width: 100%;
height: 20px;
background-color: #f0f0f0;
border-radius: 10px;
margin: 1rem 0;
overflow: hidden;
position: relative;
}

.progress-bar {
height: 100%;
background: linear-gradient(90deg, #4A90E2, #6BB9F0);
border-radius: 10px;
transition: width 0.3s ease;
position: relative;
}

.progress-text {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
font-size: 12px;
color: #333;
font-weight: bold;
text-shadow: 0 0 2px rgba(255, 255, 255, 0.7);
}

/* Add these styles to your existing style.css */

/* Header Styles */
.main-header {
background-color: #ffffff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 1rem 0;
position: sticky;
top: 0;
z-index: 1000;
}

.header-content {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}

.logo img {
height: 40px;
width: auto;
}

.add-project-btn {
background-color: var(--primary-color);
color: white;
border: none;
padding: 0.75rem 1.5rem;
border-radius: 4px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.3s ease;
margin: 0 1rem;
}

.add-project-btn:hover {
background-color: var(--primary-dark);
}

/* Footer Styles */
.main-footer {
background-color: #f8f9fa;
padding: 1.5rem 0;
margin-top: 2rem;
border-top: 1px solid var(--border-color);
}

.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
flex-wrap: wrap;
}

.footer-item {
display: flex;
align-items: center;
gap: 0.5rem;
margin: 0.5rem 0;
font-size: 0.9rem;
color: var(--text-light);
}

.footer-logo {
height: 30px;
width: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
.header-content {
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.add-project-btn {
  margin: 0.5rem 0;
  order: 3;
  width: 100%;
}

.footer-content {
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer-item {
  justify-content: center;
}
}

.tlcharger-le-fichier {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.1px;
  line-height: 20px;
  font-weight: 500;
  font-family:'Montserrat', sans-serif;
  color: #625b71;
  text-align: left;
}


/******old CSS code **********/

.nouveau-projet {
  width: 303px;
  position: relative;
  font-size: 32px;
  letter-spacing: 3px;
  line-height: 28px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  color: #666;
  text-align: left;
  display: flex;
  align-items: center;
  height: 63px;
}


/* stepper code */
.projet-stepper {
  display: flex;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  margin: 20px auto;
  max-width: 1100px;
  justify-content: space-around;
}

.projet-step {
  flex: 1;
  min-height: 74px;
  padding: 10px 0 10px 30px;
  background: #D2D6DC;
  color: #333;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
}

.projet-step .projet-step-text {
  width: 100%;
  position: relative;
  font-size: 14px;
  line-height: 150%;
  font-weight: 500;
  /* font-family: Inter; */
  color: #263238;
  text-align: left;
  display: inline-block;

}

.projet-step .projet-step-title {
  font-weight: 600;
  font-size: 14px;
}

.projet-step .projet-step-subtitle {
  width: 100%;
  position: relative;
  font-size: 12px;
  line-height: 150%;
  font-family: 'Montserrat', sans-serif;
  color: #263238;
  text-align: left;
  display: inline-block;
}

.projet-step.active {
  background: #007bff;
  color: #fff;
}

.projet-step.active .projet-step-subtitle {
  color: #ffffff;
}
.projet-step.active .projet-step-text {
  color: #ffffff;
}

.projet-step.is-complete {
  background: #007bff;
  color: #fff;
}

.projet-step.is-complete .projet-step-text {
  color: #ffffff;
}

.projet-step.is-complete .projet-step-subtitle {
  color: #ffffff;
}

.projet-step.is-complete .projet-step-title::before {
  content: "";
  display: none;
}

.projet-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -24px;
  width: 48px;
  height: 100%;
  background: inherit;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 2;
}

.projet-step:first-child {
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}

.projet-step:last-child {
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20px 50%);
}

.projet-step:last-child::after {
  display: none;
}

@media (max-width: 991px) {
  .projet-stepper {
    grid-template-columns: 1fr;
    gap: 10px;
    border: 0;
    background: transparent;
  }

  .projet-step {
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    min-height: 68px;
    padding: 14px 18px;
  }

  .projet-step:not(:last-child)::after {
    display: none;
  }
}


/* Flèche active à gauche 
.step.active:not(:first-child)::before {
border-right-color: #0084ff;
}
*/

.btn-suivant{  
  width: 221px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
  height: 58px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 12px;
  gap: 8px;
  text-align: left;
  font-size: 16px;
  color: #f5f5f5;
  /* font-family: Inter; */
  }
  
  .btn-retour{
  width: 150px;
  position: relative;
  border-radius: 8px;
  background-color: rgba(143, 184, 245, 0);
  border: 0.5px solid #fff;
  box-sizing: border-box;
  height: 58px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 12px;
  gap: 8px;
  text-align: left;
  font-size: 16px;
  color: #666;
  /* font-family: Inter; */
  }
  
  .project-form-container {
    max-width: 1200px;
    margin: auto;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .legacy-project-form {
    max-width: 1000px;
    background: #f6f8fb;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  }
  .legacy-panel {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
  }
  .legacy-panel-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 18px;
  }
  .legacy-panel-title {
    font-weight: 600;
    font-size: 18px;
    color: #101828;
    letter-spacing: 0.2px;
  }
  .legacy-tabs {
    display: flex;
    gap: 8px;
    padding: 10px 12px 0;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
  }
  .legacy-tab {
    border: 1px solid #cbd5e1;
    border-bottom: none;
    background: #f1f5f9;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    color: #475467;
    border-radius: 8px 8px 0 0;
  }
  .legacy-tab.active {
    background: #fff;
    font-weight: 600;
    color: #1d2939;
  }
  .legacy-panel-body {
    padding: 20px;
    background: #fff;
  }
  .legacy-section-title {
    font-weight: 600;
    font-size: 13px;
    color: #344054;
    margin: 18px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eaecf0;
  }
  .legacy-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
  }
  .legacy-row-2 {
    grid-template-columns: 160px minmax(0, 1fr) 160px minmax(0, 1fr);
  }
  .legacy-label {
    font-size: 13px;
    color: #475467;
    margin: 0;
  }
  .legacy-control {
    height: 36px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    background: #fff;
  }
  .legacy-control:focus {
    box-shadow: none;
    border-color: #84caff;
    box-shadow: 0 0 0 3px rgba(132, 202, 255, 0.35);
  }
  .legacy-textarea {
    height: auto;
    min-height: 120px;
  }
  .legacy-field {
    position: relative;
  }
  .legacy-spinner {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }
  .legacy-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
  }
  .legacy-list {
    max-height: 120px;
    overflow-y: auto;
  }
  .legacy-actions {
    margin-top: 16px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
  }
  .legacy-tab-pane {
    display: none;
  }
  .legacy-tab-pane.active {
    display: block;
  }
  .legacy-intervenants {
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    padding: 10px;
    background: #f8fafc;
    border-radius: 10px;
  }
  .legacy-intervenant-card {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
  }
  .legacy-intervenant-card:nth-child(even) {
    background: #f8fafc;
  }
  .legacy-intervenant-index {
    font-weight: 600;
    font-size: 12px;
    color: #2b2b2b;
  }
  .legacy-intervenant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 90px;
    gap: 10px;
    align-items: start;
  }
  .legacy-intervenant-logo {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #667085;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px;
  }
  .legacy-intervenant-grid .legacy-row {
    grid-template-columns: 110px 1fr;
    margin-bottom: 6px;
  }
  .legacy-intervenant-left,
  .legacy-intervenant-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .legacy-intervenant-role {
    font-weight: 600;
    color: #344054;
    margin: 2px 0 6px;
    min-height: 36px;
    display: flex;
    align-items: center;
    padding-left: 110px;
  }
  @media (max-width: 992px) {
    .legacy-row,
    .legacy-row-2,
    .legacy-intervenant-grid .legacy-row {
      grid-template-columns: 1fr;
    }
    .legacy-intervenant-role {
      padding-left: 0;
    }
    .legacy-intervenant-grid {
      grid-template-columns: 1fr;
    }
    .legacy-intervenant-logo {
      width: 120px;
    }
  }
  .projet-form{
    height: 100%;
    position: relative;
  }
  /* .fiche-du-projet {
      position: relative;
      font-weight: 600;
  }
  .veuillez-saisir-les {
      position: relative;
      font-size: 18px;
      line-height: 125.52%;
      color: #172640;
      text-align: center;
  }
  .fiche-du-projet-parent {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 8px;
  }
  
  .frame-wrapper {
      width: 300px;
      position: relative;
      border-radius: 6px;
      background-color: #fff;
      border: 1px solid #c5cad1;
      box-sizing: border-box;
      height: 52px;
      overflow: hidden;
      flex-shrink: 0;
  }
  .frame-wrapper-single {
      width: 616px;
      position: relative;
      border-radius: 6px;
      background-color: #fff;
      border: 1px solid #c5cad1;
      box-sizing: border-box;
      height: 52px;
      overflow: hidden;
      flex-shrink: 0;
  }
  .frame-container {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 16px;
          width: 616px;
  
  }
  
  .one-frame-container {
      width: 616px;
      position: relative;
      border-radius: 8px;
      background-color: #fff;
      border: 1px solid #c5cad1;
      box-sizing: border-box;
      height: 52px;
      overflow: hidden;
      flex-shrink: 0;
      color: #0b1629;
  }
  .radiobutton-icon {
      width: 24px;
      position: relative;
      height: 24px;
  }
  
  .frame-parent1 {
      display: none;
      flex-direction: row;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 16px;
      color: #354156;
  }
  .description-wrapper {
      position: absolute;
      top: calc(50% - 37.5px);
      left: 16px;
      line-height: 148%;
      font-weight: 500;
  }
  .submit-your-order {
      position: absolute;
      top: 43px;
      left: 16px;
      font-size: 14px;
      line-height: 148%;
      color: #a1a8b4;
      display: flex;
      align-items: center;
      width: 584px;
  }
  .description-wrapper {
      position: absolute;
      top: 0px;
      left: 0px;
      border-radius: 8px;
      background-color: #fff;
      border: 1px solid #c5cad1;
      box-sizing: border-box;
      width: 616px;
      height: 103px;
      overflow: hidden;
  }
  .group-div {
      width: 616px;
      position: relative;
      height: 103px;
  }
  .frame-group {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 16px;
      font-size: 16px;
      color: #576675;
  }
  .frame-parent {
      position: relative;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 32px;
      text-align: left;
      font-size: 28px;
      color: #1c244b;
      font-family: Inter;
  } */
  

/*****page index 3*****/
      /* :root {
          --primary-blue: #418bce;
          --primary-green: #349d22;
          --primary-red: #ff2b48;
          --text-white: #ffffff;
          --spacing-unit: 16px;
          --border-radius: 100px;
          --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      }
      
      * {
          box-sizing: border-box;
          margin: 0;
          padding: 0;
      }
      
      body {
          font-family: 'Roboto', sans-serif;
          line-height: 1.5;
          color: #333;
          padding: 16px;
          background-color: #f5f7fa;
      }
       */
      
      /* Button Grid Layout */
      .button-grid {
        display: grid;
       
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 16px;
        max-width: 1200px;
        justify-items: center;
        margin: 0 auto;
    }
    
    .option-card {
        display: flex;
        flex-direction: column;
        width: 300px;
        align-items: center;
        justify-content: center;
        padding: 48px 32px;
        border-radius:  100px;;
        color: #ffffff;
        text-align: center;
        height: 100%;
        min-height: 350px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }
    
    .option-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--box-shadow);
    }
    /* Add to your style.css or in a <style> block */
.option-card.selected {
border: 2px solid #007bff;
box-shadow: 0 0 8px #007bff44;
}
    .option-card--blue {
        background-color: #418bce;
    }
    
    .option-card--green {
        background-color: #349d22;
    }
    
    .option-card--red {
        background-color:  #ff2b48;
    }
    
    .option-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .option-title {
        font-size: 1.75rem;
        font-weight: 500;
        margin-bottom: 16px;
        line-height: 1.2;
    }
    
    .option-description {
        font-size: 1.3rem;
        color: #f0f8ff;
        line-height: 1.5;
        max-width: 300px;
    }
    
    /* Responsive Adjustments */
    @media (max-width: 768px) {
        
        .option-card {
            padding: 32px 24px;
            min-height: 300px;
        }
        
        .option-title {
            font-size: 1.5rem;
        }
    }
    
    @media (max-width: 480px) {
        
        .option-card {
            min-height: 250px;
            padding: 24px 16px;
        }
        
        .option-icon {
            width: 48px;
            height: 48px;
        }
    }


    /***** floadt button *****/
    .float-button {
        width: 101px;
        height: 101px;
        display: flex;
        justify-content: center;
        margin-bottom: 50px;
        /* position:fixed; */
        bottom:40px;
        right:40px;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        border-radius: 50%;
        background-color: #acd0f0;
        height: 101px;
    }
    
    .image-2-icon {
        width: 46px;
        object-fit: contain;
    }
    

/***************** table Code ******************/
.table-container {
  width: 935px;
  margin: 20px auto;
  background: white;
  box-shadow: 0px 10px 60px rgba(225, 236, 248, 0.5);
  border-radius: 30px;
  padding: 20px;

}

.table-container h2 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 3px;
  color: #292D32;
  margin-bottom: 20px;
}

.projet-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.projet-table thead {
  background: transparent;
  /* color: #B5B7C0; */
  font-weight: 500;
}

.projet-table thead th {
  padding: 12px 8px;
  font-size: 14px;
}

.projet-table tbody td {
  padding: 12px 8px;
  font-size: 14px;
  color: #292D32;
  border-top: 1px solid #eee;
}

.table-footer {
  margin-top: 15px;
  font-size: 14px;
  color: #B5B7C0;
  font-weight: 500;
}
  
  .projet-teabble-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
  }


  .projet-teabble {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
  }

  .projet-teabble-th, td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #eee;
  }

  .projet-teabble-th {
    background-color: #f0f2f5;
    font-weight: 600;
  }

  .projet-teabble-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
  }

  .projet-teabble-tag.mur {
    background-color: #c1f5e8;
  }
  .projet-teabble-tag.poutre {
    background-color: #7fb7ec;
  }
  .projet-teabble-tag.fenêtre {
    background-color: #32c69a;
  }
  .projet-teabble-tag.dalle {
    background-color: #60b7c7;
  }
  .projet-teabble-tag.poteau {
    background-color: #d7c2fd;
  }

  .projet-teabble-tag.porte {
    background-color: #ac99b8;
  }
  .projet-teabble-tag.toit {
    background-color: #f0cdc2;
  }
  .projet-teabble-tag.escalier {
    background-color: #dbafd0;
  }
  .projet-teabble-tag.garde-corps {
    background-color: #d3a950;
  }

  .projet-teabble-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    /*margin-top: -10px;
    margin-left: 72.7%;*/
  }

  .projet-teabble-pagination button {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #eee;
  }

  .projet-teabble-pagination .active {
    background-color: #007bff;
    color: white;
  }

  /* .footer-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  } */

  .projet-teabble-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
  }

  /* .btn.back {
    background: #111;
    color: white;
  }

  .btn.save {
    background: #28a745;
    color: white;
  } */

  @media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
      display: block;
    }

    th {
      display: none;
    }

    td {
      padding: 10px;
      position: relative;
      padding-left: 50%;
      border: none;
      border-bottom: 1px solid #eee;
    }

    td::before {
      position: absolute;
      top: 10px;
      left: 10px;
      width: 45%;
      font-weight: bold;
      white-space: nowrap;
    }

    td:nth-child(1)::before { content: "ID"; }
    td:nth-child(2)::before { content: "Désignation"; }
    td:nth-child(3)::before { content: "Anciens matériaux"; }
    td:nth-child(4)::before { content: "Matériaux"; }
    td:nth-child(5)::before { content: "CFC"; }
    td:nth-child(6)::before { content: "Type"; }
  }
/***************** table Code ******************/
.projet-tableBody tr:hover {
  background-color: #f0f9ff;
  cursor: pointer;
}
.projet-tableBody tr.projet-row-selected,
.projet-tableBodyFinalSection tr.projet-row-selected {
  background-color: #e6f2ff;
}
.projet-tableBody tr.projet-row-selected:hover,
.projet-tableBodyFinalSection tr.projet-row-selected:hover {
  background-color: #dbeeff;
}
.projet-table-scrollable {
  max-height: 800px; 
  overflow-y: auto;
} 
.visionaisefiche{
  
  margin-top: 14%;

}
.projet-content-parent-button-next-viewer {
  display: flex;
  flex-direction: row; /* Aligne les boutons en vertical */
  gap: 14px; /* Espacement vertical entre les boutons */
}
.projet-content-parent-button-next-viewer2 {
  display: flex;
  flex-direction: column; /* Aligne les boutons en vertical */
  gap: 10px; /* Espacement vertical entre les boutons */
}

.projet-nav-buttons {
  position: relative;
  letter-spacing: 0.15px;
  color: white;
}

/* .content {
  align-self: stretch;
  border-radius: 20px;
  background-color: #292d32;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
} */
/* .content1 {
  align-self: stretch;
  border-radius: 20px;
  background-color: #418bce;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
} */
.projet-nav-buttons {
  width: 211px;
  border-radius: 50px;
  white-space: nowrap;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.projet-nav-buttons-Elements {
  background-color: #292D32;
  margin-bottom: 5%;
}
.projet-nav-buttons-Fiche-Projet {
  background-color: #418BCE;
  margin-bottom: 5%;
}
.projet-nav-buttons-Bilan-Carbone {
  background-color: #179004;
  margin-bottom: 5%;
}
.projet-nav-buttons-estimation-financiere,\n.projet-nav-buttons-estimation-financiere {
  background-color: #1A3266;
  margin-bottom: 5%;
}
.projet-nav-buttons-metres,\n.projet-nav-buttons-metres {
  background-color: #FF2B48;
  margin-bottom: 5%;
}
/*****/

.projet-nav-buttons-tickets {
  background-color: #292D32;
  margin-bottom: 5%;
}
.projet-nav-buttons-Commercial {
  background-color: #1A3266;
  margin-bottom: 5%;
}
.projet-nav-buttons-Projets {
  background-color:  #418BCE;
  margin-bottom: 5%;
}
.projet-nav-buttons-Fournisseurs{
  background-color: #FF2B48;
  margin-bottom: 5%;
}
.projet-nav-buttons-Remploi {
  background-color: #179004;
  margin-bottom: 5%;
}
.projet-nav-buttons-Divers {
  background-color: #999999;
  margin-bottom: 5%;
}

/****/
.state-layer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  gap: 8px;
}
/* .button {
  width: 150px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.state-layer3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
}
.content3 {
  border-radius: 20px;
  background-color: #1a3266;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.button1 {
  align-self: stretch;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.label4 {
  width: 200px;
  position: relative;
  letter-spacing: 0.15px;
  line-height: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.content4 {
  width: 203px;
  border-radius: 20px;
  background-color: #ff2b48;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.button2 {
  align-self: stretch;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
} */
/****************projet******************/
.support-filter-items-bar {
  display: flex;
  align-items: center;
  gap: 16px; /* espace entre les éléments */
  flex-wrap: wrap; /* pour s'adapter aux petits écrans */
  margin-bottom: 20px;
}

.support-recherche-input {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 20px;
  background-color: #fff;
}

.support-recherche-input img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.support-recherche-input input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 150px;
}

.filter-label {
  margin-right: 8px;
  font-weight: bold;
  font-size: 14px;
}

.projet-tablefilterType {
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.iconlylightcalendar {
  width: 19px;
  position: relative;
  height: 19px;
}

.input-content {
  align-self: stretch;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.iconlylightcalendar-parent {
  align-self: stretch;
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.chevron-down-1-icon {
  width: 17.4px;
  position: relative;
  height: 13.9px;
  overflow: hidden;
  flex-shrink: 0;
}
.support-filtrer-by {
  width: 169px;
  border-radius: 10px;
  background-color: #f9fbff;
  height: 29px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 12px;
  box-sizing: border-box;
  gap: 7px;
  color: #7e7e7e;
}
.support-filter-items-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  font-size: 12px;
  color: #b5b7c0;
  font-family: Poppins;
}


.support-ticket-statues {
  width: 100%;
  border-radius: 10px;
  background-color: #292D32;
  height: 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0px 26px;
  box-sizing: border-box;
}
.support-ticket-statues.repondu {
  background-color: #0D5F00;
}
.support-ticket-statues.resolu {
  background-color: #3D517D;
}
.support-ticket-statues.ferme {
  background-color: #CED4DA;
}
.support-ticket-statues.en-cours {
  background-color: #94C6F4;
}

.support-tags-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 12px;
  color: #fff;

  margin-bottom: 5px;
}

.support-ticket-title {
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  height: 35px;
}
.support-ticket-date {
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 24px;
  font-weight: 500;
  color: #999;
  display: flex;
  align-items: center;
  height: 35px;
}
.support-ticket-preview-response {
  letter-spacing: 0.04em;
  line-height: 140%;

  display: flex;
  align-items: center;
  height: 100%;
}
.support-tiket-statues {
    /* margin-top: 20%; */
    border-radius: 10px;
    background-color: #ced4da;
    /* width: 88px; */
    height: 22px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0px 26px;
    box-sizing: border-box;
    font-size: 12px;
    color: #1a3266;

}

.support-ticket-div {
  width: 70%;

}
.support-tiket-category {
       /* margin-top: -62px; */
    border-radius: 0px 0px 15px 15px;
    background-color: #1a3266;
    width: 122px;
    height: 27px;
    display: flex
;
    /* flex-direction: row; */
    align-items: center;
    justify-content: center;
    /* padding: 2px 22px; */
    /* box-sizing: border-box; */
    color: #fff;
    /* font-family: "Open Sans";*/
}
.support-tiket-category.Projets {
  background-color: #418BCE;
}
.support-tiket-category.Commercial {
  background-color: #1A3266;
}
.support-tiket-category.Fournisseurs {
  background-color: #db3c3c;
}
.support-tiket-category.Réemploi,
.support-tiket-category.Reemploi {
  background-color: #2e9e70;
}
.support-tiket-category.Divers {
  background-color: #999999;
}

.support-ticket {

  border-radius: 20px;
  background-color: #fff;
  border: 1px solid #ced4da;
  /* box-sizing: border-box; */
  width: 100%;
  /* height: 100%; */
  margin-bottom: 10px;
  /* display: flex
; */
  /* flex-direction: column; */
  /* align-items: flex-start; */
  justify-content: space-between;
  /* gap: 10px; */
  margin: 6px;
}
.support-ticket-response {
  padding: 15px;
  border-radius: 20px;
  background-color: #e9eef3;
  border: 1px solid #f0f8ff;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin-left: 1%;
  margin-bottom: 10px;
}

.support-ticket-title {
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  height: 35px;
}
.support-ticket-date {
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 24px;
  font-weight: 500;
  color: #999;
  display: flex;
  align-items: center;
  height: 35px;
}
.support-ticket-preview {
  letter-spacing: 0.04em;
  line-height: 140%;
 
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

/**********support editor *********/
.support-editor-container {
    margin-top: 30px;
  width: 100%;
  border-radius: 20px;
  background-color: #fff;
  /* border: 1px solid #ced4da; */
  box-sizing: border-box;
  /* height: 356px; */
}
.support-editor-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}

.support-close-button,
.support-resolve-button {
  flex: 1;
  width: 282px;
  position: relative;
  border-radius: 35px;
  background-color: #3d517d;
  border: 0.5px solid #fff;
  box-sizing: border-box;
  height: 40px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 12px;
  gap: 8px;
  text-align: left;
  font-size: 16px;
  color: #f5f5f5;
}
.support-resolve-button{
  background-color: #179004;
}
.support-answer-button {
line-height: 100%;

 width: 136px;
position: relative;
border-radius: 35px;
background-color: #418bce;
border: 0.5px solid #fff;
box-sizing: border-box;
height: 40px;
overflow: hidden;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding: 12px;
gap: 8px;
text-align: left;
font-size: 16px;
color: #f5f5f5;

}

#support-editor {
  min-height: 206px;
  border: 1px solid #ced4da;
  padding: 10px;
  background-color: white;
  overflow-y: auto;
}
.support-editor-toolbar {
  margin-bottom: 10px;
  border: 1px solid #ced4da;
  width: 100%;
  display: flex;
  flex-direction: row;
}

.support-editor-footer{
    display: flex;
  flex-direction: row;
  /* align-items: end; */
  justify-content: flex-end;
}

#support-pagination-button{
border-radius: 4px;
background-color: #f5f5f5;
border: 1px solid #eee;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 6px 9px;
text-align: left;
font-size: 12px;
color: #404b52;
}
/**********support editor *********/
.support-add-tickeeditor-container {
  /* margin-top: 30px; */
width: 100%;
border-radius: 20px;
background-color: #fff;
/* border: 1px solid #ced4da; */
box-sizing: border-box;

/* height: 356px; */
}
.support-add-tickeeditor-header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 15px;
}

.support-add-ticket-button {
  /*flex: 1; */
  width: 260px;
  position: relative;
  border-radius: 35px;
  background-color: #3d517d;
  border: 0.5px solid #fff;
  /* box-sizing: border-box; */
  height: 40px;
  overflow: hidden;
  /* flex-shrink: 0; */
  /* display: flex
; */
  flex-direction: row;
  align-items: center;
  /* padding: 12px; */
  gap: 8px;
  /* text-align: left; */
  font-size: 16px;
  color: #f5f5f5;
  margin-bottom: 2%;
}

#support-add-tickeeditor {
min-height: 206px;
border: 1px solid #ced4da;
padding: 10px;
background-color: white;
overflow-y: auto;
}
.support-add-tickeeditor-toolbar {
margin-bottom: 10px;
border: 1px solid #ced4da;
width: 100%;
display: flex;
flex-direction: row;
}
.container_notif {
  max-width: 100%;
  /* margin: 40px auto; */
  background: white;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.notification {
  border-bottom: 1px solid #eee;
  padding: 14px;
  transition: background 0.2s;
  cursor: pointer;
}
.notification:hover {
  background-color: #f9f9f9;
}
.notification.unread {
  background-color: #fffce6;
  font-weight: bold;
}
.notification .date {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
}
.notification .message {
  font-size: 15px;
}
.empty {
  text-align: center;
  padding: 40px;
  color: #888;
  font-style: italic;
}
.projects {
  display: flex;
  flex-wrap: wrap;
  /*gap: 20px;*/
}

.project-card {
  display: flex;
  align-items: flex-start;
  width: 100%;
  border: 1px solid #f9f5f5;
  border-radius: 8px;
  padding: 16px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: pointer;
}

.notification-icon {
  margin-top: 2%;
  flex-shrink: 0;
  margin-right: 20px;
  display: flex;
  align-items: center;
}

.project-info-left {
  flex: 1;
}

.project-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #1A3266;
}

.project-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.project-details {
  font-size: 14px;
  color: #444;
  line-height: 1.4;
}

.project-versions {
  margin-right: 20px;
  font-size: 14px;
  color: #333;
}

.project-badges {
  display: flex;
  align-items: center;
}
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.page-number {
  padding: 6px 12px;
  background-color: #f1f1f1;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  color: #1a3266;
  transition: background-color 0.3s;
}

.page-number:hover:not(.active) {
  background-color: #dbe6ff;
}

.page-number.active {
  background-color: #1a3266;
  color: white;
}

.notif_liste{
  
  min-height: 60px;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f1f1;
  font-size: 17px;
  color: #7c7c7c;
  cursor: pointer;
  justify-content: center;
}
.notif_date{
  font-size: 12px;
  color: #cbc9c9;
}
.messages-user-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* object-fit: cover;; */
}

#messagesConversationBody {
  flex-grow: 1;
  padding: 1.5rem 1.75rem 1.5rem 1.5rem !important;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 35vh;

}

.messages-sennder-message,
.messages-my-message {
  padding: 0.75rem 1.25rem;
  border-radius: 18px;
  max-width: 80%;
  word-wrap: break-word;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  line-height: 1.5;
  font-size: 16px;
}

.messages-sennder-message {
  background-color: #fff;
  align-self: flex-start;
  border: 1px solid #ced4da;
  color: #000;
  border-radius: 18px 18px 18px 4px;
}

.messages-my-message {
  background-color: #e9eef3;
  align-self: flex-end;
  color: #000;
  border-radius: 18px 18px 4px 18px;
}
.messages-sennder-message-date,
.messages-my-message-date{
  color: #999;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
}
.messages-sennder-message-date{
  align-self: flex-start;
}
.messages-my-message-date{
  align-self: flex-end;
}


#messagesUserInput {
  flex-grow: 1;
  padding: 10px 15px;
  border: none;
  background: transparent;
  /* border: 1px solid #ddd; */
  border-radius: 8px;
  margin-right: 10px;
  font-size: 1em;
}

#messagesUserInput:focus {
  outline: none;
  border-color: #4a90e2;
}

/* Mobile Slide Panel */
#messagesConversationsList {
  background-color: #ffffff;
  z-index: 1000;
}

.conversation-toggle {
  display: none;
  /* position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1100; */
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  align-self: flex-end;
}

@media (max-width: 768px) {
  #messagesConversationsList {
    position: absolute;
    left: -100%;
    top: 0;
    bottom: 0;
    width: 50%;
    transition: left 0.3s ease-in-out;
  }

  #messagesConversationsList.active {
    left: 0;
  }

  .conversation-toggle {
    display: block;
  }
}



#messagesConversationHeader{
  
  border-radius: 1.25rem !important;
  border-color: var(--bs-border-color);
}
.messages-convList-sender-name{
  font-size: 16px;
}
.messages-convList-source{
  font-size: 14px;
  color: #757575;
}
.messages-convList-unseenMessages-count{
  width: 20px; height: 20px; font-size: 12px; flex-shrink: 0;
}
/* Styles for the Global Page Loader */
.page-global-loader {
  position: fixed; /* Fixes it to the viewport */
  top: 0;
  left: 0;
  width: 100vw;   /* 100% of viewport width */
  height: 100vh;  /* 100% of viewport height */
  background-color: rgba(255, 255, 255, 0.623); /* Almost opaque white background */
  z-index: 9999;  /* Very high z-index to be on top of everything */
  transition: opacity 0.5s ease-out; /* Smooth fade-out effect */
}

/* When the loader is hidden, make it fully transparent and remove pointer events */
.page-global-loader.fade-out {
  opacity: 0;
  pointer-events: none; /* Allows clicks/interactions on elements underneath */
}

/* Other loader styles (from previous discussions) */

/* Ensure the parent container for the main chat loader is relatively positioned */
/* .container-fluid {git 
  position: relative;
} */

/* Global Chat Area Loader Styles (your existing overlay for chat messages) */
#messagesloaderOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.719);
  z-index: 1000;
}
#messagesloaderOverlay .spinner-border {
  width: 3.5rem;
  height: 3.5rem;
}
#messagesloaderOverlay .loader-text {
  font-size: 1.2em;
  font-weight: bold;
  color: #007bff;
}

/* Conversations List Loader Styles */
#messagesConversationsList {
  position: relative;
}
#conversationsListLoader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.671);
  z-index: 999;
}
#conversationsListLoader .spinner-border {
  width: 2.5rem;
  height: 2.5rem;
}
#conversationsListLoader .loader-text {
  font-size: 1em;
  font-weight: normal;
  color: #007bff;
}


#messagesBodyLoader .spinner-border {
  width: 3rem;
  height: 3rem;
}
#messagesBodyLoader .loader-text {
  font-size: 1.1em;
  font-weight: bold;
  color: #007bff;
}

/* Custom styles for messagesUserInput */
#messagesUserInput {
  flex-grow: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  margin-right: 10px;
  font-size: 1em;
  resize: none;
}

/* Optional: Styles for active conversation item */
.conversation-item.active-conversation {
  background-color: #e9ecef;
  border-radius: 8px;
}
.text-title{
  width: 100%; height: 100%;
   justify-content: center;
   display: flex; flex-direction: column;  
    letter-spacing: -1px; color: #1A3266;
     font-size: 30px;
     font-family: Montserrat, sans-serif;
      font-weight: 400;
       line-height: 40px;
       word-wrap: break-word
}
.title2-text{
  color: #666666; font-size: 28px;
   font-family: Montserrat, sans-serif;
   font-weight: 500; line-height: 28px; 
   letter-spacing: 0px; 
   word-wrap: break-word;
   margin-bottom: 0%;
}

.zone-rounded{
  border-radius: 1.25rem !important;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #ccc;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}
.messagerie-avatar {
  min-width: 48px; 
  min-height: 48px; 
  width: 48px; 
  height: 48px; 
  font-size: 24px;
}

.messagerie-avatar-small {
  width: 38px; 
  height: 38px; 
  font-size: 18px;
  text-transform: uppercase;
  min-width: 38px;
}
.active-conversation {
  background-color: #007bff;
  color: white;
}


@keyframes spin {
  to { transform: rotate(360deg); }
}

.swal-wide {
  height: 350px !important;
  width: 800px !important; /* Ajuste la taille comme tu veux */
  max-width: 90%;
}
#uploadSectionNextButton {
  display: none;
}
.loader_swal {
  width: 90px;
  height: 14px;
  box-shadow: 0 3px 0 #fff;
  position: relative;
  clip-path: inset(-40px 0 -5px)
}
.loader_swal:before {
  content: "";
  position: absolute;
  inset: auto calc(50% - 17px) 0;
  height: 50px;
  --g:no-repeat linear-gradient(#ccc 0 0);
  background: var(--g),var(--g),var(--g),var(--g);
  background-size: 16px 14px;
  animation:
    l7-1 2s infinite linear,
    l7-2 2s infinite linear;
}
@keyframes l7-1 {
  0%,100%  {background-position: 0 -50px,100% -50px}
  17.5% {background-position: 0 100%,100% -50px,0 -50px,100% -50px}
  35%   {background-position: 0 100%,100% 100% ,0 -50px,100% -50px}
  52.5% {background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% -50px}
  70%,98%  {background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% calc(100% - 16px)}
}
@keyframes l7-2 {
  0%,70% {transform:translate(0)}
  100%  {transform:translate(200%)}
}
button:disabled {
  background-color: #d6d6d6 !important;
  color: #888 !important;
  cursor: not-allowed;
  border-color: #ccc !important;
}
/* .badge-encours {
  background: orange;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
}

.badge-brouillon {
  background: gray;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
}

.badge-termine {
  background: green;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
} */
.mw-notification.success {
  background-color: #40ca95 !important;  /* Vert bootstrap */
  color: #fff !important;
  border: none;
  font-weight: bold;
}
.toast.text-bg-success {
  background-color: #1fe287 !important; /* Vert Bootstrap */
  color: white !important;
}
.toast.text-bg-success .toast-body {
  font-size: 1.25rem; /* ou 20px, 24px selon ce que tu veux */
  font-weight: 600; /* optionnel, pour un texte un peu plus épais */
}






/* Autocomplete Styles */
.autocomplete-results {
  position: absolute;
  z-index: 1000;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 150px;
  overflow-y: auto;
  width: 100%;
  margin-top: 0.25rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.15);
  display: none;
}

.autocomplete-results.active {
  display: block;
}

.autocomplete-results div {
  padding: 0rem 0rem;
  cursor: pointer;
}

.autocomplete-results div:hover {
  background-color: #f0f0f0;
}
.materiau-autocomplete {
  height: 2.5rem !important;           /* taille fixe en hauteur */
  width: 100%;             /* largeur max ou fixe selon ton besoin */
  box-sizing: border-box;  /* padding/border inclus dans la taille */
  overflow: hidden;        /* éviter débordement */
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 16px 16px;
  transition: background-image 0.3s ease;
}

.materiau-autocomplete.loadingg {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="16" viewBox="0 0 50 50" width="16" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" fill="none" r="20" stroke="%23666" stroke-width="5" stroke-linecap="round" stroke-dasharray="31.415,31.415" transform="rotate(0 25 25)"><animateTransform attributeName="transform" begin="0s" dur="1s" repeatCount="indefinite" type="rotate" from="0 25 25" to="360 25 25"/></circle></svg>');
}
.projet-teabble-pagination button {
  margin: 0 3px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.projet-teabble-pagination button:hover:not(:disabled) {
  background-color: #f2f2f2;
}

.projet-teabble-pagination button.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.projet-teabble-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
#finalSection {
  /* padding: 2rem 1rem;
  background-color: #f8f9fa;
  border-radius: 8px; */
}
.table-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.highlighted {
    background-color: #fffa9e !important;
    transition: background-color 0.3s ease;
}



 

.divfinalSection #apsViewer{
  position: relative;
    width: 100%;
    height: 76vh;
    min-height: 700px;
}

.divfinalSection #viewerContainer{
      position: relative;
      padding-bottom: 24px;
}


#alertSessionLanguage{
    position: absolute;
    top: 0%;
    left: 56%;
    border-radius: 0px 0px 10px 10px;
    background-color: #f6c23ed6;
    font-size: 12px;
    padding: 3px;
  
}

/* Assistant panel sizing override for edit project pages */
#assistantChat .assistant-container #chatAssistant {
  width: clamp(520px, 39vw, 780px);
  max-width: calc(100vw - 48px);
  min-width: 420px;
}

@media (max-width: 900px) {
  #assistantChat .assistant-container #chatAssistant {
    width: min(680px, calc(100vw - 32px));
    min-width: 340px;
  }
}

@media (max-width: 600px) {
  #assistantChat .assistant-container #chatAssistant {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-width: 0;
  }
}




