html,
body {
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color:  #d5dadb;
  flex-direction: column;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
  background-color: white;
  border-radius: 10px;
}

.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-floating {
  margin: 4%;
}

.border-gaps:focus { /* put color in the border of the forms gap*/
  border-color: rgb(224, 175, 69);
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(128, 189, 255, 0.6);

}

.btn-login {
  background-color: #1e5f74;
  color: white;
}

.btn-login:hover {
    background-color: #1a6f8c;
    color: white !important
}

.focus:focus {
  border-color: #DDE7EB;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(30, 95, 116, 0.6);
}

/*   Styles for flash messages */
.flash-container {
  margin: 20px;
}

.flash-message {
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
  background-color: #ad8715;
}

.flash-message.success {
  background-color: #28a745;
}

.flash-message.error {
  background-color: #dc3545;
}

.flash-message.info {
  background-color: #17a2b8;
}

.flash-message.warning {
  background-color: #ffc107;
  color: #000;
}


