/* Import Tailwind */
@import url('https://fonts.googleapis.com/css?family=Lato:100,300,400,700');

html {
  /* Ensure the body takes full height for fixed footer */
  position: relative;
  min-height: 100%;
}

/* Custom Tailwind Colors */
:root {
  --app-bg-color: #ffffff;
  --primary-text-color: #000000;
  --secondary-text-color: #808080;
  --link-text-color: #007bff;
  --pulse-color: #1ec0cb;
  --primary-border-color: rgba(0, 0, 0, 0.1);
}

body {
  margin: 0;
  height: 100%;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Lato', sans-serif;
  background-color: var(--app-bg-color);
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

body.fade-out {
  opacity: 0;
  transition: none;
}

a {
  text-decoration: none !important;
}

.home-logo {
  max-height: 200px;
  max-width: 350px;
}

.home-nav-links {
  font-size: 16px;
}

#company-name {
  font-size: 30px;
}

.nav-logo {
  max-height: 60px;
  max-width: 200px;
}

#auth0-container {
  z-index: 0;
}

.auth0-lock-header {
  display: none;
}

.auth0-lock-submit {
  color: #000 !important;
  border: 1px solid grey !important;
}

.topnav {
  background-color: #fff;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70px; /* Set the fixed height of the footer here */
}

.loanStatusMenu .nav-item {
  font-size: 18px;
}

.loanStatusMenu .nav-item.active {
  font-size: 28px;
}

.loanDetailTitle {
  font-size: 20px;
}

.grow {
  -webkit-transition: -webkit-all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.grow:hover {
  transform: scale(1.05);
}

.rotate {
  -webkit-transition: -webkit-all 0.8s ease-in-out;
  transition: all 0.8s ease-in-out;
}

.rotate:hover {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.pulse {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--pulse-color);
  box-shadow: 0 0 0 rgba(30, 192, 203, 0.4);
  animation: pulse 2s infinite;
}
.pulse:hover {
  animation: none;
}

.backgroundColor {
  background-color: var(--app-bg-color) !important;
}

.primaryTextColor {
  color: var(--primary-text-color) !important;
}

.secondaryTextColor {
  color: var(--secondary-text-color) !important;
}

.linkTextColor {
  color: var(--link-text-color) !important;
}

.borderColor {
  border-color: var(--primary-border-color) !important;
}

.approve-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.advisorPurple {
  color: #9013fe !important;
}

.clientBlue {
  color: #007bff !important;
}

.image-cropper {
  width: 35px;
  height: 35px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

.cropped-image {
  display: inline;
  margin: 0 auto;
  height: 100%;
  width: auto;
}

.disabledbutton {
  pointer-events: none;
  opacity: 0.4;
}

#docusignModal{

}
.modal-backdrop {
  position: fixed;  /* This ensures it's fixed to the screen */
  z-index: -1 !important;  /* Set the highest z-index possible */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
/*make navContent only visible on mobile*/
@media (min-width: 992px) {
  #navContent {
    display: none !important;
  }
}

@keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(30, 192, 203, 0.4);
  }
  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(30, 192, 203, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(30, 192, 203, 0);
  }
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(30, 192, 203, 0.4);
    box-shadow: 0 0 0 0 rgba(30, 192, 203, 0.4);
  }
  70% {
    -moz-box-shadow: 0 0 0 10px rgba(30, 192, 203, 0);
    box-shadow: 0 0 0 10px rgba(30, 192, 203, 0);
  }
  100% {
    -moz-box-shadow: 0 0 0 0 rgba(30, 192, 203, 0);
    box-shadow: 0 0 0 0 rgba(30, 192, 203, 0);
  }
}

/*fix width of comment input inside sidebar of content-explorere*/
.draft-js-editor label {
  min-width: 100%;
}

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
  background-color: #6610f2;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#toast-container > .toast-error {
      background-color: #bf0707;
      color: #000000;
      opacity: 1;
      font-weight: bold;
    }

.toast-success {
  background-color: #3fa404 !important;  /* Dark green */
  color: rgb(0, 0, 0) !important;  
  opacity: 1 !important;             /* Optional: make text white */
}