body {
  height: 100%;
  margin: 0;
  padding: 0px;
  font-family: Arial, sans-serif;
  background: #171618;
  color: white;
}



/* Ensure the wrapper takes the full remaining height */
.content-wrapper {
  display: flex;
  flex: 1;
  /* Fills the space between header and footer */
  overflow: hidden;
  /* CRITICAL: Prevents the whole page from growing tall */
  height: calc(100vh - 40px);

  gap: 10px;
  box-sizing: border-box;
  /* Adjust '40px' based on your padding/header */
}

.left-panel {
  width: 30%;
  gap: 10px;
  background-color: #444444;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}


.left-panel-buttons {
  margin-bottom: 10px;
  display: flex;
  font-size: 20px;
  width: 100%;
}

.left-panel-buttons:hover {
  background-color: #202020;
  color: green;
}

.right-panel {
  width: 70%;
  background-color: #919191;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}






.left-panel {
  width: 350px;
  min-width: 350px;
  /* Prevents it from shrinking */
  height: 100%;
  /* Matches the height of content-wrapper */
  overflow-y: auto;
  /* This enables vertical scrolling */
  overflow-x: hidden;
  /* This stops the horizontal scrolling you hate */
  padding: 5px;
  border-right: 1px solid #333;
}

.main-content {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  /*padding: 20px;*/
}

.left-panel,
.right-panel {
  width: 350px;
  height: 100%;
  overflow-y: auto;
  /* Only the panel scrolls */
  padding: 5px;
}





@media print {
  .left-panel {
    display: none !important;
  }
}


@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }


}

@media screen and (max-width: 768px) {

  .left-side,
  .right-side {
    flex: 0 0 100%;
  }
}



.LoginAppTitle {
  color: #2c2c2c;
  font-size: 24px;
  margin-left: 5px;
}

.phoneNumber {
  width: auto;
  font-size: 24px;
}

h1 {
  color: #2c2c2c;
}

h3 {
  color: #494949;
  font-size: 24px;
}

h4 {
  color: #4d4d4d;
  font-size: 14px;
}

h5 {
  color: #4d4d4d;
  font-size: 12px;
}

input[type="text"] {
  padding: 10px;
  margin: 5px 5px 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

button {
  padding: 10px 16px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #218838;
}

#fruitList {
  margin-top: 5px;
  background-color: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#fruitList ul {
  list-style-type: none;
  padding: 0;
}

#fruitList li {
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

#fruitList li:last-child {
  border-bottom: none;
}

.greeting {
  color: #2c3e50;
  font-size: 1.5em;
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
  background-color: #e0f7fa;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.customer-link {
  text-decoration: none;
  color: inherit;
}


.spinner {
  margin: 10px auto;
  width: 40px;
  height: 40px;
  border: 5px solid #ccc;
  border-top: 5px solid #4CAF50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}



#loadingSpinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 10px;
  border-radius: 5px;
  z-index: 9999;
}

#fruitList {
  position: relative;
  z-index: 1;
}


.input-chercheeleve {
  position: relative;
  width: 260px;
  left: 10px;
  margin-bottom: 10px;
}


.input-wrapper {
  position: relative;
  width: 260px;
  margin-bottom: 10px;
}

.input-wrapper .search-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 16px;
  pointer-events: none;
}

#filterInput {
  background-color: #222;
  color: #fff;
  padding: 8px 12px 8px 32px;
  /* space for icon */
  width: 100%;
  border: 1px solid #555;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}

#filterInput::placeholder {
  color: #888;
}

#filterInput:focus {
  border-color: #4caf50;
  box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}


/* DRAG AND DROP CSV STYLE */
#dropArea {
  border: 2px dashed #aaa;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  background-color: #222;
  color: #ccc;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background-color 0.3s;
}

#dropArea.dragover {
  background-color: #333;
  border-color: #0f0;
}

#fileNameDisplay {
  margin-top: 10px;
  font-style: italic;
  color: #888;
}


#fileNameDisplay.success {
  color: green;
  font-weight: bold;
}

#fileNameDisplay.reset {
  color: red;
  font-style: italic;
}

#fileNameDisplay.default {
  color: #ccc;
}

#fileNameDisplay.chose {
  color: #0092cc;
}


/* FADE OUT ANIMATION */
#dropArea {
  transition: opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
  display: none;
}

#dropArea.visible {
  opacity: 1;
  pointer-events: auto;
}

