html {
  height: 100vh;
}
body {
  height: 100vh;
  background: #f5f9ff !important;
  font-family: "Libre Franklin", sans-serif;
  font-size: 0.875rem;
}
footer {
  display: none;
}
::-webkit-scrollbar {
  display: none;
}

/* REVAMP-22 - primary button - states */
.form-card .btn-primary {
  background-color: #ffb500;
  color: #000 !important;
  width: 100%;
  font-weight: 500;
}
.form-card .btn-primary:hover {
  color: #000;
  border: 0;
  background-color: #faaf12;
}
.form-card .btn-primary:focus {
  background-color: #faaf12;
}
.form-card .btn-primary:active {
  background-color: #e29900;
}
/* REVAMP-22 - primary button - states */

/* REVAMP-22 - sec btn states */
.secondary-btn {
  color: #1e4df9;
  margin: 0 1em 0 0;
  max-width: fit-content;
}
.secondary-btn:hover {
  background-color: #c7ceff;
}
.secondary-btn:focus {
  border: solid 1px #000748;
}
/* REVAMP-22 - sec btn states*/

.form-control:focus {
  border: solid 1px #000748;
  box-shadow: none;
}
.form-control {
  color: #000748 !important;
}
select.form-control {
  outline: 0;
  background-color: #fff;
}

.navbar a:not(.btn):not(.dropdown-item) {
  color: #303eb5;
}

hr {
  border-color: #303eb5 !important;
}
.navbar a:not(.btn):not(.dropdown-item) span {
  color: #303eb5 !important;
}
.pagination li a {
  margin-right: 1em;
}

.form-check-input {
  margin-top: 0.2em;
  margin-left: 0;
}

a {
  color: #1e4df9;
}

/* FORM CARD */

input:not([type="checkbox"]):not([type="submit"]):not([name="search_user"]):not(
    [id="resend-button"]
  ):not([id="sync-button"]):not([name="is_active"]) {
  /* exclude search_user input from user_admin */
  font-size: 0.875rem;
  height: 2.6rem;
  width: 100%;
  padding-inline: 1rem;
  border-radius: 8px !important;
  background-color: #b9bbcd;
  margin-top: 0;
  margin-bottom: 1.3em;
}

.form-control:disabled {
  background-color: #cccdda !important;
  color: #00074859 !important; /* #000748 opacity(35%) */
}

textarea#id_message.textarea.form-control {
  font-size: 0.875rem;
  height: 4rem;
  width: 100%;
  padding-inline: 1rem;
  border-radius: 8px !important;
  background-color: #b9bbcd;
  margin-top: 0;
  margin-bottom: 1.3em;
}

input:not([type="checkbox"]):not([type="submit"]):not([name="search_user"]):not(
    [id="resend-button"]
  ):not([id="sync-button"]).is-invalid {
  margin-block-end: 0;
}

input[type="checkbox"] + label[for^="id"] {
  display: block;
}

.checkbox label::before,
.checkbox label::after {
  background-color: #dceaff !important;
  border: 0 !important;
}

::placeholder {
  color: #00000080 !important;
}

:focus {
  outline: 0;
}

/* ### REVAMP-22 - card ### */

.alert {
  font-weight: 700;
  line-height: 24px;
  padding: 0.7em 1.5em;
  margin-bottom: 0.7em;
  border: 0;
  border-radius: 8px;
  color: inherit;
}
.alert p {
  margin: 0 !important;
}
.alert button {
  float: right;
}
.alert-success {
  color: #0e6012;
  background-color: #b9febc;
}

.form-control {
  width: 24rem;
}

.cancel-btn {
  color: #1e4df9 !important;
}

.falcon-invalid-feedback {
  color: #c31301;
  font-size: 10px;
  font-weight: 500;
}

.has-danger::after {
  content: "" !important;
}

.has-danger .form-control {
  border-color: #c31301 !important;
  color: black !important;
}

/* FROM COMPILE-UI */
.btn {
  font-weight: 500;
  font-family: "Libre Franklin", sans-serif;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.125;
  transition: all 0.25s cubic-bezier(0.27, 0.01, 0.38, 1.06);
  border-radius: 8px;
  margin-block: 1.3em;
  min-width: 150px;
}

.btn:hover,
.btn-primary:hover {
  box-shadow: none !important;
}

.card-subtitle,
.read-link,
li,
p {
  font-size: 16px;
}
@media (min-width: 1336px) {
  .card-subtitle,
  .read-link,
  li,
  p {
    font-size: 1em;
  }
}

/* Fix user-admin */

form#resend-email {
  display: flex;
}

.user-admin > button.btn.btn-primary {
  margin-left: 4px;
}

.select-multiple-widget .btn {
  height: min-content;
  margin-right: 1em;
}

.select-multiple-widget .form-group {
  margin: 2em 3em 2em 1em;
}
.select-multiple-widget h2 {
  font-size: 1em;
}
.select-multiple-widget .selector {
  min-width: 840px;
  float: left;
  margin-block: 2em;
  border: 1px solid;
  padding: 1em;
}
@media (max-width: 768px) {
  .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* disable remember me */

#div_id_remember {
  display: none;
}

