body {
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
}
.container {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
  overflow: hidden; /* Ensures that the overall container does not overflow */
}

/* Styles for results and signatures */
#result, #signature, #verify-result {
  background-color: #f9f9f9;  /* Light background for visibility */
  color: #333;  /* Dark text color for readability */
  padding: 8px;
  margin-top: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;  /* Slight border for definition */
  overflow-wrap: break-word;  /* Breaks long words so they can wrap */
  max-height: 100px;  /* Maximum height before scrolling */
  overflow-y: auto;  /* Allows vertical scrolling if content is too long */
}

/* Adjusted connection status indicators for better center alignment */
.connected, .disconnected {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background-color: lightskyblue; /* Green for connected, red for disconnected below */
  border-radius: 50%;
  margin: 10px auto;  /* Centers the dot and adds space around */
}

.disconnected {
  background-color: red;
}
input[type="text"], input[type="password"] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

button {
  background-color: blue;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 10px;
}

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