/* TABLEAUX */

table {
  width: 100%;
  font-family: var(--font-text);
  border-collapse: collapse;
  border-radius: 10px !important;
  margin-bottom: 5vh;
}

table .table-title {
  background-color: var(--form) !important;
  font-weight: bolder;
  height: 60px;
  border-radius: 50px;
}

.content-table_article td:nth-child(2) {
  text-align: end;
}

table td {
  border-bottom: 1px solid var(--border);
  color: var(--color-text);
  text-align: left;
}
/* 
.table-row:hover td:not(.actions-buttons) {
  filter: blur(4px);
} */

.table-cat td,
table .table-title td,
.table-row td {
  padding: 10px 20px;
}

.table-row_action {
  display: flex;
  justify-content: center;
}

.table-row {
  font-weight: 500;
  align-self: center;
}

.table-sub_cat td {
  padding: 10px 20px 10px 30px;
}

.table-article td:first-child {
  padding: 10px 50px;
}

.table-article td:last-child {
  padding: 10px 20px;
}

.table-sub_cat {
  padding: 0;
}

.table-add_cat td {
  gap: 10px;
  padding: 10px 20px;
}

.table-add_article td {
  gap: 10px;
  padding: 10px 40px;
}

.table-button {
  display: flex;
  font-weight: bold;
  align-items: center;
  gap: 10px;
  margin-left: -4px;
}

.option-cee {
  display: none;
}

.actions-buttons {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 5;
  gap: 30px;
  border: 0;
  padding-top: 6px !important;
  align-items: center;
  display: flex;
}

tr {
  cursor: default;
}

tr:nth-child(even) {
  background-color: #F3F3F3;
}

tr:nth-child(odd) {
  background-color: #fff;
}

tr .actions-buttons {
  opacity: 0;
  height: 0;
}

.table-row:hover {
  background-color: #e7e7e7;
}

.table-row td {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.hidden {
  display: none;
}

.button-check {
  cursor: pointer;
  background-color: #292558;
  border: 2px solid #292558;
  color:white;
  font-weight: bold;
  width: 140px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  
}


.button-check:hover {
  color: #292558;
  background-color: transparent;
}

.button-aucune-correspondance {
  cursor: pointer;
  background-color: transparent;
  border: 2px solid #292558;
  color:292558;
  font-weight: 600;
  padding: 10px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;  
  transition: all 0.3s;
}


.button-aucune-correspondance:hover {
  color: white;
  background-color: #292558;
}

.button-check:hover .in-button {
  color: #292558;
}

.button-check:hover svg {
  stroke: #292558;
}

.button-edit {
  cursor: pointer;
  background-color: #1BAE81;
  border: 2px solid #1BAE81;
  width: 140px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-weight: bold;
  color:white;
}

.button-edit:hover {
  color: #1BAE81;
  background-color: transparent;
}

.button-edit:hover .in-button {
  color: #1BAE81;
}

.button-edit:hover svg {
  stroke: #1BAE81;
}

.button-delete {
  cursor: pointer;
  background-color: #D35052;
  border: 2px solid #D35052;
  width: 140px;
  height: 30px;
  font-weight: bold;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color:white;
  gap: 10px;
  display:flex;
  align-items: center;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}

.button-delete:hover {
  color: #D35052;
  background-color: white;
}

.button-delete svg path {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.button-delete:hover svg path {
  fill: #D35052;
}

.button-new-op {
  cursor: pointer;
  background-color: #44469B;
  border: 2px solid #44469B;
  color:white;
  font-weight: bold;
  width: 140px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.button-new-op:hover {
  color: #44469B;
  background-color: transparent;
}

.in-button {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  font-family: "Poppins", sans-serif;
}


.button-comment {
  cursor: pointer;
  background-color: black;
  border: 0.1em solid black;
  width: 140px;
  height: 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.button-comment:hover {
  color: black;
  background-color: transparent;
}

.button-comment:hover .in-button-comment {
  color: black;
}

.button-comment:hover svg {
  stroke: black;
}

.in-button-comment {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.table-title th {
  padding: 10px 20px;
  text-align: left;
}

.thead {
  background-color: black !important;
}


th:first-child, td:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
th:last-child, td:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

