body {
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f4f4f4;
  margin: 0;
  color: #333;
}

.container {
  text-align: center;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}

h1 {
  color: #333;
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
  color: #666;
}

input[type="file"] {
  display: block;
  margin: 20px auto;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  padding: 8px 15px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #eee;
  cursor: pointer;
  margin-right: 10px;
}

input[type="file"]::file-selector-button:hover {
  background-color: #e0e0e0;
}

#uploaded-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.2s ease;
}

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

button:hover:not(:disabled) {
  background-color: #0056b3;
}

#label-container {
  margin-top: 25px;
  font-size: 1.2em;
  font-weight: bold;
}

#label-container div {
  margin-bottom: 8px;
  padding: 10px;
  background-color: #e9e9e9;
  border-radius: 4px;
  color: #333;
}