@media only screen and (max-width: 600px) {
  #device-fault-list,
  #device-repair-list {
    width: 100%;
  }
}

tab {
  display: none;
}

/* Style the navigation bar */
nav {
  background-color: #bd7b00;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  overflow: hidden;
  height: 50%;
}

nav a {
  float: left;
  color: white;
  text-decoration: none;
  text-align: center;
  padding: 14px 16px;
  width: auto;
  height: auto;
}

nav a:hover {
  background-color: #ddd;
  color: black;
  border-radius: 15px;
}

.active {
  background-color: #ffbe4e;
  color: white;
  border-radius: 15px;
}

.section {
  display: none;
  padding: 50px;

  align-items: center;
}

.section.current {
  display: block;
}

.current {
  display: block;
}

.main-container {
  margin: auto;
  width: 100%;
  max-width: 600px;
  padding: 10px;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.main-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.title {
  text-align: center;
}

.button-spacing {
  margin-bottom: 10px;
}

button {
  background-color: #bd7b00;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
}

p {
  text-align: center;
  font: fantasy;
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

h1 {
  text-align: center;
  font: fantasy;
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.start-button {
  background-color: #bd7b00;
  color: white;
  border-radius: 20px;
  align-items: center;
}

.fa-sharp {
  display: block;
  margin-top: 60px;
  color: #bd7b00;
}

.invisible {
  display: none;
}

input {
  display: block;
  padding: 5px;
}

img {
  display: block;
  margin: 0 auto;
  padding: 5px;
}

.error {
  color: red;
  display: block;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.success {
  color: green;
  display: block;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.form-background {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
}

form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

input[type="text"],
input[type="tel"],
input[type="file"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #f9f9f9;
  color: #333;
  font-size: 16px;
}

input[type="submit"] {
  background-color: #4caf50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

input[type="submit"]:focus {
  outline: none;
}

.scan-license-background {
  width: 40%;
}

body {
  background-color: #f0f0f0;
}

canvas {
  border: 1px solid black;
}

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

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

label {
  display: block;
  margin-bottom: 8px;
}

.association-container {
  width: 400px;
  margin: auto;
  padding: 20px;
}

.option {
  margin-top: 20px;
}

.hidden {
  display: none;
}

.association-label {
  display: flex;
  justify-content: flex-start;
}

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

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