body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  min-height : 100vh;
  height: 100vh;
  padding: 20px;
}
.container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
  max-width: 800px;
}
#logo {
  max-width: 500px;
  height: auto;
}
.card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}
.card h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: bold;
  align-self: flex-start;
}
.device-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.device-image {
  width: 200px;
  height: 200px;
  padding-left: 40px;
}
.info {
  font-size: 16px;
  flex-grow: 1;
  padding-left: 40px;
}
#connect-button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}
.slider-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 20px;
      width: 100%;
    }

    .slider-title {
      font-size: 16px;
      width: 150px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .slider-wrapper {
      flex: 1;
      min-width: 0;
      width: 100%;
    }

    /* Style général du slider */
    .slider {
    width: 100%;
    max-width: 100%;
    min-width: 100px;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #007bff;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
    }

    
    /* Webkit (Chrome, Edge, Safari) thumb par défaut */
    .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #007bff;
    border: none;
    cursor: pointer;
    /*transition: background-color 0.2s ease;*/
    }

    /* Firefox thumb par défaut */
    .slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #007bff;
    border: none;
    cursor: pointer;
    /*transition: background-color 0.2s ease;*/
    }


    /* ✅ Valeur modifiée → orange */
    .slider.slider-modified::-webkit-slider-thumb {
    background-color: orange !important;
    }
    .slider.slider-modified::-moz-range-thumb {
    background-color: orange !important;
    }


    .slider-value {
      width: 60px;
      text-align: right;
      flex-shrink: 0;
      white-space: nowrap;
    }
.settings-content {
  width: 100%;
  display: block;
}
.info-row {
  margin-bottom: 20px; /* même valeur que .slider-row */
}

#connect-button:hover {
  background-color: #0056b3;
}
#connection-status {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
#log-output {
  width: 100%;
  min-height: 200px; /* ou 300px selon ton besoin */
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 10px;
  font-family: monospace;
  font-size: 14px;
  white-space: pre-wrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}




