/* Basic container layout (optional) */
#app {
  max-width: 600px;
  margin: 40px auto;
  font-family: sans-serif;
}

/* Label styling */
label {
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
}

/* Input fields */
input[type="text"],
input[type="password"] {
  display: block;
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

fieldset {
  border: 1px solid #ccc;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 6px;
}

legend {
  font-weight: bold;
  padding: 0 8px;
}

img {
  display: block;
  margin-bottom: 12px;
}

p {
  margin: 12px 0;
  color: #333;
}

h1 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  color: #333;
}

p {
  margin-bottom: 1em;
  line-height: 1.6;
  color: #555;
}

#bluetoothButton {
  margin: 1em 0;
}

#saveButton {
  margin-top: 2em;
}

input[type="checkbox"] {
  margin-right: 6px;
  transform: scale(1.1);
  vertical-align: middle;
}

input[type="checkbox"] + label {
  display: inline-block;
  margin-bottom: 12px;
  cursor: pointer;
}

select {
  display: block;
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: white;
}


input:required,
select:required,
textarea:required {
  border: 2px solid red;
}

label::after {
  content: attr(data-required);
  color: red;
  margin-left: 4px;
}


/* Buttons */
button {
  padding: 10px 16px;
  margin-right: 8px;
  background-color: #007bff;
  color: white;
  border: none;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

/* Tables */
table.xml-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

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

table.xml-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}