.cancel-btn {
  margin-top: 10px;
  background-color: #ff4d4d;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.cancel-btn:hover {
  background-color: #e60000;
}


.logo-small {
  width: 10px;
  height: auto;
}


/* HIDE THIS COLOMN IN PRINTING */
@media print {
  .no-print {
    display: none !important;
  }
}


.totaux-row {
  color: rgb(48, 48, 48);
  font-weight: bold;
  text-align: center;
  border: none;
}

.total-row {
  background-color: #111111;
  color: rgb(40, 189, 164);
  font-weight: bold;
  text-align: right;
}

.total-row td {
  padding: 8px;
}


/* PERSONALISATION DE NOS STAUT DU TABLEAU SELON LE STAUT DU FRAIS*/
.status-paid td {
  background-color: green;
}

.status-partial td {
  background-color: rgb(36, 36, 36);
}

.status-unpaid td {
  background-color: gray;
}

.status-unknown td {
  color: gray;
  font-weight: bold;
  font-style: italic;
}

.status-paid td,
.status-partial td,
.status-unpaid td {
  font-weight: bold;
}


.gender-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 0px;
}

.gender-label {
  font-weight: bold;
  white-space: nowrap;
}

.inline-radio {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}






/* POUR LE RECU DE LINSCRIPTION*/
@media print {
  body * {
    visibility: hidden;
  }

  #receiptSection,
  #receiptSection * {
    visibility: visible;
  }

  #receiptSection {
    position: absolute;
    top: 0;
    left: 0;
  }
}


.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;

}

.receipt-row .label {
  text-align: left;
  max-width: 45%;
  white-space: nowrap;
  font-size: 14px;
}

.receipt-row .value {
  font-weight: bold;
  text-align: right;
  max-width: 50%;
  overflow-wrap: break-word;
  font-size: 14px;
}

.receipt-row .valuesmall {
  font-weight: normal;
  text-align: left;
  max-width: 50%;
  overflow-wrap: break-word;
  font-size: 10px;
}


li {
  color: black;
}



.divParent {
  display: flex;
  color: black;
  padding: 10px;
}

.divTitle {
  color: white;
}

.divContenu {
  display: flex;
  color: black;
}




.form-box {
  max-width: 600px;
  margin: auto;
  background: white;
  color: rgb(53, 53, 53);
  padding: 20px;
  border-radius: 10px;
}


.form-boxPaiement {
  max-width: auto;
  margin: auto;
  background: #202020;
  color: white;
  padding: 20px;
  border-radius: 10px;
}


input,
select {
  width: 100%;
  margin: 5px 0;
  padding: 10px;
  border: none;
  border-radius: 5px;
}


label {
  margin-top: 10px;
  display: block;
}

/* RECU STYLE */
.recu-entete {
  padding: 5px;
  background-color: #ffffff;
  border: 0.5px solid #202020;
  border-radius: 1px;
}


.section-contener {
  width: auto;
  font-weight: bold;
  padding: 5px;
  background-color: #202020;
  border: 1px solid #9c9c9c;
  border-radius: 5px 5px 5px 5px;
}

.section-title {
  margin-top: 20px;
  font-weight: bold;
  font-size: 20px;
  color: #9c9c9c;
  border-bottom: 0px solid #9c9c9c;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.rowdateNaissance {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.rowdateNoms {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 2px;
}

.phone-row {
  display: flex;
  align-items: center;
}

.prefix {
  font-weight: bold;
  padding: 5px 10px;
  background-color: #202020;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
}


#parentPhone {
  flex: 1;
  min-width: 180px;
  padding-left: 10px;
  border-radius: 0 5px 5px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 14px;
  white-space: nowrap;
}

.no-margin {
  margin-left: 0 !important;
}

.gender-group {
  display: flex;
  gap: 10px;
  margin-top: 0px;
}


.checkbox {
  display: block;
}

.save-btn {
  margin-top: 20px;
  padding: 10px;
  background: gold;
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
}

.hidden {
  display: none;
}

#partialAmountContainer {
  display: none;
}





#ClasseList {
  margin-left: 20px;
  margin-top: 10px;
}

.lesClasseTitle {
  color: rgb(189, 189, 189);
  background-color: rgb(75, 75, 75);
}

.classe-item {
  cursor: pointer;
  padding: 5px;
  color: rgb(189, 189, 189);
  background-color: black;
  border-bottom: 1px solid #ddd;
}

.classe-item:hover {
  background-color: white;
}




.tableTitle {
  color: rgb(0, 0, 0);
  background-color: white;
}