/* FTMS Exercise Bike Dashboard Styles */

body {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Connect Button */
#connect {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#connect:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* Error Messages */
.error {
  color: red;
  font-weight: bold;
  margin: 10px 0;
}

/* Characteristic Cards */
.characteristic {
  margin: 10px 0;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

/* Data Values */
.data-value {
  font-weight: bold;
  color: #0066cc;
}

/* Section Headers */
.section-header {
  background-color: #e0e0e0;
  padding: 5px 10px;
  margin-top: 15px;
  border-radius: 4px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

th, td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
}

/* Version Badge */
.version {
  background-color: #f0f0f0;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
  font-size: 14px;
  margin-bottom: 15px;
}

/* Parsed Value Display */
.parsed-value {
  margin-top: 10px;
  padding: 10px;
  background-color: #e8e8e8;
  border-radius: 4px;
}

/* Control Buttons Container */
.control-buttons {
  margin-top: 10px;
}

.control-buttons button {
  margin-right: 5px;
  margin-bottom: 5px;
}

/* Resistance Control */
.resistance-control {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.resistance-control button {
  margin: 0 5px;
}

.resistance-control input {
  width: 60px;
  text-align: center;
}
