@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

p,
button,
h2,
h1 {
  font-family: "Montserrat", sans-serif !important;
}

.outer-container {
  margin: 0;
  padding: 8px;
  min-height: auto;
  display: flex;
  flex-wrap: wrap;
}

.inner-container {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(to right, #2f0059, #1d0069);
}

.login-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 250px;
}

.login-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  color: white;
  padding-left: 160px;
  padding-right: 160px;
  min-width: 902px;
}

.login-promo {
  flex: 1 1 auto;
  max-width: 50%;
  align-self: flex-start;
  text-align: left;
  min-width: 374px;
}

.login-promo-training {
  flex: 1 1 auto;
  max-width: none;
  align-self: flex-start;
  text-align: left;
  min-width: 374px;
}

.login-title {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.2;
}

.login-title-rebura {
  font-size: 4rem;
  font-weight: normail;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif !important;
}

.gradient-text-become {
  display: block;
  background: linear-gradient(to bottom, #86b735, #0c6f53);
  color: white;
  width: fit-content;
  margin-bottom: 10px;
  height: 90px;
  align-content: center;
  letter-spacing: 1px;
  text-align: center;
  padding-left: 30px;
  padding-right: 30px;
  white-space: nowrap;
}

.gradient-text-partner {
  display: block;
  background: linear-gradient(to bottom, #86b735, #0c6f53);
  color: white;
  width: fit-content;
  padding-left: 30px;
  padding-right: 30px;
  height: 90px;
  align-content: center;
  letter-spacing: 1px;
  text-align: center;
}

.gradient-text-shaping {
  display: block;
  background: linear-gradient(to bottom, #95307e,
      #60508f);
  color: white;
  width: fit-content;
  margin-bottom: 10px;
  height: 90px;
  align-content: center;
  letter-spacing: 1px;
  text-align: center;
  padding-left: 30px;
  padding-right: 30px;
  white-space: nowrap;
}

.gradient-text-skills {
  display: block;
  background: linear-gradient(to bottom, #95307e,
      #60508f);
  color: white;
  width: fit-content;
  padding-left: 30px;
  padding-right: 30px;
  height: 90px;
  align-content: center;
  letter-spacing: 1px;
  text-align: center;
}

.login-subtitle {
  font-size: 1.2rem;
  letter-spacing: 1px;
  font-weight: bold;
  margin-top: 36px;
  color: white;
}

.login-box {
  flex: 0 0 auto;
  width: 360px;
  margin-left: auto;
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.login-box-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.login-button-container {
  display: flex;
  justify-content: flex-start;
}

.login-box-footer {
  margin-top: auto;
}

.login-heading {
  margin-bottom: 20px;
  color: white;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

.forgot-password {
  display: block;
  margin-bottom: 15px;
  color: #ccc;
  font-size: 12px;
  text-decoration: none;
}

.login-button {
  width: 35%;
  padding: 8px;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
}

.staff-login-container {
  flex: 1 1 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.staff-login-button {
  width: 35%;
  padding: 12px;
  color: white;
  border: 2px solid #fff;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
}

/* Force label above input for all login fields */
#local-login-placeholder .portal-form .row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

#local-login-placeholder label,
#external-login-placeholder label {
  margin-bottom: 5px;
  display: block;
  color: white;
}

.container#content-container {
  background: url('/signin-background.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  width: 100%;
}

#content {
  width: inherit;
}

.custom-forgot-password,
.custom-forgot-password span,
.custom-forgot-password span span {
  font-size: 12px !important;
  color: #2196f3 !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  display: inline !important;
  font-weight: normal !important;
}

.custom-forgot-password:hover,
.custom-forgot-password:hover span,
.custom-forgot-password:hover span span {
  color: #0d47a1 !important;
}

.portal-form label {
  font-weight: normal !important;
  font-size: 0.85rem !important;
  color: #ccc !important;
  text-align: unset !important;
  width: 100% !important;
}

.portal-form label::before {
  content: "" !important;
  /* removes red * from required field */
}

.portal-form input[type="text"],
.portal-form input[type="password"] {
  width: 100%;
  background-color: #e6e6e6;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #333;
}

.custom-forgot-password {
  font-size: 0.75rem;
  color: #9ac9e3 !important;
  text-decoration: none;
  margin-top: 6px;
  margin-bottom: 20px;
  display: inline-block;
}

#submit-signin-local {
  width: auto;
  min-width: 30%;
  padding: 8px;
  font-size: 1rem;
  border: none;
  color: white;
  font-weight: normal;
  cursor: pointer;
  background: linear-gradient(to bottom, #3586a6, #133c51);
  border-radius: 50px;
}

.staff-login-btn {
  width: -webkit-fill-available !important;
  padding: 8px !important;
  font-size: 1rem !important;
  border: none !important;
  color: white !important;
  font-weight: normal !important;
  cursor: pointer !important;
  background: linear-gradient(to bottom, #3586a6, #133c51) !important;
  border-radius: 50px !important;
}

 .staff-subtext {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
  }
  .staff-subtext a {
    color: #3586a6;
    text-decoration: underline;
    cursor: pointer;
  }

.portal-form .row.mb-3 {
  margin-bottom: 16px;
}

.login-box-body {
  padding-top: 10px;
}

#local-login-placeholder .offset-md-4 {
  margin-left: 0 !important;
}

.offset-md-4 {
  margin-left: 0 !important;
}

.portal-form .col-md-8 {
  width: 100%;
}

#external-login-placeholder button {
  width: 360px;
  padding: 8px;
  border-radius: 25px;
  background-color: darkslategray;
}

.custom-password {
  background: rgba(0, 0, 0, 0.8);
}

.forgot-password-helper-text>span {
  font-size: 14px !important;
  color: white !important;
}

.text-center>span {
  color: white !important;
}

/* spinner  */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}