* {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 0;
}

html,
body {
  height: 100vh;
  width: 100vw;
  margin: 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f2f2;
}

h4 {
  font-size: 24px;
  font-weight: 600;
  color: #212435;
  opacity: 0.85;
}

label {
  font-size: 12.5px;
  color: #212435;
  opacity: 0.8;
  font-weight: 400;
  width: 55%;
}

form {
  padding: 40px 30px;
  background: #f9fbfc;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 20px;
  width: 100%;
}

form h4 {
  margin-bottom: 20px;
  color: #212435;
}

summary {
  text-align: center;
  cursor: pointer;
  padding: 10px 40px;
  background-color: #f9fbfc;
  color: #212435;
  font-size: 14px;
  border-radius: 5px;
  margin: 150px auto;
  margin-top: 100px;
  margin-bottom: 100px;
  font-weight: 500;
  box-shadow: 0px 2px 6px -1px rgba(0, 0, 0, 0.13);
  border: none;
  width: 500px;
}

details[open] summary {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

details form {
  padding: 10px;
  border: 1px solid #ccc;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

button {
  -webkit-appearance: none;
  width: auto;
  min-width: 100px;
  border-radius: 5px;
  text-align: center;
  padding: 10px 40px;
  margin-top: 20px;
  background-color: #f9fbfc;
  color: #212435;
  font-size: 14px;
  margin-left: auto;
  font-weight: 500;
  box-shadow: 0px 2px 6px -1px rgba(0, 0, 0, 0.13);
  border: none;
  transition: all 0.3s ease;
  outline: 0;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 6px -1px rgba(33, 36, 53, 0.6);
}

button:hover:active {
  transform: scale(0.99);
}

input:not([type="checkbox"]) {
  font-size: 16px;
  padding: 20px 0px;
  height: 56px;
  border: none;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  background: #f9fbfc;
  width: 280px;
  box-sizing: border-box;
  transition: all 0.3s linear;
  color: #212435;
  font-weight: 400;
  -webkit-appearance: none;
}

input:focus {
  border-bottom: solid 1px rgba(33, 36, 53, 0.6);
  outline: 0;
}

.floating-label {
  position: relative;
  margin-bottom: 10px;
  width: 100%;
}

.floating-label label {
  position: absolute;
  top: calc(50% - 7px);
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  padding-left: 44px;
}

.floating-label input {
  width: calc(100% - 44px);
  margin-left: auto;
  display: flex;
}

.floating-label input:not(:-moz-placeholder-shown) {
  padding: 28px 0px 12px 0px;
}

.floating-label input:not(:-ms-input-placeholder) {
  padding: 28px 0px 12px 0px;
}

.floating-label input:not(:placeholder-shown) {
  padding: 28px 0px 12px 0px;
}

.floating-label input:not(:-moz-placeholder-shown)+label {
  transform: translateY(-10px);
  opacity: 0.7;
}

.floating-label input:not(:-ms-input-placeholder)+label {
  transform: translateY(-10px);
  opacity: 0.7;
}

.floating-label input:not(:placeholder-shown)+label {
  transform: translateY(-10px);
  opacity: 0.7;
}

@-webkit-keyframes shake-shake {
  0% {
    transform: translateX(-3px);
  }

  20% {
    transform: translateX(3px);
  }

  40% {
    transform: translateX(-3px);
  }

  60% {
    transform: translateX(3px);
  }

  80% {
    transform: translateX(-3px);
  }

  100% {
    transform: translateX(0px);
  }
}

@keyframes shake-shake {
  0% {
    transform: translateX(-3px);
  }

  20% {
    transform: translateX(3px);
  }

  40% {
    transform: translateX(-3px);
  }

  60% {
    transform: translateX(3px);
  }

  80% {
    transform: translateX(-3px);
  }

  100% {
    transform: translateX(0px);
  }
}

.session {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  width: 100vw;
}

.card {
  display: flex;
  flex-direction: row;
  width: 500px;
  border-radius: 4px;
  background-color: #f9fbfc;
}

#logo {
  width: 200px;
}

#main-login {
  margin: 60px auto;
  padding: 15px 15px;
}

.login {
  margin: 50px auto;
  margin-top: 10px;
  margin-bottom: 0px;
  width: 500px;
}

.login a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

/* The SSO buttons are wrapped in a POST form (social-auth-app-django only
   starts a login from a POST): keep that form out of the layout so the
   generic `form` styles above (padding, background, width) do not apply. */
.sso-login {
  display: contents;
}

.login:hover {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}