/* revamp 22 */
/* sidepane */
.container-card-row {
  margin: 2em;
}
.sidepane {
  min-height: 500px;
  /* border-right: 1px solid #b2b4c7; */
}
@media (max-width: 1024px) {
  .sidepane {
    display: none !important;
  }
  .container-card {
    position: relative;
    /* top: -5em; */
  }
  .form-wrapper {
    width: auto !important;
  }
}
@media (min-width: 1025px) {
  .mobile-view-logo {
    display: none !important;
  }
}
.vertical-center-container {
  display: flex;
  flex-direction: column;
  align-items: safe center;
  justify-content: safe center;
}

.sidepane-content h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 0;
  line-height: 1.35;
}

/* card */

.compile-layout {
  background: #000748;
  height: 100%;
  padding-inline: 2em;
}

.container-card {
  color: #000748;
  background: #fff;
  margin-inline: auto;
  height: fit-content;
  max-width: 1120px;
  border-radius: 8px;
  /* margin-top: 5rem; */
}
.form-card.card {
  border: 0;
  font-weight: 500;
}
.form-card .card-body {
  padding: 0 1.25rem;
}
@media (min-width: 576px) {
  .password_change {
    width: 430px;
  }
  /* .container-card {
    margin-top: 0;
  } */
}
.card.form-card {
  font-size: 0.875rem;
}

.card.form-card a {
  line-height: 14px;
}

.card.form-card hr {
  border: 1px solid #b2b4c7 !important;
  width: 100%;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5em;
  color: #000748;
}
.card-subtitle {
  color: #000748af;
}

/* form */
label {
  font-size: 0.875rem;
  line-height: 0.875rem;
  font-weight: 500;
  margin-bottom: 3px;
}
.form-group.has-danger label {
  color: #c31301;
}

label[for^="id_user_good"]
,label[for^="id_users"]
,label[for^="id_companies"]{
  display: none;
}

/* FIX user-admin */
td {
  max-width: 300px;
}

input,
button {
  font-size: 0.875rem !important;
}

.snowflake-shares-card .btn {
  margin-block: 1.5em;
  margin-left: 1em;
}

.snowflake-shares-card .btn-link {
  padding-left: 0;
}

.snowflake-shares-card .btn-company-status {
  margin: 0;
  border-radius: 0;
  opacity: 1;
}
/**************************Sign in page******************************/
.container-card-sign-in {
  background: none;
  max-width: none;
}

.no-auth-container {
  background-color: #000748;
  height: 100%;
}

@media (max-width: 1025px) {
  .no-auth-container {
    height: calc(100% - 57px);
  }
}

.auth-container {
  background-color: #000748;
  height: calc(100% - 57px);
}

.logo_wrapper {
  background-color: #000748;
  padding: 0.75rem 1.25rem;
}

.logo_wrapper a {
  display: inline-flex;
  text-decoration: none;
  width: 40%;
}

.text-orange {
  color: #ef8200;
}

.text-pink {
  color: #ff3a77;
}

.sidepane-content img {
  position: absolute;
  right: 0;
  bottom: 0;
}

.brand-text-pane {
  display: flex;
  justify-content: end;
  height: 100%;
  width: 100%;
  align-items: center;
}

.form-wrapper {
  height: 100%;
  margin: 0 !important;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  max-width: 500px;
  padding-block: 1rem;
  width: 500px;
}

.width-auto {
  width: auto !important;
}

/* MFA OTP screen styles */

/* Layout */
.mfa-otp-card {
  height: 30rem;
}

.card-title-sec {
  height: 10%;
}
.card-content-sec {
  height: 60%;
  align-content: end;
}
.card-footer-sec {
  height: 30%;
  align-content: end;
}

/* Button and text styles */
.auth-btn-link, .mfa-otp-card a {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  color: #0074D0;
  padding: 0;
  text-decoration: none;
  font-weight: 700;
}

.mfa-otp-card a {
  text-decoration: underline;
}

.mfa-otp-card p {
  font-weight: 400;
  font-size: inherit;
}

.mfa-otp-card label {
  font-weight: 700;
  line-height: 1.5rem;
}

.resend-otp-block {
  position: relative;
  bottom: 6em;
}

.mfa-otp-card .errorlist li {
  list-style-type: none;
}

.mfa-otp-card ul, .mfa-otp-card .alert {
  padding-left: 0 !important;
  margin-bottom: 2em;
}

.mfa-otp-card .alert, .mfa-otp-card .errorlist li {
  padding: 8px;
  border: 0;
  border-radius: 8px;
  color: inherit;
  text-align: center;
  font-size: inherit;
}

.mfa-otp-card .alert-success {
  color: #1F845A;
  background: #DCFFF1;
}

.alert-error, .mfa-otp-card .errorlist li {
  color: #C9372C;
  background: #FFECEB;
}

.mfa-otp-card .resend:disabled {
  color: rgba(0, 116, 208, 0.50);
}

#resend-timeout {
  color: #C9372C;
  font-weight: 700;
}

/**************************Waffle Feature Flag******************************/
.list-waffle-flag {
  list-style: none;
  margin-left: -2rem;
  font-size: 1rem;
  font-weight: 500;
}

.disabled-section {
  pointer-events: none;
  opacity: 0.5;
}

#waffle-user-form .form-group {
  display: flex;
  flex-flow: column;
}
/**************************Waffle Feature Flag******************************/

.form-check {
  margin-top: .5rem;
}