:root {
  --header-height: 56px;
}

body {
  font-family: Segoe UI;
  font-size: 14px;
  color: #808080;
}

label {
  font-weight: normal;
}

/* Form */
.form-group.required .label-control:after {
  content: " *";
  color: red;
}

.form-control {
  display: block;
  width: 100%;
  height: 36px;
  border: solid 1px #a6a6a6;
  font-size: 14px;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--saj-primary-color);
}

.form-control:hover {
  border-color: var(--saj-primary-color);
}

.checkbox input[type="checkbox"] {
  margin-top: 6px;
}

.btn-lg {
  padding: 8px 12px;
}

.btn-primary {
  background-image: none;
  background-color: var(--saj-primary-color);
  border-color: var(--saj-primary-color);
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.btn-primary:active:focus,
.btn[disabled] {
  background-image: none;
  background-color: var(--saj-primary-color);
  border-color: var(--saj-primary-color);
}

.btn:active:focus,
.btn:focus {
  outline-offset: 0px;
}

/* Utilities */
.flex {
  display: flex;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.flex-gap-1 {
  gap: 4px;
}

.flex-gap-2 {
  gap: 8px;
}

.flex-gap-4 {
  gap: 16px;
}

/* Keycloak */
#kc-page-title {
  margin-bottom: 40px;
  font-size: 24px;
  text-align: center;
}

input#kc-login[type="submit"] {
  margin-top: 24px;
}

.instruction {
  text-align: center;
}

/* Custom styles */
.full-height {
  overflow: auto;
  height: calc(100vh - var(--header-height));
}

.saj-header {
  display: flex;
  align-items: center;
  height: var(--header-height);
  background-color: var(--saj-primary-color);
  font-size: 18px;
  font-weight: 300;
  color: white;
}

.saj-header a {
  color: white;
}

.saj-logo {
  display: block;
  max-width: 100%;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 32px;
}

.saj-hero {
  background-color: #f2f2f2;
}

.saj-hero img {
  width: 100%;
  max-width: 700px;
  height: 100%;
  object-fit: contain;
}

.form-card-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}

.form-card {
  width: 100%;
  max-width: 440px;
  margin: auto;
  padding: 40px 0;
}

.form-input-info {
  font-size: 12px;
}

@media (max-width: 992px) {
  .form-card {
    max-width: 60%;
  }
}

@media (max-width: 576px) {
  .saj-header {
    font-size: 16px;
    line-height: 1;
  }

  .form-card {
    max-width: 100%;
  }

  .form-card #kc-page-title {
    font-size: 20px;
  }
}

/* Recuperacao de senha indisponivel */
.saj-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background-color: #e6ecf2;
  color: #4a5568;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

#kc-reset-unavailable .instruction {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.saj-support-box {
  margin: 0 0 32px;
  padding: 16px 20px;
  border: 1px dashed #9db6d3;
  border-radius: 6px;
  background-color: #eef4fb;
  color: #4a5568;
  font-style: italic;
}

.saj-support-box strong {
  display: block;
  margin-bottom: 4px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2d3748;
}
