body {
  font-size: 8px;
}

.balance-sheet-container {
  /* max-width: 800px; */
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: "relative";
}

.balance-sheet {
  width: 100%;
  border-collapse: collapse;
}

.balance-sheet caption {
  font-size: 1.5em;
  margin-bottom: 10px;
  text-align: left;
  font-weight: bold;
  color: #668161;
  caption-side: top;
}

.balance-sheet thead {
  background-color: #a5dd9b;
  color: white;
}

.balance-sheet th,
.balance-sheet td {
  padding: 10px;
  border: 1px solid #ddd;
  position: relative;
  height: 45px;
}
.balance-sheet th {
  text-align: center;
}

.balance-sheet td {
  text-align: left;
}

.balance-sheet th {
  font-weight: bold;
}

.balance-sheet .number-td {
  text-align: right;
}
/* 
.balance-sheet tbody tr:nth-child(even) {
  background-color: #f2f2f2;
} */

.balance-sheet tbody tr:hover {
  background-color: #e9ecef;
}

.tooltip {
  /* display: none; */
  position: relative;
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  font-size: 0.875em;
  z-index: 2100;
}

.balance-sheet td:hover .tooltip {
  display: block;
}

.ibcs-table {
  /* width: 100%; */
  border-collapse: collapse;
  font-size: 8.5px;
}

.ibcs-table th,
.ibcs-table td {
  border-top: none;
  text-align: left;
  height: 20px;
}

.ibcs-table th {
  text-align: center;
  border-bottom: 3px solid #333;
  background-color: #f2f2f2;
  color: #333;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 1;
}

/* .ibcs-table tr:nth-child(even) {
  background-color: #f9f9f9;
} */

.ibcs-table tr:hover {
  background-color: #f1f1f1;
}

.ibcs-table th,
.ibcs-table td {
  padding: 0px;
  margin: 0px;
  padding-left: 10px;
  padding-right: 10px;
}

.ibcs-table .visual-td {
  padding: 0px;
  margin: 0px;
  padding-left: 10px;
  padding-right: 10px;
}

.ibcs-table th {
  border-bottom: 2px solid #ddd;
}

.ibcs-table .AC {
  border-bottom: 4px solid #323232;
}

.ibcs-table .PM,
.ibcs-table .PY {
  border-bottom: 4px solid #808080;
}

.ibcs-table .PL {
  border-bottom: 4px double #323232;
}

.ibcs-table .number-td {
  text-align: right;
}

.statement_sub_total {
  background-color: #f2f2f2;
  font-weight: bold;
  color: #323232;
}

.statement_total {
  border-top: 1px solid black;
  font-weight: bold;
  color: #323232;
  font-size: 1.2em;
  z-index: 1000;
}

/* Graphs */

@keyframes drawCircle {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.circle {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawCircle 0.5s ease-out forwards;
}

.valid {
  color: green;
}

.invalid {
  color: red;
}

/* Dashboard Card */
.dashboard-card-title {
  font-size: 9px;
  font-weight: bold;
  color: #333;
  position: relative;
  display: inline-block;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-left: 5px;
  padding-bottom: 5px;
}

/* Stylish underline */
.dashboard-card-title::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 50%;
  height: 4px;
  background: linear-gradient(90deg, #668161, #a5dd9b);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nouveau-dossier-link {
  color: #333;
  font-size: 14px;
  font-weight: bold;
  display: "inline-block";
  margin-left: "5px";
}

.nouveau-dossier-link:hover {
  color: #28a745;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

/* Subtle shadow effect */
/* .dashboard-card-title:hover {
  color: #28a745;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
} */
