/******old CSS code **********/
/* style.css */
:root {
    --primary-color: #4A90E2;
    --primary-dark: #357ABD;
    --secondary-color: #f4f4f4;
    --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;
    --sec-green: #1d8a00;
    --sec-red: #e53935;
    --sec-blue-light: #337ab7;
    --sec-blue-dark: #1A3266;
    --sec-yellow: #f6c23e;
  }
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    /* font-family: 'Segoe UI', Arial, sans-serif; */
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    /* padding: 20px; */
    min-height: 100vh;
      font-family: Arial, Helvetica, sans-serif!important;

  }
  
  .app-container {
    /* display: grid;
    grid-template-columns: 1fr; */
    gap: 2rem;
    max-width: 1200px;
    margin: 20px auto;
  }
  
  @media (min-width: 992px) {
    .app-container {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  /* Upload Section Styles */
  .upload-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* .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;
  }
  
  /* .form-group {
    position: relative;
  } */
  
  .projet-file-input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    position: absolute;
    z-index: -1;
  }
  
  /* .file-label {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    font-weight: 500;
  }
  
  .file-label:hover {
    background-color: var(--primary-dark);
  } */
  
  .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .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;
  }
  
  .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:40px;
	  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;
    height: 60vh;
    border: 2px solid #418bce;
    /* width: 50%;
    margin-top: 5%;
    margin-left: 25%;  */
  }
  
  .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%;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  .user-message {
    background-color: var(--chat-user-bg);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
  }
  
  .ai-message {
    background-color: var(--chat-ai-bg);
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
  }
  
  .chat-input-area {
    display: flex;
    padding: 1rem;
    background-color: #f9f9f9;
    border-top: 1px solid var(--border-color);
    align-items: end;
  }
  #userInput {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 1em;
    width: 100%;
}
#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;
    height: 103px;
}


  .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);
  }
  
  .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);
}


.tlcharger-le-fichier {
  	position: relative;
  	font-size: 14px;
  	letter-spacing: 0.1px;
  	line-height: 20px;
  	font-weight: 500;
  	font-family: Roboto;
  	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: Roboto;
  	color: #666;
  	text-align: left;
  	display: flex;
  	align-items: center;
  	height: 63px;
} */

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

}

.projet-step {
  flex: 1;
  padding: 10px 20px;
  background: #C4C4C4;;
  color: #333;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  margin-left: 20px;
}

.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;
}

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

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

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

.projet-step:not(:last-child) {
  margin-right: -20px;
}

.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%);
}


