form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 2em;
}

.formWrapper {
    background-color: #028391;
    width: 50%;
    margin: 1em auto;
    border-radius: 1em;
}


/* Style the form elements */
input[type="text"], input[type="email"], input[type="password"], select {
    width: calc(100% - 20px);
    background-color: #F6DCAC;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 0.5em;
}

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

/* Style for buttons */
button:not(#hamburger) {
    background-color: #FEAE6F;
    color: #01204E;
    padding: 10px 20px;
    border: none;
    border-radius: 0.5em;
    cursor: pointer;
    margin-right: 10px;
    margin-top: 1.2em;
    margin-bottom: 0.4em;
}

button:hover {
    background-color: #F6DCAC;
}

p {
    color: #F6DCAC;
    font-size: 1.3em;
    line-height: 1.6;

}

#login {
    text-decoration: none;
    border-radius: 8px;
    padding: 0.8em 0.9em;
    background-color: #FEAE6F;
    color: black;
    margin-bottom: 2em;
    width: 10%;
    margin: 1em auto;
    margin-bottom: 2em;
}

#create {
    color: #01204E;
    display: block;
    margin-top: 2em;
    width: 20%;
    margin: 20px auto;
    padding: 1em;
    background-color: #FEAE6F;;
    border-radius: 0.5em;
    text-decoration: none;
}


#loginPage h3 {
    color: black;
    font-size: 2em;
    margin-top: 2em;
    margin-bottom: 0;
    text-decoration: underline;
}

#loginPage h2 {
    font-size: 1.6em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

#loginPage #logoutButton {
    text-decoration: none;
    color: black;
    border-radius: 5px;
    padding: 0.4em 1em;
    width: 20%;
    margin: 20px auto;
}


#createAccount {
    padding: 0.5em;
}

#loginMessage {
    font-size: 1.2em;
    margin-top: -1em ;
    color: red;
}

.fitbitConnectWrapper {
  text-align: center;
  margin: 20px;
}

.fitbitConnectWrapper h2 {
  font-size: 2em;
  margin-bottom: 0.7em;
}

.fitbitConnectWrapper .fitbit-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background-color: #FEAE6F;
  color: #333333;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 9px;
  font-size: 16px;
  border: 1px solid;
  border-radius: 8px; /* Add rounded corners to the button */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.fitbitConnectWrapper .fitbit-login-button:hover {
  background-color: #f7f7f7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.fitbitConnectWrapper .fitbit-login-button img {
  height: 44px;  /* Adjust to size you want */
  width: 44px;   /* Set width to match height for a square image */
  border-radius: 50%;  /* Round corners of the image */
  object-fit: contain;  /* Ensure image fits within the given dimensions */
}

/* Optional: Fine-tuning the text size and spacing */
.fitbitConnectWrapper .fitbit-login-button span {
  font-size: 15px;  /* Set the font size of the text specifically */
  color: black;
}


#alreadyHaveAnAccount {
    margin-bottom: 0.5em;
    font-size: 1.5em;
}
