body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: #f3f4f6;
  color: #111827;
  text-align: center;
}

.form-section {
  max-width: 80%;
  margin: 2rem auto;
  background-color: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.site-header {
  background: linear-gradient(135deg, #0f766e, #2563eb);
  color: white;
}

h1 {
  font-size: 1.4rem;
  text-transform: uppercase;
}

h2 {
  font-size: 1.15rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

label {
  display: inline-block;
  width: 20%;
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input,
select {
  width: 50%;
  max-width: 50%;
  padding: 0.5rem 0.7rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
  box-sizing: border-box;
}

input:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.button-table {
  margin: 0.3rem 1.3rem;
  padding: 0.55rem 1.2rem;
  border-radius: 60px;
  border: none;
  background-color: #2563eb;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.8rem;
}

.button-page {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: none;
  background-color: #2563eb;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  width: 200px;
  margin-bottom: 30px;
}

button:hover {
  background-color: #1d4ed8;
}

.button-danger {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: none;
  background-color: #e71515;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  width: 200px;
  margin-bottom: 30px;
}

.button-danger:hover {
  background-color: #5d0909;
}

.table-scroll {
  max-height: 400px;
  overflow-y: scroll;
  border: 1px solid black;
  margin: 0 auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
}

table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

table tbody tr:hover {
  background-color: #e5f1ff;
}

th,
td {
  border: 1px solid black;
  text-align: center;
}

th {
  position: sticky;
  top: 0px;
  background-color: #f1f1f1;
}

.p-info {
  font-style: italic;
  font-weight: bold;
}

a {
  color: #2563eb;
}

/* ------------------------- APPLICATION PAGE ------------------------- */
/* Le titre reste sticky en haut de la page */
.site-header-app {
  background: linear-gradient(135deg, #0f766e, #2563eb);
  color: white;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
  padding: 0.3rem;
  border-radius: 1rem;
  position: sticky;
  top: 5px;
  z-index: 1000;
}

.sidebar-fixed {
  position: fixed;
  top: 60px;
  left: 0;
  width: 15%;
  bottom: 0;
  overflow-y: auto;
  background-color: #ffffff;
  border-right: 1px solid #dee2e6;
  padding: 0 0.5rem;
  z-index: 900;
  overflow-x: hidden;
  margin-left: 5px;
}

.main-content {
  float: right;
  width: 85%;
  margin-left: 15%;
  padding-right: 1rem;
}

.button-page-app {
  padding: 0.55rem 0rem;
  background-color: #0f766e;
  display: inline-block;
  border-radius: 999px;
  border: none;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  width: 200px;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.button-page-app:hover {
  background-color: #2563eb;
}

.situation-date-title {
  font: inherit;
  font-weight: 600;
  margin-bottom: 1rem;
}

.situation-date {
  margin-bottom: 2rem;
}

.situation-date .SingleDatePickerInput,
.situation-date .SingleDatePickerInput__withBorder {
  border: none;
}

.situation-date .DateInput,
.situation-date .DateInput_input {
  width: 100%;
  border-radius: 12px;
  border: none;
  padding: 0.5rem;
  font: inherit;
}

.situation-date .SingleDatePicker_picker {
  display: none;
}

.linkedIn {
  color: #0f766e;
  font-size: 3rem;
  margin-left: 0.1rem;
}

.linkedIn:hover {
  color: #004182;
}

.invrecdebDisplayButton-css {
  background-color: #389d62;
  border-radius: 20px;
  width: 97%;
  margin: 10px 10px 0px 20px;
  text-align: center;
  font-weight: bolder;
  font-size: large;
  border: none;
}

.invrecdebDisplayButton-css:hover {
  background-color: #94ac27;
  border: none;
}

.invrecdebDisplayButton-css:active {
  background-color: #ffa600;
  border-color: none;
}

.stockDisplayButton-css {
  background-color: #65a647;
  border-radius: 20px;
  width: 97%;
  margin: 10px 10px 0px 20px;
  text-align: center;
  font-weight: bolder;
  font-size: large;
  border: none;
}

.stockDisplayButton-css:hover {
  background-color: #c8ad00;
  border: none;
}

.stockDisplayButton-css:active {
  background-color: #009175;
  border-color: none;
}

.receivDisplayButton-css {
  background-color: #94ac27;
  border-radius: 20px;
  width: 97%;
  margin: 10px 10px 0px 20px;
  text-align: center;
  font-weight: bolder;
  font-size: large;
  border: none;
}

.receivDisplayButton-css:hover {
  background-color: #ffa600;
  border: none;
}

.receivDisplayButton-css:active {
  background-color: #389d62;
  border-color: none;
}

.debtsDisplayButton-css {
  background-color: #c8ad00;
  border-radius: 20px;
  width: 97%;
  margin: 10px 10px 0px 20px;
  text-align: center;
  font-weight: bolder;
  font-size: large;
  border: none;
}

.debtsDisplayButton-css:hover {
  background-color: #009175;
  border: none;
}

.debtsDisplayButton-css:active {
  background-color: #65a647;
  border-color: none;
}

.cashDisplayButton-css {
  background-color: #ffa600;
  border-radius: 20px;
  width: 97%;
  margin: 10px 10px 0px 20px;
  text-align: center;
  font-weight: bolder;
  font-size: large;
  border: none;
}

.cashDisplayButton-css:hover {
  background-color: #389d62;
  border: none;
}

.cashDisplayButton-css:active {
  background-color: #94ac27;
  border-color: none;
}

.card-css {
  border: none;
  background-color: #f3f4f6;
}

.kpi-css {
  text-align: center;
  border: none;
  border-radius: 20px;
  font-size: 17px;
  background: linear-gradient(135deg, #0f766e, #2563eb);
  color: white;
  width: 300px;
}

.financialKpi-css {
  text-align: center;
  margin: 5px 25px 50px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f766e, #2563eb);
  color: white;
  width: 300px;
}