.btn-suivant{  
width: 221px;
position: relative;
border-radius: 35px;
background-color: #0d6efd;
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: #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);
}
.projet-form{
  height: 500px;
  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-highlight: #d6def1;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        
        
        /* Button Grid Layout */
        .button-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: var(--spacing-unit);
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .option-card {
            display: flex;
            flex-direction: column;
            width: 300px;
            align-items: center;
            justify-content: center;
            padding: 48px 32px;
            border-radius: var(--border-radius);
            color: var(--text-white);
            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: var(--primary-blue);
        }
        
        .option-card--green {
            background-color: var(--primary-green);
        }
        
        .option-card--red {
            background-color: var(--primary-red);
        }
        
        .option-icon {
            width: 60px;
            height: 60px;
            margin-bottom: var(--spacing-unit);
        }
        
        .option-title {
            font-size: 1.75rem;
            font-weight: 500;
            margin-bottom: var(--spacing-unit);
            line-height: 1.2;
        }
        
        .option-description {
            font-size: 1.3rem;
            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;
  	/* 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 ******************/
    .container {
      max-width: 1200px;
      margin: auto;
      background: white;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .projet-teabble-controls {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 10px;
    }


    .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;
    }
    /* updated Code */
    .projet-teabble-tag {
      display: inline-block;
      padding: 5px 12px;
      border-radius: 16px;
      font-size: 14px;
      font-weight: 500;
    }
  /* updated Code end */
    .projet-teabble-tag.mur {
      background-color: #32c69a;
    }
    .projet-teabble-tag.poutre {
      background-color: #32c69a;
    }
    .projet-teabble-tag.fenêtre {
      background-color: #32c69a;
    }
    .projet-teabble-tag.dalle {
      background-color: #32c69a;
    }
    .projet-teabble-tag.poteau {
      background-color: #32c69a;
    }

    .projet-teabble-tag.porte {
      background-color: #f57f5a;
    }
    .projet-teabble-tag.toit {
      background-color: #f57f5a;
    }
    .projet-teabble-tag.escalier {
      background-color: #f57f5a;
    }
    .projet-teabble-tag.garde-corps {
      background-color: #f57f5a;
    }

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

    .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: "Ancien 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-nav-buttons {
  	position: relative;
  	letter-spacing: 0.15px;
  	line-height: 24px;
  	font-weight: 1000;
}

/* .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: 20px;
  	overflow: hidden;
  	flex-shrink: 0;
  	display: flex;
  	flex-direction: row;
  	align-items: center;
  	justify-content: center;
}
.projet-nav-buttons-Elements {
  	background-color: #292D32;
}
.projet-nav-buttons-Fiche-Projet {
  	background-color: #418BCE;
}
.projet-nav-buttons-Bilan-Carbone {
  	background-color: #179004;
}
.projet-nav-buttons-Estimation-financière {
  	background-color: #1A3266;
}
.projet-nav-buttons-Métrés {
  	background-color: #FF2B48;
}

.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-content-parent-button-next-viewer {
  	width: 100%;
  	position: relative;
  	overflow: hidden;
  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	justify-content: flex-start;
  	padding: 29px 20px;
  	box-sizing: border-box;
  	gap: 17px;
  	text-align: left;
  	font-size: 16px;
  	color: #fff;
  	font-family: Roboto;
}

/* updated Code */
.projet-rounded{
    border-radius: 1rem;
}
.projet-bg-dimensions{
  background-color: var(--box-highlight);
}
.projet-badge-filter {
  width: 95px;
  border-radius: 10px;
  background-color: #292d32;
  height: 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0px 26px;
  margin: 5px 10px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 12px;
}
.projet-badge-filter.all{
  background-color: var(--sec-blue-dark);
  color: #fff;
}

.projet-badge-filter.exist{
  background-color: var(--sec-green);
  color: #fff;
}
.projet-badge-filter.missing{
  background-color: var(--sec-yellow);
  color: #000000;
}
.projet-badge-filter.nulled{
  background-color: var(--sec-red);
  color: #fff;
}


.projet-dimension-cell.exist{
  background-color: var(--sec-green);
  color: #fff;
}
.projet-dimension-cell.missing{
  background-color: var(--sec-yellow);
  color: #000000;
}
.projet-dimension-cell.nulled{
  background-color: var(--sec-red);
  color: #fff;
}

#uploadSectionNextButton {
  display: none;
}
.loader {
  width: 90px;
  height: 14px;
  box-shadow: 0 3px 0 #fff;
  position: relative;
  clip-path: inset(-40px 0 -5px)
}
.loader: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%)}
}

.try-again-button{
  /* display: none; */
  background-color: var(--sec-green);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 1rem;
  align-self: flex-start;
}
.try-again-button:disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: wait;
  opacity: 0.7;
}
/*****************************  style assistance responsive + resize */

/* === Conteneur principal du chat === */
#chatAssistant {
  position: relative;
  resize: none; /* on gère le resize manuellement */
  overflow: hidden;
  border-radius: 25px 25px 23px 0px; 
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

/* === Poignée de redimensionnement en bas à gauche avec indicateur visuel === */
/*#chatAssistant::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 6px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #ccc 25%, transparent 25%) repeat-x,
              linear-gradient(45deg, #ccc 25%, transparent 25%) repeat-y;
  background-size: 6px 6px;
  border-radius: 3px;
  cursor: nwse-resize;
  opacity: 0.7;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  transform: rotate(270deg);  
}

#chatAssistant:hover::after {
  opacity: 1;
}*/

