body,
html {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.87);
  margin: 0;
  height: 100%;
}

body {
  margin: 0;
  font-family: Prompt;
  background-color: #f8f9fa;
  background-image: url("../img/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
}

body.loading {
  overflow: hidden;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-screen.hide {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.loading-text {
  font-size: 1.2rem;
  color: #ff700b;
  font-weight: 600;
  margin-bottom: 10px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #fdd9cf;
  border-top: 4px solid #ff700b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.main-content {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.main-content.show {
  opacity: 1;
}

.login-content {
  background-size: cover;
  background-position: center;
  margin-top: 120px;
  min-width: 320px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.login-content .box {
  max-width: 500px;
  padding: 24px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);
  margin: auto;
}
.login-content .box .box-container {
  width: 100%;
}
.login-content .box .logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}
.login-content .box .application-name {
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 0.83;
  letter-spacing: -0.4px;
  text-align: left;
  color: #000000;
}

.login-content .box .login-field {
  width: 320px;
  height: 24px;
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: -0.4px;
  text-align: left;
  color: #000000;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  background-color: #fff;
}
.login-content .box .visibility {
  position: relative;
  left: 296px;
  top: 20px;
  width: 24px;
  height: 24px;
  opacity: 0.54;
  border: none;
}
.login-content .box .copyright {
  min-width: 320px;
  text-align: center;
  font-size: 14px;
  opacity: 0.54;
  position: relative;
  top: 50px;
}
.identity-providers {
  width: 270px;
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 0.83;
  letter-spacing: -0.4px;
  text-align: left;
  color: #0055b8;
  margin-left: 32px;
  margin-top: 20px;
}

.login-content .box .social-link-style {
  width: 320px;
  height: 36px;
  border-radius: 2px;
  background-color: var(--white);
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #00754a;
  border-style: solid;
  border-color: #00754a;
  margin-top: 0px;
  margin-left: 30px;
  margin-bottom: 10px;
}

.login-content .box .para {
  font-size: 14px;
  margin-left: 30px;
}

.navbar-light {
  height: 74px;

  .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;

    h2 {
      font-size: 1.5rem;
      text-wrap: wrap;
      align-items: center;
      padding-left: 10px;
      margin-bottom: 0;
      color: #ff700b !important;
    }

    h5 {
      font-size: 1.15rem;
      color: #617186;
      text-wrap: wrap;
      align-items: center;
      padding-left: 10px;
      margin-bottom: 0;
    }
  }
}

.navbar-orange {
  background-color: #fdd9cf;
  height: 2px;
  padding: 0px !important;
}

.btn-primary {
  background-color: #ff700b;
  border-color: #ff700b;
}

.btn-primary:hover,
.btn-primary:active {
  background-color: #fc9377 !important;
  border-color: #fc8d6f !important;
}

.alert {
  max-width: 500px;
  margin: 0 auto;
  margin-bottom: 14px;
}

.divider-orange {
  height: 2px;
  border-bottom: 2px solid #ff700b;
}

.text-primary {
  color: #ff700b !important;
}

.kc-social-links {
  margin-top: 20px;

  padding-left: 0px;
}

.kc-social-links li {
  width: 100%;
  list-style-type: none;
}

.kc-social-links li a {
  text-decoration: none;
}

.kc-social-provider-logo {
  font-size: 23px;
  width: 30px;
  height: 25px;
  float: left;
}

.kc-social-gray {
  color: var(--pf-global--Color--200);
}

.kc-social-gray h2 {
  font-size: 1em;
}

.kc-social-item {
  margin-bottom: var(--pf-global--spacer--sm);
  font-size: 15px;
  text-align: center;
}

.kc-social-provider-name {
  position: relative;
}

.kc-social-icon-text {
  left: -15px;
}

.kc-social-grid {
  display: grid;
  grid-column-gap: 10px;
  grid-row-gap: 5px;
  grid-column-end: span 6;
  --pf-l-grid__item--GridColumnEnd: span 6;
}

.kc-social-grid .kc-social-icon-text {
  left: -10px;
}

.kc-login-tooltip {
  position: relative;
  display: inline-block;
}

.kc-social-section {
  text-align: center;
}

.kc-social-section hr {
  margin-bottom: 10px;
}

.social-login-idp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.social-login-idp img {
  width: 80px;
  border-radius: 10px;
}

a.social-login-idp {
  text-decoration: none !important;
}

.social-login-idp .logo-dummy {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #6c757d;
  color: #fff !important;
}

.no-underline {
  text-decoration: none !important;
}
