@font-face {
  font-family: "LL Medium";
  src: url("../fonts/ll-medium/LLMedium-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LL Medium";
  src: url("../fonts/ll-medium/LLMedium-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LL Medium";
  src: url("../fonts/ll-medium/LLMedium-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "LL Medium", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: hsla(217, 19%, 27%, 1);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

p,
span,
label,
input {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.login-pf {
  background: none;
}

div.login-pf-page {
  background-image: url("../img/sky.webp");
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  width: 100%;
}

.login-pf-signup {
  color: hsla(220, 9%, 46%, 1);
}

/* New user? Register */
#kc-registration {
  position: absolute;
  top: 52px;
  text-align: left;
}

.login-pf-page .login-pf-signup a {
  margin-left: 0px;
}

div#kc-form-wrapper::before {
  content: "Welcome back";
  font-family: "LL Medium", sans-serif;
  color: black;
  font-size: 20px;
  margin: 0 0 36px 0;
  font-weight: 300;
  display: block;
}

.login-pf-page .login-pf-header {
  background-image: url("../img/logo.svg");
  background-repeat: no-repeat;
  background-size: 100%;
  width: 96px;
  height: 24px;
  margin-bottom: 16px;
  float: right;
  margin-top: 4px;
}

div#kc-header-wrapper {
  display: none;
}

.login-pf-page .card-pf {
  margin: 0 auto;
  padding: 24px;
  width: 100%;
  max-width: 440px;
  border-radius: 24px;
  background: hsla(218, 53%, 94%, 0.55);
  backdrop-filter: blur(20px);
  border-color: hsla(0, 0%, 100%, 0.4);
  box-shadow: none;
}

.pf-c-input-group {
  background: transparent;
}

.subtitle {
  display: none;
}
input.pf-c-form-control {
  border-radius: 50px;
  border: 2px #e3e3e3 solid;
  opacity: 0.6;
  transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: "Inter";
  font-size: 14px;
  height: 44px;
  margin-top: 4px;
  text-indent: 6px;
  color: #222;
  border: none;
  outline: none;
}

input.pf-c-form-control:focus {
  opacity: 1;
  border: 2px #3375f6 solid;
  box-shadow: 0px 0px 0px 2px rgba(51, 117, 246, 0.2);
}

/* Log In button */
.pf-c-button.pf-m-block {
  background-color: #0077ff;
  color: white;
  transition: cubic-bezier(0.6, 0.04, 0.98, 0.335);
  border-radius: 100px;
  padding: 14px;
  font-weight: 300;
  width: 140px;
  height: 44px;
  float: left;
  cursor: pointer;
}

.pf-m-primary:hover {
  background-color: #0077ff !important;
  border: 1px solid #0077ff;
}

#saveTOTPBtn {
  margin-right: 8px;
}

#cancelTOTPBtn {
  color: black !important;
  background: white !important;
  border: 1px solid black;
}

#cancelTOTPBtn:hover {
  background-color: #f3f7ff !important;
}

button.pf-c-button.pf-m-control {
  display: none;
}

h1#kc-page-title {
  display: none;
}

/* User name and "Restart login" text from second sign-in view (auth code input) */
label#kc-attempted-username,
#reset-login {
  display: none;
}

#kc-select-try-another-way-form {
  display: none;
}

.pf-c-alert.pf-m-inline {
  --alert-color: hsla(35, 92%, 33%, 1);
  --alert-bg: hsla(43, 96%, 90%, 0.7);
  clear: both;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px 16px;
  border: 1px solid hsla(0, 0%, 100%, 0.5);
  border-radius: 16px;
  background: var(--alert-bg);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.pf-c-alert.pf-m-danger {
  --alert-color: hsla(0, 72%, 42%, 1);
  --alert-bg: hsla(0, 93%, 94%, 0.7);
}

.pf-c-alert.pf-m-success {
  --alert-color: hsla(142, 72%, 26%, 1);
  --alert-bg: hsla(141, 79%, 90%, 0.7);
}

.pf-c-alert.pf-m-info {
  --alert-color: hsla(221, 83%, 40%, 1);
  --alert-bg: hsla(214, 95%, 93%, 0.7);
}

.pf-c-alert.pf-m-inline .pf-c-alert__icon {
  margin: 0;
  display: flex;
  align-items: center;
  height: 20px;
  font-size: 14px;
  color: var(--alert-color);
}

.pf-c-alert.pf-m-inline .pf-c-alert__title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--alert-color);
}

#kc-form-options {
  margin: -6px 0 12px;
}

#kc-form-options .checkbox label {
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

#kc-form-options .checkbox input[type="checkbox"] {
  position: static;
  margin: 0;
}
