:root {
  --textColor: #777;
  --textOffColor: #7c858d;
  --baseColor: #fff;
  --baseDarkColor: #1e2b36;
  --baseLightColor: #283b48;
  --secColor: #00408c;
  --secLightColor: #058ce8;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  height: auto;
  margin: 0;
  background: linear-gradient(to bottom, var(--baseColor), var(--secColor)) no-repeat bottom !important;
  background-size: cover;
}

.login-pf-page {
  width: 100%;
  justify-content: center;
  display: grid;
}

#kc-header-wrapper {
  height: 180px;
  background-image: url('../img/logo512.png');
  background-size: 170px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Login Card */

.login-pf-page .card-pf {
  background: var(--baseColor);
  border-width: 0;
  max-width: 800px;
  box-shadow: inset 0px 0px 0px var(--secColor), inset 0px 0px 0px var(--secColor);
}

/* Card Title */

.login-pf-page .login-pf-header {
  margin-bottom: 50px;
}

#kc-page-title {
  color: var(--textColor);
  text-transform: uppercase;
  font-weight: 600;
}

/* Login Form */

.login-pf-page .form-group {
  margin-bottom: 30px;
}

.login-pf-page .form-control {
  border: none;
  padding: 22px 30px;
  font-size: 18px;
  color: var(--textColor);
  height: auto;
}

.login-pf-page .pf-c-form-control:hover {
  border-bottom: 2px solid var(--secLightColor) !important;
}

.login-pf-page .pf-c-form-control:focus {
  background: var(--baseColor);
  outline: none !important;
  border: 1px solid var(--secLightColor) !important;
}

.login-pf-page .form-control::placeholder {
  font-style: normal;
  color: var(--textOffColor);
}

/* Reset Password Link */

#kc-form-reset-psw a {
  color: var(--secColor);
  padding-right: 8px;
}

#kc-form-buttons {
  margin-top: 50px;
}

/* Login Button */

input[type="submit"] {
  border: none;
  padding: 15px; 
  color: var(--baseColor) !important;

  background: var(--secLightColor) !important;
}

input[type="submit"]:active:focus {
  background: var(--secColor) !important;
  outline: none;
}

#kc-info {
  background-color: var(--baseColor) !important;
  margin: 10px 0px -20px 0px;
}

#kc-info-wrapper {
  background-color: var(--baseColor) !important;
}
