html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background-color: #021324;
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #0b0e1d;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  margin-top: 0;
}

.text {
  font-size: 14px;
  color: #625b71;
}

.text a {
  color: #6385ff;
  text-decoration: none;
}

.text a:hover {
  text-decoration: underline;
}

.container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("/bg.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.container > .card {
  margin: 32px;
}

.mb24 {
  margin-bottom: 24px;
}

.mb32 {
  margin-bottom: 32px;
}

.mt8 {
  margin-top: 8px;
}

.mt16 {
  margin-top: 16px;
}

.mt24 {
  margin-top: 24px;
}

.mt32 {
  margin-top: 32px;
}

.center {
  text-align: center;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  padding: 32px;
  width: 480px;
  max-width: 100%;
  box-shadow: 1px 4px 12px 2px rgba(0, 0, 0, 0.05);
  position: relative;
}

.card h2 {
  margin-bottom: 24px;
}

.card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -62px;
  margin: auto;
  text-align: center;
  background-image: url("/spatialedge-light.svg");
  background-size: contain; /* The key property to contain the image */
  background-repeat: no-repeat;
  background-position: center;
  width: 150px;
  height: 36px;
}

/* OUTLINED INPUT STYLES */

.outlined-input {
  position: relative;
  width: 100%;
  display: flex;
}

.outlined-input input {
  color: rgba(0, 0, 0, 0.87);
  height: 48px;
  outline: 1px solid #aab7cf;
  border-radius: 4px;
  border: none;
  background-color: #fff;
  padding-left: 14px;
  font-size: 1rem;
  transition: 0.1s cubic-bezier(0.65, 0.05, 0.36, 1);
  flex: 1;
}

.outlined-input input[readonly] {
  color: #aab7cf;
  border-color: #aab7cf;
}

.outlined-input label {
  position: absolute;
  top: 50%;
  left: 9px;
  transform: translateY(-50%);
  background-color: #fff;
  color: #777678;
  text-align: center;
  transition: 0.2s cubic-bezier(0.65, 0.05, 0.36, 1);
  font-size: 1rem;
  pointer-events: none;
  padding: 0 5px;
}

.outlined-input input:not(:placeholder-shown) ~ label,
.outlined-input input:focus ~ label {
  top: 0px;
  left: 10px;
  font-size: 0.75rem;
}

.outlined-input input:focus {
  outline: 1px solid #1f5de4 !important;
}

.outlined-input input:hover {
  outline: 1px solid #a9a8aa;
}

.outlined-input input:focus ~ label {
  color: #3c67ff !important;
}

/* END OUTLINED INPUT STYLES */

.button {
  background-color: #6385ff;
  color: #fff;
  padding: 10px 16px;
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  transition: 0.2s all;
}

.button:hover {
  background-color: rgb(31, 93, 220);
  box-shadow: 0px 4px 4px 0px rgba(31, 93, 35, 0.1);
}

.button:active {
  background-color: rgba(18, 95, 210, 0.6);
}

.button.full-width {
  width: 100%;
  height: 44px;
  text-align: center;
  padding: 0 16px;
}

.button.google {
  background-image: url("/assets/identity/google_icon-1e918ca1.svg"),
    linear-gradient(to right, #ffffff 60px, transparent 60px);
  background-repeat: no-repeat;
  background-position: 5px center, 0px center;
  background-size: auto, 50px;
  border: 1px solid #6385ff;
}

.button.microsoft {
  background-image: url("/assets/identity/microsoft_icon-a18f0446.svg"),
    linear-gradient(to right, #ffffff 60px, transparent 60px);
  background-repeat: no-repeat;
  background-position: 12px center, 0px center;
  background-size: auto, 50px;
  border: 1px solid #6385ff;
}

.errors {
  background-color: #ffe4da;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid rgba(198, 49, 14, 0.3);
  color: #c6310e;
}

.flex-container {
  display: flex;
  gap: 24px;
}

.flex-1 {
  flex: 1;
}

.helper-text {
  color: #777678;
  font-size: 14px;
}