#chatAssistant::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 14px;
  height: 14px;

  /* SVG optimisé : diagonale plus visible + noir pur + plus épais */
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"> <polyline points="20 8 20 4 16 4"/><polyline points="4 16 4 20 8 20"/><line x1="20" y1="4" x2="4" y2="20"/></svg>') no-repeat center;

  background-size: contain;
  cursor: nesw-resize;
  opacity: 0.9;
  animation: blinkArrow 1.2s infinite ease-in-out;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  filter: drop-shadow(0 0 1px #fff0); /* ✅ améliore la netteté visuelle */
}

/* Animation clignotante */
@keyframes blinkArrow {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.1); }
}

#chatAssistant::after:hover {
  opacity: 1;
  transform: scale(1.15);
}
 
/* === Ligne de saisie du message === */
.chat-input-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 4px 0;
  border-top: 1px solid #eee;
}

/* Champ de saisie */
.chat-input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  resize: none;
  min-height: 40px;
  max-height: 120px;
  overflow-y: auto;
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-input:focus {
  border-color: #3498db;
}

/* Bouton d’envoi */
.btn-send {
  background: #3498db;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 48px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-send:hover {
  background: #2980b9;
  transform: scale(1.05);
}

.btn-send svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

/* === Responsive mobile === */
@media (max-width: 480px) {
 
  .chat-input-row {
    gap: 4px;
  }

  .chat-input {
    font-size: 13px;
    padding: 6px 8px;
  }

  .btn-send {
    width: 42px;
    height: 38px;
  }
}


#chatAssistant .chat-input-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
  padding: 15px 14px;
  border-top: 1px solid #ddd;
  background: #fff;
  position: relative;
}

/* La div w-100 s'adapte à la largeur du champ */
#chatAssistant .chat-input-area .w-100 {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

/* Le champ de saisie */
#chatAssistant #userInput {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  resize: none;
  min-height: 42px;
  max-height: 120px;
  overflow-y: auto;
  outline: none;
  transition: border-color 0.2s ease;
}

#chatAssistant #userInput:focus {
  border-color: #3498db;
}

/* Bouton envoyer */
#chatAssistant #sendButton {
    flex-shrink: 0;
    
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    width: 81px;
    transition: background 0.2s ease, transform 0.1s ease;
}

#chatAssistant #sendButton:hover {
  background: #2980b9;
  transform: scale(1.05);
}

#chatAssistant #sendButton svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

/* === Responsive mobile === */
@media (max-width: 600px) {
  #chatAssistant .chat-input-area {
    flex-wrap: nowrap;
    padding: 6px;
    gap: 6px;
  }

  #chatAssistant #userInput {
    font-size: 13px;
    padding: 6px 8px;
  }

  #chatAssistant #sendButton {
    width: 42px;
    height: 40px;
  }
}

.listebtnassistance #predefinedButtons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centré et propre */
  gap: 8px;
  padding: 6px 0;
}

/* Taille équilibrée — lisible mais compacte */
.listebtnassistance #predefinedButtons button {
  flex: 1 1 auto;
  min-width: 70px;
  max-width: 156px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;        /* ✅ lisible mais pas énorme */
  font-weight: 500;       /* moyen, plus léger que 600 */
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

/* Légère animation au survol */
.listebtnassistance #predefinedButtons button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive mobile */
@media (max-width: 600px) {
  .listebtnassistance #predefinedButtons {
    justify-content: center;
  }
  .listebtnassistance #predefinedButtons button {
    flex: 1 1 45%;
    font-size: 13.5px;
    padding: 6px 10px;
  }
}


.table-group-headerExcel {
  background-color: #4caf5038 !important;
  font-weight: 600;
  text-transform: uppercase;
  border-top: 2px solid #ccc;
}
#alertSessionLanguage{
  position: absolute;
  top: 0%;
  left: 65%;
  border-radius: 0px 0px 10px 10px;
  background-color: #bfc2db;
  font-size: 12px;
  padding: 4px;
  /* transform: translate(-50%, - */
}