/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* ========== Base table ========== */
.acca_table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

.acca_table thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #166a15;
}

.acca_table thead tr {
  background-color: #00b318;
}

.acca_table thead th,
.acca_table th {
  color: #fff;
  background: #166a15;
  position: sticky;
  top: 0;
  z-index: 2;
}

.acca_table th,
.acca_table td {
  padding: 16px;
  height: 56px;
  border-left: none;
  border-right: none;
}

.acca_table tbody tr:nth-child(even) {
  background-color: #03b3001c; /* Light blue for even rows */
}
/* Base table */

.achats-ventes-table {
  max-width: 800px;
  margin-inline: auto;
  border: 1px solid #c8d8c8;
  margin: 3rem auto 0;
}

.achats-ventes-table [id^="id_value"],
.achats-ventes-table th:last-child {
  text-align: right;
}

.achats-ventes-table tr.sous-categorie td:first-child {
  padding-left: 55px;
}

.achats-ventes-table tbody tr.categorie {
  background-color: #03b3001c;
}

.achats-ventes-table tbody tr.sous-categorie {
  background-color: white;
}

.achats-ventes-table tbody td {
  border-bottom: 1px solid #c8d8c8;
}

/* ========== Stylized rond icon button ========== */
.btn-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  border: 1px solid #ccc;
  color: #444;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  background: white;
}
.btn-circle:hover {
  color: #1976d2;
  text-decoration: none;
  border: 1px solid #1976d2;
  background: #e3f2fd;
}
.btn-circle + .btn-circle {
  margin-left: 20px;
}
/* Stylized rond icon button */
