body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f4f4f9;
  color: #333;
  text-align: center;
}

header {
  background: #4CAF50;
  padding: 20px 0;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.logo-container {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#logo {
  width: 50px;
  height: auto;
  margin-bottom: 23px;
}

.logo-container p {
  font-size: 1.2rem;
  color: white;
  margin: 0;
}

h1 {
  background: #4caf50;
  color: white;
  margin: -22px;
  font-size: 2rem;
}

h3 {
  font-size: 1.2em;
  color: gray;
  margin-top: 9px;
  margin-bottom: -15px;
}
.clearTag {
  background: orange;
  color: white;
}
.clearTag:hover {
  background: #e69500;
}
.resetFlashiibo {
  background: red;
  color: white;
}
.resetFlashiibo:hover {
  background: #cc4949;
}
.btn-connect {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-connect:hover {
  background: #0056b3;
}
button {
  background: #45a049;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 10px 5px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
  display: inline-block;
}

button:hover {
  background: #3d8b41;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

input[type="file"] {
  display: none;
}

.modeButtons {
  line-height: 1.2;
  text-align: center;
}

.warning {
  font-size: 14px;
  color: red;
  margin-top: -20px;
  margin-bottom: 27px;
  display: block;
}


#fileInputLabel {
  background: #4caf50;
  color: white;
  border: none;
  margin-top: 10px;
  padding: 13px 13px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  height: 24px;
  transition: background 0.3s;
}

#fileInputLabel:hover {
  background: #45a049;
}

#downloadLink {
  display: inline-block;
  margin-left: 10px;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

#downloadLink:hover {
  background: #0056b3;
}

#statusMessage {
  margin-top: 15px;
  font-weight: bold;
  font-size: 1.2rem;
}

#fileList {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 400px;
  text-align: left;
}

#fileList li {
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#fileList li button {
  background: white;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

#fileList li button:hover {
  background: black;
}

.container {
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container h3 {
  color: #4caf50;
}

.container p {
  color: #555;
}

#buttonContainer {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
