html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Compiled CSS from _common.scss, _sign-in.scss, and component-specific .scss files.
  Variables like $o-blue-light have been replaced with their inferred hex values.
*/

/* General Body and Button Styles from _common.scss */
body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.btn {
  display: block;
  height: 44px; /* $o-input-height */
  line-height: 44px;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: 17px;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 5px; /* $o-border-radius */
  box-shadow: none;
}

.btn:focus {
  box-shadow: none;
}

.btn-primary {
  width: 100%;
  text-align: center;
  border-radius: 5px;
  background: #20C4FF; /* $o-blue-light */
  border-color: #20C4FF; /* $o-blue-light */
  color: #fff;
  max-width: 100%;
  margin: 0;
  font-size: 17px;
}

.btn-primary:hover {
  background-color: #0C86B3 !important; /* $o-blue-dark */
  border-color: #0C86B3 !important; /* $o-blue-dark */
}

.btn-primary:disabled {
  opacity: 0.6;
}


/* Core Sign-in Block Styles from _sign-in.scss */
.sign-block {
  position: relative;
  min-height: 80vh;
  display: flex;
  width: 100%;
}

.sign-block .form-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  margin: auto;
}

.sign-block .logo-container {
  margin-top: 8%;
  margin-bottom: 3rem;
}

.sign-block .logo-container img {
  width: 250px;
}

.sign-block .sign-form {
  min-width: 320px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  margin-top: 5%;
  margin-bottom: 6%;
}

.sign-block .sign-form .form-head {
  color: #4a4a4a; /* $o-gray-middle */
  font-size: 26px;
  line-height: 36px;
  /* font-family: Ginger; */ /* Assuming Ginger is a custom font */
  font-weight: bold;
  margin-bottom: 30px;
}

.sign-block .sign-form .help-text {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 20px;
}

.sign-block .form-group {
  position: relative;
  margin-bottom: 20px;
}

.sign-block .form-control {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
  text-align: left;
  box-shadow: none;
  outline: none;
  border: 1px solid #D7D7D7; /* $o-border-color */
  border-radius: 5px; /* $o-border-radius */
  font-size: 14px;
  color: #4a4a4a; /* $o-gray-middle */
  height: 44px; /* $o-input-height */
  padding: 15px 20px;
}

.sign-block .form-control:focus {
  border-color: #20C4FF !important; /* $o-blue-light */
  box-shadow: none;
}

.sign-block .form-check-input:checked {
  background-color: #20C4FF !important;
  border-color: #20C4FF !important;
}

.sign-block .form-check-input:focus {
  border-color: #20C4FF !important;
  box-shadow: none;
}

.sign-block .form-footer {
  margin: 30px 0 15px;
}

.sign-block .error-msg {
  color: #E22929; /* $invalid */
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 15px;
}

.sign-block .error-msg a {
  color: #20C4FF;
  text-decoration: underline;
}

.sign-block .outside-footer {
  height: 24px;
  min-width: 250px;
  margin-top: 8%;
}

.sign-block .outside-footer .footer-label {
  color: #4d4d4c;
  font-size: 15px;
  font-weight: 400;
}

.sign-block .outside-footer .footer-link {
  color: #20C4FF;
}

.sign-block .outside-footer .footer-link:hover {
  text-decoration: underline;
}

/* Specifics from login.component.scss */
.forgot-pass {
  color: #20c4ff;
  font-size: 14px;
  text-align: left;
  display: block;
  text-decoration: none;
}

.forgot-pass:hover {
  text-decoration: underline;
}

.keep-me-logged-in {
  margin-top: 15px;
}

.custom-control.custom-checkbox {
  text-align: left;
}

.custom-control-label {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.4rem;
  padding-left: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .sign-block .form-wrap {
    padding: 30px 35px 40px;
    width: 100%;
  }

  .sign-form {
    width: 100%;
  }

  .d-md-block {
    display: none !important;
  }
}
