body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100vh;
  margin: 0;
}

.login-container {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

h1 {
  color: #333;
  margin-bottom: 25px;
  font-size: 1.5em;
}

.input-group {
  margin-bottom: 15px;
  text-align: left;
}

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

input[type=email],
input[type=password] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* Ensures padding doesn't affect total width */
  font-size: 1em;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #007bff; /* SyncRoots-like blue */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1em;
  margin-top: 10px;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

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

/* Styles for the message display */
#message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  font-weight: bold;
  visibility: visible;
}

.hidden {
  visibility: hidden;
  height: 0; /* Collapse space when hidden */
  padding: 0;
  margin: 0;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  visibility: visible;
  height: auto;
  padding: 10px;
  margin-top: 15px;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  visibility: visible;
  height: auto;
  padding: 10px;
  margin-top: 15px;
}