:root {
  --white: #fff;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #747984;
  --gray-700: #373D46;
  --gray-900: #202024;
  --gray-950: #111214;
  --blue-900: #4848F0;
  --red: red;
}

@font-face {
  font-family: 'Moderat';
  src: url('../fonts/Moderat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Moderat';
  src: url('../fonts/Moderat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.kc-body {
  background: var(--gray-950);
  min-height: 100vh;
  font-family: Moderat, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  height: 100svh;
  overflow: auto;
}

.kc-body a {
  color: var(--blue-900);
}

#kc-header {
  border-bottom: 1px solid var(--gray-200);
  width: 100%;
  height: 48px;
  margin: 0;
}

@media (min-width: 992px) {
  #kc-header {
    border-bottom: 0;
    border-right: 1px solid var(--gray-200);
    width: 48px;
    height: 100svh;
  }
}

#kc-header::after {
  content: '';
  width: 48px;
  height: 48px;
  display: block;
  background-image: url('../img/corral-logo-small.svg');
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  border-bottom: 1px solid var(--gray-200);
}

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

.login-pf body {
  background: var(--gray-950);
  background-image: none;
}

.login-pf-page {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 0;
  background: var(--gray-100);
}

@media (min-width: 992px) {
  .login-pf-page {
    display: flex;
    width: 50vw;
    border-radius: 0 20px 20px 0;
    min-height: 100vh;
  }
}

.login-pf-page .login-pf-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}

.login-pf-page .login-pf-header #kc-page-title,
.login-pf-page .cd-title {
  padding: 0;
  margin: 0 0 20px;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 44px;
  letter-spacing: -0.5px;
}

.login-pf-page .login-pf-header #kc-page-title {
  margin-bottom: 40px;
}

.login-pf-page .login-pf-header #kc-page-title:empty {
  display: none;
}

.login-pf-page .card-pf {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: var(--gray-900);
  border: 0;
  margin: 0;
  background: var(--gray-100);
}

@media (min-width: 992px) {
  .login-pf-page .card-pf {
    padding: 40px;
    border-radius: 0 20px 20px 0;
  }
}

@media (min-width: 1200px) {
  .login-pf-page .card-pf {
    padding: 70px;
  }
}


#kc-content {
  width: 100%;
  max-width: 530px;
}

#kc-content-wrapper {
  display: flex;
  flex-direction: column;
}

#kc-content-wrapper p {
  color: var(--gray-700);
}

#kc-content-wrapper ul {
  color: var(--gray-700);
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#kc-content-wrapper ul li {
  position: relative;
  padding-left: 30px;
}

#kc-content-wrapper ul li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0.6em;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--gray-700);
}

#kc-content-wrapper .pf-c-form-control {
  border-radius: 5px;
  font-size: 16px;
  line-height: 24px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  padding: 13px 18px;
  height: auto;
}

#kc-content-wrapper .form-group:has(.pf-m-error) .pf-c-form-control {
  border-color: var(--red);
}

@media (min-width: 992px) {
  #kc-content-wrapper .pf-c-form-control {
    padding: 12px 18px;
    border-radius: 2px;
  }
}

#kc-content-wrapper .pf-c-form-control::placeholder {
  color: var(--gray-500);
}

#kc-content-wrapper .pf-c-form-control:focus {
  border-color: var(--blue-900);
  outline: 1px solid var(--blue-900);
}

#kc-content-wrapper .pf-c-form__label {
  display: none;
}

#kc-content-wrapper #kc-content-wrapper-buttons {
  margin: 40px 0 0;
}

#kc-form-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

#kc-form-buttons .pf-c-button {
  position: relative;
  width: 100%;
  height: 44px;
  padding: 10px 40px 10px 20px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue-900);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  transition: .2s;
}

#kc-form-buttons .pf-c-button::after {
  content: '';
  position: absolute;
  top: 13px;
  right: 12px;
  left: auto;
  bottom: auto;
  width: 20px;
  height: 20px;
  background-image: url('../img/ico-arrow.svg');
  background-size: 100%;
}

@media (min-width: 992px) {
  #kc-content-wrapper .pf-c-button {
    width: auto;
  }
}

#kc-form-buttons .pf-c-button:hover {
  border-radius: 100px;
}

#kc-content-wrapper .pf-m-error {
  font-size: 14px;
  color: var(--red);
}

#kc-content-wrapper .form-group {
  position: relative;
  margin: 0 0 10px;
}

#kc-content-wrapper .form-group div {
  padding: 0;
}

#kc-content-wrapper .login-pf-settings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

#kc-social-providers {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#kc-social-providers .kc-social-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#kc-social-providers .kc-social-item {
  position: relative;
  width: 100%;
  display: flex;
  padding: 14px 20px;
  align-items: center;
  justify-content: center;
  gap: 25px 10px;
  border-radius: 2px;
  border: 1px solid var(--gray-300);
  color: var(--gray-950);
  background-color: var(--white);
  font-size: 16px;
  line-height: 24px;
}

#kc-social-providers .kc-social-item:hover {
  color: var(--blue-900);
}

#kc-social-providers .kc-social-provider-logo {
  position: absolute;
  left: 20px;
  top: 14px;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 100%;
}

#kc-social-providers .kc-social-provider-logo::before {
  display: none;
}

#kc-social-providers .kc-social-provider-name::before {
  content: 'Continue with '
}

#kc-social-providers hr {
  display: none;
}

#kc-social-providers h4 {
  margin: 20px 0;
}

#social-google .kc-social-provider-logo {
  background-image: url('../img/ico-google.png');
}

#social-microsoft .kc-social-provider-logo {
  background-image: url('../img/ico-microsoft.png');
}

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

#kc-reset-password-form,
#kc-passwd-update-form {
  margin: 40px 0 0;
}

.pf-c-alert {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid;
}

#corral-anim-wrapper {
  #debug-button-group {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 999;
    display: flex;
    gap: 10px;
  }

  #corral-anim {
    width: 100%;
    height: 50svh;
    min-height: 300px;
  }
}

@media (min-width: 992px) {
  #corral-anim-wrapper {
    position: fixed;
    inset: 0;

    #corral-anim {
      height: 100svh;
      width: 50svw;
      left: 50svw;
      position: relative;
      top: 0;
    }
  }
}
