@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Bold.otf");
  font-weight: 700;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Semibold.otf");
  font-weight: 600;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Regular.otf");
  font-weight: 400;
}

body {
  background-image: url("../img/background.svg");
  background-size: cover;
  background-position: center;
  font-family: "Proxima Nova", sans-serif;
}

.root {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-content: center;
  height: 100vh;
}

#kc-header {
  background-image: url("../img/logo.svg");
  background-repeat: no-repeat;
  background-position: bottom 53px center;
  background-size: auto 77px;
}

.form-card {
  width: 464px;
  padding: 32px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  color: #121212;
}

.form-card h1 {
  font-size: 25px;
  line-height: 28px;
  font-weight: 700;
}

#kc-content {
  padding-top: 5px;
}

#kc-content .alert-error {
  display: flex;
  margin-top: 10px;
  font-size: 13px;
  color: #f00000;
  font-weight: 600;
  background-color: #fee6e6;
  border-radius: 5px;
  padding: 5px 10px 5px 0;
  overflow: hidden;
}

#kc-content .alert-error::before {
  content: "";
  width: 4px;
  background-color: #f00000;
  margin: -5px 10px -5px 0;
}

#kc-form {
  padding-top: 20px;
}

#kc-form-login {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label {
  font-size: 13px;
  line-height: 16px;
  align-self: flex-start;
  font-weight: 700;
}

.text-input {
  border: 1px solid #bdbdc2;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 18px;
  color: #121212;
}

.input-error-message {
  color: #6e6e6e;
  font-size: 13px;
  line-height: 18px;
  background-image: url("../img/input-error.svg");
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 20px;
}

.text-input[aria-invalid="true"] {
  border-color: #f00000;
}

.input-group {
  position: relative;
  display: flex;
}

.input-group > .text-input {
  flex: 1;
}

.password-visibility-button {
  position: absolute;
  border: none;
  right: 0;
  height: 100%;
  width: 38px;
  padding: 0;
  background-color: transparent;
  border-radius: 0 6px 6px 0;
  border: 1px solid transparent;
}
.password-visibility-button > i {
  width: 100%;
  height: 100%;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
}

i.password-show {
  background-image: url("../img/password-show.svg");
}

i.password-hide {
  background-image: url("../img/password-hide.svg");
}

.button {
  background-color: #8338ec;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 36px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  line-height: 20px;
}

.button:hover {
  background-color: #6f2bd6;
}

.button:active {
  background-color: #8338ec;
}

* {
  outline: none;
}

*:focus-visible {
  border-color: #8338ec !important;
}

.aop-social-separator {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin: 32px 0;
  color: #6e6e6e;
  font-size: 13px;
}

.aop-social-separator::before,
.aop-social-separator::after {
  content: "";
  border-top: 1px solid #bdbdc2;
  flex: 1;
}

.aop-social-providers {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.aop-social-providers > .button {
  text-decoration: none;
  text-align: center;
  background-color: #f8f3fe;
  color: #8338ec;
}

.aop-social-providers > .button:hover {
  background-color: #f2e6f8;
}

.aop-social-providers > .button:focus {
  background-color: #f8f3fe;
}
