/*
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;700&family=Syne:wght@400;500;600;700;800&display=swap');
.font-syne {
  font-family: 'Nunito Sans', sans-serif;
  font-family: 'Syne', sans-serif;
}
*/

table {
  width: 100%;
}

/********OrderList *******/
.order_main_info thead {
  margin-top: 30px;
}

.order_main_info thead tr {
  background-color: #eee;
}

.order_product_detail {
  margin-bottom: 30px;
}

.button {
  background-color: #4582ec;
  padding: 5px;
  color: white;
}

.button:hover {
  color: white;
  text-decoration: none;
}

.printall {
  display: inline-block;
  margin-bottom: 30px;
  width: auto;
}

#ScrollToTop {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 99;
  font-size: 18px;
  outline: none;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid #4582ec;
  color: #4582ec;
  width: 50px;
  height: 50px;
}

#ScrollToTop:hover {
  background-color: rgba(44, 123, 229, 0.5);
  color: white;
}

#ScrollToTop a {
  display: flex;
  align-items: center;
}

/***Ticket ***/
#AddTicket input[type="text"],
#AddTicket select,
#AddTicket input[type="submit"] {
  width: 100%;
}

#AddTicket .PriorityOption {
  padding: 5px;
  width: 25%;
  float: left;
}

#AddTicket .PriorityOption input {
  float: left;
}

.PriorityOption span {
  display: block;
  float: left;
  margin-left: 5px;
}

.priority0 {
  background-color: rgba(236, 240, 241, 0.5);
}

.priority1 {
  background-color: rgba(107, 185, 240, 0.5);
}

.priority2 {
  background-color: rgba(245, 171, 53, 0.5);
}

.priority3 {
  background-color: rgba(242, 120, 75, 0.5);
}

#CustomerList,
#OrderList,
#ProductList {
  padding: 0px;
}

#CustomerList li,
#OrderList li,
.AttributeList li,
#ProductList li {
  cursor: pointer;
  /*background-color: #e5e6eb;*/
  padding: 5px;
  margin: 1px;
  list-style: none;
  list-style-type: none;
}

#CustomerList li:hover,
#OrderList li:hover,
.AttributeList li:hover,
#ProductList li:hover {
  /*color: white;
  background-color: #4582ec;*/
}

#ProductList img {
  text-align: right;
}

#FooterConsole {
  background-color: #4582ec;
  width: 100%;
  font-size: 0.8rem;
  padding: 5px;
  text-align: center;
  color: #fff;
}

.AttributeGroup,
.AttributeList {
  /*border:1px solid grey;*/
  padding: 0px;
  margin-bottom: 0px;
}

.AttributeGroup {
  display: flex;
}

.AttributeGroup li {
  list-style: none;
  list-style-type: none;
  background-color: #4582ec;
  color: white;
  margin-right: 5px;
  border-radius: 5px;
  padding: 5px;
  font-size: 1rem;
}

.SearchAttribute {
  width: auto;
  border: none;
  cursor: text;
  padding: 5px;
  flex-grow: 100;
}

.Attribute,
.Feature {
  display: inline-block;
  width: auto;
}

.AttributeContainer {
  border: 1px solid grey;
  padding: 5px;
  display: flex;
  align-items: flex-start;
}

.list-no-decoration {
  padding: 0px;
  margin: 0px;
  list-style: none;
  list-style-type: none;
}

.form {
  margin-bottom: 30px;
}

.select {
  display: block;
  font-size: 16px;
  font-family: sans-serif;
  font-weight: 700;
  color: #444;
  line-height: 1.3;
  padding: 0.6em 1.4em 0.5em 0.8em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #aaa;
  box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.04);
  border-radius: 0.5em;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

.select::-ms-expand {
  display: none;
}

.select:hover {
  border-color: #888;
}

.select:focus {
  border-color: #aaa;
  box-shadow: 0 0 1px 3px rgba(59, 153, 252, 0.7);
  box-shadow: 0 0 0 3px -moz-mac-focusring;
  color: #222;
  outline: none;
}

.cartCreator input {
  width: 100%;
}

.green {
  color: green;
}

/*Correct bug with witdth on datetimepicker*/
.bootstrap-datetimepicker-widget.dropdown-menu {
  width: auto;
  min-width: 100% !important;
}

/*
.table a i:hover:not(.active)::before{
color:#95aac9;
}
.table a i:not(.active)::before{
  color:#d2ddec;
}
*/

/****** dataTable ******/
#Table {
  margin-top: 0px !important;
}

.objectFitContain {
  object-fit: contain;
  padding: 0px 5px;
  border: 1px solid #e3ebf6;
}

.nopadding {
  padding: 0px !important;
}

/****** module=cropImage ******/
#cropImage img {
  width: auto;
  max-height: 600px;
  /* This rule is very important, please do not ignore this! */
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  #cropImage img {
    max-width: 100%;
  }

  #ScrollToTop {
    display: none !important;
  }
}

.featherIcon {
  height: 1rem;
}

.avatar-contain {
  object-fit: contain !important;
}

.scroll-y {
  overflow-y: scroll; /* Show vertical scrollbar */
}

.mh500 {
  max-height: 500px;
  min-height: 500px;
}

