@font-face {
  font-family: 'Karla';
  src: url('../fonts/Karla-VariableFont_wght-1.ttf');
}

* {
  font-family: 'Karla', sans-serif;
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

.background-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/background.jpg') no-repeat center center;
  background-size: cover;
  z-index: -1;
}

.form-container {
  border: 1px solid #f1f1f1;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 24px;
  border-radius: 12px;
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;

  width: 316px;
}

.form-container form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #391461;
  width: 180px;
}

input {
  width: 100%;
  border-radius: 12px;
  height: 40px;
  background-color: #fcfbfd;
  border: 1px solid #f1f1f1;
  padding-inline: 12px;
  font-size: 14px;
  color: #221528;
}

input:focus {
  outline: none;
  border-color: #dddbde;
}

input::placeholder {
  color: #8c898e;
}

.gradient-border {
  width: 100%;
  padding: 1px;
  border-radius: 12px;
  background: linear-gradient(104deg, #fbe9e9 12.07%, #d7beeb 110.02%);
}

button {
  cursor: pointer;
  background-color: #fcfbfd;
  border: none;
  width: 100%;
  height: 36px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #221528;
}

button:hover {
  font-weight: 700;
}

button[type='submit'] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sso-divider {
  width: 100%;
  display: flex;
}

.sso-divider div {
  margin-inline: 8px;
  color: #b7b3b9;
  font-size: 14px;
}

.sso-divider hr {
  background-color: #b7b3b9;
  height: 1px;
  border-radius: 2px;
  border: none;
  flex: 1;
}

.spin {
  animation: spinner 1s linear infinite;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.error-message {
  display: none;
  color: #ff0000;
  font-size: 12px;
  text-wrap: balance;
  text-align: center;
  padding-inline: 4px;
}