.scroll-y::-webkit-scrollbar {
  width: 3px;
}

.scroll-y::-webkit-scrollbar-thumb {
  background: rgba(35, 108, 250, 0.6);
  height: 50px;
  max-height: 50px;
}

.scroll-y:hover::-webkit-scrollbar-thumb {
  background: rgba(35, 108, 250, 1);
}

.flag-icon svg {
  max-width: 1.25rem;
  margin-right: 10px;
}

.select2-selection {
  border: 1px solid #2c7be5 !important;
}

.select2-selection__rendered {
  color: #2c7be5 !important;
}

.select2-container--classic .select2-selection--single {
  background-color: transparent !important;
  background-image: none !important;
}

.ck-editor__editable_inline {
  min-height: 500px;
}

.multiselected {
  background-color: rgba(44, 123, 229, 0.15) !important;
}

.nav-link.activeLink {
  color: #2c7be5;
  background-color: #f9fbfd;
}

/* nav bar */

/* Pour Webkit (Chrome, Safari, Opera) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-thumb {
  background-color: #6e84a3;
  /* Couleur de la poignée de la scrollbar */
  border-radius: 6px;
}

::-webkit-scrollbar-track {
  background-color: #152e4d;
  /* Couleur de la piste de la scrollbar */
}

/* Pour Firefox */
scrollbar-color: #6e84a3 #152e4d;

/* Pour Internet Explorer et Edge */
-ms-overflow-style: none;
/* Désactiver la scrollbar par défaut dans Edge */
scrollbar-width: thin;
scrollbar-color: #6e84a3 #152e4d;

/* Style de la poignée de la scrollbar dans Edge */
body::-webkit-scrollbar-thumb {
  background-color: #6e84a3;
}

#DigipartAI .overlay {
  background-color: rgba(21, 46, 77, 0.15);
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 99;
}

.DigipartAI .launchPrompt::before {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  cursor: pointer;
  opacity: 0.5;
  background-image: url("../img/digipart/icones/ai.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  content: "";
}

.DigipartAI .launchPrompt:hover::before {
  opacity: 1;
}

#DigipartAIContainer {
  width: 40%;
  height: auto;
  position: fixed;
  cursor: grab;
  z-index: 100;
  top: 25%;
  right: 10%;
}

#promptEditor {
  border-radius: 15px;
  padding: 15px;
}

#promptEditor svg {
  max-width: 100%;
}

/* Category ProductList */

.sticky-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sticky-sidebar::-webkit-scrollbar {
  width: 10px;
}

.sticky-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sticky-sidebar::-webkit-scrollbar-thumb {
  background: #888;
}

.sticky-sidebar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.align-left {
  margin-left: 0;
  padding-left: 0;
}

.sticky-header-productlist-category {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 999;
}

.sticky-sidebar-header-productlist-category {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sticky-sidebar-header-productlist-category::-webkit-scrollbar {
  width: 10px;
}

.sticky-sidebar-header-productlist-category::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sticky-sidebar-header-productlist-category::-webkit-scrollbar-thumb {
  background: #888;
}

.sticky-sidebar-header-productlist-category::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.card-header-title {
  color: black;
  text-decoration: none;
}

.category-link:hover .card-header-title {
  text-decoration: underline;
}
/* Category ProductList */

/* AI */

.DigipartAI .launchMyPrompt {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.DigipartAI .svg-container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  height: 1.5rem;
  width: 1.5rem;
}

.DigipartAI .svg-container svg {
  height: auto;
}

.DigipartAI .launchMyPrompt:hover .svg-container {
  transform: scale(1.1);
}

#animationIconContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  margin-bottom: 20px;
}

/* dataQuality */

.gaugeChart {
  max-height: 100%;
}

.gauge-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: auto;
  width: 100%;
  max-width: 100%;
}

.gauge-text {
  position: absolute;
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}

.gauge-description {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

.gauge-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.gauge-score {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.btn.launchMyPrompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  height: 36px;
}

.svg-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.dataQualityGrades {
  display: table;
}

.grade {
  border: none;
}

.grade:hover {
  opacity: 1;
}

.selectedGrade {
  height: 35px;
  border-radius: 0.2rem !important;
}

.gradeA,
.gradeA:hover {
  background-color: #20c997;
  color: #fff;
}

.gradeB,
.gradeB:hover {
  background-color: #0dcaf0;
  color: #fff;
}

.gradeC,
.gradeC:hover {
  background-color: #0d6efd;
  color: #fff;
}

.gradeD,
.gradeD:hover {
  background-color: #6610f2;
  color: #fff;
}

.gradeE,
.gradeE:hover {
  background-color: #dc3545;
  color: #fff;
}

.ai-provider-logo {
  margin-right: 8px;
  vertical-align: middle;
}

.opacity-50 {
  opacity: 0.5;
}

@media print {
  .no-print {
    display: none !important;
  }
  .print {
    display: block !important;
  }
  body {
    background: none !important;
  }

  .container-fluid {
    background: none !important;
  }

  .card {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0px !important;
  }

  .card-header {
    padding-left: 0px !important;
  }

  .card-body {
    padding: 0px !important;
  }
}
