@charset "UTF-8";
/* * * Nova  Sass Styles  * * */
/*Table of Contents - go in this order: utils, themes, bootstrap, plugins, layout*/
/*
*
* Mixins
*
* Root breakpoints and Sass functions.
*
*/
:root {
  --sm: 576px;
  --md: 768px;
  --lg: 992px;
  --xl: 1200px;
  --xxl: 1400px;
}

/*@mixin color-adjustments($primary, $amount) {
    --primary: $primary;
    --primary-darker: mix(#000, $primary, $amount);
}
*/
/*
*
* Positions
*
* Top, bottom, left and right position utils.
*
*/
.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 500 !important;
}

.t-0 {
  top: 0 !important;
  z-index: 1;
}

.b-0 {
  bottom: 0 !important;
  z-index: 1;
}

.s-0 {
  left: 0 !important;
  z-index: 1;
}

.e-0 {
  right: 0 !important;
  z-index: 1;
}

.t-n0 {
  top: 0 !important;
  z-index: 1;
}

.b-n0 {
  bottom: 0 !important;
  z-index: 1;
}

.s-n0 {
  left: 0 !important;
  z-index: 1;
}

.e-n0 {
  right: 0 !important;
  z-index: 1;
}

.t-1 {
  top: 0.25rem !important;
  z-index: 1;
}

.b-1 {
  bottom: 0.25rem !important;
  z-index: 1;
}

.s-1 {
  left: 0.25rem !important;
  z-index: 1;
}

.e-1 {
  right: 0.25rem !important;
  z-index: 1;
}

.t-n1 {
  top: -0.25rem !important;
  z-index: 1;
}

.b-n1 {
  bottom: -0.25rem !important;
  z-index: 1;
}

.s-n1 {
  left: -0.25rem !important;
  z-index: 1;
}

.e-n1 {
  right: -0.25rem !important;
  z-index: 1;
}

.t-2 {
  top: 0.5rem !important;
  z-index: 1;
}

.b-2 {
  bottom: 0.5rem !important;
  z-index: 1;
}

.s-2 {
  left: 0.5rem !important;
  z-index: 1;
}

.e-2 {
  right: 0.5rem !important;
  z-index: 1;
}

.t-n2 {
  top: -0.5rem !important;
  z-index: 1;
}

.b-n2 {
  bottom: -0.5rem !important;
  z-index: 1;
}

.s-n2 {
  left: -0.5rem !important;
  z-index: 1;
}

.e-n2 {
  right: -0.5rem !important;
  z-index: 1;
}

.t-3 {
  top: 1rem !important;
  z-index: 1;
}

.b-3 {
  bottom: 1rem !important;
  z-index: 1;
}

.s-3 {
  left: 1rem !important;
  z-index: 1;
}

.e-3 {
  right: 1rem !important;
  z-index: 1;
}

.t-n3 {
  top: -1rem !important;
  z-index: 1;
}

.b-n3 {
  bottom: -1rem !important;
  z-index: 1;
}

.s-n3 {
  left: -1rem !important;
  z-index: 1;
}

.e-n3 {
  right: -1rem !important;
  z-index: 1;
}

.t-4 {
  top: 1.5rem !important;
  z-index: 1;
}

.b-4 {
  bottom: 1.5rem !important;
  z-index: 1;
}

.s-4 {
  left: 1.5rem !important;
  z-index: 1;
}

.e-4 {
  right: 1.5rem !important;
  z-index: 1;
}

.t-n4 {
  top: -1.5rem !important;
  z-index: 1;
}

.b-n4 {
  bottom: -1.5rem !important;
  z-index: 1;
}

.s-n4 {
  left: -1.5rem !important;
  z-index: 1;
}

.e-n4 {
  right: -1.5rem !important;
  z-index: 1;
}

.t-5 {
  top: 2rem !important;
  z-index: 1;
}

.b-5 {
  bottom: 2rem !important;
  z-index: 1;
}

.s-5 {
  left: 2rem !important;
  z-index: 1;
}

.e-5 {
  right: 2rem !important;
  z-index: 1;
}

.t-n5 {
  top: -2rem !important;
  z-index: 1;
}

.b-n5 {
  bottom: -2rem !important;
  z-index: 1;
}

.s-n5 {
  left: -2rem !important;
  z-index: 1;
}

.e-n5 {
  right: -2rem !important;
  z-index: 1;
}

.raindrop-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.raindrop-loader .load {
  height: 30px;
  width: 30px;
  border: 3px solid var(--primary);
  transform: rotate(45deg);
  border-radius: 0 50% 50% 50%;
  position: relative;
  animation: move 0.5s linear infinite alternate-reverse;
}

.raindrop-loader .load::before {
  content: "";
  position: absolute;
  height: 55%;
  width: 55%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary);
  border-bottom-color: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 1s linear infinite;
}

.loadMsg {
  margin-top: 15px;
  text-align: center;
  font-size: 1rem;
  font-style: italic;
  color: var(--secondary);
  max-width: 240px;
}

@keyframes rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes move {
  to {
    transform: translateY(5px) rotate(45deg);
  }
}
/* * * Resizing ability for user to manually grab and resize a div * * * */
.ui-resizable-handle {
  background: var(--light);
  border: 1px solid var(--muted);
}

.ui-resizable-se {
  width: 14px;
  height: 14px;
  right: 3px;
  bottom: 3px;
}

.resizing {
  cursor: ew-resize;
  cursor: col-resize;
}

html[data-mobile=true] .ui-resizable-handle {
  background: none;
  border: 0;
}

/*
*
* Shared
*
* Styles for anchors, opacity, backgrounds and so on.
*
*/
a {
  transition: color var(--transition-time-short);
  text-decoration: initial;
  color: var(--primary);
  outline: initial !important;
}
a:hover, a:active {
  text-decoration: initial;
  color: var(--secondary);
}

a.body {
  color: var(--body);
}
a.body:hover, a.body:active {
  color: var(--primary);
}

.body-link {
  color: var(--body);
}
.body-link:hover {
  color: var(--primary);
}

.alternate-link {
  color: var(--alternate);
}
.alternate-link:hover {
  color: var(--primary);
}

.muted-link {
  color: var(--muted);
}
.muted-link:hover {
  color: var(--primary);
}

.underline-link {
  text-decoration: underline;
}

.underline-hover-link:hover {
  text-decoration: underline;
}

img {
  object-fit: cover;
}

.absolute-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.absolute-center-vertical {
  top: 50%;
  transform: translateY(-50%);
}

.absolute-center-horizontal {
  left: 50%;
  transform: translateX(-50%);
}

.opacity-0 {
  opacity: 0;
}

.opacity-10 {
  opacity: 0.1;
}

.opacity-25 {
  opacity: 0.25;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.opacity-100 {
  opacity: 1;
}

.grayscale {
  filter: grayscale(1);
}

.img-fluid-width {
  max-width: 100%;
  height: auto;
}

.img-fluid-height {
  max-height: 100%;
  width: auto;
}

.shadow {
  /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;*/
  box-shadow: 0 0 4px rgba(19, 19, 20, 0.48) !important;
}

.shadow-deep {
  /*box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1) !important;*/
}

.bg-cover-center {
  background-size: cover;
  background-position: center;
}

.z-index-1 {
  z-index: 1;
}

.z-index-1000 {
  z-index: 1000;
}

.basic-transform-transition {
  -webkit-transition: all 0.1s ease;
  transition: all 0.1s ease;
  pointer-events: none;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

.fixed-background {
  background: url("/img/background/background.png") no-repeat center center fixed;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.hover-trigger:hover .visible-hover {
  visibility: visible !important;
}

.cursor-default {
  cursor: default;
}

.cursor-pointer {
  cursor: pointer;
}

.theme-filter {
  filter: var(--theme-image-filter);
}

.flex-grow-1 {
  flex: 1;
}

.achievement {
  width: 75px;
  height: 75px;
}

.achievement.bg svg {
  fill: var(--separator-light);
}

.achievement.level svg {
  fill: var(--primary);
}

.icon-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  flex: 0 0 auto;
  font-size: 0.95rem;
}

.icon-avatar-primary {
  background-color: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
}

.icon-avatar-success {
  background-color: rgba(var(--success-rgb), 0.12);
  color: var(--success);
}

.icon-avatar-info {
  background-color: rgba(var(--info-rgb), 0.12);
  color: var(--info);
}

.icon-avatar-warning {
  background-color: rgba(var(--warning-rgb), 0.15);
  color: var(--warning-darker, var(--warning));
}

.icon-avatar-danger {
  background-color: rgba(var(--danger-rgb), 0.12);
  color: var(--danger);
}

.icon-avatar-secondary {
  background-color: rgba(var(--dark-rgb), 0.1);
  color: var(--dark);
}

.icon-avatar-purple {
  background-color: rgba(122, 61, 160, 0.14);
  color: var(--purple);
}

.icon-avatar-muted {
  background-color: var(--background);
  border: 1px solid var(--separator, #ced4da);
  color: var(--muted-darker, #6c757d);
}

.icon-avatar-hover-primary:hover {
  background-color: rgba(var(--primary-rgb), 0.12) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.icon-avatar-hover-warning:hover {
  background-color: rgba(var(--warning-rgb), 0.15) !important;
  border-color: var(--warning) !important;
  color: var(--warning-darker, var(--warning)) !important;
}

.icon-avatar-hover-danger:hover {
  background-color: rgba(var(--danger-rgb), 0.12) !important;
  border-color: var(--danger) !important;
  color: var(--danger) !important;
}

.icon-avatar-hover-success:hover {
  background-color: rgba(var(--success-rgb), 0.12) !important;
  border-color: var(--success) !important;
  color: var(--success) !important;
}

.position-relative {
  position: relative;
}

.badge-corner-tr {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

/******************Example HTML*****************/
/*
<div class="col shift-group my-3" >
@Html.TextBox("HomePhoneNo", BorrowerObj.HomePhoneNo, new { @class = "shift-input phone applicant" ,placeholder=""})
<label class="shift-label" for="HomePhoneNo" > Home Phone#</label >
</div >
 */
/**********************************************/
.shift-group {
  position: relative;
}

.shift-input {
  width: 100%;
  padding: 14px 16px;
  padding: var(--input-padding);
  font-size: 1.1rem;
  border: 1px solid var(--muted);
  border-radius: var(--border-radius-md);
  outline: none;
  box-sizing: border-box;
  background: var(--foreground);
  color: var(--body);
}

.shift-input:hover,
.shift-input:focus {
  border-color: #084298;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  outline: none;
}

.shift-input:focus + .shift-label,
.shift-input:not(:placeholder-shown) + .shift-label,
.shift-input--with-placeholder + .shift-label {
  top: 0px;
  left: 3%;
  font-size: 12px;
  color: var(--primary);
  background-color: var(--foreground);
  padding: 0 6px;
  transition: all 0.3s ease;
}

.shift-label {
  position: absolute;
  top: 50%;
  left: 29px; /* aligns with shift-input's rendered text position so the resting label lines up with a filled input's text */
  transform: translateY(-50%);
  color: #777 !important;
  pointer-events: none;
  transition: all 0.3s ease;
}

.shift-label i {
  pointer-events: auto;
}

.shift-input:focus::placeholder {
  color: transparent;
  transition: color 0.3s ease;
}

/**********For DropDown Menus. YOU ALSO NEED shift-input INSIDE OF THE CLASS STILL!************/
/*
    <div class="shift-input shift-select"></div>
*/
.shift-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  /*max-width: 250px;*/
  padding: 14px 16px; /* same as shift-input */
  font-size: 1.1rem; /* match input font size */
  border: 1px solid var(--muted);
  border-radius: var(--border-radius-md);
  color: #212529;
  background-color: var(--foreground);
  background-image: url('data:image/svg+xml;utf8,<svg fill="%230d6efd" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  box-sizing: border-box;
  text-align: left;
}

.shift-select:hover,
.shift-select:focus {
  border-color: #084298;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  outline: none;
}

.shift-select.no-chevron {
  background-image: none !important;
  padding-right: 16px;
}

/****************For Input Groups that have two side by side!**********************/
/*
    <div class="shift-group input-group">
        ^ container

    <div class="shift-input shift-group-input-left/right>
        ^actual input

    Remember to put the label underkneath as usual.
*/
.shift-group-input-left {
  width: 50% !important;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.shift-group-input-right {
  width: 50% !important;
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/*===========MultiSelect=========*/
.shift-group-multi {
  position: relative;
}

.shift-group-multi .shift-label-multi {
  position: absolute;
  left: 16px;
  top: -10px;
  font-size: 12px;
  color: var(--primary);
  background: white;
  padding: 0 6px;
  pointer-events: none;
  z-index: 2;
}

.shift-group-multi .multiselect.dropdown-toggle {
  width: 100%;
  padding: 14px 16px;
  font-size: 1.1rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
  line-height: 1.4;
  text-align: left;
  box-sizing: border-box;
  min-height: 57px;
}

.shift-group-multi .multiselect.dropdown-toggle:focus,
.shift-group-multi .multiselect.dropdown-toggle:hover {
  border-color: #084298;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  outline: none;
}

.shift-group-multi .multiselect-container {
  width: 100% !important;
  box-sizing: border-box;
  max-height: 200px;
  overflow-y: auto;
}

/**************Different Sizes*******************/
/*
*
* Sizes
*
* Static width and height utils.
*
*/
.h-100-card {
  height: calc(100% - var(--small-title-height)) !important;
}

.w-100 {
  width: 100% !important;
}

.w-90 {
  width: 90% !important;
}

.w-80 {
  width: 80% !important;
}

.w-75 {
  width: 75% !important;
}

.w-70 {
  width: 70% !important;
}

.w-60 {
  width: 60% !important;
}

.w-50 {
  width: 50% !important;
}

.w-40 {
  width: 40% !important;
}

.w-33 {
  width: 33.3% !important;
}

.w-30 {
  width: 30% !important;
}

.w-25 {
  width: 25% !important;
}

.w-20 {
  width: 20% !important;
}

.w-10 {
  width: 10% !important;
}

.h-auto {
  height: auto !important;
}

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

.sh-0 {
  height: 0 !important;
}

.sw-0 {
  width: 0 !important;
}

.sh-1 {
  height: 0.5rem !important;
}

.sw-1 {
  width: 0.5rem !important;
}

.sh-2 {
  height: 1rem !important;
}

.sw-2 {
  width: 1rem !important;
}

.sh-3 {
  height: 1.5rem !important;
}

.sw-3 {
  width: 1.5rem !important;
}

.sh-4 {
  height: 2rem !important;
}

.sw-4 {
  width: 2rem !important;
}

.sh-5 {
  height: 2.5rem !important;
}

.sw-5 {
  width: 2.5rem !important;
}

.sh-6 {
  height: 3rem !important;
}

.sw-6 {
  width: 3rem !important;
}

.sh-7 {
  height: 3.5rem !important;
}

.sw-7 {
  width: 3.5rem !important;
}

.sh-8 {
  height: 4rem !important;
}

.sw-8 {
  width: 4rem !important;
}

.sh-9 {
  height: 4.5rem !important;
}

.sw-9 {
  width: 4.5rem !important;
}

.sh-10 {
  height: 5rem !important;
}

.sw-10 {
  width: 5rem !important;
}

.sh-11 {
  height: 5.5rem !important;
}

.sw-11 {
  width: 5.5rem !important;
}

.sh-12 {
  height: 6rem !important;
}

.sw-12 {
  width: 6rem !important;
}

.sh-13 {
  height: 6.5rem !important;
}

.sw-13 {
  width: 6.5rem !important;
}

.sh-14 {
  height: 7rem !important;
}

.sw-14 {
  width: 7rem !important;
}

.sh-15 {
  height: 7.5rem !important;
}

.sw-15 {
  width: 7.5rem !important;
}

.sh-16 {
  height: 8rem !important;
}

.sw-16 {
  width: 8rem !important;
}

.sh-17 {
  height: 8.5rem !important;
}

.sw-17 {
  width: 8.5rem !important;
}

.sh-18 {
  height: 9rem !important;
}

.sw-18 {
  width: 9rem !important;
}

.sh-19 {
  height: 9.5rem !important;
}

.sw-19 {
  width: 9.5rem !important;
}

.sh-20 {
  height: 10rem !important;
}

.sw-20 {
  width: 10rem !important;
}

.sh-21 {
  height: 10.5rem !important;
}

.sw-21 {
  width: 10.5rem !important;
}

.sh-22 {
  height: 11rem !important;
}

.sw-22 {
  width: 11rem !important;
}

.sh-23 {
  height: 11.5rem !important;
}

.sw-23 {
  width: 11.5rem !important;
}

.sh-24 {
  height: 12rem !important;
}

.sw-24 {
  width: 12rem !important;
}

.sh-25 {
  height: 12.5rem !important;
}

.sw-25 {
  width: 12.5rem !important;
}

.sh-30 {
  height: 15rem !important;
}

.sw-30 {
  width: 15rem !important;
}

.sh-35 {
  height: 17.5rem !important;
}

.sw-35 {
  width: 17.5rem !important;
}

.sh-40 {
  height: 20rem !important;
}

.sw-40 {
  width: 20rem !important;
}

.sh-45 {
  height: 22.5rem !important;
}

.sw-45 {
  width: 22.5rem !important;
}

.sh-50 {
  height: 25rem !important;
}

.sw-50 {
  width: 25rem !important;
}

.sh-60 {
  height: 30rem !important;
}

.sw-60 {
  width: 30rem !important;
}

.sh-70 {
  height: 35rem !important;
}

.sw-70 {
  width: 35rem !important;
}

.sh-80 {
  height: 40rem !important;
}

.sw-80 {
  width: 40rem !important;
}

@media (min-width: 576px) {
  .sh-sm-0 {
    height: 0 !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-0 {
    width: 0 !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-1 {
    height: 0.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-1 {
    width: 0.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-2 {
    height: 1rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-2 {
    width: 1rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-3 {
    height: 1.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-3 {
    width: 1.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-4 {
    height: 2rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-4 {
    width: 2rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-5 {
    height: 2.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-5 {
    width: 2.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-6 {
    height: 3rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-6 {
    width: 3rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-7 {
    height: 3.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-7 {
    width: 3.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-8 {
    height: 4rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-8 {
    width: 4rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-9 {
    height: 4.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-9 {
    width: 4.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-10 {
    height: 5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-10 {
    width: 5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-11 {
    height: 5.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-11 {
    width: 5.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-12 {
    height: 6rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-12 {
    width: 6rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-13 {
    height: 6.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-13 {
    width: 6.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-14 {
    height: 7rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-14 {
    width: 7rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-15 {
    height: 7.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-15 {
    width: 7.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-16 {
    height: 8rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-16 {
    width: 8rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-17 {
    height: 8.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-17 {
    width: 8.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-18 {
    height: 9rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-18 {
    width: 9rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-19 {
    height: 9.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-19 {
    width: 9.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-20 {
    height: 10rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-20 {
    width: 10rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-21 {
    height: 10.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-21 {
    width: 10.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-22 {
    height: 11rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-22 {
    width: 11rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-23 {
    height: 11.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-23 {
    width: 11.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-24 {
    height: 12rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-24 {
    width: 12rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-25 {
    height: 12.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-25 {
    width: 12.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-30 {
    height: 15rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-30 {
    width: 15rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-35 {
    height: 17.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-35 {
    width: 17.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-40 {
    height: 20rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-40 {
    width: 20rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-45 {
    height: 22.5rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-45 {
    width: 22.5rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-50 {
    height: 25rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-50 {
    width: 25rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-60 {
    height: 30rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-60 {
    width: 30rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-70 {
    height: 35rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-70 {
    width: 35rem !important;
  }
}

@media (min-width: 576px) {
  .sh-sm-80 {
    height: 40rem !important;
  }
}

@media (min-width: 576px) {
  .sw-sm-80 {
    width: 40rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-0 {
    height: 0 !important;
  }
}

@media (min-width: 768px) {
  .sw-md-0 {
    width: 0 !important;
  }
}

@media (min-width: 768px) {
  .sh-md-1 {
    height: 0.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-1 {
    width: 0.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-2 {
    height: 1rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-2 {
    width: 1rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-3 {
    height: 1.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-3 {
    width: 1.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-4 {
    height: 2rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-4 {
    width: 2rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-5 {
    height: 2.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-5 {
    width: 2.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-6 {
    height: 3rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-6 {
    width: 3rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-7 {
    height: 3.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-7 {
    width: 3.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-8 {
    height: 4rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-8 {
    width: 4rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-9 {
    height: 4.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-9 {
    width: 4.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-10 {
    height: 5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-10 {
    width: 5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-11 {
    height: 5.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-11 {
    width: 5.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-12 {
    height: 6rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-12 {
    width: 6rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-13 {
    height: 6.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-13 {
    width: 6.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-14 {
    height: 7rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-14 {
    width: 7rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-15 {
    height: 7.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-15 {
    width: 7.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-16 {
    height: 8rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-16 {
    width: 8rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-17 {
    height: 8.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-17 {
    width: 8.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-18 {
    height: 9rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-18 {
    width: 9rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-19 {
    height: 9.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-19 {
    width: 9.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-20 {
    height: 10rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-20 {
    width: 10rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-21 {
    height: 10.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-21 {
    width: 10.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-22 {
    height: 11rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-22 {
    width: 11rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-23 {
    height: 11.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-23 {
    width: 11.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-24 {
    height: 12rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-24 {
    width: 12rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-25 {
    height: 12.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-25 {
    width: 12.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-30 {
    height: 15rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-30 {
    width: 15rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-35 {
    height: 17.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-35 {
    width: 17.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-40 {
    height: 20rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-40 {
    width: 20rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-45 {
    height: 22.5rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-45 {
    width: 22.5rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-50 {
    height: 25rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-50 {
    width: 25rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-60 {
    height: 30rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-60 {
    width: 30rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-70 {
    height: 35rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-70 {
    width: 35rem !important;
  }
}

@media (min-width: 768px) {
  .sh-md-80 {
    height: 40rem !important;
  }
}

@media (min-width: 768px) {
  .sw-md-80 {
    width: 40rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-0 {
    height: 0 !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-0 {
    width: 0 !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-1 {
    height: 0.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-1 {
    width: 0.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-2 {
    height: 1rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-2 {
    width: 1rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-3 {
    height: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-3 {
    width: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-4 {
    height: 2rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-4 {
    width: 2rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-5 {
    height: 2.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-5 {
    width: 2.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-6 {
    height: 3rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-6 {
    width: 3rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-7 {
    height: 3.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-7 {
    width: 3.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-8 {
    height: 4rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-8 {
    width: 4rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-9 {
    height: 4.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-9 {
    width: 4.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-10 {
    height: 5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-10 {
    width: 5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-11 {
    height: 5.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-11 {
    width: 5.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-12 {
    height: 6rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-12 {
    width: 6rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-13 {
    height: 6.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-13 {
    width: 6.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-14 {
    height: 7rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-14 {
    width: 7rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-15 {
    height: 7.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-15 {
    width: 7.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-16 {
    height: 8rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-16 {
    width: 8rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-17 {
    height: 8.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-17 {
    width: 8.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-18 {
    height: 9rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-18 {
    width: 9rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-19 {
    height: 9.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-19 {
    width: 9.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-20 {
    height: 10rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-20 {
    width: 10rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-21 {
    height: 10.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-21 {
    width: 10.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-22 {
    height: 11rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-22 {
    width: 11rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-23 {
    height: 11.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-23 {
    width: 11.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-24 {
    height: 12rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-24 {
    width: 12rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-25 {
    height: 12.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-25 {
    width: 12.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-30 {
    height: 15rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-30 {
    width: 15rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-35 {
    height: 17.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-35 {
    width: 17.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-40 {
    height: 20rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-40 {
    width: 20rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-45 {
    height: 22.5rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-45 {
    width: 22.5rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-50 {
    height: 25rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-50 {
    width: 25rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-60 {
    height: 30rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-60 {
    width: 30rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-70 {
    height: 35rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-70 {
    width: 35rem !important;
  }
}

@media (min-width: 992px) {
  .sh-lg-80 {
    height: 40rem !important;
  }
}

@media (min-width: 992px) {
  .sw-lg-80 {
    width: 40rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-0 {
    height: 0 !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-0 {
    width: 0 !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-1 {
    height: 0.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-1 {
    width: 0.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-2 {
    height: 1rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-2 {
    width: 1rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-3 {
    height: 1.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-3 {
    width: 1.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-4 {
    height: 2rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-4 {
    width: 2rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-5 {
    height: 2.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-5 {
    width: 2.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-6 {
    height: 3rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-6 {
    width: 3rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-7 {
    height: 3.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-7 {
    width: 3.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-8 {
    height: 4rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-8 {
    width: 4rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-9 {
    height: 4.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-9 {
    width: 4.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-10 {
    height: 5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-10 {
    width: 5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-11 {
    height: 5.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-11 {
    width: 5.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-12 {
    height: 6rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-12 {
    width: 6rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-13 {
    height: 6.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-13 {
    width: 6.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-14 {
    height: 7rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-14 {
    width: 7rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-15 {
    height: 7.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-15 {
    width: 7.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-16 {
    height: 8rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-16 {
    width: 8rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-17 {
    height: 8.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-17 {
    width: 8.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-18 {
    height: 9rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-18 {
    width: 9rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-19 {
    height: 9.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-19 {
    width: 9.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-20 {
    height: 10rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-20 {
    width: 10rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-21 {
    height: 10.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-21 {
    width: 10.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-22 {
    height: 11rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-22 {
    width: 11rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-23 {
    height: 11.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-23 {
    width: 11.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-24 {
    height: 12rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-24 {
    width: 12rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-25 {
    height: 12.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-25 {
    width: 12.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-30 {
    height: 15rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-30 {
    width: 15rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-35 {
    height: 17.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-35 {
    width: 17.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-40 {
    height: 20rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-40 {
    width: 20rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-45 {
    height: 22.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-45 {
    width: 22.5rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-50 {
    height: 25rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-50 {
    width: 25rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-60 {
    height: 30rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-60 {
    width: 30rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-70 {
    height: 35rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-70 {
    width: 35rem !important;
  }
}

@media (min-width: 1200px) {
  .sh-xl-80 {
    height: 40rem !important;
  }
}

@media (min-width: 1200px) {
  .sw-xl-80 {
    width: 40rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-0 {
    height: 0 !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-0 {
    width: 0 !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-1 {
    height: 0.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-1 {
    width: 0.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-2 {
    height: 1rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-2 {
    width: 1rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-3 {
    height: 1.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-3 {
    width: 1.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-4 {
    height: 2rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-4 {
    width: 2rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-5 {
    height: 2.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-5 {
    width: 2.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-6 {
    height: 3rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-6 {
    width: 3rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-7 {
    height: 3.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-7 {
    width: 3.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-8 {
    height: 4rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-8 {
    width: 4rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-9 {
    height: 4.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-9 {
    width: 4.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-10 {
    height: 5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-10 {
    width: 5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-11 {
    height: 5.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-11 {
    width: 5.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-12 {
    height: 6rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-12 {
    width: 6rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-13 {
    height: 6.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-13 {
    width: 6.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-14 {
    height: 7rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-14 {
    width: 7rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-15 {
    height: 7.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-15 {
    width: 7.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-16 {
    height: 8rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-16 {
    width: 8rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-17 {
    height: 8.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-17 {
    width: 8.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-18 {
    height: 9rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-18 {
    width: 9rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-19 {
    height: 9.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-19 {
    width: 9.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-20 {
    height: 10rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-20 {
    width: 10rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-21 {
    height: 10.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-21 {
    width: 10.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-22 {
    height: 11rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-22 {
    width: 11rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-23 {
    height: 11.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-23 {
    width: 11.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-24 {
    height: 12rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-24 {
    width: 12rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-25 {
    height: 12.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-25 {
    width: 12.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-30 {
    height: 15rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-30 {
    width: 15rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-35 {
    height: 17.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-35 {
    width: 17.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-40 {
    height: 20rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-40 {
    width: 20rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-45 {
    height: 22.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-45 {
    width: 22.5rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-50 {
    height: 25rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-50 {
    width: 25rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-60 {
    height: 30rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-60 {
    width: 30rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-70 {
    height: 35rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-70 {
    width: 35rem !important;
  }
}

@media (min-width: 1400px) {
  .sh-xxl-80 {
    height: 40rem !important;
  }
}

@media (min-width: 1400px) {
  .sw-xxl-80 {
    width: 40rem !important;
  }
}

@media (min-width: 576px) {
  .h-sm-100-card {
    height: calc(100% - var(--small-title-height)) !important;
  }
}

@media (min-width: 768px) {
  .h-md-100-card {
    height: calc(100% - var(--small-title-height)) !important;
  }
}

@media (min-width: 992px) {
  .h-lg-100-card {
    height: calc(100% - var(--small-title-height)) !important;
  }
}

@media (min-width: 1200px) {
  .h-xl-100-card {
    height: calc(100% - var(--small-title-height)) !important;
  }
}

@media (min-width: 1400px) {
  .h-xxl-100-card {
    height: calc(100% - var(--small-title-height)) !important;
  }
}

@media (min-width: 576px) {
  .h-sm-100 {
    height: 100% !important;
  }
}

@media (min-width: 768px) {
  .h-md-100 {
    height: 100% !important;
  }
}

@media (min-width: 992px) {
  .h-lg-100 {
    height: 100% !important;
  }
}

@media (min-width: 1200px) {
  .h-xl-100 {
    height: 100% !important;
  }
}

@media (min-width: 1400px) {
  .h-xxl-100 {
    height: 100% !important;
  }
}

@media (min-width: 576px) {
  .h-sm-auto {
    height: auto !important;
  }
}

@media (min-width: 768px) {
  .h-md-auto {
    height: auto !important;
  }
}

@media (min-width: 992px) {
  .h-lg-auto {
    height: auto !important;
  }
}

@media (min-width: 1200px) {
  .h-xl-auto {
    height: auto !important;
  }
}

@media (min-width: 1400px) {
  .h-xxl-auto {
    height: auto !important;
  }
}

@media (min-width: 576px) {
  .w-sm-auto {
    width: auto !important;
  }
}

@media (min-width: 768px) {
  .w-md-auto {
    width: auto !important;
  }
}

@media (min-width: 992px) {
  .w-lg-auto {
    width: auto !important;
  }
}

@media (min-width: 1200px) {
  .w-xl-auto {
    width: auto !important;
  }
}

@media (min-width: 1400px) {
  .w-xxl-auto {
    width: auto !important;
  }
}

@media (min-width: 576px) {
  .h-sm-25 {
    height: 25% !important;
  }
}

@media (min-width: 576px) {
  .w-sm-25 {
    width: 25% !important;
  }
}

@media (min-width: 576px) {
  .h-sm-50 {
    height: 50% !important;
  }
}

@media (min-width: 576px) {
  .w-sm-50 {
    width: 50% !important;
  }
}

@media (min-width: 576px) {
  .h-sm-75 {
    height: 75% !important;
  }
}

@media (min-width: 576px) {
  .w-sm-75 {
    width: 75% !important;
  }
}

@media (min-width: 576px) {
  .h-sm-100 {
    height: 100% !important;
  }
}

@media (min-width: 576px) {
  .w-sm-100 {
    width: 100% !important;
  }
}

@media (min-width: 768px) {
  .h-md-25 {
    height: 25% !important;
  }
}

@media (min-width: 768px) {
  .w-md-25 {
    width: 25% !important;
  }
}

@media (min-width: 768px) {
  .h-md-50 {
    height: 50% !important;
  }
}

@media (min-width: 768px) {
  .w-md-50 {
    width: 50% !important;
  }
}

@media (min-width: 768px) {
  .h-md-75 {
    height: 75% !important;
  }
}

@media (min-width: 768px) {
  .w-md-75 {
    width: 75% !important;
  }
}

@media (min-width: 768px) {
  .h-md-100 {
    height: 100% !important;
  }
}

@media (min-width: 768px) {
  .w-md-100 {
    width: 100% !important;
  }
}

@media (min-width: 992px) {
  .h-lg-25 {
    height: 25% !important;
  }
}

@media (min-width: 992px) {
  .w-lg-25 {
    width: 25% !important;
  }
}

@media (min-width: 992px) {
  .h-lg-50 {
    height: 50% !important;
  }
}

@media (min-width: 992px) {
  .w-lg-50 {
    width: 50% !important;
  }
}

@media (min-width: 992px) {
  .h-lg-75 {
    height: 75% !important;
  }
}

@media (min-width: 992px) {
  .w-lg-75 {
    width: 75% !important;
  }
}

@media (min-width: 992px) {
  .h-lg-100 {
    height: 100% !important;
  }
}

@media (min-width: 992px) {
  .w-lg-100 {
    width: 100% !important;
  }
}

@media (min-width: 1200px) {
  .h-xl-25 {
    height: 25% !important;
  }
}

@media (min-width: 1200px) {
  .w-xl-25 {
    width: 25% !important;
  }
}

@media (min-width: 1200px) {
  .h-xl-50 {
    height: 50% !important;
  }
}

@media (min-width: 1200px) {
  .w-xl-50 {
    width: 50% !important;
  }
}

@media (min-width: 1200px) {
  .h-xl-75 {
    height: 75% !important;
  }
}

@media (min-width: 1200px) {
  .w-xl-75 {
    width: 75% !important;
  }
}

@media (min-width: 1200px) {
  .h-xl-100 {
    height: 100% !important;
  }
}

@media (min-width: 1200px) {
  .w-xl-100 {
    width: 100% !important;
  }
}

@media (min-width: 1400px) {
  .h-xxl-25 {
    height: 25% !important;
  }
}

@media (min-width: 1400px) {
  .w-xxl-25 {
    width: 25% !important;
  }
}

@media (min-width: 1400px) {
  .h-xxl-50 {
    height: 50% !important;
  }
}

@media (min-width: 1400px) {
  .w-xxl-50 {
    width: 50% !important;
  }
}

@media (min-width: 1400px) {
  .h-xxl-75 {
    height: 75% !important;
  }
}

@media (min-width: 1400px) {
  .w-xxl-75 {
    width: 75% !important;
  }
}

@media (min-width: 1400px) {
  .h-xxl-100 {
    height: 100% !important;
  }
}

@media (min-width: 1400px) {
  .w-xxl-100 {
    width: 100% !important;
  }
}

.min-h-100 {
  min-height: 100%;
}

.max-h-100 {
  max-height: 100%;
}

.min-w-100 {
  min-width: 100%;
}

.max-w-100 {
  max-width: 100%;
}

.min-w-0 {
  min-width: 0;
}

.min-h-0 {
  min-height: 0;
}

.btn-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-icon-circle {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.tool-badge-pip {
  top: -6px;
  right: -6px;
  font-size: 9px;
  padding: 4px 6px;
}

.launch-card-label {
  font-size: 11px;
}

.vendor-launch-btn {
  min-height: 110px;
  background: var(--foreground);
  transition: box-shadow 0.15s ease, background 0.15s ease;
}
.vendor-launch-btn:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: var(--separator);
}

.progress-sm {
  height: 10px;
}

.aspect-card {
  aspect-ratio: 4/3;
}

.action-icon {
  cursor: pointer;
  color: var(--body, #333);
}
.action-icon:hover {
  color: var(--primary);
}

.action-icon-light {
  color: #fff;
}
.action-icon-light:hover {
  color: var(--bs-light, #e9ecef);
  opacity: 0.85;
}

.concentric-parent {
  position: relative;
  --concentric-radius: var(--border-radius-md, 0px);
  border-radius: var(--concentric-radius);
}

.concentric,
.concentric-tl,
.concentric-tr,
.concentric-bl,
.concentric-br {
  --concentric-inset: 0px;
  --ci-top: var(--concentric-inset);
  --ci-right: var(--concentric-inset);
  --ci-bottom: var(--concentric-inset);
  --ci-left: var(--concentric-inset);
  --ci-r: var(--concentric-radius, 0px);
}

.concentric {
  border-radius: max(0px, var(--ci-r) - var(--concentric-inset));
}

.concentric-tl {
  position: absolute;
  top: var(--ci-top);
  left: var(--ci-left);
  border-radius: var(--concentric-base-radius, 0px);
  border-top-left-radius: max(0px, var(--ci-r) - var(--ci-left)) max(0px, var(--ci-r) - var(--ci-top));
}

.concentric-tr {
  position: absolute;
  top: var(--ci-top);
  right: var(--ci-right);
  border-radius: var(--concentric-base-radius, 0px);
  border-top-right-radius: max(0px, var(--ci-r) - var(--ci-right)) max(0px, var(--ci-r) - var(--ci-top));
}

.concentric-bl {
  position: absolute;
  bottom: var(--ci-bottom);
  left: var(--ci-left);
  border-radius: var(--concentric-base-radius, 0px);
  border-bottom-left-radius: max(0px, var(--ci-r) - var(--ci-left)) max(0px, var(--ci-r) - var(--ci-bottom));
}

.concentric-br {
  position: absolute;
  bottom: var(--ci-bottom);
  right: var(--ci-right);
  border-radius: var(--concentric-base-radius, 0px);
  border-bottom-right-radius: max(0px, var(--ci-r) - var(--ci-right)) max(0px, var(--ci-r) - var(--ci-bottom));
}

/*
*
* Variables
*
* Root breakpoints and Sass functions.
*
*/
/*$toast-max-width: 350px;
$toast-padding-x: .75rem;
$toast-padding-y: .5rem;
$toast-font-size: .875rem;
$toast-color: null;
$toast-background-color: rgba($white, .85);
$toast-border-width: 1px;
$toast-border-color: rgba(0, 0, 0, .1);
$toast-border-radius: $border-radius;
$toast-box-shadow: $box-shadow;
$toast-spacing: $container-padding-x;

$toast-header-color: $gray-600;
$toast-header-background-color: rgba($white, .85);
$toast-header-border-color: rgba(0, 0, 0, .05);

$input-group-addon-padding-y: $input-padding-y;
$input-group-addon-padding-x: $input-padding-x;
$input-group-addon-font-weight: $input-font-weight;
$input-group-addon-color: $input-color;
$input-group-addon-bg: $gray-200;
$input-group-addon-border-color: $input-border-color;

$primary: #5de3c8;
$amount: 10%;
*/
/*
*
* Dark Mode
*
* Theme variables.
*
*/
html[data-colormode=dark] {
  --color-bg: #263238;
  --color-fg: #ffffff;
  --card-bg-color: #607d8b;
  --primary: var(--MainThemeAccentColor);
  --secondary: var(--MainThemeColor);
  --tertiary: #54cdb4;
  --quaternary: #4d7fdb;
  --primary-rgb: 27, 152, 208;
  --secondary-rgb: 97, 198, 216;
  --tertiary-rgb: 84, 205, 180;
  --quaternary-rgb: 77, 127, 219;
  --primary-darker: color-mix(in srgb, var(--secondary) 70%, black 30%);
  --secondary-darker: color-mix(in srgb, var(--primary) 70%, black 30%);
  --tertiary-darker: #46af99;
  --quaternary-darker: #426ebf;
  --body: #c1c1c1;
  --alternate: #999999;
  --muted: #727272;
  --separator: #474747;
  --separator-light: #2e2e2e;
  --body-rgb: 193, 193, 193;
  --alternate-rgb: 153, 153, 153;
  --muted-rgb: 114, 114, 114;
  --separator-rgb: 71, 71, 71;
  --separator-light-rgb: 46, 46, 46;
  --background: #1d1d1d;
  --foreground: #242424;
  --background-rgb: 29, 29, 29;
  --foreground-rgb: 36, 36, 36;
  --background-theme: #242424;
  --background-light: #292929;
  --gradient-1: #1b98d0;
  --gradient-2: #1d9dd7;
  --gradient-3: #1ea5e1;
  --gradient-1-lighter: #1ea5e1;
  --gradient-1-darker: #1a90c5;
  --light-text: #f0f0f0;
  --dark-text: #191c1f;
  --light-text-darker: #e9e9e9;
  --dark-text-darker: #08090a;
  --light-text-rgb: 240, 240, 240;
  --dark-text-rgb: 25, 28, 31;
  --danger: #b62836;
  --info: #298a99;
  --warning: #ebb71a;
  --success: #418b38;
  --light: #dadada;
  --dark: #4e4e4e;
  --danger-darker: #771a23;
  --info-darker: #19545d;
  --warning-darker: #aa830f;
  --success-darker: #285422;
  --light-darker: #c9c9c9;
  --dark-darker: #282828;
  --body-darker: #a0a0a0;
  --alternate-darker: #6e6e6e;
  --muted-darker: #4e4e4e;
  --separator-darker: #353535;
  --danger-rgb: 182, 40, 54;
  --info-rgb: 41, 138, 153;
  --warning-rgb: 235, 183, 26;
  --success-rgb: 65, 139, 56;
  --light-rgb: 218, 218, 218;
  --dark-rgb: 78, 78, 78;
  --menu-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
  --menu-shadow-navcolor: 0px 3px 10px rgba(0, 0, 0, 0.4);
  --background-navcolor-light: #fff;
  --background-navcolor-dark: #242424;
  --theme-image-filter: hue-rotate(0deg) brightness(0.9);
  --darkLightButton: black;
  --LogoBackgroundColor: drop-shadow(0px 0px 0 white) drop-shadow(2px 0px 0 white);
}
html[data-colormode=dark] nav .imgLogo {
  -webkit-filter: drop-shadow(2px 2px 1px white) drop-shadow(3px 0mm 0 var(--color-fg));
  filter: drop-shadow(2px 2px 1px white) drop-shadow(3px 0mm 0 var(--color-fg));
}

/*
*
* Light Mode
*
* Theme variables.
*
*/
html[data-colormode=light] {
  --color-bg: #ffffff;
  --color-fg: #000000;
  --card-bg-color: #fafafa;
  --primary: var(--MainThemeColor);
  --secondary: var(--MainThemeAccentColor);
  --quaternary: #558df3;
  --primary-rgb: 30, 168, 231;
  --secondary-rgb: 108, 219, 239;
  --tertiary-rgb: 93, 227, 200;
  --quaternary-rgb: 85, 141, 243;
  --primary-darker: color-mix(in srgb, var(--primary) 70%, black 30%);
  --secondary-darker: color-mix(in srgb, var(--secondary) 70%, black 30%);
  --tertiary-darker: #54ccb4;
  --quaternary-darker: #4c7dd6;
  --body: #4e4e4e;
  --alternate: #7c7c7c;
  --muted: #afafaf;
  --separator: #dddddd;
  --separator-light: #f1f1f1;
  --body-rgb: 59, 59, 59;
  --alternate-rgb: 124, 124, 124;
  --muted-rgb: 176, 176, 176;
  --separator-rgb: 221, 221, 221;
  --separator-light-rgb: 241, 241, 241;
  --background: #ffffff;
  --foreground: #ffffff;
  --background-rgb: 249, 249, 249;
  --foreground-rgb: 255, 255, 255;
  --background-theme: #eaf0f1;
  --background-light: #f8f8f8;
  --gradient-1: #1ea8e7;
  --gradient-2: #21aff0;
  --gradient-3: #23b3f4;
  --gradient-1-lighter: #2abdff;
  --gradient-1-darker: #1fa5e2;
  --light-text: #fff;
  --dark-text: #343a40;
  --light-text-darker: #eeeeee;
  --dark-text-darker: #23272b;
  --light-text-rgb: 255, 255, 255;
  --dark-text-rgb: 52, 58, 64;
  --danger: #cf2637;
  --info: #279aac;
  --warning: #ebb71a;
  --success: #439b38;
  --light: #dadada;
  --dark: #4e4e4e;
  --danger-darker: #771a23;
  --info-darker: #19545d;
  --warning-darker: #aa830f;
  --success-darker: #285422;
  --light-darker: #c9c9c9;
  --dark-darker: #282828;
  --body-darker: #333333;
  --alternate-darker: #616161;
  --muted-darker: #888888;
  --separator-darker: #c0c0c0;
  --danger-rgb: 182, 40, 54;
  --info-rgb: 41, 138, 153;
  --warning-rgb: 235, 183, 26;
  --success-rgb: 65, 139, 56;
  --light-rgb: 218, 218, 218;
  --dark-rgb: 78, 78, 78;
  --menu-shadow: 0px 3px 10px rgba(0, 0, 0, 0.12);
  --menu-shadow-navcolor: 0px 2px 6px rgba(0, 0, 0, 0.05);
  --background-navcolor-light: #fff;
  --background-navcolor-dark: #253a52;
  --theme-image-filter: hue-rotate(0deg);
  --darkLightButton: #ffc107;
  --LogoBackgroundColor: transparent;
}

/*body {
    background-color: var(--background);
    color: var(--body);
}*/
@font-face {
  font-family: "Poppins";
  src: url("/Fonts/Poppins/Poppins-Light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
:root {
  --color-bg: #ffffff;
  --color-fg: #000000;
  --card-bg-color: #fafafa;
  --primary: var(--MainThemeColor);
  --secondary: var(--MainThemeAccentColor);
  --tertiary: var(--Tertiary);
  --quaternary: var(--Quaternary);
  --purple: #7A3DA0;
  --activeStageColor: var(--active);
  --completeStageColor: var(--CompleteStageColor);
  --primary-rgb: 30, 168, 231;
  --secondary-rgb: 108, 219, 239;
  --tertiary-rgb: 93, 227, 200;
  --quaternary-rgb: 85, 141, 243;
  --primary-darker: #1b9ad4;
  --secondary-darker: #61c6d8;
  --tertiary-darker: #54ccb4;
  --quaternary-darker: #4c7dd6;
  --body: #4e4e4e;
  --alternate: #7c7c7c;
  --muted: #afafaf;
  --separator: #dddddd;
  --separator-light: #f1f1f1;
  --body-rgb: 59, 59, 59;
  --alternate-rgb: 124, 124, 124;
  --muted-rgb-red: 114;
  --muted-rgb-green: 114;
  --muted-rgb-blue: 114;
  --muted-rgb: rgba( 114, 114, 114, 0.5 );
  --separator-rgb-red: 221;
  --separator-rgb-green: 221;
  --separator-rgb-blue: 221;
  --separator-rgba: rgba( 221, 221, 221, 0.5 );
  --separator-light-rgb: 241, 241, 241;
  --background: #ffffff;
  --foreground: #ffffff;
  --background-rgb: 249, 249, 249;
  --foreground-rgb: 255, 255, 255;
  --background-theme: #eaf0f1;
  --background-light: #f8f8f8;
  --gradient-1: #1ea8e7;
  --gradient-2: #21aff0;
  --gradient-3: #23b3f4;
  --gradient-1-lighter: #2abdff;
  --gradient-1-darker: #1fa5e2;
  --light-text: #fff;
  --dark-text: #343a40;
  --light-text-darker: #eeeeee;
  --dark-text-darker: #23272b;
  --light-text-rgb: 255, 255, 255;
  --dark-text-rgb: 52, 58, 64;
  --danger: #cf2637;
  --info: #279aac;
  --active: blue;
  --warning: #ebb71a;
  --success: #439b38;
  --light: #dadada;
  --dark: #4e4e4e;
  --danger-darker: #771a23;
  --info-darker: #19545d;
  --warning-darker: #aa830f;
  --success-darker: #285422;
  --light-darker: #c9c9c9;
  --dark-darker: #282828;
  --body-darker: #333333;
  --alternate-darker: #616161;
  --muted-darker: #888888;
  --separator-darker: #c0c0c0;
  --danger-rgb: 182, 40, 54;
  --info-rgb: 41, 138, 153;
  --warning-rgb: 235, 183, 26;
  --success-rgb: 65, 139, 56;
  --light-rgb: 218, 218, 218;
  --dark-rgb: 78, 78, 78;
  --MainThemeGreenColor: #50AD0D;
  --MainThemePurpleColor: #6a12af;
  --MainThemeRedColor: red;
  --MainThemeYellowColor: #e8d817;
  --MainThemeOrangeColor: #d68e34;
  --menu-shadow: 0px 3px 10px rgba(0, 0, 0, 0.12);
  --menu-shadow-navcolor: 0px 2px 6px rgba(0, 0, 0, 0.05);
  --background-navcolor-light: #fff;
  --background-navcolor-dark: #253a52;
  --theme-image-filter: hue-rotate(0deg);
  --darkLightButton: #ffc107;
  --LogoBackgroundColor: transparent;
  scroll-behavior: initial;
  /*Main Theme Colors*/
  --MainThemeColor: #1E0DAD;
  --MainThemeAccentColor: #1E90FF;
  --StatusBar: 4em;
  --statusTabs: 9;
  --tabsHoverREM: 29rem;
  --lastTab: 0;
  /*Inputs*/
  --input-height-lg: 2.25rem;
  --input-height-md: 2.25rem;
  --input-height-sm: 2.25rem;
  --input-padding: 14px 16px;
  /*Nav Sizes*/
  --Nav-Height: 5em;
  --Loan-Detail-Height: 0em;
  --Sub-Nav: 4em;
  --Side-Nav-Width: 0px;
  --Mobile-Footer: 0px;
  --Side-Icon-Nav-Width: 0em;
  --Body-Width: calc(var(--Side-Nav-Width) + var(--Side-Icon-Nav-Width));
  --Body-Height: calc(var(--Nav-Height) + var(--Sub-Nav) + var(--Loan-Detail-Height));
  /*--Mobile-Footer: 0px;*/
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --border-radius-sm: 6px;
  --border-radius-xl: 50px;
  /*------GOOGLE TAG AND META PIXEL DEFAULTS----------*/
  --googleAnalyticsId: '';
  --googleTagManagerId: '';
  --metaPixelId: '';
  /*New Poppins Font*/
  --FontFamily: 'Poppins';
}

html[data-radius=rounded] {
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --border-radius-sm: 6px;
  --border-radius-xl: 50px;
}

html[data-radius=standard] {
  --border-radius-lg: 6px;
  --border-radius-md: 4px;
  --border-radius-sm: 3px;
  --border-radius-xl: 4px;
}

html[data-radius=flat] {
  --border-radius-lg: 0;
  --border-radius-sm: 0;
  --border-radius-md: 0;
  --border-radius-xl: 0;
}

:root {
  --card-spacing: 2rem;
  --card-spacing-sm: 1.25rem;
  --card-spacing-xs: 0.75rem;
  --card-spacing-sm-horizontal: 1.75rem 1.25rem;
  --card-spacing-sm-vertical: 1.25rem 1.75rem;
  --main-spacing-horizontal: 2.5rem;
  --main-spacing-vertical: 2rem;
  --title-spacing: 1.25rem;
}

@media (max-width: 1199.98px) {
  :root {
    --main-spacing-horizontal: 2rem;
  }
}
@media (max-width: 991.98px) {
  :root {
    --nav-size-slim: 4rem;
    --title-spacing: 1rem;
    --footer-size: 4rem;
  }
}
@media (max-width: 767.98px) {
  :root {
    --card-spacing: 1.75rem;
    --footer-size: 5rem;
    --main-spacing-horizontal: 1.25rem;
    --main-spacing-vertical: 1.25rem;
  }
}
html[data-page=pipeline] {
  --Sub-Nav: 4em;
}
html[data-page=pipeline][data-mobile=true] {
  --Mobile-Footer: 4em;
}

html[data-page=deals] {
  --Sub-Nav: 4em;
}
html[data-page=deals][data-mobile=true] {
  --Side-Icon-Nav-Width: 0em;
  --Mobile-Footer: 4em;
}

html[data-page=kpidashboard] {
  --Sub-Nav: 4em;
  --Mobile-Footer: 0em;
}
html[data-page=kpidashboard][data-mobile=true] #body-content {
  right: 0em;
  width: 100%;
}

html[data-page=fund] {
  --Sub-Nav: 4em;
}
html[data-page=fund][data-mobile=true] #body-content {
  right: 0em;
  width: 100%;
}

html[data-page=fianddashboard] {
  --Sub-Nav: 4em;
}
html[data-page=fianddashboard][data-mobile=true] #body-content {
  right: 0em;
  width: 100%;
}

html[data-page=investorprofile] {
  --Sub-Nav: 4em;
}
html[data-page=investorprofile][data-mobile=true] #body-content {
  right: 0em;
  width: 100%;
}

html[data-subNav=false] {
  --Sub-Nav: 0em ;
}

/*
*
* Accordion
*
* Bootstrap accordion styles.
*
*/
.accordion-button {
  border-color: var(--separator);
  color: var(--body);
  font-size: 1em;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: initial;
}

.accordion-button:focus {
  border-color: var(--separator);
}

.accordion-collapse {
  border-color: var(--separator);
}

.accordion-button::after {
  background: initial !important;
  font-family: "CS-Interface" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e915";
  text-align: center;
  transform-origin: center;
}

.accordion-item {
  border: 1px solid var(--separator);
}

.accordion-item,
.accordion-button {
  background: initial;
}

.accordion-item:first-of-type .accordion-button {
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
}

.accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-right-radius: var(--border-radius-md);
  border-bottom-left-radius: var(--border-radius-md);
}

/*
*
* Custom "card-trigger" accordion variant
*
* A lighter-weight alternative to the .accordion-button pattern above: the
* trigger IS the <button class="accordion-header">, with no wrapping <h2>,
* relying on Bootstrap's data-bs-toggle="collapse" JS for show/hide and
* automatic aria-expanded management. Use this when you want a rounded,
* card-style trigger (e.g. a grouped list of report/tool categories) rather
* than the flush, bordered look of the standard .accordion-button component.
*/
.accordion-item.accordion-item-card {
  border: 1px solid var(--separator);
  border-radius: var(--border-radius-lg);
  margin-bottom: 1rem;
}

.accordion-header.accordion-header-card {
  background-color: var(--background);
  color: var(--primary);
  font-size: 1.2em;
  padding: 1rem 1.5rem;
  text-align: left;
  width: 100%;
  border: none;
  border-radius: var(--border-radius-lg);
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-header.accordion-header-card:hover {
  background-color: var(--primary);
  color: white;
}

.accordion-header.accordion-header-card .accordion-chevron {
  transition: transform 0.2s;
}

.accordion-header.accordion-header-card[aria-expanded=true] .accordion-chevron {
  transform: rotate(180deg);
}

/*
*
* Alert
*
* Bootstrap alert styles.
*
*/
.container.alert-is-shown .alert {
  transition: 0.25s;
  transition-timing-function: ease-out;
  transform: translateY(0);
  opacity: 1;
}

.alert-container {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 379px;
  z-index: 10000;
  height: auto;
  transform: translateY(130%);
  transition-timing-function: ease-in;
  transition: 0.2s;
  -webkit-transition: max-height 0.5s ease-in-out;
  -moz-transition: max-height 0.5s ease-in-out;
  -o-transition: max-height 0.5s ease-in-out;
  transition: max-height 0.5s ease-in-out;
  pointer-events: none;
}

.alert {
  position: relative;
}

/* Container for alerts */
#alertContainer .alert {
  position: relative;
  opacity: 0; /* Start with opacity 0 */
  transition: opacity 0.5s ease-in-out; /* Smooth opacity transition */
  transform: translateY(130%); /* Start from off-screen */
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Smooth transition for both transform and opacity */
  pointer-events: none;
}

/* Show alert (sliding in and becoming visible) */
#alertContainer .alert.show {
  opacity: 1; /* Make the alert visible */
  transform: translateY(0); /* Slide into view */
  pointer-events: auto;
}

.alert-primary {
  color: var(--primary);
}
.alert-primary .alert-link {
  color: var(--primary);
}

.alert-secondary {
  color: var(--secondary);
}
.alert-secondary .alert-link {
  color: var(--secondary);
}

.alert-tertiary {
  color: var(--tertiary);
}
.alert-tertiary .alert-link {
  color: var(--tertiary);
}

.alert-quaternary {
  color: var(--quaternary);
}
.alert-quaternary .alert-link {
  color: var(--quaternary);
}

.alert-success {
  color: var(--success);
}
.alert-success .alert-link {
  color: var(--success);
}

.alert-danger {
  color: var(--danger);
}
.alert-danger .alert-link {
  color: var(--danger);
}

.alert-info {
  color: var(--info);
}
.alert-info .alert-link {
  color: var(--info);
}

.alert-warning {
  color: var(--warning);
}
.alert-warning .alert-link {
  color: var(--warning);
}

.alert-light {
  color: var(--alternate);
}
.alert-light .alert-link {
  color: var(--alternate);
}

.alert-dark {
  color: var(--alternate);
}
.alert-dark .alert-link {
  color: var(--alternate);
}

.alert-heading {
  color: inherit !important;
}

/* Close button for alert */
.alert-container .close-btn {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  display: inline-block;
  position: absolute;
  top: 5px;
  right: 10px;
  z-index: 99999; /* Ensure the close button stays on top */
  pointer-events: auto;
}

.alert-title {
  display: inherit;
  width: 100%;
  background-color: var(--danger);
  text-align: center;
  color: var(--color-bg);
}

/*Icon Flash*/
@keyframes icon-pulse {
  0% {
    color: #50ad0e;
    transform: scale(1);
    opacity: 1;
  }
  50% {
    color: #50ad0e;
    transform: scale(1.2);
    opacity: 0.6;
  }
  100% {
    color: #50ad0e;
    transform: scale(1);
    opacity: 1;
  }
}
.flashing-icon {
  animation: icon-pulse 2.5s infinite;
}

/*Icon Flash End*/
@keyframes slideIn {
  from {
    transform: translateY(130%); /* Start from out of view */
  }
  to {
    transform: translateY(0); /* Move into the visible area */
    opacity: 1; /* Fade in */
  }
}
@keyframes slideOut {
  from {
    transform: translateY(0); /* Stay in view initially */
    opacity: 1; /* Fully visible */
  }
  to {
    transform: translateY(130%); /* Slide it out of view */
    opacity: 0; /* Fade out */
  }
}
@keyframes flash {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
.flash-alert {
  animation: flash 1s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 5px var(--alert-color);
  }
  50% {
    box-shadow: 0 0 20px var(--alert-color);
  }
  100% {
    box-shadow: 0 0 5px var(--alert-color);
  }
}
/* Define the CSS variables for alert colors */
.alert-info {
  --alert-color: var(--info) ;
}

.alert-danger {
  --alert-color: var(--danger) ;
}

.alert-warning {
  --alert-color: var(--warning) ;
}

.alert-success {
  --alert-color: var(--success) ;
}

.pulse-border {
  animation: pulse 2s infinite;
}

.alert-purps {
  --alert-color: purple ;
}

/*
*
* Background
*
* Bootstrap background utilities and additional ones.
*
*/
.bg-primary {
  background-color: var(--primary) !important;
}

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

.bg-tertiary {
  color: var(--light-text) !important;
  background-color: var(--tertiary) !important;
}

.bg-quaternary {
  color: var(--light-text) !important;
  background-color: var(--quaternary) !important;
}

.bg-success {
  background-color: var(--success) !important;
  color: var(--light-text) !important;
}

.bg-danger {
  background-color: var(--danger) !important;
  color: var(--light-text) !important;
}

.bg-warning {
  background-color: var(--warning) !important;
  color: var(--light-text) !important;
}

.bg-warning-darker {
  background-color: var(--warning-darker) !important;
  color: var(--light-white) !important;
}

.bg-pink {
  background-color: var(--bs-pink) !important;
  color: var(--light-text) !important;
}

.bg-purple {
  background-color: var(--purple) !important;
  color: var(--light-text) !important;
}

.bg-info {
  background-color: var(--info) !important;
  color: var(--light-text) !important;
}

.bg-light {
  background-color: var(--background-light) !important;
  color: var(--dark-text) !important;
}

.bg-dark {
  background-color: var(--dark) !important;
  color: var(--light-text) !important;
}

.bg-separator {
  background-color: var(--separator) !important;
  color: var(--light-text) !important;
}

.bg-separator-light {
  background-color: var(--separator-light) !important;
  color: var(--light-text) !important;
}

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

.bg-muted {
  background-color: var(--muted) !important;
  color: var(--light-text) !important;
}

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

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

.bg-foreground {
  background-color: var(--foreground) !important;
  color: var(--body) !important;
}

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

.bg-outline-primary {
  box-shadow: inset 0 0 0 1px var(--primary) !important;
  color: var(--primary) !important;
}

.bg-outline-secondary {
  box-shadow: inset 0 0 0 1px var(--secondary) !important;
  color: var(--secondary) !important;
}

.bg-outline-tertiary {
  box-shadow: inset 0 0 0 1px var(--tertiary) !important;
  color: var(--tertiary) !important;
}

.bg-outline-quaternary {
  box-shadow: inset 0 0 0 1px var(--quaternary) !important;
  color: var(--quaternary) !important;
}

.bg-outline-success {
  box-shadow: inset 0 0 0 1px var(--success) !important;
  color: var(--success) !important;
}

.bg-outline-danger {
  box-shadow: inset 0 0 0 1px var(--danger) !important;
  color: var(--danger) !important;
}

.bg-outline-warning {
  box-shadow: inset 0 0 0 1px var(--warning) !important;
  color: var(--warning) !important;
}

.bg-outline-info {
  box-shadow: inset 0 0 0 1px var(--info) !important;
  color: var(--info) !important;
}

.bg-outline-light {
  box-shadow: inset 0 0 0 1px var(--light) !important;
  color: var(--light) !important;
}

.bg-outline-dark {
  box-shadow: inset 0 0 0 1px var(--dark) !important;
  color: var(--dark) !important;
}

.bg-outline-muted {
  box-shadow: inset 0 0 0 1px var(--muted) !important;
  color: var(--muted) !important;
}

.bg-outline-body {
  box-shadow: inset 0 0 0 1px var(--body) !important;
  color: var(--body) !important;
}

.bg-outline-alternate {
  box-shadow: inset 0 0 0 1px var(--alternate) !important;
  color: var(--alternate) !important;
}

.bg-outline-separator {
  box-shadow: inset 0 0 0 1px var(--separator) !important;
  color: var(--separator) !important;
}

.bg-outline-foreground {
  box-shadow: inset 0 0 0 1px var(--foreground) !important;
  color: var(--primary) !important;
}

.bg-outline-background {
  box-shadow: inset 0 0 0 1px var(--background) !important;
  color: var(--primary) !important;
}

.bg-gradient-single-1 {
  background-color: var(--gradient-1) !important;
}

.bg-gradient-single-2 {
  background-color: var(--gradient-2) !important;
}

.bg-gradient-single-3 {
  background-color: var(--gradient-3) !important;
}

.bg-gradient-light {
  background-image: linear-gradient(160deg, var(--gradient-1), var(--gradient-1), var(--gradient-1-lighter)) !important;
}

.bg-gradient-dark {
  background-image: linear-gradient(160deg, var(--gradient-1), var(--gradient-1), var(--gradient-1-darker)) !important;
}

.bg-gradient-green {
  background: linear-gradient(45deg, var(--MainThemeGreenColor), #59e0c5) !important;
  color: white;
}

.bg-gradient-blue {
  background: linear-gradient(45deg, #1e0dad, #73b4ff) !important;
  color: white;
}

.bg-gradient-yellow {
  background: linear-gradient(45deg, var(--MainThemeYellowColor), #ffcb80) !important;
  color: white;
}

.bg-gradient-orange {
  background: linear-gradient(45deg, var(--MainThemeOrangeColor), #ffcb80) !important;
  color: white;
}

.bg-gradient-red {
  background: linear-gradient(45deg, var(--MainThemeRedColor), #ff869a) !important;
  color: white;
}

a:focus.bg-primary,
a:hover.bg-primary {
  background-color: var(--primary-darker) !important;
  border-color: var(--primary-darker) !important;
  color: var(--light-text) !important;
}
a:focus.bg-secondary,
a:hover.bg-secondary {
  background-color: var(--secondary-darker) !important;
  border-color: var(--secondary-darker) !important;
  color: var(--light-text) !important;
}
a:focus.bg-tertiary,
a:hover.bg-tertiary {
  background-color: var(--tertiary-darker) !important;
  border-color: var(--tertiary-darker) !important;
  color: var(--light-text) !important;
}
a:focus.bg-quaternary,
a:hover.bg-quaternary {
  background-color: var(--quaternary-darker) !important;
  border-color: var(--quaternary-darker) !important;
  color: var(--light-text) !important;
}
a:focus.bg-warning,
a:hover.bg-warning {
  background-color: var(--warning-darker) !important;
  border-color: var(--warning-darker) !important;
  color: var(--light-text) !important;
}
a:focus.bg-danger,
a:hover.bg-danger {
  background-color: var(--danger-darker) !important;
  border-color: var(--danger-darker) !important;
  color: var(--light-text) !important;
}
a:focus.bg-success,
a:hover.bg-success {
  background-color: var(--success-darker) !important;
  border-color: var(--success-darker) !important;
  color: var(--light-text) !important;
}
a:focus.bg-info,
a:hover.bg-info {
  background-color: var(--info-darker) !important;
  border-color: var(--info-darker) !important;
  color: var(--light-text) !important;
}
a:focus.bg-light,
a:hover.bg-light {
  background-color: var(--light-darker) !important;
  border-color: var(--light-darker) !important;
  color: var(--dark-text) !important;
}
a:focus.bg-dark,
a:hover.bg-dark {
  background-color: var(--dark-darker) !important;
  border-color: var(--dark-darker) !important;
  color: var(--light-text) !important;
}
a:focus.bg-muted,
a:hover.bg-muted {
  background-color: var(--muted-darker) !important;
  border-color: var(--muted-darker) !important;
  color: var(--light-text) !important;
}
a:focus.bg-separator,
a:hover.bg-separator {
  background-color: var(--separator-darker) !important;
  border-color: var(--separator-darker) !important;
  color: var(--light-text) !important;
}

/*
*
* Border
*
* Bootstrap border utilities and additional ones.
*
*/
.rounded-top {
  border-top-left-radius: var(--border-radius-md) !important;
  border-top-right-radius: var(--border-radius-md) !important;
}

.rounded-top-start {
  border-top-left-radius: var(--border-radius-md) !important;
}

.rounded-top-end {
  border-top-right-radius: var(--border-radius-md) !important;
}

.rounded-end {
  border-top-right-radius: var(--border-radius-md) !important;
  border-bottom-right-radius: var(--border-radius-md) !important;
}

.rounded-bottom {
  border-bottom-right-radius: var(--border-radius-md) !important;
  border-bottom-left-radius: var(--border-radius-md) !important;
}

.rounded-bottom-start {
  border-bottom-left-radius: var(--border-radius-md) !important;
}

.rounded-bottom-end {
  border-bottom-right-radius: var(--border-radius-md) !important;
}

.rounded-start {
  border-top-left-radius: var(--border-radius-lg) !important;
  border-bottom-left-radius: var(--border-radius-lg) !important;
}

.rounded-pill {
  border-radius: 50px !important;
}

.rounded,
.rounded-lg {
  border-radius: var(--border-radius-lg) !important;
}

.rounded-xl {
  border-radius: var(--border-radius-xl) !important;
}

.rounded-xl-top {
  border-top-left-radius: var(--border-radius-lg) !important;
  border-top-right-radius: var(--border-radius-lg) !important;
}

.rounded-xl-top-start {
  border-top-left-radius: var(--border-radius-lg) !important;
}

.rounded-xl-top-end {
  border-top-right-radius: var(--border-radius-lg) !important;
}

.rounded-xl-end {
  border-top-right-radius: var(--border-radius-lg) !important;
  border-bottom-right-radius: var(--border-radius-lg) !important;
}

.rounded-xl-bottom {
  border-bottom-right-radius: var(--border-radius-lg) !important;
  border-bottom-left-radius: var(--border-radius-lg) !important;
}

.rounded-xl-bottom-start {
  border-bottom-left-radius: var(--border-radius-lg) !important;
}

.rounded-xl-bottom-end {
  border-bottom-right-radius: var(--border-radius-lg) !important;
}

.rounded-xl-start {
  border-top-left-radius: var(--border-radius-lg) !important;
  border-bottom-left-radius: var(--border-radius-lg) !important;
}

.rounded-sm {
  border-radius: var(--border-radius-sm) !important;
}

.rounded-sm-top {
  border-top-left-radius: var(--border-radius-sm) !important;
  border-top-right-radius: var(--border-radius-sm) !important;
}

.rounded-sm-top-start {
  border-top-left-radius: var(--border-radius-sm) !important;
}

.rounded-sm-top-end {
  border-top-right-radius: var(--border-radius-sm) !important;
}

.rounded-sm-end {
  border-top-right-radius: var(--border-radius-sm) !important;
  border-bottom-right-radius: var(--border-radius-sm) !important;
}

.rounded-sm-bottom {
  border-bottom-right-radius: var(--border-radius-sm) !important;
  border-bottom-left-radius: var(--border-radius-sm) !important;
}

.rounded-sm-bottom-start {
  border-bottom-left-radius: var(--border-radius-sm) !important;
}

.rounded-sm-bottom-end {
  border-bottom-right-radius: var(--border-radius-sm) !important;
}

.rounded-sm-start {
  border-top-left-radius: var(--border-radius-sm) !important;
  border-bottom-left-radius: var(--border-radius-sm) !important;
}

.rounded-md {
  border-radius: var(--border-radius-md) !important;
}

.rounded-md-top {
  border-top-left-radius: var(--border-radius-md) !important;
  border-top-right-radius: var(--border-radius-md) !important;
}

.rounded-md-top-start {
  border-top-left-radius: var(--border-radius-md) !important;
}

.rounded-md-top-end {
  border-top-right-radius: var(--border-radius-md) !important;
}

.rounded-md-end {
  border-top-right-radius: var(--border-radius-md) !important;
  border-bottom-right-radius: var(--border-radius-md) !important;
}

.rounded-md-bottom {
  border-bottom-right-radius: var(--border-radius-md) !important;
  border-bottom-left-radius: var(--border-radius-md) !important;
}

.rounded-md-bottom-start {
  border-bottom-left-radius: var(--border-radius-md) !important;
}

.rounded-md-bottom-end {
  border-bottom-right-radius: var(--border-radius-md) !important;
}

.rounded-md-start {
  border-top-left-radius: var(--border-radius-md) !important;
  border-bottom-left-radius: var(--border-radius-md) !important;
}

/* Colors */
.border {
  border-color: var(--separator) !important;
}

.border-bottom {
  border-bottom: 1px solid var(--separator) !important;
}

.border-top {
  border-top: 1px solid var(--separator) !important;
}

.border-start {
  border-left: 1px solid var(--separator) !important;
}

.border-end {
  border-right: 1px solid var(--separator) !important;
}

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

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

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

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

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

.border-separator-light {
  border-color: var(--separator-light) !important;
}

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

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

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

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

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

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

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

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

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

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

.border-white {
  border-color: var(--light-text) !important;
}

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

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

.border-transparent {
  border-color: transparent !important;
}

.border-1 {
  border-width: 1px !important;
}

.border-2 {
  border-width: 2px !important;
}

.border-3 {
  border-width: 3px !important;
}

.border-4 {
  border-width: 4px !important;
}

.border-5 {
  border-width: 5px !important;
}

.border-dashed {
  border-style: dashed !important;
}

.border-last-none > *:last-child {
  border: initial !important;
}

.separator {
  border-bottom: 1px solid var(--separator);
}

.separator-light {
  border-bottom: 1px solid var(--separator-light);
}

.full-page-content-right-border {
  border-radius: initial !important;
  border-bottom-left-radius: var(--border-radius-lg) !important;
  border-bottom-right-radius: var(--border-radius-lg) !important;
}
@media (min-width: 992px) {
  .full-page-content-right-border {
    border-radius: initial !important;
    border-bottom-left-radius: var(--border-radius-lg) !important;
    border-top-left-radius: var(--border-radius-lg) !important;
  }
}

.full-page-content-single-border {
  border-radius: initial !important;
  border-bottom-left-radius: var(--border-radius-lg) !important;
  border-bottom-right-radius: var(--border-radius-lg) !important;
}

/*
*
* Badge
*
* Bootstrap badge styles.
*
*/
.badge {
  font-size: 12px;
  font-weight: 400;
  border-radius: var(--border-radius-md);
  color: var(--light-text);
  text-indent: -1px;
  line-height: 1.25;
  border-radius: 12px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
  color: white;
  font: bold 12px;
  text-align: center;
  border: initial !important;
  position: flex;
}

.btn .badge {
  padding-top: 1px;
  padding-bottom: 1px;
  /* position: relative; */
  top: -1px;
}

a.badge,
.btn.badge {
  box-shadow: initial !important;
}

.badge-square {
  border-radius: 0.2rem; /* Adjust the border-radius for a square shape */
}

.notification-count {
  position: absolute;
  z-index: 5;
  background-color: red;
  border-radius: 12px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
  color: white;
  font: bold 12px/9px Helvetica, Verdana, Tahoma;
  height: 12px;
  padding: 2px 3px 0 3px;
  text-align: center;
  min-width: 8px;
}

.pipeline-badge {
  z-index: 5;
  /*    background-color: var(--danger);
      color: white;*/
  height: 12px;
  padding: 2px 3px 0 3px;
  text-align: center;
  min-width: 8px;
  height: 100%;
  width: 100%;
  display: block;
}

.badge-primary {
  background-color: var(--primary);
  color: var(--color-bg);
}

.badge-secondary {
  background-color: var(--secondary);
  color: var(--color-bg);
}

.badge-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.badge-outline-secondary {
  border-color: var(--secondary);
  color: var(--secondary);
}

.badge-unread {
  background-color: var(--danger);
  color: var(--color-bg);
}

.badge-add {
  background-color: var(--success);
  color: var(--color-bg);
}

.badge-zero {
  background-color: var(--warning);
  color: var(--color-fg);
}

.badge-read {
  background-color: var(--primary);
  color: var(--color-bg);
}

.badge-incomplete {
  background-color: blue;
  color: white;
}

.bg-danger {
  background-color: var(--danger);
  color: var(--color-bg);
}

.bg-success {
  background-color: var(--success);
  color: var(--color-bg);
}

.badge-muted {
  background-color: var(--muted);
  color: var(--color-bg);
}

.badge-outline-muted {
  border-color: var(--muted);
  color: var(--muted);
}

.category-badge {
  position: absolute;
  top: 24px;
  left: -27px;
  width: 130px;
  padding: 6px 0;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  transform: rotate(-45deg);
  transform-origin: center center;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  line-height: 1.3;
}

.category-badge.cat-new-feature {
  background: #2563eb;
}

.category-badge.cat-improvement {
  background: #16a34a;
}

.category-badge.cat-ai-feature {
  background: #7c3aed;
}

.category-badge.cat-bug-fix {
  background: #dc2626;
}

.category-badge.cat-did-you-know {
  background: #d97706;
}

/* ── Category filter pills ── */
.category-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px 4px 16px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.2s, transform 0.15s;
  color: #fff;
  opacity: 0.55;
}

.cat-pill:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.cat-pill.active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.05);
}

.cat-pill.pill-all {
  background: #475569;
}

.cat-pill.pill-new-feature {
  background: #2563eb;
}

.cat-pill.pill-improvement {
  background: #16a34a;
}

.cat-pill.pill-ai-feature {
  background: #7c3aed;
}

.cat-pill.pill-bug-fix {
  background: #dc2626;
}

.cat-pill.pill-did-you-know {
  background: #d97706;
}

.cat-pill.pill-coming-soon {
  background: #0891b2;
}

.cat-pill.pill-upcoming-event {
  background: #db2777;
}

.cat-pill.pill-release-notes {
  background: #4f46e5;
}

.cat-pill.pill-saved {
  background: var(--info);
}

/*
*
* Button
*
* Bootstrap button styles.
*
*/
button {
  outline: initial !important;
  box-shadow: initial !important;
  text-decoration: initial !important;
}

.nav-button-w-icon .active {
  filter: brightness(0.65);
}

.btn-primary, .btn-primary:not(:disabled):not(.disabled):focus, .btn-primary:not(:disabled):not(.disabled).focus {
  background-color: var(--primary);
  color: var(--color-bg);
}

.btn-primary:hover, .btn-primary:not(:disabled):not(.disabled):focus:hover, .btn-primary:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--primary);
  filter: brightness(1.2);
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true], .show > .btn-primary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--primary);
  color: white;
}

.btn-primary.disabled, .btn-primary:disabled {
  background-color: var(--muted);
  color: var(--body);
  cursor: none;
}

.btn-secondary, .btn-secondary:not(:disabled):not(.disabled):focus, .btn-secondary:not(:disabled):not(.disabled).focus {
  background-color: var(--secondary);
}

.btn-secondary:hover, .btn-secondary:not(:disabled):not(.disabled):focus:hover, .btn-secondary:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--secondary-darker);
}

.btn-secondary.disabled, .btn-secondary:disabled {
  background-color: var(--muted);
  color: var(--body);
  cursor: none;
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true], .show > .btn-secondary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--secondary-darker);
}

.btn.disabled,
.btn:disabled {
  background-color: var(--muted);
  color: var(--body);
  cursor: none;
}

.btn.disabled:hover,
.btn:disabled:hover {
  background-color: var(--muted);
  color: var(--body);
  cursor: none;
}

/* Segmented 3-way toggle built from a Bootstrap btn-group of radio
   btn-check inputs (e.g. All / Recurring / Non-Recurring, or
   All / Flagged / Non-Flagged). Reusable wherever a 3-option filter
   toggle is needed. */
.segmented-toggle .btn {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
}

.segmented-toggle .btn-check:checked + .btn-outline-secondary,
.segmented-toggle .btn-check:checked + .btn-outline-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

.btn {
  font-family: var(--font);
  border: initial;
  box-shadow: initial !important;
  transition: all var(--transition-time-short);
  transition-property: color, background-color, background-image, background;
  border-radius: var(--border-radius-md);
  cursor: pointer;
}
.btn.shadow {
  /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;*/
  box-shadow: 0 0 4px rgba(19, 19, 20, 0.48) !important;
}

.btn.disabled,
.btn:disabled {
  cursor: initial;
}

.btn-icon {
  /*    padding: 9px 20px;*/
  height: var(--input-height);
}
.btn-icon span {
  vertical-align: middle;
}
.btn-icon.btn-icon-only {
  padding: 9px 9px;
  flex-shrink: 0;
  width: var(--input-height);
}
.btn-icon.btn-sm.btn-icon-only {
  padding: 7px 7px;
  width: 30px;
}
.btn-icon svg {
  width: 15px;
  height: 15px;
}
.btn-icon.btn-xs {
  height: 28px;
}
.btn-icon.btn-xs svg {
  width: 12px;
  height: 12px;
  margin-top: -1px;
}

.btn-xl,
.btn-group-xl > .btn {
  padding: 15px 40px;
  line-height: 1;
  font-size: 1em;
  border-radius: var(--border-radius-md);
}
.btn-xl.btn-icon,
.btn-group-xl > .btn.btn-icon {
  padding: 13px 40px;
  height: 44px;
}

.btn-lg,
.btn-group-lg > .btn {
  padding: 15px 25px;
  /*line-height: 1;*/
  font-size: 1em;
  border-radius: var(--border-radius-md);
}
.btn-lg.btn-icon,
.btn-group-lg > .btn.btn-icon {
  padding: 9px 35px;
  /*height: var(--input-height);*/
}

.btn-sm,
.btn-group-sm > .btn {
  padding: 8px 14px;
  font-size: 0.9em;
  border-radius: var(--border-radius-md);
  line-height: 1;
  height: 30px;
}
.btn-sm.btn-icon,
.btn-group-sm > .btn.btn-icon {
  height: 30px;
}
.btn-sm.btn-icon i,
.btn-group-sm > .btn.btn-icon i {
  font-size: 14px;
  width: 16px;
}

.btn-primary,
.btn-primary:not(:disabled):not(.disabled):focus,
.btn-primary:not(:disabled):not(.disabled).focus {
  background-color: var(--primary);
}
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):focus:hover,
.btn-primary:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--primary);
  filter: brightness(0.75);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-primary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--primary-darker);
}

.btn-primary.disabled,
.btn-primary:disabled {
  background-color: var(--primary);
}

.btn-secondary,
.btn-secondary:not(:disabled):not(.disabled):focus,
.btn-secondary:not(:disabled):not(.disabled).focus {
  background-color: var(--secondary);
}
.btn-secondary:hover,
.btn-secondary:not(:disabled):not(.disabled):focus:hover,
.btn-secondary:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--secondary-darker);
}

.btn-secondary.disabled,
.btn-secondary:disabled {
  background-color: var(--secondary);
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-secondary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--secondary-darker);
}

.btn-tertiary,
.btn-tertiary:not(:disabled):not(.disabled):focus,
.btn-tertiary:not(:disabled):not(.disabled).focus {
  background-color: var(--tertiary);
}
.btn-tertiary:hover,
.btn-tertiary:not(:disabled):not(.disabled):focus:hover,
.btn-tertiary:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--tertiary-darker);
}

.btn-tertiary.disabled,
.btn-tertiary:disabled {
  background-color: var(--tertiary);
}

.btn-tertiary:not(:disabled):not(.disabled):active,
.btn-tertiary:not(:disabled):not(.disabled).active,
.show > .btn-tertiary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-tertiary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--tertiary-darker);
}

.btn-quaternary,
.btn-quaternary:not(:disabled):not(.disabled):focus,
.btn-quaternary:not(:disabled):not(.disabled).focus {
  background-color: var(--quaternary);
}
.btn-quaternary:hover,
.btn-quaternary:not(:disabled):not(.disabled):focus:hover,
.btn-quaternary:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--quaternary-darker);
}

.btn-quaternary.disabled,
.btn-quaternary:disabled {
  background-color: var(--quaternary);
}

.btn-quaternary:not(:disabled):not(.disabled):active,
.btn-quaternary:not(:disabled):not(.disabled).active,
.show > .btn-quaternary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-quaternary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--quaternary-darker);
}

.btn-success,
.btn-success:not(:disabled):not(.disabled):focus,
.btn-success:not(:disabled):not(.disabled).focus {
  background-color: var(--success);
}
.btn-success:hover,
.btn-success:not(:disabled):not(.disabled):focus:hover,
.btn-success:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--success-darker);
}

.btn-success.disabled,
.btn-success:disabled {
  background-color: var(--success);
}

.btn-success:not(:disabled):not(.disabled):active,
.btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-success:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--success-darker);
}

.btn-white,
.btn-white:not(:disabled):not(.disabled):focus,
.btn-white:not(:disabled):not(.disabled).focus {
  background-color: var(--light-text);
  color: var(--primary) !important;
}
.btn-white:hover,
.btn-white:not(:disabled):not(.disabled):focus:hover,
.btn-white:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--light-text-darker);
}

.btn-white.disabled,
.btn-white:disabled {
  background-color: var(--light-text);
}

.btn-white:not(:disabled):not(.disabled):active,
.btn-white:not(:disabled):not(.disabled).active,
.show > .btn-white:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-white:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--light-text-darker);
}

.btn-black,
.btn-black:not(:disabled):not(.disabled):focus,
.btn-black:not(:disabled):not(.disabled).focus {
  background-color: var(--dark-text);
  color: var(--primary) !important;
}
.btn-black:hover,
.btn-black:not(:disabled):not(.disabled):focus:hover,
.btn-black:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--dark-text-darker);
}

.btn-black.disabled,
.btn-black:disabled {
  background-color: var(--dark-text);
}

.btn-black:not(:disabled):not(.disabled):active,
.btn-black:not(:disabled):not(.disabled).active,
.show > .btn-black:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-black:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--dark-text-darker);
}

.btn-warning,
.btn-warning:not(:disabled):not(.disabled):focus,
.btn-warning:not(:disabled):not(.disabled).focus {
  background-color: var(--warning);
}
.btn-warning:hover,
.btn-warning:not(:disabled):not(.disabled):focus:hover,
.btn-warning:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--warning-darker);
}

.btn-warning.disabled,
.btn-warning:disabled {
  background-color: var(--warning);
}

.btn-warning:not(:disabled):not(.disabled):active,
.btn-warning:not(:disabled):not(.disabled).active,
.show > .btn-warning:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-warning:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--warning-darker);
}

.btn-info,
.btn-info:not(:disabled):not(.disabled):focus,
.btn-info:not(:disabled):not(.disabled).focus {
  background-color: var(--info);
}
.btn-info:hover,
.btn-info:not(:disabled):not(.disabled):focus:hover,
.btn-info:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--info-darker);
}

.btn-incomplete,
.btn-incomplete:not(:disabled):not(.disabled):focus,
.btn-incomplete:not(:disabled):not(.disabled).focus {
  background-color: blue;
}
.btn-incomplete:hover,
.btn-incomplete:not(:disabled):not(.disabled):focus:hover,
.btn-incomplete:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--darker);
}

.btn-info.disabled,
.btn-info:disabled {
  background-color: var(--info);
}

.btn-info:not(:disabled):not(.disabled):active,
.btn-info:not(:disabled):not(.disabled).active,
.show > .btn-info:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-info:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--info-darker);
}

.btn-orange,
.btn-orange:not(:disabled):not(.disabled):focus,
.btn-orange:not(:disabled):not(.disabled).focus {
  background-color: orange;
  color: white;
}
.btn-orange:hover,
.btn-orange:not(:disabled):not(.disabled):focus:hover,
.btn-orange:not(:disabled):not(.disabled).focus:hover {
  filter: brightness(0.85);
}

.btn-danger,
.btn-danger:not(:disabled):not(.disabled):focus,
.btn-danger:not(:disabled):not(.disabled).focus {
  background-color: var(--danger);
}
.btn-danger:hover,
.btn-danger:not(:disabled):not(.disabled):focus:hover,
.btn-danger:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--danger-darker);
}

.btn-danger.disabled,
.btn-danger:disabled {
  background-color: var(--danger);
}

.btn-danger:not(:disabled):not(.disabled):active,
.btn-danger:not(:disabled):not(.disabled).active,
.show > .btn-danger:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-danger:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--danger-darker);
}

.btn-light,
.btn-light:not(:disabled):not(.disabled):focus,
.btn-light:not(:disabled):not(.disabled).focus {
  background-color: var(--light);
  color: var(--dark-text) !important;
}
.btn-light:hover,
.btn-light:not(:disabled):not(.disabled):focus:hover,
.btn-light:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--light-darker);
}

.btn-light.disabled,
.btn-light:disabled {
  background-color: var(--light);
}

.btn-light:not(:disabled):not(.disabled):active,
.btn-light:not(:disabled):not(.disabled).active,
.show > .btn-light:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-light:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--light-darker);
}

.btn-dark,
.btn-dark:not(:disabled):not(.disabled):focus,
.btn-dark:not(:disabled):not(.disabled).focus {
  background-color: var(--dark);
}
.btn-dark:hover,
.btn-dark:not(:disabled):not(.disabled):focus:hover,
.btn-dark:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--dark-darker);
}

.btn-dark.disabled,
.btn-dark:disabled {
  background-color: var(--light);
}

.btn-dark:not(:disabled):not(.disabled):active,
.btn-dark:not(:disabled):not(.disabled).active,
.show > .btn-dark:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-dark:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--dark-darker);
}

.btn-body,
.btn-body:not(:disabled):not(.disabled):focus,
.btn-body:not(:disabled):not(.disabled).focus {
  background-color: var(--body);
}
.btn-body:hover,
.btn-body:not(:disabled):not(.disabled):focus:hover,
.btn-body:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--body-darker);
}

.btn-body.disabled,
.btn-body:disabled {
  background-color: var(--light);
}

.btn-body:not(:disabled):not(.disabled):active,
.btn-body:not(:disabled):not(.disabled).active,
.show > .btn-body:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-body:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--body-darker);
}

.btn-muted,
.btn-muted:not(:disabled):not(.disabled):focus,
.btn-muted:not(:disabled):not(.disabled).focus {
  background-color: var(--muted);
}
.btn-muted:hover,
.btn-muted:not(:disabled):not(.disabled):focus:hover,
.btn-muted:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--muted-darker);
}

.btn-muted.disabled,
.btn-muted:disabled {
  background-color: var(--light);
}

.btn-muted:not(:disabled):not(.disabled):active,
.btn-muted:not(:disabled):not(.disabled).active,
.show > .btn-muted:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-muted:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--muted-darker);
}

.btn-separator,
.btn-separator:not(:disabled):not(.disabled):focus,
.btn-separator:not(:disabled):not(.disabled).focus {
  background-color: var(--separator);
}
.btn-separator:hover,
.btn-separator:not(:disabled):not(.disabled):focus:hover,
.btn-separator:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--separator-darker);
}

.btn-separator.disabled,
.btn-separator:disabled {
  background-color: var(--light);
}

.btn-separator:not(:disabled):not(.disabled):active,
.btn-separator:not(:disabled):not(.disabled).active,
.show > .btn-separator:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-separator:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--separator-darker);
}

.btn-separator-light,
.btn-separator-light:not(:disabled):not(.disabled):focus,
.btn-separator-light:not(:disabled):not(.disabled).focus {
  background-color: var(--separator-light);
  color: var(--body) !important;
}
.btn-separator-light:hover,
.btn-separator-light:not(:disabled):not(.disabled):focus:hover,
.btn-separator-light:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--separator-darker);
  color: var(--light-text) !important;
}

.btn-separator-light.disabled,
.btn-separator-light:disabled {
  background-color: var(--light);
}

.btn-separator-light:not(:disabled):not(.disabled):active,
.btn-separator-light:not(:disabled):not(.disabled).active,
.show > .btn-separator-light:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-separator-light:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--separator-darker);
}

.btn-alternate,
.btn-alternate:not(:disabled):not(.disabled):focus,
.btn-alternate:not(:disabled):not(.disabled).focus {
  background-color: var(--alternate);
}
.btn-alternate:hover,
.btn-alternate:not(:disabled):not(.disabled):focus:hover,
.btn-alternate:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--alternate-darker);
}

.btn-alternate.disabled,
.btn-alternate:disabled {
  background-color: var(--light);
}

.btn-alternate:not(:disabled):not(.disabled):active,
.btn-alternate:not(:disabled):not(.disabled).active,
.show > .btn-alternate:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-alternate:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--alternate-darker);
}

.btn-link,
.btn-link:not(:disabled):not(.disabled):focus,
.btn-link:not(:disabled):not(.disabled).focus {
  transition: color var(--transition-time-short);
  color: var(--primary) !important;
  text-decoration: initial !important;
}
.btn-link:hover, .btn-link:active,
.btn-link:not(:disabled):not(.disabled):focus:hover,
.btn-link:not(:disabled):not(.disabled):focus:active,
.btn-link:not(:disabled):not(.disabled).focus:hover,
.btn-link:not(:disabled):not(.disabled).focus:active {
  text-decoration: initial;
  color: var(--secondary) !important;
}

.btn-link.disabled,
.btn-link:disabled {
  background-color: var(--link);
}

.btn-link:not(:disabled):not(.disabled):active,
.btn-link:not(:disabled):not(.disabled).active,
.show > .btn-link:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-link:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  color: var(--primary-darker) !important;
}

.btn-outline-primary {
  box-shadow: inset 0 0 0 1px var(--primary) !important;
  color: var(--primary) !important;
}
.btn-outline-primary:hover {
  color: var(--light-text) !important;
  background-color: var(--primary);
  box-shadow: initial !important;
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  box-shadow: inset 0 0 0 1px var(--primary) !important;
  background: initial;
  color: var(--primary) !important;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-primary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary) !important;
  color: var(--light-text) !important;
}

.btn-outline-secondary {
  box-shadow: inset 0 0 0 1px var(--secondary) !important;
  color: var(--secondary) !important;
}
.btn-outline-secondary:hover {
  color: var(--light-text) !important;
  background-color: var(--secondary);
  box-shadow: initial !important;
}

.btn-outline-secondary.disabled,
.btn-outline-secondary:disabled {
  box-shadow: inset 0 0 0 1px var(--secondary) !important;
  background: initial;
  color: var(--secondary) !important;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active,
.btn-outline-secondary:not(:disabled):not(.disabled).active,
.show > .btn-outline-secondary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-secondary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--secondary);
  box-shadow: inset 0 0 0 1px var(--secondary) !important;
  color: var(--light-text) !important;
}

.btn-outline-tertiary {
  box-shadow: inset 0 0 0 1px var(--tertiary) !important;
  color: var(--tertiary) !important;
}
.btn-outline-tertiary:hover {
  color: var(--light-text) !important;
  background-color: var(--tertiary);
  box-shadow: initial !important;
}

.btn-outline-tertiary.disabled,
.btn-outline-tertiary:disabled {
  box-shadow: inset 0 0 0 1px var(--tertiary) !important;
  background: initial;
  color: var(--tertiary) !important;
}

.btn-outline-tertiary:not(:disabled):not(.disabled):active,
.btn-outline-tertiary:not(:disabled):not(.disabled).active,
.show > .btn-outline-tertiary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-tertiary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--tertiary);
  box-shadow: inset 0 0 0 1px var(--tertiary) !important;
  color: var(--light-text) !important;
}

.btn-outline-quaternary {
  box-shadow: inset 0 0 0 1px var(--quaternary) !important;
  color: var(--quaternary) !important;
}
.btn-outline-quaternary:hover {
  color: var(--light-text) !important;
  background-color: var(--quaternary);
  box-shadow: initial !important;
}

.btn-outline-quaternary.disabled,
.btn-outline-quaternary:disabled {
  box-shadow: inset 0 0 0 1px var(--quaternary) !important;
  background: initial;
  color: var(--quaternary) !important;
}

.btn-outline-quaternary:not(:disabled):not(.disabled):active,
.btn-outline-quaternary:not(:disabled):not(.disabled).active,
.show > .btn-outline-quaternary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-quaternary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--quaternary);
  box-shadow: inset 0 0 0 1px var(--quaternary) !important;
  color: var(--light-text) !important;
}

.btn-outline-success {
  box-shadow: inset 0 0 0 1px var(--success) !important;
  color: var(--success) !important;
}
.btn-outline-success:hover {
  color: var(--light-text) !important;
  background-color: var(--success);
  box-shadow: initial !important;
}

.btn-outline-success.disabled,
.btn-outline-success:disabled {
  box-shadow: inset 0 0 0 1px var(--success) !important;
  background: initial;
  color: var(--success) !important;
}

.btn-outline-success:not(:disabled):not(.disabled):active,
.btn-outline-success:not(:disabled):not(.disabled).active,
.show > .btn-outline-success:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-success:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--success);
  box-shadow: inset 0 0 0 1px var(--success) !important;
  color: var(--light-text) !important;
}

.btn-outline-warning {
  box-shadow: inset 0 0 0 1px var(--warning) !important;
  color: var(--warning) !important;
}
.btn-outline-warning:hover {
  color: var(--light-text) !important;
  background-color: var(--warning);
  box-shadow: initial !important;
}

.btn-outline-warning.disabled,
.btn-outline-warning:disabled {
  box-shadow: inset 0 0 0 1px var(--warning) !important;
  background: initial;
  color: var(--warning) !important;
}

.btn-outline-warning:not(:disabled):not(.disabled):active,
.btn-outline-warning:not(:disabled):not(.disabled).active,
.show > .btn-outline-warning:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-warning:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--warning);
  box-shadow: inset 0 0 0 1px var(--warning) !important;
  color: var(--light-text) !important;
}

.btn-outline-light {
  box-shadow: inset 0 0 0 1px var(--light) !important;
  color: var(--light) !important;
}
.btn-outline-light:hover {
  color: var(--dark-text) !important;
  background-color: var(--light);
  box-shadow: initial !important;
}

.btn-outline-light.disabled,
.btn-outline-light:disabled {
  box-shadow: inset 0 0 0 1px var(--light) !important;
  background: initial;
  color: var(--light) !important;
}

.btn-outline-light:not(:disabled):not(.disabled):active,
.btn-outline-light:not(:disabled):not(.disabled).active,
.show > .btn-outline-light:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-light:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--light);
  box-shadow: inset 0 0 0 1px var(--light) !important;
  color: var(--dark-text) !important;
}

.btn-outline-white {
  box-shadow: inset 0 0 0 1px var(--light-text) !important;
  color: var(--light-text) !important;
}
.btn-outline-white:hover {
  color: var(--dark-text) !important;
  background-color: var(--light-text);
  box-shadow: initial !important;
}

.btn-outline-white.disabled,
.btn-outline-white:disabled {
  box-shadow: inset 0 0 0 1px var(--light-text) !important;
  background: initial;
  color: var(--light-text) !important;
}

.btn-outline-white:not(:disabled):not(.disabled):active,
.btn-outline-white:not(:disabled):not(.disabled).active,
.show > .btn-outline-white:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-white:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--light-text);
  box-shadow: inset 0 0 0 1px var(--light-text) !important;
  color: var(--dark-text) !important;
}

.btn-outline-black {
  box-shadow: inset 0 0 0 1px var(--dark-text) !important;
  color: var(--dark-text) !important;
}
.btn-outline-black:hover {
  color: var(--light-text) !important;
  background-color: var(--dark-text);
  box-shadow: initial !important;
}

.btn-outline-black.disabled,
.btn-outline-black:disabled {
  box-shadow: inset 0 0 0 1px var(--dark-text) !important;
  background: initial;
  color: var(--dark-text) !important;
}

.btn-outline-black:not(:disabled):not(.disabled):active,
.btn-outline-black:not(:disabled):not(.disabled).active,
.show > .btn-outline-black:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-black:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--dark-text);
  box-shadow: inset 0 0 0 1px var(--dark-text) !important;
  color: var(--light-text) !important;
}

.btn-outline-info {
  box-shadow: inset 0 0 0 1px var(--info) !important;
  color: var(--info) !important;
}
.btn-outline-info:hover {
  color: var(--light-text) !important;
  background-color: var(--info);
  box-shadow: initial !important;
}

.btn-outline-incomplete {
  box-shadow: inset 0 0 0 1px blue !important;
  color: blue !important;
}
.btn-outline-incomplete:hover {
  color: var(--light-text) !important;
  background-color: var(--info);
  box-shadow: initial !important;
}

.btn-outline-info.disabled,
.btn-outline-info:disabled {
  box-shadow: inset 0 0 0 1px var(--info) !important;
  background: initial;
  color: var(--info) !important;
}

.btn-outline-info:not(:disabled):not(.disabled):active,
.btn-outline-info:not(:disabled):not(.disabled).active,
.show > .btn-outline-info:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-info:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--info);
  box-shadow: inset 0 0 0 1px var(--info) !important;
  color: var(--light-text) !important;
}

.btn-outline-danger {
  box-shadow: inset 0 0 0 1px var(--danger) !important;
  color: var(--danger) !important;
}
.btn-outline-danger:hover {
  color: var(--light-text) !important;
  background-color: var(--danger);
  box-shadow: initial !important;
}

/*.btn-outline-danger.disabled,
.btn-outline-danger:disabled {
    box-shadow: inset 0 0 0 1px var(--info) !important;
    background: initial;
    color: var(--danger) !important;
}*/
.btn-outline-danger:not(:disabled):not(.disabled):active,
.btn-outline-danger:not(:disabled):not(.disabled).active,
.show > .btn-outline-danger:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-danger:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--danger);
  box-shadow: inset 0 0 0 1px var(--danger) !important;
  color: var(--light-text) !important;
}

.btn-outline-incomplete:not(:disabled):not(.disabled):active,
.btn-outline-incomplete:not(:disabled):not(.disabled).active,
.show > .btn-outline-incomplete:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-incomplete:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: blue;
  box-shadow: inset 0 0 0 1px blue !important;
  color: var(--light-text) !important;
}

.btn-outline-dark {
  box-shadow: inset 0 0 0 1px var(--dark) !important;
  color: var(--dark) !important;
}
.btn-outline-dark:hover {
  color: var(--light-text) !important;
  background-color: var(--dark);
  box-shadow: initial !important;
}

.btn-outline-dark.disabled,
.btn-outline-dark:disabled {
  box-shadow: inset 0 0 0 1px var(--dark) !important;
  background: initial;
  color: var(--dark) !important;
}

.btn-outline-dark:not(:disabled):not(.disabled):active,
.btn-outline-dark:not(:disabled):not(.disabled).active,
.show > .btn-outline-dark:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-dark:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--dark);
  box-shadow: inset 0 0 0 1px var(--dark) !important;
  color: var(--light-text) !important;
}

.btn-outline-body {
  box-shadow: inset 0 0 0 1px var(--body) !important;
  color: var(--body) !important;
}
.btn-outline-body:hover {
  color: var(--light-text) !important;
  background-color: var(--body);
  box-shadow: initial !important;
}

.btn-outline-body.disabled,
.btn-outline-body:disabled {
  box-shadow: inset 0 0 0 1px var(--body) !important;
  background: initial;
  color: var(--body) !important;
}

.btn-outline-body:not(:disabled):not(.disabled):active,
.btn-outline-body:not(:disabled):not(.disabled).active,
.show > .btn-outline-body:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-body:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--body);
  box-shadow: inset 0 0 0 1px var(--body) !important;
  color: var(--light-text) !important;
}

.btn-outline-muted {
  box-shadow: inset 0 0 0 1px var(--muted) !important;
  color: var(--muted) !important;
}
.btn-outline-muted:hover {
  color: var(--light-text) !important;
  background-color: var(--muted);
  box-shadow: initial !important;
}

.btn-outline-muted.disabled,
.btn-outline-muted:disabled {
  box-shadow: inset 0 0 0 1px var(--muted) !important;
  background: initial;
  color: var(--muted) !important;
}

.btn-outline-muted:not(:disabled):not(.disabled):active,
.btn-outline-muted:not(:disabled):not(.disabled).active,
.show > .btn-outline-muted:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-muted:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--muted) !important;
  color: var(--light-text) !important;
}

.btn-outline-separator {
  box-shadow: inset 0 0 0 1px var(--separator) !important;
  color: var(--separator) !important;
}
.btn-outline-separator:hover {
  color: var(--light-text) !important;
  background-color: var(--separator);
  box-shadow: initial !important;
}

.btn-outline-separator.disabled,
.btn-outline-separator:disabled {
  box-shadow: inset 0 0 0 1px var(--separator) !important;
  background: initial;
  color: var(--separator) !important;
}

.btn-outline-separator:not(:disabled):not(.disabled):active,
.btn-outline-separator:not(:disabled):not(.disabled).active,
.show > .btn-outline-separator:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-separator:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--separator);
  box-shadow: inset 0 0 0 1px var(--separator) !important;
  color: var(--light-text) !important;
}

.btn-outline-alternate {
  box-shadow: inset 0 0 0 1px var(--alternate) !important;
  color: var(--alternate) !important;
}
.btn-outline-alternate:hover {
  color: var(--light-text) !important;
  background-color: var(--alternate);
  box-shadow: initial !important;
}

.btn-outline-alternate.disabled,
.btn-outline-alternate:disabled {
  box-shadow: inset 0 0 0 1px var(--alternate) !important;
  background: initial;
  color: var(--alternate) !important;
}

.btn-outline-alternate:not(:disabled):not(.disabled):active,
.btn-outline-alternate:not(:disabled):not(.disabled).active,
.show > .btn-outline-alternate:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-outline-alternate:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--alternate);
  box-shadow: inset 0 0 0 1px var(--alternate) !important;
  color: var(--light-text) !important;
}

.btn-gradient-primary,
.btn-gradient-primary:not(:disabled):not(.disabled):focus,
.btn-gradient-primary:not(:disabled):not(.disabled).focus {
  z-index: 1;
  position: relative;
}
.btn-gradient-primary::before,
.btn-gradient-primary:not(:disabled):not(.disabled):focus::before,
.btn-gradient-primary:not(:disabled):not(.disabled).focus::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  transition: opacity var(--transition-time-short) linear;
  opacity: 0;
  background-image: linear-gradient(to right, var(--primary-darker), var(--primary-darker));
  border-radius: var(--border-radius-md);
}
.btn-gradient-primary,
.btn-gradient-primary:not(:disabled):not(.disabled):focus,
.btn-gradient-primary:not(:disabled):not(.disabled).focus {
  background-color: var(--primary);
  /*background-image: linear-gradient(to right, var(--primary), var(--primary), rgba(var(--secondary-rgb), 0.5));*/
}
.btn-gradient-primary:hover::before,
.btn-gradient-primary:not(:disabled):not(.disabled):focus:hover::before,
.btn-gradient-primary:not(:disabled):not(.disabled).focus:hover::before {
  opacity: 1;
}

.btn-gradient-primary:not(:disabled):not(.disabled):active,
.btn-gradient-primary:not(:disabled):not(.disabled).active,
.show > .btn-gradient-primary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-gradient-primary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-image: linear-gradient(to right, var(--primary-darker), var(--primary-darker));
}
.btn-gradient-primary:not(:disabled):not(.disabled):active::before,
.btn-gradient-primary:not(:disabled):not(.disabled).active::before,
.show > .btn-gradient-primary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]::before,
.show > .btn-gradient-primary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]::before {
  transition: opacity var(--transition-time-short) linear;
  opacity: 0;
}

.btn-gradient-primary.disabled,
.btn-gradient-primary:disabled {
  background-color: var(--primary);
  /*background-image: linear-gradient(to right, var(--primary), var(--primary), rgba(var(--secondary-rgb), 0.5));*/
}
.btn-gradient-primary.disabled::before,
.btn-gradient-primary:disabled::before {
  opacity: 0;
}

.btn-gradient-secondary,
.btn-gradient-secondary:not(:disabled):not(.disabled):focus,
.btn-gradient-secondary:not(:disabled):not(.disabled).focus {
  z-index: 1;
  position: relative;
}
.btn-gradient-secondary::before,
.btn-gradient-secondary:not(:disabled):not(.disabled):focus::before,
.btn-gradient-secondary:not(:disabled):not(.disabled).focus::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  transition: opacity var(--transition-time-short) linear;
  opacity: 0;
  background-image: linear-gradient(to right, var(--secondary-darker), var(--secondary-darker));
  border-radius: var(--border-radius-md);
}
.btn-gradient-secondary,
.btn-gradient-secondary:not(:disabled):not(.disabled):focus,
.btn-gradient-secondary:not(:disabled):not(.disabled).focus {
  background-color: var(--secondary);
  /*background-image: linear-gradient(to right, var(--secondary), var(--secondary), rgba(var(--primary-rgb), 0.4));*/
}
.btn-gradient-secondary:hover::before,
.btn-gradient-secondary:not(:disabled):not(.disabled):focus:hover::before,
.btn-gradient-secondary:not(:disabled):not(.disabled).focus:hover::before {
  opacity: 1;
}

.btn-gradient-secondary:not(:disabled):not(.disabled):active,
.btn-gradient-secondary:not(:disabled):not(.disabled).active,
.show > .btn-gradient-secondary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-gradient-secondary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-image: linear-gradient(to right, var(--secondary-darker), var(--secondary-darker));
}
.btn-gradient-secondary:not(:disabled):not(.disabled):active::before,
.btn-gradient-secondary:not(:disabled):not(.disabled).active::before,
.show > .btn-gradient-secondary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]::before,
.show > .btn-gradient-secondary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]::before {
  transition: opacity var(--transition-time-short) linear;
  opacity: 0;
}

.btn-gradient-secondary.disabled,
.btn-gradient-secondary:disabled {
  background-color: var(--secondary);
  /*background-image: linear-gradient(to right, var(--secondary), var(--secondary), rgba(var(--primary-rgb), 0.4));*/
}
.btn-gradient-secondary.disabled::before,
.btn-gradient-secondary:disabled::before {
  opacity: 0;
}

.btn-group-vertical > .btn:first-child,
.btn-group-vertical > .btn-group:first-child > .btn {
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
}

.btn-group-vertical > .btn:last-child,
.btn-group-vertical > .btn-group:last-child > .btn {
  border-bottom-left-radius: var(--border-radius-md);
  border-bottom-right-radius: var(--border-radius-md);
}

.btn-foreground,
.btn-foreground:not(:disabled):not(.disabled):focus,
.btn-foreground:not(:disabled):not(.disabled).focus {
  background-color: var(--foreground);
  color: var(--primary) !important;
}
.btn-foreground:hover,
.btn-foreground:not(:disabled):not(.disabled):focus:hover,
.btn-foreground:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--foreground);
  color: var(--secondary) !important;
}

.btn-foreground:not(:disabled):not(.disabled):active,
.btn-foreground:not(:disabled):not(.disabled).active,
.show > .btn-foreground:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-foreground:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--foreground);
  color: var(--primary) !important;
}

.btn-foreground.disabled,
.btn-foreground:disabled {
  background-color: var(--foreground);
  color: var(--primary) !important;
}

.btn-foreground-alternate,
.btn-foreground-alternate:not(:disabled):not(.disabled):focus,
.btn-foreground-alternate:not(:disabled):not(.disabled).focus {
  background-color: var(--foreground);
  color: var(--alternate) !important;
}
.btn-foreground-alternate:hover,
.btn-foreground-alternate:not(:disabled):not(.disabled):focus:hover,
.btn-foreground-alternate:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--foreground);
  color: var(--primary) !important;
}

.btn-foreground-alternate:not(:disabled):not(.disabled):active,
.btn-foreground-alternate:not(:disabled):not(.disabled).active,
.show > .btn-foreground-alternate:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-foreground-alternate:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--foreground);
  color: var(--alternate) !important;
}

.btn-foreground-alternate.disabled,
.btn-foreground-alternate:disabled {
  background-color: var(--foreground);
  color: var(--alternate) !important;
}

.btn-background-alternate,
.btn-background-alternate:not(:disabled):not(.disabled):focus,
.btn-background-alternate:not(:disabled):not(.disabled).focus {
  background-color: var(--background);
  color: var(--alternate) !important;
}
.btn-background-alternate:hover,
.btn-background-alternate:not(:disabled):not(.disabled):focus:hover,
.btn-background-alternate:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--background);
  color: var(--primary) !important;
}

.btn-background-alternate:not(:disabled):not(.disabled):active,
.btn-background-alternate:not(:disabled):not(.disabled).active,
.show > .btn-background-alternate:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-background-alternate:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--background);
  color: var(--alternate) !important;
}

.btn-background-alternate.disabled,
.btn-background-alternate:disabled {
  background-color: var(--background);
  color: var(--alternate) !important;
}

.btn-background,
.btn-background:not(:disabled):not(.disabled):focus,
.btn-background:not(:disabled):not(.disabled).focus {
  background-color: var(--background);
  color: var(--primary) !important;
}
.btn-background:hover,
.btn-background:not(:disabled):not(.disabled):focus:hover,
.btn-background:not(:disabled):not(.disabled).focus:hover {
  background-color: var(--background);
  color: var(--secondary) !important;
}

.btn-background:not(:disabled):not(.disabled):active,
.btn-background:not(:disabled):not(.disabled).active,
.show > .btn-background:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-background:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--background);
  color: var(--primary) !important;
}

.btn-background.disabled,
.btn-background:disabled {
  background-color: var(--background);
  color: var(--primary) !important;
}

.btn-foreground.hover-outline,
.btn-foreground.hover-outline:not(:disabled):not(.disabled):focus,
.btn-foreground.hover-outline:not(:disabled):not(.disabled).focus {
  background-color: var(--foreground);
  color: var(--primary) !important;
}
.btn-foreground.hover-outline:hover,
.btn-foreground.hover-outline:not(:disabled):not(.disabled):focus:hover,
.btn-foreground.hover-outline:not(:disabled):not(.disabled).focus:hover {
  color: var(--primary) !important;
  box-shadow: inset 0 0 0 1px var(--primary) !important;
}

.btn-foreground.hover-outline:not(:disabled):not(.disabled):active,
.btn-foreground.hover-outline:not(:disabled):not(.disabled).active,
.show > .btn-foreground.hover-outline:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-foreground.hover-outline:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  background-color: var(--foreground);
  color: var(--primary) !important;
  box-shadow: inset 0 0 0 1px var(--primary) !important;
}

.btn-foreground.hover-outline.disabled,
.btn-foreground.hover-outline:disabled {
  background-color: var(--foreground);
  color: var(--primary) !important;
}

.btn-background.hover-outline,
.btn-background.hover-outline:not(:disabled):not(.disabled):focus,
.btn-background.hover-outline:not(:disabled):not(.disabled).focus {
  background-color: var(--background);
  color: var(--primary) !important;
}
.btn-background.hover-outline:hover,
.btn-background.hover-outline:not(:disabled):not(.disabled):focus:hover,
.btn-background.hover-outline:not(:disabled):not(.disabled).focus:hover {
  color: var(--primary) !important;
  background-color: var(--foreground);
  box-shadow: inset 0 0 0 1px var(--primary) !important;
}

.btn-background.hover-outline:not(:disabled):not(.disabled):active,
.btn-background.hover-outline:not(:disabled):not(.disabled).active,
.show > .btn-background.hover-outline:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true],
.show > .btn-background.hover-outline:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true] {
  color: var(--primary) !important;
  background-color: var(--foreground);
  box-shadow: inset 0 0 0 1px var(--primary) !important;
}

.btn-background.hover-outline.disabled,
.btn-background.hover-outline:disabled {
  background-color: var(--background);
  color: var(--primary) !important;
}

/*.btn-overlay {
    &.btn-foreground {
        background-color: rgba(var(--foreground-rgb), 0.7);

        &:hover {
            background-color: rgba(var(--foreground-rgb), 1);
        }
    }
}*/
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-primary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-secondary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-secondary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-tertiary:not(:disabled):not(.disabled):active:focus,
.btn-outline-tertiary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-tertiary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-tertiary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-quaternary:not(:disabled):not(.disabled):active:focus,
.btn-outline-quaternary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-quaternary:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-quaternary:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-success:not(:disabled):not(.disabled):active:focus,
.btn-outline-success:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-success:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-success:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-warning:not(:disabled):not(.disabled):active:focus,
.btn-outline-warning:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-warning:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-warning:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-info:not(:disabled):not(.disabled):active:focus,
.btn-outline-info:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-info:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-info:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-danger:not(:disabled):not(.disabled):active:focus,
.btn-outline-danger:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-danger:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-danger:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-light:not(:disabled):not(.disabled):active:focus,
.btn-outline-light:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-light:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-light:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--dark-text) !important;
}

.btn-outline-dark:not(:disabled):not(.disabled):active:focus,
.btn-outline-dark:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-dark:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-dark:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-body:not(:disabled):not(.disabled):active:focus,
.btn-outline-body:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-body:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-body:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-alternate:not(:disabled):not(.disabled):active:focus,
.btn-outline-alternate:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-alternate:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-alternate:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-muted:not(:disabled):not(.disabled):active:focus,
.btn-outline-muted:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-muted:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-muted:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.btn-outline-separator:not(:disabled):not(.disabled):active:focus,
.btn-outline-separator:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-separator:not(:disabled):not(.disabled)[data-bs-toggle=dropdown][aria-expanded=true]:active:focus,
.show > .btn-outline-separator:not(:disabled):not(.disabled).dropdown-toggle[aria-expanded=true]:active:focus {
  color: var(--light-text) !important;
}

.dropdown-toggle-split {
  padding-left: 12px;
  padding-right: 12px;
}

.btn-xl + .dropdown-toggle-split,
.btn-group-xl > .btn + .dropdown-toggle-split {
  padding-left: 20px;
  padding-right: 20px;
}

.btn-lg + .dropdown-toggle-split,
.btn-group-lg > .btn + .dropdown-toggle-split {
  padding-left: 15px;
  padding-right: 15px;
}

.btn-sm + .dropdown-toggle-split,
.btn-group-sm > .btn + .dropdown-toggle-split {
  padding-left: 10px;
  padding-right: 10px;
}

.btn-close {
  /*  width: calc(var(--input-height) / 2);
    height: calc(var(--input-height) / 2);*/
  margin: 0;
  padding: 0.25rem;
  background: initial;
  opacity: 1;
  font-size: 18px;
  font-family: "CS-Interface" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--alternate);
}
.btn-close:after {
  display: inline-block;
  content: "\e91b";
}
.btn-close:hover:after {
  color: var(--primary);
}

.btn.disabled,
.btn:disabled {
  opacity: 0.5;
}

.btn-custom-control .form-check-input {
  pointer-events: none;
  margin-top: 0.25rem !important;
  background-color: transparent;
}
.btn-custom-control .form-check {
  margin-bottom: 0;
}
.btn-custom-control.btn-sm {
  padding-top: 3px;
}

[class*=btn-outline-].btn-custom-control:hover .form-check-input {
  border-color: var(--light-text) !important;
}

.btn-outline-primary.btn-custom-control .form-check-input {
  border-color: var(--primary) !important;
}
.btn-outline-primary.btn-custom-control .form-check-input:checked {
  background-color: var(--primary) !important;
}

.btn-outline-secondary.btn-custom-control .form-check-input {
  border-color: var(--secondary) !important;
}
.btn-outline-secondary.btn-custom-control .form-check-input:checked {
  background-color: var(--secondary) !important;
}
.btn-outline-secondary.btn-custom-control .form-check-input[type=checkbox]:indeterminate {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-primary.btn-custom-control .form-check-input,
.btn-secondary.btn-custom-control .form-check-input {
  border-color: var(--light-text) !important;
}
.btn-primary.btn-custom-control .form-check-input:checked,
.btn-secondary.btn-custom-control .form-check-input:checked {
  border-color: var(--light-text) !important;
}

.check-all-container .btn-sm.btn-custom-control {
  padding-left: 10px !important;
  font-size: 0.8em;
  padding-right: 2px !important;
}
.check-all-container .btn-sm.btn-custom-control .form-check {
  padding-top: 0;
}

.check-all-container-checkbox-click .btn-custom-control .form-check,
.check-all-container .btn-custom-control .form-check {
  padding-top: 0.35rem;
}
.check-all-container-checkbox-click .btn-custom-control,
.check-all-container .btn-custom-control {
  padding-left: 0.75rem;
  padding-right: 0.25rem;
}

.hover-scale-up {
  backface-visibility: hidden;
  transition: transform var(--transition-time-short);
}
.hover-scale-up:hover {
  transform: scale(1.02);
  z-index: 1;
}

.hover-scale-down {
  backface-visibility: hidden;
  transition: transform var(--transition-time-short);
}
.hover-scale-down:hover {
  transform: scale(0.98);
}

.active-scale-up {
  backface-visibility: hidden;
  transition: transform var(--transition-time-short);
}
.active-scale-up:active {
  z-index: 1;
  transform: scale(1.05);
}

.active-scale-down {
  backface-visibility: hidden;
  transition: transform var(--transition-time-short);
}
.active-scale-down:active {
  transform: scale(0.95);
}

.btn-group > .btn-check:checked + .btn,
.btn-group > .btn-check:focus + .btn,
.btn-group > .btn:hover,
.btn-group > .btn:focus,
.btn-group > .btn:active,
.btn-group > .btn.active,
.btn-group-vertical > .btn-check:checked + .btn,
.btn-group-vertical > .btn-check:focus + .btn,
.btn-group-vertical > .btn:hover,
.btn-group-vertical > .btn:focus,
.btn-group-vertical > .btn:active,
.btn-group-vertical > .btn.active {
  z-index: initial;
}

.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show {
  color: var(--light-text) !important;
  background-color: var(--primary);
  border-color: initial;
}

.btn-check:checked + .btn-outline-secondary,
.btn-check:active + .btn-outline-secondary,
.btn-outline-secondary:active,
.btn-outline-secondary.active,
.btn-outline-secondary.dropdown-toggle.show {
  color: var(--light-text) !important;
  background-color: var(--secondary);
  border-color: initial;
}

.btn-check:checked + .btn-foreground,
.btn-check:active + .btn-foreground,
.btn-foreground:active,
.btn-foreground.active,
.btn-foreground.dropdown-toggle.show {
  color: var(--primary) !important;
  background-color: var(--foreground);
  border-color: initial !important;
  box-shadow: inset 0 0 0 1px var(--primary) !important;
}

.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background-color: var(--primary-darker);
  border-color: var(--primary-darker);
}

.btn-check:focus + .btn-primary,
.btn-primary:focus {
  background-color: var(--primary-darker);
  border-color: var(--primary-darker);
}

.btn-check:not(:checked):focus + .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-check:checked + .btn-secondary,
.btn-check:active + .btn-secondary,
.btn-secondary:active,
.btn-secondary.active,
.show > .btn-secondary.dropdown-toggle {
  background-color: var(--secondary-darker);
  border-color: var(--secondary-darker);
}

.btn-check:focus + .btn-secondary,
.btn-secondary:focus {
  background-color: var(--secondary-darker);
  border-color: var(--secondary-darker);
}

.btn-check:not(:checked):focus + .btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) .btn,
.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3) .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) .btn {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.dropstart.btn-group > .dropdown-toggle-split.btn {
  border-top-left-radius: var(--border-radius-md);
  border-bottom-left-radius: var(--border-radius-md);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.btn-checkbox-hide {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.btn-group > .btn-check:checked + .btn,
.btn-group > .btn-check:focus + .btn,
.btn-group > .btn:hover,
.btn-group > .btn:focus,
.btn-group > .btn:active,
.btn-group > .btn.active,
.btn-group-vertical > .btn-check:checked + .btn,
.btn-group-vertical > .btn-check:focus + .btn,
.btn-group-vertical > .btn:hover,
.btn-group-vertical > .btn:focus,
.btn-group-vertical > .btn:active,
.btn-group-vertical > .btn.active {
  z-index: initial;
}

.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show {
  color: var(--light-text) !important;
  background-color: var(--primary);
  border-color: initial;
}

.btn-check:checked + .btn-outline-secondary,
.btn-check:active + .btn-outline-secondary,
.btn-outline-secondary:active,
.btn-outline-secondary.active,
.btn-outline-secondary.dropdown-toggle.show {
  color: var(--light-text) !important;
  background-color: var(--secondary);
  border-color: initial;
}

.btn-check:checked + .btn-outline-info,
.btn-check:active + .btn-outline-info,
.btn-outline-info:active,
.btn-outline-info.active,
.btn-outline-info.dropdown-toggle.show {
  color: var(--info) !important;
  background-color: var(--secondary);
  border-color: initial;
}

.btn-check:checked + .btn-foreground,
.btn-check:active + .btn-foreground,
.btn-foreground:active,
.btn-foreground.active,
.btn-foreground.dropdown-toggle.show {
  color: var(--primary) !important;
  background-color: var(--foreground);
  border-color: initial !important;
  box-shadow: inset 0 0 0 1px var(--primary) !important;
}

.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background-color: var(--primary-darker);
  border-color: var(--primary-darker);
}

.btn-check:focus + .btn-primary,
.btn-primary:focus {
  background-color: var(--primary-darker);
  border-color: var(--primary-darker);
}

.btn-check:not(:checked):focus + .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-check:checked + .btn-secondary,
.btn-check:active + .btn-secondary,
.btn-secondary:active,
.btn-secondary.active,
.show > .btn-secondary.dropdown-toggle {
  background-color: var(--secondary-darker);
  border-color: var(--secondary-darker);
}

.btn-check:focus + .btn-secondary,
.btn-secondary:focus {
  background-color: var(--secondary-darker);
  border-color: var(--secondary-darker);
}

.btn-check:not(:checked):focus + .btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-group > label.btn:first-of-type {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.btn-group > label.btn:last-of-type {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

/* Style the checkbox itself */
.custom-checkbox {
  -webkit-appearance: none; /* Remove default styling */
  -moz-appearance: none;
  appearance: none;
  width: 25px; /* Adjust width */
  height: 25px; /* Adjust height */
  border: 2px solid var(--primary); /* Border color */
  border-radius: 20%; /* Makes it circular */
  position: relative;
  cursor: pointer;
  background-color: white;
  transition: background-color 0.3s, border-color 0.3s;
}

/* Style the checkbox when checked */
.custom-checkbox:checked {
  background-color: var(--primary); /* Background color when checked */
  border-color: var(--muted); /* Border color when checked */
}

/* Add a custom checkmark inside the circle */
.custom-checkbox:checked::after {
  content: "✓"; /* Checkmark symbol */
  font-size: 18px; /* Adjust the size of the checkmark */
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Add hover effect */
.custom-checkbox:hover {
  border-color: var(--secondary); /* Change border on hover */
}

/* Optional: Add a focus outline for accessibility */
.custom-checkbox:focus {
  outline: none;
  box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
}

/*
*
* Card
*
* Bootstrap card styles.
*
*/
/*body {
    background-color: var(--background);
    color: var(--body);
}*/
@font-face {
  font-family: "Poppins";
  src: url("/Fonts/Poppins/Poppins-Light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
:root {
  --color-bg: #ffffff;
  --color-fg: #000000;
  --card-bg-color: #fafafa;
  --primary: var(--MainThemeColor);
  --secondary: var(--MainThemeAccentColor);
  --tertiary: var(--Tertiary);
  --quaternary: var(--Quaternary);
  --purple: #7A3DA0;
  --activeStageColor: var(--active);
  --completeStageColor: var(--CompleteStageColor);
  --primary-rgb: 30, 168, 231;
  --secondary-rgb: 108, 219, 239;
  --tertiary-rgb: 93, 227, 200;
  --quaternary-rgb: 85, 141, 243;
  --primary-darker: #1b9ad4;
  --secondary-darker: #61c6d8;
  --tertiary-darker: #54ccb4;
  --quaternary-darker: #4c7dd6;
  --body: #4e4e4e;
  --alternate: #7c7c7c;
  --muted: #afafaf;
  --separator: #dddddd;
  --separator-light: #f1f1f1;
  --body-rgb: 59, 59, 59;
  --alternate-rgb: 124, 124, 124;
  --muted-rgb-red: 114;
  --muted-rgb-green: 114;
  --muted-rgb-blue: 114;
  --muted-rgb: rgba( 114, 114, 114, 0.5 );
  --separator-rgb-red: 221;
  --separator-rgb-green: 221;
  --separator-rgb-blue: 221;
  --separator-rgba: rgba( 221, 221, 221, 0.5 );
  --separator-light-rgb: 241, 241, 241;
  --background: #ffffff;
  --foreground: #ffffff;
  --background-rgb: 249, 249, 249;
  --foreground-rgb: 255, 255, 255;
  --background-theme: #eaf0f1;
  --background-light: #f8f8f8;
  --gradient-1: #1ea8e7;
  --gradient-2: #21aff0;
  --gradient-3: #23b3f4;
  --gradient-1-lighter: #2abdff;
  --gradient-1-darker: #1fa5e2;
  --light-text: #fff;
  --dark-text: #343a40;
  --light-text-darker: #eeeeee;
  --dark-text-darker: #23272b;
  --light-text-rgb: 255, 255, 255;
  --dark-text-rgb: 52, 58, 64;
  --danger: #cf2637;
  --info: #279aac;
  --active: blue;
  --warning: #ebb71a;
  --success: #439b38;
  --light: #dadada;
  --dark: #4e4e4e;
  --danger-darker: #771a23;
  --info-darker: #19545d;
  --warning-darker: #aa830f;
  --success-darker: #285422;
  --light-darker: #c9c9c9;
  --dark-darker: #282828;
  --body-darker: #333333;
  --alternate-darker: #616161;
  --muted-darker: #888888;
  --separator-darker: #c0c0c0;
  --danger-rgb: 182, 40, 54;
  --info-rgb: 41, 138, 153;
  --warning-rgb: 235, 183, 26;
  --success-rgb: 65, 139, 56;
  --light-rgb: 218, 218, 218;
  --dark-rgb: 78, 78, 78;
  --MainThemeGreenColor: #50AD0D;
  --MainThemePurpleColor: #6a12af;
  --MainThemeRedColor: red;
  --MainThemeYellowColor: #e8d817;
  --MainThemeOrangeColor: #d68e34;
  --menu-shadow: 0px 3px 10px rgba(0, 0, 0, 0.12);
  --menu-shadow-navcolor: 0px 2px 6px rgba(0, 0, 0, 0.05);
  --background-navcolor-light: #fff;
  --background-navcolor-dark: #253a52;
  --theme-image-filter: hue-rotate(0deg);
  --darkLightButton: #ffc107;
  --LogoBackgroundColor: transparent;
  scroll-behavior: initial;
  /*Main Theme Colors*/
  --MainThemeColor: #1E0DAD;
  --MainThemeAccentColor: #1E90FF;
  --StatusBar: 4em;
  --statusTabs: 9;
  --tabsHoverREM: 29rem;
  --lastTab: 0;
  /*Inputs*/
  --input-height-lg: 2.25rem;
  --input-height-md: 2.25rem;
  --input-height-sm: 2.25rem;
  --input-padding: 14px 16px;
  /*Nav Sizes*/
  --Nav-Height: 5em;
  --Loan-Detail-Height: 0em;
  --Sub-Nav: 4em;
  --Side-Nav-Width: 0px;
  --Mobile-Footer: 0px;
  --Side-Icon-Nav-Width: 0em;
  --Body-Width: calc(var(--Side-Nav-Width) + var(--Side-Icon-Nav-Width));
  --Body-Height: calc(var(--Nav-Height) + var(--Sub-Nav) + var(--Loan-Detail-Height));
  /*--Mobile-Footer: 0px;*/
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --border-radius-sm: 6px;
  --border-radius-xl: 50px;
  /*------GOOGLE TAG AND META PIXEL DEFAULTS----------*/
  --googleAnalyticsId: '';
  --googleTagManagerId: '';
  --metaPixelId: '';
  /*New Poppins Font*/
  --FontFamily: 'Poppins';
}

html[data-radius=rounded] {
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --border-radius-sm: 6px;
  --border-radius-xl: 50px;
}

html[data-radius=standard] {
  --border-radius-lg: 6px;
  --border-radius-md: 4px;
  --border-radius-sm: 3px;
  --border-radius-xl: 4px;
}

html[data-radius=flat] {
  --border-radius-lg: 0;
  --border-radius-sm: 0;
  --border-radius-md: 0;
  --border-radius-xl: 0;
}

:root {
  --card-spacing: 2rem;
  --card-spacing-sm: 1.25rem;
  --card-spacing-xs: 0.75rem;
  --card-spacing-sm-horizontal: 1.75rem 1.25rem;
  --card-spacing-sm-vertical: 1.25rem 1.75rem;
  --main-spacing-horizontal: 2.5rem;
  --main-spacing-vertical: 2rem;
  --title-spacing: 1.25rem;
}

@media (max-width: 1199.98px) {
  :root {
    --main-spacing-horizontal: 2rem;
  }
}
@media (max-width: 991.98px) {
  :root {
    --nav-size-slim: 4rem;
    --title-spacing: 1rem;
    --footer-size: 4rem;
  }
}
@media (max-width: 767.98px) {
  :root {
    --card-spacing: 1.75rem;
    --footer-size: 5rem;
    --main-spacing-horizontal: 1.25rem;
    --main-spacing-vertical: 1.25rem;
  }
}
html[data-page=pipeline] {
  --Sub-Nav: 4em;
}
html[data-page=pipeline][data-mobile=true] {
  --Mobile-Footer: 4em;
}

html[data-page=deals] {
  --Sub-Nav: 4em;
}
html[data-page=deals][data-mobile=true] {
  --Side-Icon-Nav-Width: 0em;
  --Mobile-Footer: 4em;
}

html[data-page=kpidashboard] {
  --Sub-Nav: 4em;
  --Mobile-Footer: 0em;
}
html[data-page=kpidashboard][data-mobile=true] #body-content {
  right: 0em;
  width: 100%;
}

html[data-page=fund] {
  --Sub-Nav: 4em;
}
html[data-page=fund][data-mobile=true] #body-content {
  right: 0em;
  width: 100%;
}

html[data-page=fianddashboard] {
  --Sub-Nav: 4em;
}
html[data-page=fianddashboard][data-mobile=true] #body-content {
  right: 0em;
  width: 100%;
}

html[data-page=investorprofile] {
  --Sub-Nav: 4em;
}
html[data-page=investorprofile][data-mobile=true] #body-content {
  right: 0em;
  width: 100%;
}

html[data-subNav=false] {
  --Sub-Nav: 0em ;
}

.card {
  /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;*/
  box-shadow: 0 0 4px rgba(19, 19, 20, 0.48) !important;
  background: var(--foreground);
  border-radius: var(--border-radius-md);
  border: initial;
  box-shadow: 0 0 4px 0 rgba(19, 19, 20, 0.48) !important;
}
.card.no-shadow {
  box-shadow: initial !important;
}
.card .card-body,
.card .card-footer,
.card .card-header {
  padding: var(--card-spacing);
}
.card .half-padding.card-body, .card .half-padding.card-footer, .card .half-padding.card-header {
  padding: calc(var(--card-spacing) / 2);
}
.card.sm .card-body,
.card.sm .card-footer,
.card.sm .card-header {
  padding: var(--card-spacing-sm);
}
.card .card-header .handle {
  cursor: default;
}
.card .card-header {
  background: var(--foreground);
  border-color: var(--separator-rgba);
}
.card .contact-card-header {
  display: flex;
  padding: 20px;
  align-items: center;
}
.card .card-footer {
  background: initial;
  border-color: var(--separator-rgba);
}
.card .card-img {
  border-radius: var(--border-radius-lg);
  width: 100%;
}
.card .card-img-top {
  width: 100%;
  border-radius: initial;
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
}
.card .card-img-overlay {
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius-md);
}
.card .card-img-bottom {
  width: 100%;
  border-radius: initial;
  border-bottom-left-radius: var(--border-radius-md);
  border-bottom-right-radius: var(--border-radius-md);
}
.card .card-img-left {
  border-radius: initial;
  border-top-left-radius: var(--border-radius-lg);
  border-bottom-left-radius: var(--border-radius-lg);
  border-bottom-right-radius: initial;
  border-top-right-radius: initial;
}
@media (max-width: 767.98px) {
  .card .card-img-left {
    border-radius: initial;
    border-bottom-left-radius: initial;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    border-bottom-right-radius: initial;
  }
}
.card [class*=card-img-horizontal] {
  border-radius: initial;
  border-top-left-radius: var(--border-radius-lg);
  border-bottom-left-radius: var(--border-radius-lg);
  border-bottom-right-radius: initial;
  border-top-right-radius: initial;
  height: 100%;
}
@media (max-width: 575.98px) {
  .card .card-img-horizontal-sm {
    border-radius: initial;
    border-bottom-left-radius: initial;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    border-bottom-right-radius: initial;
  }
}
@media (max-width: 767.98px) {
  .card .card-img-horizontal-md {
    border-radius: initial;
    border-bottom-left-radius: initial;
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
    border-bottom-right-radius: initial;
  }
}
@media (max-width: 991.98px) {
  .card .card-img-horizontal-lg {
    border-radius: initial;
    border-bottom-left-radius: initial;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    border-bottom-right-radius: initial;
  }
}
@media (max-width: 1199.98px) {
  .card .card-img-horizontal-xl {
    border-radius: initial;
    border-bottom-left-radius: initial;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    border-bottom-right-radius: initial;
  }
}
.card .card-footer {
  border-bottom-right-radius: var(--border-radius-md);
  border-bottom-left-radius: var(--border-radius-md);
}
.card .card[class*=border] {
  border: 1px solid var(--separator);
}
.card .card-header:first-child {
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
}
.card .card-img-overlay {
  padding: var(--card-spacing);
}
.card .card-top-buttons {
  right: 0;
  top: 0;
}
@media (max-width: 575.98px) {
  .card .card-top-buttons {
    padding: 0.35rem;
  }
}

fieldset.card {
  width: 100%;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

/*=============CARD ICONS============*/
.card-left-icon {
  border-top-left-radius: var(--border-radius-md);
  border-bottom-left-radius: var(--border-radius-md);
}

/*.card.active,
.card.selected,
.card.activatable.context-menu-active {
    @include shadow-and-border-active-before;
}*/
.card .card {
  border-radius: var(--border-radius-md);
  box-shadow: 0 0 4px rgba(19, 19, 20, 0.48) !important;
}

.card-top-buttons {
  position: absolute;
  right: 0;
  top: 0;
}
.card-top-buttons .btn {
  color: var(--primary) !important;
}

.card-deck {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  margin-right: -20px;
  margin-left: -20px;
}
@media (max-width: 767.98px) {
  .card-deck {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-right: initial;
    margin-left: initial;
  }
}
.card-deck .card {
  margin-right: 20px;
  margin-left: 20px;
}
@media (max-width: 767.98px) {
  .card-deck .card {
    margin-right: initial;
    margin-left: initial;
  }
}

.bg-primary .card-header {
  background-color: var(--primary);
}

.bg-secondary .card-header {
  background-color: var(--secondary);
}

.bg-tertiary .card-header {
  background-color: var(--tertiary);
}

.bg-quaternary .card-header {
  background-color: var(--quaternary);
}

.bg-warning .card-header {
  background-color: var(--warning);
}

.bg-danger .card-header {
  background-color: var(--danger);
}

.bg-success .card-header {
  background-color: var(--success);
}

.bg-info .card-header {
  background-color: var(--info);
}

.bg-light {
  background-color: var(--background-light) !important;
}
.bg-light .card-header {
  background-color: var(--background-light) !important;
  border-color: var(--muted-rgba);
}
.bg-light .card-footer {
  border-color: var(--separator-rgba);
}

.bg-dark .card-header {
  background-color: var(--dark);
}

.border-primary.card {
  border: 1px solid var(--primary);
}
.border-primary.card .card-header {
  border-color: var(--primary);
}

.border-secondary {
  border: 1px solid var(--secondary);
}
.border-secondary .card-header {
  border-color: var(--secondary);
}

.border-tertiary {
  border: 1px solid var(--tertiary);
}
.border-tertiary .card-header {
  border-color: var(--tertiary);
}

.border-quaternary {
  border: 1px solid var(--quaternary);
}
.border-quaternary .card-header {
  border-color: var(--quaternary);
}

.border-info {
  border: 1px solid var(--info);
}
.border-info .card-header {
  border-color: var(--info);
}

.border-success {
  border: 1px solid var(--success);
}
.border-success .card-header {
  border-color: var(--success);
}

.border-danger {
  border: 1px solid var(--danger);
}
.border-danger .card-header {
  border-color: var(--danger);
}

.border-light {
  border: 1px solid var(--light);
}
.border-light .card-header {
  border-color: var(--light);
}

.border-dark {
  border: 1px solid var(--dark);
}
.border-dark .card-header {
  border-color: var(--dark);
}

.border-warning {
  border: 1px solid var(--warning);
}
.border-warning .card-header {
  border-color: var(--warning);
}

.p-card {
  padding: var(--card-spacing);
}

.pe-card {
  padding-right: var(--card-spacing);
}

.ps-card {
  padding-left: var(--card-spacing);
}

.pt-card {
  padding-top: var(--card-spacing);
}

.pb-card {
  padding-bottom: var(--card-spacing);
}

.m-card {
  margin: var(--card-spacing);
}

.mb-card {
  margin-bottom: var(--card-spacing);
}

.mt-card {
  margin-top: var(--card-spacing);
}

.ms-card {
  margin-left: var(--card-spacing);
}

.me-card {
  margin-right: var(--card-spacing);
}

.list-group-item.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--light-text);
}
.list-group-item.active * {
  color: var(--light-text);
}

.list-group-item-action:hover,
.list-group-item-action:focus {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--light-text);
}
.list-group-item-action:hover *,
.list-group-item-action:focus * {
  color: var(--light-text);
}

.list-group-item {
  background: var(--foreground);
  color: var(--body);
  border-color: var(--separator-rgba);
  padding: var(--card-spacing-sm) var(--card-spacing);
}
.list-group-item.list-group-item-primary {
  background: var(--primary);
}
.list-group-item.list-group-item-secondary {
  background: var(--secondary);
}
.list-group-item.list-group-item-success {
  background: var(--success);
}
.list-group-item.list-group-item-danger {
  background: var(--danger);
}
.list-group-item.list-group-item-warning {
  background: var(--warning);
}
.list-group-item.list-group-item-info {
  background: var(--info);
}
.list-group-item.list-group-item-light {
  background: var(--light);
}
.list-group-item.list-group-item-dark {
  background: var(--dark);
  color: var(--light);
}

.list-group-item.disabled,
.list-group-item:disabled {
  color: var(--muted);
  background: var(--foreground);
}

.list-group-item:first-child {
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
}

.list-group-item:last-child {
  border-bottom-right-radius: var(--border-radius-md);
  border-bottom-left-radius: var(--border-radius-md);
}

.list-group-horizontal > .list-group-item:first-child {
  border-top-left-radius: var(--border-radius-md);
  border-bottom-left-radius: var(--border-radius-md);
  border-top-right-radius: initial;
  border-bottom-right-radius: initial;
}

.list-group-horizontal > .list-group-item:last-child {
  border-top-left-radius: initial;
  border-bottom-left-radius: initial;
  border-top-right-radius: var(--border-radius-md);
  border-bottom-right-radius: var(--border-radius-md);
}

@media (min-width: 576px) {
  .list-group-horizontal-sm > .list-group-item:first-child {
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
    border-top-right-radius: initial;
    border-bottom-right-radius: initial;
  }
  .list-group-horizontal-sm > .list-group-item:last-child {
    border-top-left-radius: initial;
    border-bottom-left-radius: initial;
    border-top-right-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
  }
}
@media (min-width: 768px) {
  .list-group-horizontal-md > .list-group-item:first-child {
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
    border-top-right-radius: initial;
    border-bottom-right-radius: initial;
  }
  .list-group-horizontal-md > .list-group-item:last-child {
    border-top-left-radius: initial;
    border-bottom-left-radius: initial;
    border-top-right-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
  }
}
@media (min-width: 992px) {
  .list-group-horizontal-lg > .list-group-item:first-child {
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
    border-top-right-radius: initial;
    border-bottom-right-radius: initial;
  }
  .list-group-horizontal-lg > .list-group-item:last-child {
    border-top-left-radius: initial;
    border-bottom-left-radius: initial;
    border-top-right-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
  }
}
@media (min-width: 1200px) {
  .list-group-horizontal-xl > .list-group-item:first-child {
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
    border-top-right-radius: initial;
    border-bottom-right-radius: initial;
  }
  .list-group-horizontal-xl > .list-group-item:last-child {
    border-top-left-radius: initial;
    border-bottom-left-radius: initial;
    border-top-right-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
  }
}
@media (min-width: 1400px) {
  .list-group-horizontal-xxl > .list-group-item:first-child {
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
    border-top-right-radius: initial;
    border-bottom-right-radius: initial;
  }
  .list-group-horizontal-xxl > .list-group-item:last-child {
    border-top-left-radius: initial;
    border-bottom-left-radius: initial;
    border-top-right-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
  }
}
.card.hover-border-primary {
  cursor: pointer;
}
.card.hover-border-primary:hover:after {
  /*box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.5), 0 4px 10px rgba(0, 0, 0, 0.03) !important;*/
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
  border-radius: var(--border-radius-lg);
  z-index: 0;
  pointer-events: none;
}

.hover-img-scale-up {
  overflow: hidden;
  backface-visibility: hidden;
  transform: scale(1);
}
.hover-img-scale-up img.scale {
  transition: transform var(--transition-time);
}
.hover-img-scale-up:hover img.scale {
  transform: scale(1.1);
}

.hover-img-scale-down {
  overflow: hidden;
  backface-visibility: hidden;
  transform: scale(1);
}
.hover-img-scale-down img.scale {
  transition: transform var(--transition-time);
  transform: scale(1.15);
}
.hover-img-scale-down:hover img.scale {
  transform: scale(1.05);
}

.hover-reveal .reveal-content {
  opacity: 0;
  transition: opacity var(--transition-time);
}
.hover-reveal:hover .reveal-content {
  opacity: 1;
}

@media (max-width: 991.98px) {
  .hover-reveal .reveal-content {
    opacity: 1;
  }
}
.hover-reveal-buttons .lower-opacity {
  transition-property: opacity;
  transition-duration: var(--transition-time);
}
.hover-reveal-buttons:hover .lower-opacity {
  opacity: 0.35;
}

/*================CARD CORNER===============*/
/* Any card/button that can have a corner */
.with-corner {
  position: relative;
  overflow: hidden;
}

/* Corner that auto-sizes as a percentage of the card width */
.card-corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 37%;
  aspect-ratio: 1/1;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
  z-index: 3;
}

/* Text inside the triangle */
.card-corner-text {
  position: absolute;
  top: 30%;
  left: 35%;
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
  font-weight: 700;
  color: #fff;
  text-align: center;
  width: 100%;
  line-height: 1.1;
}

.need-count-text {
  font-size: 2.75rem;
}

/* ================================================================
   FLIP CARD  — shared by Fund details card & Investor details card
   ================================================================ */
.flip-card {
  position: relative; /* containing block for the absolute back face */
  perspective: 1200px; /* 3D depth for the rotation */
}

.flip-inner {
  /* Use display:grid so both faces occupy the same grid cell.
     The FRONT face (normal flow) dictates the height.
     The BACK face (absolute) never adds to document flow.       */
  display: grid;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-inner.is-flipped {
  transform: rotateY(180deg);
  height: 100vh;
}

.flip-front,
.flip-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  grid-area: 1/1; /* both faces sit in the same grid cell */
}

.flip-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: rotateY(180deg);
  overflow-y: auto;
}

/*
*
* Display
*
* Bootstrap display styles.
*
*/
.d-inline-grid {
  display: inline-grid;
}

.d-grid {
  display: grid;
}

/*
*
* Dropdown
*
* Bootstrap dropdown styles.
*
*/
.dropdown-menu {
  line-height: 1.3;
  background-color: var(--foreground);
  border-radius: var(--border-radius-md);
  border-color: var(--separator);
  color: var(--body);
  font-family: var(--font);
  font-size: 1em;
  box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.26);
}
.dropdown-menu.shadow {
  border: initial;
  /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;*/
  box-shadow: 0 0 4px rgba(19, 19, 20, 0.48) !important;
}
.dropdown-menu ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}
.dropdown-menu ul li {
  padding: 3px 0 3px 0;
}
.dropdown-menu a,
.dropdown-menu .dropdown-item,
.dropdown-menu .nav-link {
  text-decoration: initial;
  color: var(--body);
  background: initial;
  border: initial !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.dropdown-menu a:hover, .dropdown-menu a.active,
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item.active,
.dropdown-menu .nav-link:hover,
.dropdown-menu .nav-link.active {
  background-color: initial;
  color: var(--primary) !important;
}

.nav-tabs .dropdown-menu {
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
}

.dropdown-item.disabled,
.dropdown-item:disabled {
  color: var(--body);
  opacity: 0.5;
}

.dropdown-toggle-split::after {
  margin-bottom: 0;
}

.dropup .dropdown-toggle-split::after,
.dropend .dropdown-toggle-split::after,
.dropend .dropdown-toggle::after {
  margin-bottom: 1px;
}

.dropstart .caret-absolute {
  position: relative;
}
.dropstart .caret-absolute:before {
  position: absolute;
  left: 13px;
  top: calc(50% - 3px);
}

.dropend .caret-absolute {
  position: relative;
}
.dropend .caret-absolute:after {
  position: absolute;
  right: 13px;
  top: calc(50% - 3px);
}

.dropdown-toggle::after,
.dropup .dropdown-toggle::after,
.dropstart .dropdown-toggle::before,
.dropend .dropdown-toggle::after {
  width: 5px;
  height: 5px;
  border: initial;
  transform: rotate(45deg);
  border-top: 1px solid;
  border-right: 1px solid;
  margin-top: initial;
  vertical-align: middle;
  margin-bottom: 2px;
}

.dropstart .dropdown-toggle::before {
  transform: rotate(225deg);
}

.dropstart .dropdown-toggle.show::before,
.dropstart.show > .dropdown-toggle::before {
  transform: rotate(135deg);
}

.dropup .dropdown-toggle.show::after,
.dropup.show > .dropdown-toggle::after {
  transform: rotate(-45deg);
}

.dropdown-toggle.show::after,
.show > .dropdown-toggle::after {
  transform: rotate(135deg);
}

.dropdown-toggle[data-bs-toggle=collapse]:not(.collapsed)::after {
  transform: rotate(135deg);
}

.dropdown-toggle-no-arrow::after,
.dropdown-toggle-no-arrow::before {
  display: none !important;
}

.dropdown-menu.dropdown-menu-sm {
  min-width: 7rem;
  padding: 0.5rem 0;
}
.dropdown-menu.dropdown-menu-sm .dropdown-item,
.dropdown-menu.dropdown-menu-sm .nav-link,
.dropdown-menu.dropdown-menu-sm a {
  padding: 0.4rem 1.25rem;
  font-size: 0.9em;
}

.dropdown-header {
  font-size: 0.8em;
}

.dropdown-divider {
  border-color: var(--separator);
}

.dropdown-submenu.dropend > .dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.dropdown-header,
.dropdown-item,
.dropdown-item-text {
  padding: 0.5rem 1.5rem;
}

.dropend.dropdown-submenu .dropdown-menu {
  bottom: initial;
}

.dropdown-submenu .dropdown-toggle.btn {
  padding: 0.5rem 1.5rem;
  color: var(--body) !important;
}
.dropdown-submenu .dropdown-toggle.btn:hover {
  color: var(--primary) !important;
}

.dropdown-submenu.dropstart .dropdown-toggle::before {
  position: absolute;
  left: 13px;
  top: calc(50% - 3px);
}

.btn-group .dropdown > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -1px;
}

/*
*
* File Upload
*
*
*/
.doc-container {
  display: flex;
  flex-direction: column;
  justify-content: end;
  text-align: center;
  padding: 1em;
}

.doc-label {
  font-size: min(max(1rem, 5vw), 1.5rem);
  position: relative;
  top: 6rem;
}

.cfsi-upload-wrap {
  position: relative;
  display: inline-block;
}

.doc-label-cfsi {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 0.75em;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: center;
  font-size: min(max(0.85rem, 3.5vw), 1.25rem);
  pointer-events: none;
}

.fu_doc {
  display: inline-block;
  width: auto;
  padding: 7em 0 0 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  height: 7em;
  border-radius: 15px;
  border: 3px dashed var(--primary);
}

.fu_doc:hover {
  cursor: pointer;
  box-shadow: inset 0 0 10px grey;
}

.filePreviewContainer {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  gap: 10px;
  margin-top: 15px;
  justify-content: flex-start; /* Ensure items align to the left */
}

.filePreviewImage, .filePreviewWrapper img {
  width: 80px; /* Set consistent width */
  height: 80px; /* Set consistent height */
  object-fit: cover; /* Ensure the image fits without distortion */
  border-radius: 8px; /* Rounded corners */
}

.filePreviewWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  margin-right: 10px;
  margin-bottom: 10px;
  width: 100px; /* Adjust this width as necessary */
  text-align: center;
}

.filePreviewWrapper img {
  width: 80px; /* Image size */
  height: 80px; /* Image size */
  object-fit: cover;
}

.fileName {
  font-size: 0.8rem; /* Smaller text */
  width: 80px; /* Limit the width of the name */
  overflow: hidden; /* Prevent overflow */
  text-overflow: ellipsis; /* Add ellipses for overflow */
  white-space: nowrap; /* Prevent text wrapping */
  margin-top: 5px; /* Space between image and text */
}

.filePreviewText {
  font-size: 0.75rem;
  color: #333;
  display: block;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.removeFile {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 12px;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.drag-drop-area {
  width: 100%;
  height: auto;
  border: 3px dashed var(--primary); /* Dashed border for the drag-and-drop area */
  display: block;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  background-color: #f8f9fa; /* Light background */
  border-radius: 8px; /* Rounded corners */
  padding: 2em;
}

.drag-drop-area:hover {
  background-color: #e9ecef; /* Darken background on hover */
}

.drag-drop-area p {
  color: #333; /* Text color */
  font-size: 16px;
  margin: 5px 0;
}

.drop-zone-label {
  font-size: min(max(1rem, 5vw), 1.5rem);
}

.filePreviewContainer {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.filePreviewWrapper {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
}

.filePreviewWrapper .dzu-preview-file-name {
  font-size: 12px;
  font-weight: 600;
}

.filePreviewWrapper .dzu-preview-success {
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: var(--success);
  color: white;
  font-size: 12px;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.filePreviewWrapper .dzu-preview-success i {
  color: white;
  font-size: 16px;
}

.filePreviewWrapper .dzu-preview-file-size {
  font-size: 10px;
  color: #555;
}

.filePreviewWrapper .deleteButton {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(255, 0, 0, 0.6);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 50%;
}

.filePreviewWrapper .deleteButton i {
  font-size: 16px;
}

.filePreviewWrapper .dzu-preview-file-name {
  font-size: 12px;
  font-weight: 600;
}

/*
*
* Form
*
* Styles for Bootstrap forms, additional layouts and controls.
*
*/
/*.form-control,
.form-select,
.custom-select {
    font-size: 1em;
    height: auto;
    min-height: var(--input-height);
    color: var(--body);
    box-shadow: initial !important;
    background-color: var(--foreground);
    border-color: var(--separator);
    border-radius: var(--border-radius-md);
    filter: none;

    &.borderless {
        border: initial;
        box-shadow: initial;
    }

    &:focus {
        background-color: var(--foreground);
        color: var(--body);*/
/* border-color: rgba(var(--primary-rgb), 1);*/
/*}
    }

select {
    font-size: 1em;
    height: auto;
    min-height: var(--input-height);
    color: var(--body);
    box-shadow: initial !important;
    background-color: var(--foreground);
    border-color: var(--separator);
    border-radius: var(--border-radius-md);
    filter: none;
    }





    .form-control:disabled,
    .form-control[readonly] {*/
/*    background: #b9b9b9 !important;*/
/*border-color: #7d1e1e !important;
color: var(--alternate);*/
/*  -webkit-text-fill-color: var(--muted) !important; */ /*// for safari
    cursor: no-drop
}

.form-control:disabled ~ span, .form-control:disabled ~ label {
    background: transparent !important;
}*/
/*
*
* Form
*
* Styles for Bootstrap forms, additional layouts and controls.
*
*/
.form-control,
.form-select,
.custom-select {
  font-size: 1em;
  height: auto;
  min-height: var(--input-height-lg);
  padding: var(--input-padding);
  color: var(--body);
  box-shadow: initial !important;
  background-color: var(--background);
  border-color: var(--separator);
  border-radius: var(--border-radius-md);
  filter: none;
}
.form-control.borderless,
.form-select.borderless,
.custom-select.borderless {
  border: initial;
  box-shadow: initial;
}
.form-control:focus,
.form-select:focus,
.custom-select:focus {
  background-color: var(--foreground);
  color: var(--body);
  border-color: rgba(var(--primary-rgb), 1);
}
.form-control:hover,
.form-select:hover,
.custom-select:hover {
  background-color: var(--foreground);
  color: var(--body);
  border-color: rgba(var(--primary-rgb), 1);
}
.form-control:active,
.form-select:active,
.custom-select:active {
  border-color: rgba(var(--primary-rgb), 1);
}
.form-control.shadow,
.form-select.shadow,
.custom-select.shadow {
  border: initial;
  /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;*/
  box-shadow: 0 0 4px rgba(19, 19, 20, 0.48) !important;
}
.form-control,
.form-select,
.custom-select {
  transition: border-color 0.15s ease-in-out;
}

.form-text {
  color: var(--muted);
}

.form-select {
  padding-right: 2rem;
}

textarea.form-control {
  height: initial;
}

.form-label,
.col-form-label {
  color: var(--alternate);
}

.form-control-muted {
  border-color: var(--muted);
}
.form-control-muted:focus {
  border-color: var(--alternate);
}

.form-control-separator {
  border-color: var(--separator);
}
.form-control-separator:focus {
  border-color: var(--alternate);
}

.form-control-sm,
.custom-select-sm {
  min-height: 30px;
  font-size: 0.9em;
  padding: 0.25rem 0.75rem;
  line-height: 1.25;
}

.form-control-lg,
.custom-select-lg {
  height: 44px;
  font-size: 1.25em;
  line-height: 1.5;
  padding: 0.375rem 0.75rem 0.375rem 0.75rem;
}

.form-control-xl {
  font-size: 1.6em;
  height: 56px;
}

.search-input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  pointer-events: none;
  width: 17px;
  height: 17px;
}

.custom-select {
  background: var(--foreground) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23777777' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
}

.search-input-container {
  position: relative;
  border-radius: var(--border-radius-md);
}
.search-input-container .search-magnifier-icon,
.search-input-container .search-delete-icon {
  color: var(--muted);
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 100%;
  text-align: center;
  cursor: pointer;
}
.search-input-container .search-magnifier-icon:hover,
.search-input-container .search-delete-icon:hover {
  color: var(--primary);
}
.search-input-container .search-magnifier-icon svg,
.search-input-container .search-delete-icon svg {
  width: 17px;
  height: 17px;
  margin-top: 9px;
}
.search-input-container input {
  background: transparent !important;
  width: calc(100% - 25px);
  border: initial;
}
.search-input-container.search-sm .search-magnifier-icon,
.search-input-container.search-sm .search-delete-icon {
  width: 28px;
}
.search-input-container.search-sm .search-magnifier-icon svg,
.search-input-container.search-sm .search-delete-icon svg {
  width: 15px;
  height: 15px;
  margin-top: 4px;
}

.form-control:disabled,
.form-control[readonly] {
  /*background: rgba(var(--separator-rgb), 0.5) !important;*/
  /*border-color: rgba(var(--separator-rgb), 0.5) !important;*/
  color: var(--muted);
  -webkit-text-fill-color: var(--muted) !important;
}

.form-control:disabled ~ span, .form-control:disabled ~ label {
  background: transparent !important;
}

.filled {
  position: relative;
}
.filled .form-control {
  min-height: 44px;
  border: 1px solid transparent;
  background: var(--background-light);
  padding-left: 45px;
}
.filled .form-control:focus {
  /*border-color: rgba(var(--primary-rgb), 1);*/
  background: initial;
}
.filled .form-control:disabled, .filled .form-control[readonly] {
  /*background: rgba(var(--separator-rgb), 0.5) !important;*/
  color: var(--muted);
}
.filled .form-control:disabled > svg, .filled .form-control[readonly] > svg {
  /*color: rgba(var(--alternate-rgb), 0.25);*/
}
.filled .form-control-lg {
  min-height: var(--input-height-lg);
}
.filled .form-control-sm {
  min-height: var(--input-height-sm);
}
.filled > svg {
  position: absolute;
  top: 12px;
  left: 16px;
  /*color: rgba(var(--alternate-rgb), 0.5);*/
  z-index: 1;
}
.filled.lg > svg {
  top: 15px;
}
.filled.sm > svg {
  top: 9px;
  font-size: 14px;
  width: 17px;
  height: 17px;
}
.filled textarea {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.filled > textarea ~ svg {
  margin-top: 0;
  top: 14px;
}
.filled.custom-control-container {
  min-height: 44px;
  border: 1px solid transparent;
  background: var(--background-light);
  padding-left: 45px;
  border-radius: var(--border-radius-md);
  padding-top: 0.75rem;
  padding-bottom: 0.25rem;
  padding-right: 0.75rem;
}
.filled .form-check {
  margin-bottom: initial;
  margin-top: 0;
}

*[disabled] .filled i {
  opacity: 0.3;
}

.top-label .form-control,
.top-label .bootstrap-tagsinput {
  padding: 1.5rem 0.75rem 0.25rem 0.75rem;
}

.top-label {
  display: block;
  position: relative;
}

.top-label label:not(.form-check-label),
.top-label > span:last-of-type {
  position: absolute;
  cursor: text;
  font-size: 0.7em !important;
  line-height: 1.1rem !important;
  opacity: 1;
  top: 0.5rem;
  left: 0.75rem;
  z-index: 1;
  line-height: 1;
  padding: 0 1px;
  background: var(--foreground);
}

.top-label label:not(.form-check-label)::after,
.top-label > span::after {
  content: " ";
  display: block;
  position: absolute;
  height: 2px;
  top: 50%;
  left: -0.2em;
  right: -0.2em;
  z-index: -1;
}

.input-group .top-label {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  margin-bottom: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.top-label textarea ~ span {
  left: 0 !important;
  top: 0 !important;
  margin-top: 1px;
  margin-left: 1px;
  padding-left: 0.75rem !important;
  padding-top: calc(0.5rem - 1px) !important;
  width: calc(100% - 2px);
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
}

.top-label .form-control,
.top-label .bootstrap-tagsinput {
  height: auto;
  min-height: 52px;
}

.top-label textarea.form-control {
  min-height: 52px;
  height: initial;
}

.top-label select.form-control:not([size]):not([multiple]) {
  height: auto;
  min-height: 52px;
  padding: 1.7rem 0.75rem 0.5rem 0.5rem;
}

.top-label label:not(.form-check-label),
.top-label > span {
  color: var(--muted);
}

.top-label .form-control.form-control-lg,
.top-label .bootstrap-tagsinput.form-control-lg {
  min-height: 62px;
  height: auto;
  padding: 1.8rem 0.75rem 0.5rem 0.75rem;
}

.top-label textarea.form-control.form-control-lg {
  min-height: 62px;
  height: auto;
  padding: 1.8rem 0.75rem 0.5rem 0.75rem;
}

.top-label select.form-control.form-control-lg:not([size]):not([multiple]) {
  min-height: 62px;
  height: auto;
  padding: 1.8rem 0.75rem 0.5rem 0.75rem;
}

.top-label .form-control.form-control-sm,
.top-label .bootstrap-tagsinput.form-control-sm {
  min-height: 44px;
  height: auto;
  padding: 1.4rem 0.75rem 0.25rem 0.75rem;
}

.top-label textarea.form-control.form-control-sm {
  min-height: 44px;
  height: initial;
  padding: 1.4rem 0.75rem 0.25rem 0.75rem;
}

.top-label select.form-control.form-control-sm:not([size]):not([multiple]) {
  min-height: 44px;
  height: auto;
  padding: 1.4rem 0.75rem 0.25rem 0.75rem;
}

.top-label .form-check {
  margin-left: 4px;
  margin-bottom: initial;
  margin-top: 0;
}
.top-label.custom-control-container {
  border: 1px solid var(--separator) !important;
  background: var(--foreground) !important;
  border-radius: var(--border-radius-md) !important;
  color: var(--alternate) !important;
  padding: 1.5rem 0.75rem 0.1rem 0.75rem !important;
  height: auto;
  min-height: 52px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
select:-webkit-autofill,
select:-webkit-autofill:hover {
  -webkit-text-fill-color: var(--body);
  border-color: var(--separator) !important;
  box-shadow: 0 0 0 1000px var(--foreground) inset !important;
  -webkit-box-shadow: 0 0 0 1000px var(--foreground) inset !important;
  background-color: initial !important;
  background-clip: content-box !important;
}

input:-webkit-autofill ~ label,
textarea:-webkit-autofill ~ label,
select:-webkit-autofill ~ label {
  transition: initial;
}

input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--body);
  /*border-color: rgba(var(--primary-rgb), 1) !important;*/
  box-shadow: 0 0 0 1000px var(--foreground) inset !important;
  -webkit-box-shadow: 0 0 0 1000px var(--foreground) inset !important;
  background-color: initial !important;
  background-clip: content-box !important;
}

.filled input:-webkit-autofill,
.filled input:-webkit-autofill:hover,
.filled textarea:-webkit-autofill,
.filled textarea:-webkit-autofill:hover,
.filled select:-webkit-autofill,
.filled select:-webkit-autofill:hover,
.filled input:-webkit-autofill:focus,
.filled textarea:-webkit-autofill:focus,
.filled select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--body);
  border-color: var(--separator) !important;
  box-shadow: 0 0 0 1000px var(--separator-light) inset !important;
  -webkit-box-shadow: 0 0 0 1000px var(--foreground) inset !important;
  background-color: initial !important;
  background-clip: content-box !important;
}

.form-check-input[type=checkbox] {
  border-radius: var(--border-radius-sm);
}

.form-switch.form-check {
  padding-left: 2.5em;
}
.form-switch.form-check .form-check-input {
  margin-left: -2.5em;
}

.form-switch .form-check-input {
  border-radius: var(--border-radius-md);
}

.form-switch .form-check-input:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280,0,0,0.25%29'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check.custom-icon .content {
  display: flex !important;
  flex-direction: column;
}
.form-check.custom-icon .form-check-label {
  padding-top: initial;
}
.form-check.custom-icon .form-check-label::before {
  width: 26px;
  min-width: 26px;
  height: 26px;
  left: -40px;
  top: 0;
  border-radius: var(--border-radius-xl);
  border-color: var(--muted) !important;
  opacity: 0.3;
}
.form-check.custom-icon .form-check-input {
  width: 25px;
  height: 25px;
  background: initial !important;
  font-size: 16px;
  text-align: center;
  padding-top: 1px;
  border-radius: var(--border-radius-xl);
  border-color: var(--muted) !important;
  color: var(--muted) !important;
  opacity: 0.3;
  margin-top: 0;
  margin-right: 1rem;
}
.form-check.custom-icon .form-check-input:checked {
  border-color: var(--primary) !important;
  background: initial !important;
  opacity: 1;
}
.form-check.custom-icon .form-check-input:checked:after {
  font-family: "CS-Interface" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  color: var(--primary) !important;
  opacity: 1;
  content: "\e913";
}
.form-check.custom-icon .form-check-input[type=radio]:checked:after {
  content: "\e922";
}

.form-check.custom-card:hover .form-check-label::before,
.form-check.custom-card .form-check-input:checked ~ .form-check-label::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-md);
  /*box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.5) !important;*/
}
.form-check.custom-card .form-check-input {
  border: initial;
  background-color: initial !important;
}
.form-check.custom-card .form-check-input:checked {
  border: 1px solid var(--primary);
  background-color: var(--primary) !important;
}

.form-check .custom-border {
  border: initial !important;
  box-shadow: initial !important;
}
.form-check .custom-border:hover .form-check-label::before,
.form-check .custom-border .form-check-input:checked ~ .form-check-label::before {
  /*box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.5) !important;*/
}
.form-check .custom-border.form-check-label::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-md);
  box-shadow: inset 0 0 0 1px var(--separator);
}

.custom-icon input[type=radio] .form-check-label::after {
  content: "\e9d3";
}

.form-check.checked-line-through .form-check-input:checked ~ .form-check-label {
  text-decoration: line-through;
}
.form-check.checked-line-through .form-check-input:checked ~ .form-check-label span {
  text-decoration: line-through;
}

.form-check.checked-opacity-100 .form-check-input:checked ~ .form-check-label > span:first-of-type, .form-check.checked-opacity-100 .form-check-input:checked ~ .form-check-label > div:first-of-type {
  opacity: 1;
}

.form-check.checked-opacity-75 .form-check-input:checked ~ .form-check-label > span:first-of-type, .form-check.checked-opacity-75 .form-check-input:checked ~ .form-check-label > div:first-of-type {
  opacity: 0.75;
}

.form-check.checked-opacity-50 .form-check-input:checked ~ .form-check-label > span:first-of-type, .form-check.checked-opacity-50 .form-check-input:checked ~ .form-check-label > div:first-of-type {
  opacity: 0.5;
}

.form-check.checked-opacity-25 .form-check-input:checked ~ .form-check-label > span:first-of-type, .form-check.checked-opacity-25 .form-check-input:checked ~ .form-check-label > div:first-of-type {
  opacity: 0.25;
}

.form-check.checked-opacity-0 .form-check-input:checked ~ .form-check-label > span:first-of-type, .form-check.checked-opacity-0 .form-check-input:checked ~ .form-check-label > div:first-of-type {
  opacity: 0;
}

.form-check.unchecked-opacity-100 .form-check-input:not(:checked) ~ .form-check-label > span:first-of-type, .form-check.unchecked-opacity-100 .form-check-input:not(:checked) ~ .form-check-label > div:first-of-type {
  opacity: 1;
}

.form-check.unchecked-opacity-75 .form-check-input:not(:checked) ~ .form-check-label > span:first-of-type, .form-check.unchecked-opacity-75 .form-check-input:not(:checked) ~ .form-check-label > div:first-of-type {
  opacity: 0.75;
}

.form-check.unchecked-opacity-50 .form-check-input:not(:checked) ~ .form-check-label > span:first-of-type, .form-check.unchecked-opacity-50 .form-check-input:not(:checked) ~ .form-check-label > div:first-of-type {
  opacity: 0.5;
}

.form-check.unchecked-opacity-25 .form-check-input:not(:checked) ~ .form-check-label > span:first-of-type, .form-check.unchecked-opacity-25 .form-check-input:not(:checked) ~ .form-check-label > div:first-of-type {
  opacity: 0.25;
}

.form-check.unchecked-opacity-0 .form-check-input:not(:checked) ~ .form-check-label > span:first-of-type, .form-check.unchecked-opacity-0 .form-check-input:not(:checked) ~ .form-check-label > div:first-of-type {
  opacity: 0;
}

textarea {
  resize: none;
}

.form-check {
  margin-bottom: 0.25rem;
  padding-left: 1.75em;
  line-height: 1.5;
}

.form-check-input[type=checkbox]:indeterminate {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input,
.form-check-input label,
.form-check-input input {
  outline: initial !important;
  box-shadow: initial !important;
}

.form-check-input {
  width: 16px;
  height: 16px;
}

.form-check-input.custom-icon {
  width: 20px;
  height: 20px;
}

.form-check .form-check-input {
  border-color: var(--muted) !important;
  background-color: initial;
  margin-top: 0.2em;
  margin-left: -1.75em;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary) !important;
}

.form-check-label {
  color: var(--body);
  margin-top: 1px;
}

.form-floating label {
  color: var(--alternate);
  padding: 0.85rem 0.75rem;
  position: absolute;
  top: 0;
  left: 0;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label,
.form-floating .form-select ~ label {
  color: var(--muted);
  opacity: 1;
}

.form-floating textarea.form-control ~ label {
  transition: transform 0.1s ease-in-out, padding 0.1s ease-in-out, background-color 0s ease-in-out, height 0.1s ease-in-out;
}

.form-floating textarea.form-control:not(:placeholder-shown) ~ label,
.form-floating textarea.form-control:focus ~ label {
  background-color: var(--foreground);
  padding-top: 0.25rem;
  padding-bottom: 0.05rem;
  border-top-left-radius: var(--border-radius-md);
  height: auto;
  -webkit-transform: scale(0.85) translateY(1px) translateX(0.15rem);
  transform: scale(0.85) translateY(1px) translateX(0.15rem);
  transition: transform 0.1s ease-in-out, padding 0.1s ease-in-out, background-color 0.1s ease-in-out 0.1s, height 0.1s ease-in-out;
}

.form-floating .form-control,
.form-floating .form-select {
  height: auto;
  min-height: 52px;
  padding: 0.85rem 0.75rem;
}

.form-floating .form-control:focus,
.form-floating .form-control:not(:placeholder-shown) {
  padding-top: 1.45rem;
  padding-bottom: 0.25rem;
}

.form-floating .form-control.form-control-lg {
  min-height: 62px;
  height: auto;
  padding: 1.2rem 0.75rem 1.2rem 0.75rem;
}
.form-floating .form-control.form-control-lg ~ label {
  padding: 1.2rem 0.75rem 1.2rem 0.75rem;
}
.form-floating .form-control.form-control-lg:focus, .form-floating .form-control.form-control-lg:not(:placeholder-shown) {
  padding-top: 2rem;
  padding-bottom: 0.4rem;
}

.form-floating .form-control.form-control-sm {
  min-height: 44px;
  height: auto;
  padding: 0.7rem 0.75rem 0.8rem 0.75rem;
}
.form-floating .form-control.form-control-sm ~ label {
  padding: 0.7rem 0.75rem 0.8rem 0.75rem;
}
.form-floating .form-control.form-control-sm:focus, .form-floating .form-control.form-control-sm:not(:placeholder-shown) {
  padding-top: 1.4rem;
  padding-bottom: 0.2rem;
}

/* Pill toggle — shared by fund & investor edit forms */
.pill-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  cursor: pointer;
}

.pill-toggle input[type=checkbox] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.pill-toggle .bg {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #dc3545;
  transition: background 0.15s ease;
}

.pill-toggle input[type=checkbox]:checked ~ .bg {
  background: #28a745;
}

.pill-toggle .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: left 0.15s ease;
}

.pill-toggle input[type=checkbox]:checked ~ .knob {
  left: calc(100% - 25px);
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
}

/*
*
* Grid
*
* Bootstrap auto column fix.
*
*/
.col,
.col-sm,
.col-md,
.col-lg,
.col-xl {
  min-width: 0;
}

.row-cols-1 > .col {
  flex: 0 0 calc(100% / 1);
  max-width: calc(100% / 1);
}

.row-cols-2 > .col {
  flex: 0 0 calc(100% / 2);
  max-width: calc(100% / 2);
}

.row-cols-3 > .col {
  flex: 0 0 calc(100% / 3);
  max-width: calc(100% / 3);
}

.row-cols-4 > .col {
  flex: 0 0 calc(100% / 4);
  max-width: calc(100% / 4);
}

.row-cols-5 > .col {
  flex: 0 0 calc(100% / 5);
  max-width: calc(100% / 5);
}

.row-cols-6 > .col {
  flex: 0 0 calc(100% / 6);
  max-width: calc(100% / 6);
}

.row-cols-7 > .col {
  flex: 0 0 calc(100% / 7);
  max-width: calc(100% / 7);
}

.row-cols-8 > .col {
  flex: 0 0 calc(100% / 8);
  max-width: calc(100% / 8);
}

.row-cols-9 > .col {
  flex: 0 0 calc(100% / 9);
  max-width: calc(100% / 9);
}

.row-cols-10 > .col {
  flex: 0 0 calc(100% / 10);
  max-width: calc(100% / 10);
}

.row-cols-11 > .col {
  flex: 0 0 calc(100% / 11);
  max-width: calc(100% / 11);
}

.row-cols-12 > .col {
  flex: 0 0 calc(100% / 12);
  max-width: calc(100% / 12);
}

@media (min-width: 576px) {
  .row-cols-md-1 > .col {
    flex: 0 0 calc(100% / 1);
    max-width: calc(100% / 1);
  }
  .row-cols-md-2 > .col {
    flex: 0 0 calc(100% / 2);
    max-width: calc(100% / 2);
  }
  .row-cols-md-3 > .col {
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
  }
  .row-cols-md-4 > .col {
    flex: 0 0 calc(100% / 4);
    max-width: calc(100% / 4);
  }
  .row-cols-md-5 > .col {
    flex: 0 0 calc(100% / 5);
    max-width: calc(100% / 5);
  }
  .row-cols-md-6 > .col {
    flex: 0 0 calc(100% / 6);
    max-width: calc(100% / 6);
  }
  .row-cols-md-7 > .col {
    flex: 0 0 calc(100% / 7);
    max-width: calc(100% / 7);
  }
  .row-cols-md-8 > .col {
    flex: 0 0 calc(100% / 8);
    max-width: calc(100% / 8);
  }
  .row-cols-md-9 > .col {
    flex: 0 0 calc(100% / 9);
    max-width: calc(100% / 9);
  }
  .row-cols-md-10 > .col {
    flex: 0 0 calc(100% / 10);
    max-width: calc(100% / 10);
  }
  .row-cols-md-11 > .col {
    flex: 0 0 calc(100% / 11);
    max-width: calc(100% / 11);
  }
  .row-cols-md-12 > .col {
    flex: 0 0 calc(100% / 12);
    max-width: calc(100% / 12);
  }
  .row-cols-md-auto > .col {
    flex: 0 0 auto;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: auto;
    max-width: 100%;
  }
}
@media (min-width: 768px) {
  .row-cols-lg-1 > .col {
    flex: 0 0 calc(100% / 1);
    max-width: calc(100% / 1);
  }
  .row-cols-lg-2 > .col {
    flex: 0 0 calc(100% / 2);
    max-width: calc(100% / 2);
  }
  .row-cols-lg-3 > .col {
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
  }
  .row-cols-lg-4 > .col {
    flex: 0 0 calc(100% / 4);
    max-width: calc(100% / 4);
  }
  .row-cols-lg-5 > .col {
    flex: 0 0 calc(100% / 5);
    max-width: calc(100% / 5);
  }
  .row-cols-lg-6 > .col {
    flex: 0 0 calc(100% / 6);
    max-width: calc(100% / 6);
  }
  .row-cols-lg-7 > .col {
    flex: 0 0 calc(100% / 7);
    max-width: calc(100% / 7);
  }
  .row-cols-lg-8 > .col {
    flex: 0 0 calc(100% / 8);
    max-width: calc(100% / 8);
  }
  .row-cols-lg-9 > .col {
    flex: 0 0 calc(100% / 9);
    max-width: calc(100% / 9);
  }
  .row-cols-lg-10 > .col {
    flex: 0 0 calc(100% / 10);
    max-width: calc(100% / 10);
  }
  .row-cols-lg-11 > .col {
    flex: 0 0 calc(100% / 11);
    max-width: calc(100% / 11);
  }
  .row-cols-lg-12 > .col {
    flex: 0 0 calc(100% / 12);
    max-width: calc(100% / 12);
  }
}
@media (min-width: 992px) {
  .row-cols-xl-1 > .col {
    flex: 0 0 calc(100% / 1);
    max-width: calc(100% / 1);
  }
  .row-cols-xl-2 > .col {
    flex: 0 0 calc(100% / 2);
    max-width: calc(100% / 2);
  }
  .row-cols-xl-3 > .col {
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
  }
  .row-cols-xl-4 > .col {
    flex: 0 0 calc(100% / 4);
    max-width: calc(100% / 4);
  }
  .row-cols-xl-5 > .col {
    flex: 0 0 calc(100% / 5);
    max-width: calc(100% / 5);
  }
  .row-cols-xl-6 > .col {
    flex: 0 0 calc(100% / 6);
    max-width: calc(100% / 6);
  }
  .row-cols-xl-7 > .col {
    flex: 0 0 calc(100% / 7);
    max-width: calc(100% / 7);
  }
  .row-cols-xl-8 > .col {
    flex: 0 0 calc(100% / 8);
    max-width: calc(100% / 8);
  }
  .row-cols-xl-9 > .col {
    flex: 0 0 calc(100% / 9);
    max-width: calc(100% / 9);
  }
  .row-cols-xl-10 > .col {
    flex: 0 0 calc(100% / 10);
    max-width: calc(100% / 10);
  }
  .row-cols-xl-11 > .col {
    flex: 0 0 calc(100% / 11);
    max-width: calc(100% / 11);
  }
  .row-cols-xl-12 > .col {
    flex: 0 0 calc(100% / 12);
    max-width: calc(100% / 12);
  }
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.gap-5 {
  gap: 3rem !important;
}

.row-gap-0 {
  row-gap: 0 !important;
}

.row-gap-1 {
  row-gap: 0.25rem !important;
}

.row-gap-2 {
  row-gap: 0.5rem !important;
}

.row-gap-3 {
  row-gap: 1rem !important;
}

.row-gap-4 {
  row-gap: 1.5rem !important;
}

.row-gap-5 {
  row-gap: 3rem !important;
}

.column-gap-0 {
  -moz-column-gap: 0 !important;
  column-gap: 0 !important;
}

.column-gap-1 {
  -moz-column-gap: 0.25rem !important;
  column-gap: 0.25rem !important;
}

.column-gap-2 {
  -moz-column-gap: 0.5rem !important;
  column-gap: 0.5rem !important;
}

.column-gap-3 {
  -moz-column-gap: 1rem !important;
  column-gap: 1rem !important;
}

.column-gap-4 {
  -moz-column-gap: 1.5rem !important;
  column-gap: 1.5rem !important;
}

.column-gap-5 {
  -moz-column-gap: 3rem !important;
  column-gap: 3rem !important;
}

.gap-sm-0 {
  gap: 0 !important;
}

.gap-sm-1 {
  gap: 0.25rem !important;
}

.gap-sm-2 {
  gap: 0.5rem !important;
}

.gap-sm-3 {
  gap: 1rem !important;
}

.gap-sm-4 {
  gap: 1.5rem !important;
}

.gap-sm-5 {
  gap: 3rem !important;
}

.row-gap-sm-0 {
  row-gap: 0 !important;
}

.row-gap-sm-1 {
  row-gap: 0.25rem !important;
}

.row-gap-sm-2 {
  row-gap: 0.5rem !important;
}

.row-gap-sm-3 {
  row-gap: 1rem !important;
}

.row-gap-sm-4 {
  row-gap: 1.5rem !important;
}

.row-gap-sm-5 {
  row-gap: 3rem !important;
}

.column-gap-sm-0 {
  -moz-column-gap: 0 !important;
  column-gap: 0 !important;
}

.column-gap-sm-1 {
  -moz-column-gap: 0.25rem !important;
  column-gap: 0.25rem !important;
}

.column-gap-sm-2 {
  -moz-column-gap: 0.5rem !important;
  column-gap: 0.5rem !important;
}

.column-gap-sm-3 {
  -moz-column-gap: 1rem !important;
  column-gap: 1rem !important;
}

.column-gap-sm-4 {
  -moz-column-gap: 1.5rem !important;
  column-gap: 1.5rem !important;
}

.column-gap-sm-5 {
  -moz-column-gap: 3rem !important;
  column-gap: 3rem !important;
}

.gap-md-0 {
  gap: 0 !important;
}

.gap-md-1 {
  gap: 0.25rem !important;
}

.gap-md-2 {
  gap: 0.5rem !important;
}

.gap-md-3 {
  gap: 1rem !important;
}

.gap-md-4 {
  gap: 1.5rem !important;
}

.gap-md-5 {
  gap: 3rem !important;
}

.row-gap-md-0 {
  row-gap: 0 !important;
}

.row-gap-md-1 {
  row-gap: 0.25rem !important;
}

.row-gap-md-2 {
  row-gap: 0.5rem !important;
}

.row-gap-md-3 {
  row-gap: 1rem !important;
}

.row-gap-md-4 {
  row-gap: 1.5rem !important;
}

.row-gap-md-5 {
  row-gap: 3rem !important;
}

.column-gap-md-0 {
  -moz-column-gap: 0 !important;
  column-gap: 0 !important;
}

.column-gap-md-1 {
  -moz-column-gap: 0.25rem !important;
  column-gap: 0.25rem !important;
}

.column-gap-md-2 {
  -moz-column-gap: 0.5rem !important;
  column-gap: 0.5rem !important;
}

.column-gap-md-3 {
  -moz-column-gap: 1rem !important;
  column-gap: 1rem !important;
}

.column-gap-md-4 {
  -moz-column-gap: 1.5rem !important;
  column-gap: 1.5rem !important;
}

.column-gap-md-5 {
  -moz-column-gap: 3rem !important;
  column-gap: 3rem !important;
}

.gap-lg-0 {
  gap: 0 !important;
}

.gap-lg-1 {
  gap: 0.25rem !important;
}

.gap-lg-2 {
  gap: 0.5rem !important;
}

.gap-lg-3 {
  gap: 1rem !important;
}

.gap-lg-4 {
  gap: 1.5rem !important;
}

.gap-lg-5 {
  gap: 3rem !important;
}

.row-gap-lg-0 {
  row-gap: 0 !important;
}

.row-gap-lg-1 {
  row-gap: 0.25rem !important;
}

.row-gap-lg-2 {
  row-gap: 0.5rem !important;
}

.row-gap-lg-3 {
  row-gap: 1rem !important;
}

.row-gap-lg-4 {
  row-gap: 1.5rem !important;
}

.row-gap-lg-5 {
  row-gap: 3rem !important;
}

.column-gap-lg-0 {
  -moz-column-gap: 0 !important;
  column-gap: 0 !important;
}

.column-gap-lg-1 {
  -moz-column-gap: 0.25rem !important;
  column-gap: 0.25rem !important;
}

.column-gap-lg-2 {
  -moz-column-gap: 0.5rem !important;
  column-gap: 0.5rem !important;
}

.column-gap-lg-3 {
  -moz-column-gap: 1rem !important;
  column-gap: 1rem !important;
}

.column-gap-lg-4 {
  -moz-column-gap: 1.5rem !important;
  column-gap: 1.5rem !important;
}

.column-gap-lg-5 {
  -moz-column-gap: 3rem !important;
  column-gap: 3rem !important;
}

.gap-xl-0 {
  gap: 0 !important;
}

.gap-xl-1 {
  gap: 0.25rem !important;
}

.gap-xl-2 {
  gap: 0.5rem !important;
}

.gap-xl-3 {
  gap: 1rem !important;
}

.gap-xl-4 {
  gap: 1.5rem !important;
}

.gap-xl-5 {
  gap: 3rem !important;
}

.row-gap-xl-0 {
  row-gap: 0 !important;
}

.row-gap-xl-1 {
  row-gap: 0.25rem !important;
}

.row-gap-xl-2 {
  row-gap: 0.5rem !important;
}

.row-gap-xl-3 {
  row-gap: 1rem !important;
}

.row-gap-xl-4 {
  row-gap: 1.5rem !important;
}

.row-gap-xl-5 {
  row-gap: 3rem !important;
}

.column-gap-xl-0 {
  -moz-column-gap: 0 !important;
  column-gap: 0 !important;
}

.column-gap-xl-1 {
  -moz-column-gap: 0.25rem !important;
  column-gap: 0.25rem !important;
}

.column-gap-xl-2 {
  -moz-column-gap: 0.5rem !important;
  column-gap: 0.5rem !important;
}

.column-gap-xl-3 {
  -moz-column-gap: 1rem !important;
  column-gap: 1rem !important;
}

.column-gap-xl-4 {
  -moz-column-gap: 1.5rem !important;
  column-gap: 1.5rem !important;
}

.column-gap-xl-5 {
  -moz-column-gap: 3rem !important;
  column-gap: 3rem !important;
}

.gap-xxl-0 {
  gap: 0 !important;
}

.gap-xxl-1 {
  gap: 0.25rem !important;
}

.gap-xxl-2 {
  gap: 0.5rem !important;
}

.gap-xxl-3 {
  gap: 1rem !important;
}

.gap-xxl-4 {
  gap: 1.5rem !important;
}

.gap-xxl-5 {
  gap: 3rem !important;
}

.row-gap-xxl-0 {
  row-gap: 0 !important;
}

.row-gap-xxl-1 {
  row-gap: 0.25rem !important;
}

.row-gap-xxl-2 {
  row-gap: 0.5rem !important;
}

.row-gap-xxl-3 {
  row-gap: 1rem !important;
}

.row-gap-xxl-4 {
  row-gap: 1.5rem !important;
}

.row-gap-xxl-5 {
  row-gap: 3rem !important;
}

.column-gap-xxl-0 {
  -moz-column-gap: 0 !important;
  column-gap: 0 !important;
}

.column-gap-xxl-1 {
  -moz-column-gap: 0.25rem !important;
  column-gap: 0.25rem !important;
}

.column-gap-xxl-2 {
  -moz-column-gap: 0.5rem !important;
  column-gap: 0.5rem !important;
}

.column-gap-xxl-3 {
  -moz-column-gap: 1rem !important;
  column-gap: 1rem !important;
}

.column-gap-xxl-4 {
  -moz-column-gap: 1.5rem !important;
  column-gap: 1.5rem !important;
}

.column-gap-xxl-5 {
  -moz-column-gap: 3rem !important;
  column-gap: 3rem !important;
}

/*
*
* Grid (mobile)
*
* Bootstrap 4 uses a 15px gutter, which wastes a lot of width on phones.
* Only applies when JS_Hooks.js sets <html data-mobile="true">.
*
*/
html[data-mobile=true] .container,
html[data-mobile=true] .container-fluid {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .row {
  margin-left: -2px;
  margin-right: -2px;
}
html[data-mobile=true] .no-gutters {
  margin-left: 0;
  margin-right: 0;
}
html[data-mobile=true] .col,
html[data-mobile=true] .col-auto {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col,
html[data-mobile=true] .no-gutters > .col-auto {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-1 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-1 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-2 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-2 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-3 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-3 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-4 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-4 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-5 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-5 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-6 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-6 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-7 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-7 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-8 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-8 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-9 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-9 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-10 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-10 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-11 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-11 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-12 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-12 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm,
html[data-mobile=true] .col-sm-auto {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm,
html[data-mobile=true] .no-gutters > .col-sm-auto {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-1 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-1 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-2 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-2 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-3 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-3 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-4 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-4 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-5 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-5 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-6 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-6 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-7 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-7 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-8 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-8 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-9 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-9 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-10 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-10 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-11 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-11 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-sm-12 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-sm-12 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md,
html[data-mobile=true] .col-md-auto {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md,
html[data-mobile=true] .no-gutters > .col-md-auto {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-1 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-1 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-2 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-2 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-3 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-3 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-4 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-4 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-5 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-5 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-6 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-6 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-7 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-7 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-8 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-8 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-9 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-9 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-10 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-10 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-11 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-11 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-md-12 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-md-12 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg,
html[data-mobile=true] .col-lg-auto {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg,
html[data-mobile=true] .no-gutters > .col-lg-auto {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-1 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-1 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-2 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-2 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-3 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-3 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-4 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-4 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-5 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-5 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-6 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-6 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-7 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-7 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-8 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-8 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-9 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-9 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-10 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-10 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-11 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-11 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-lg-12 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-lg-12 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl,
html[data-mobile=true] .col-xl-auto {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl,
html[data-mobile=true] .no-gutters > .col-xl-auto {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-1 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-1 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-2 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-2 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-3 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-3 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-4 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-4 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-5 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-5 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-6 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-6 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-7 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-7 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-8 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-8 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-9 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-9 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-10 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-10 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-11 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-11 {
  padding-left: 0;
  padding-right: 0;
}
html[data-mobile=true] .col-xl-12 {
  padding-left: 2px;
  padding-right: 2px;
}
html[data-mobile=true] .no-gutters > .col-xl-12 {
  padding-left: 0;
  padding-right: 0;
}

/*
*
* Input Group
*
* Bootstrap input group styles.
*
*/
.input-group-text {
  border-radius: var(--border-radius-md);
  font-size: 1em;
  padding: 0.25rem 0.75rem 0.35rem 0.75rem;
  background-color: var(--foreground);
  border-color: var(--separator);
  color: var(--body);
}

.input-group .form-control {
  border-top-right-radius: var(--border-radius-md);
  border-bottom-right-radius: var(--border-radius-md);
}

.input-group-lg > .form-control,
.input-group-lg > .custom-select {
  border-radius: var(--border-radius-md);
}

.input-group .top-label .form-control {
  width: 100%;
}

.input-group .top-label:not(:last-child),
.input-group .top-label:not(:last-child) .form-control {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-right: 0;
}

.input-group .top-label:not(:first-child),
.input-group .top-label:not(:first-child) .form-control {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.custom-file-label,
.custom-file,
.custom-file-input {
  height: var(--input-height);
  border-color: var(--separator);
  background: var(--foreground);
}

.custom-file-label {
  border-radius: var(--border-radius-md);
}

.input-group > .custom-file:not(:first-child) .custom-file-label {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.custom-file-label::after {
  border-radius: var(--border-radius-md);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  height: 34px;
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--light-text);
}

.input-group-lg > .form-control,
.input-group-lg > .form-select,
.input-group-lg > .input-group-text,
.input-group-lg > .btn {
  height: 44px;
  font-size: 1.25em;
  line-height: 1.5;
}

.input-group-sm > .form-control,
.input-group-sm > .form-select,
.input-group-sm > .input-group-text,
.input-group-sm > .btn {
  border-radius: var(--border-radius-md);
  font-size: 0.9em;
  padding: 0.25rem 0.75rem;
  height: 28px;
  min-height: 28px;
}

.input-group-lg > .form-control,
.input-group-lg > .form-select,
.input-group-lg > .input-group-text,
.input-group-lg > .btn {
  border-radius: var(--border-radius-md);
}

.input-group-text .form-check-input {
  margin-top: 1px !important;
}

.input-group .form-control[type=file] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  line-height: 1.6;
}

input[type=file]::file-selector-button {
  background: var(--foreground);
  color: var(--body);
}

/*
*
* Modal
*
* Bootstrap modal styles.
*
*/
.modal {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  padding: 0em;
}

.modal-header,
.modal-body,
.modal-footer {
  padding: var(--card-spacing);
}

.modal-content {
  border-radius: var(--border-radius-lg);
  background: var(--foreground);
}

.modal-header {
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
  border-color: var(--separator);
}

.modal-footer {
  border-bottom-left-radius: var(--border-radius-lg);
  border-bottom-right-radius: var(--border-radius-lg);
  border-color: var(--separator);
}

.modal-under-nav .modal-dialog {
  margin-top: var(--nav-size-slim);
}

.modal-close-out .btn-close {
  position: absolute;
  right: -50px;
  top: 0;
  background: var(--foreground);
  opacity: 1;
  color: var(--primary);
  border-radius: var(--border-radius-md);
  width: var(--input-height);
  height: var(--input-height);
  margin: 0;
  padding: 0;
}
@media (max-width: 767.98px) {
  .modal-close-out .btn-close {
    right: 0;
    top: -50px;
  }
}
.modal-close-out .modal-dialog:not(.modal-dialog-centered) {
  margin-top: var(--nav-size-slim);
}

.modal.fade .modal-dialog {
  transform: translate(25%, 0);
}

.modal.show .modal-dialog {
  transform: translate(0, 0);
  transition: width 500ms ease-in-out;
}

/*SIZES*/
.modal-sm {
  max-width: 400px;
}

.modal-md {
  max-width: 600px;
}

.modal-lg {
  width: min-content;
  min-width: 1000px;
  max-width: fit-content;
}

.modal-half {
  max-width: 50%;
}

.modal-full {
  max-width: 100%;
}

/* Sizes a modal to fit its content instead of stretching to the full
   dialog/viewport height -- pair with .modal-dialog-centered. Use for
   short confirmation popups (e.g. "Are You Sure?" prompts). */
.modal-fit-content .modal-dialog {
  height: auto;
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}
.modal-fit-content .modal-content {
  height: auto;
}

/* Reinforces that a modal is for a non-undoable/destructive confirmation. */
.modal-border-danger .modal-content {
  border: 2px solid var(--bs-danger, #dc3545);
}

.modal-left {
  margin-left: 0 !important;
}

.modal-right {
  margin-right: 0 !important;
}

.modal-body {
  height: 100% !important;
  overflow-y: auto;
}

.modal-content {
  min-height: 100%;
  border: initial;
  border-radius: initial;
  max-height: 100vh;
  /*padding: 2em;*/
}

.modal-dialog.modal-right .modal-content {
  border-top-left-radius: var(--border-radius-lg);
  border-bottom-left-radius: var(--border-radius-lg);
}

.modal-footer {
  justify-content: center;
  flex-grow: 0;
  flex-shrink: 0;
  border-bottom-left-radius: var(--border-radius-lg);
}

.modal-dialog {
  margin: 0 auto;
  /*margin-left: 0;*/
  margin-top: 0;
  margin-bottom: 0;
  height: 100%;
  /*max-width: 900px;*/
  transition: width 500ms ease-in-out;
}

.modal-body {
  height: 100% !important;
}

.modal-content {
  min-height: 100%;
  border: initial;
  border-radius: initial;
}

.modal-dialog.modal-left .modal-content {
  border-top-right-radius: var(--border-radius-lg);
  border-bottom-right-radius: var(--border-radius-lg);
}

.modal-dialog:not(.modal-left):not(.modal-right) .modal-content {
  border-radius: var(--border-radius-lg);
}

.modal-dialog-scrollable.long .modal-body {
  overflow: initial;
}
.modal-dialog-scrollable.long .modal-body .scroll,
.modal-dialog-scrollable.long .modal-body .scroll-track-visible {
  max-height: calc(100vh - 25rem);
}

.modal-dialog-scrollable.full .modal-content {
  height: 100%;
  min-height: unset;
}
.modal-dialog-scrollable.full {
  max-height: 100% !important;
}
.modal-dialog-scrollable.full .modal-body {
  overflow: initial;
  max-height: 100% !important;
}
.modal-dialog-scrollable.full .modal-body .scroll,
.modal-dialog-scrollable.full .modal-body .scroll-track-visible {
  max-height: 100%;
  height: 100%;
}

.modal-dialog-scrollable.short .modal-body {
  overflow: initial;
}
.modal-dialog-scrollable.short .modal-body .scroll,
.modal-dialog-scrollable.short .modal-body .scroll-track-visible {
  max-height: 50vh;
}

.modal.modal-right .os-content {
  padding: 0 !important;
}
.modal.modal-right .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden > .os-scrollbar-vertical {
  padding-right: 0;
  padding-left: 4px;
}

.modal.modal-left .os-content {
  padding: 0 !important;
}
.modal.modal-left .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden > .os-scrollbar-vertical {
  padding-right: 4px;
  padding-left: 0;
}

.modal-semi-full {
  max-width: 90%;
  height: 95%;
  margin-left: auto;
  margin-right: auto;
}
.modal-semi-full .modal-content {
  height: 100%;
}

.modal-on-the-right-content {
  min-height: 100%;
  border: initial;
  border-radius: initial;
  border-top-left-radius: var(--border-radius-lg);
  border-bottom-left-radius: var(--border-radius-lg);
}

.modal-on-the-right-dialog {
  margin: 0 auto;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  height: 100%;
  max-width: 900px;
  transition: width 500ms ease-in-out;
}

/*=============RESPONSIVE=============*/
html[data-mobile=true] .modal-sm,
html[data-mobile=true] .modal-md,
html[data-mobile=true] .modal-lg,
html[data-mobile=true] .modal-half,
html[data-mobile=true] .modal-full {
  width: 100vw; /* Ensure modal takes up full viewport width */
  display: initial;
  min-width: 100%;
}

/*
*
* Nav
*
* Bootstrap navigation styles.
*
*/
.page-item {
  margin: 0 5px;
  text-align: center;
}

.page-link {
  outline: initial !important;
  box-shadow: initial !important;
  border: initial;
  padding: 8px 9px;
  line-height: 1.5;
  font-size: 1em;
  width: var(--input-height);
  height: var(--input-height);
  color: var(--primary);
  border-radius: var(--border-radius-md) !important;
  background: var(--foreground);
}
.page-link:focus {
  background: var(--foreground);
  color: var(--primary);
}
.page-link:hover, .page-link:hover:focus {
  background: var(--primary);
  color: var(--light-text);
}
.page-link svg {
  width: 15px;
  height: 15px;
  vertical-align: top;
  margin-top: 2px;
  margin-left: 2px;
}
.page-link i {
  margin-left: 1px;
}

.page-item.active .page-link {
  background: var(--primary);
  box-shadow: initial !important;
}

.page-item.disabled .page-link {
  opacity: 0.5;
  color: var(--primary);
  background: var(--foreground);
  box-shadow: initial !important;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: var(--border-radius-md);
}

.pagination.bordered .page-item .page-link {
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary) !important;
  border-radius: var(--border-radius-md);
  background-color: transparent;
}
.pagination.bordered .page-item .page-link:hover {
  background: var(--primary);
  color: var(--light-text);
}
.pagination.bordered .page-item.active .page-link {
  box-shadow: initial !important;
  background: var(--primary);
  color: var(--light-text);
}

.pagination.semibordered .page-item .page-link:hover {
  background-color: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary) !important;
  border-radius: var(--border-radius-md);
}
.pagination.semibordered .page-item.active .page-link {
  background-color: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary) !important;
  border-radius: var(--border-radius-md);
}

.pagination.pagination-xl .page-link {
  line-height: 1;
  font-size: 1em;
  height: 44px;
  padding: 14px 26px;
  width: 65px;
}
.pagination.pagination-xl .page-link svg {
  margin-top: 0;
}

.pagination.pagination-lg .page-link {
  font-size: 1em;
  line-height: 18px;
  width: 50px;
  padding: 8px 15px;
}

.pagination.pagination-sm .page-link {
  font-size: 0.9em;
  height: 30px;
  width: 30px;
  line-height: 1;
  padding: 9px 3px;
}
.pagination.pagination-sm .page-link svg {
  margin-top: -1px;
}

/* Navigation */
.nav-tabs {
  border-color: var(--separator);
}

.nav-link {
  font-family: var(--font);
  font-size: 1em;
  line-height: 1;
  border: initial;
  box-shadow: initial !important;
  transition: all var(--transition-time-short);
  transition-property: color, background-color, background-image, background;
  color: var(--body);
}
.nav-link:hover, .nav-link:active, .nav-link.active {
  background-color: var(--primary) !important;
  color: var(--light) !important;
}

.nav:not(.nav-pills):not(.nav-tabs-line) .nav-link {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.nav-tabs .nav-link {
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: var(--body);
  background: var(--foreground);
}

.nav-item.disabled .nav-link {
  opacity: 0.5;
}

.card-header-tabs .nav-link {
  border-bottom-left-radius: initial;
  border-bottom-right-radius: initial;
}
.card-header-tabs .nav-link:not(a) {
  color: var(--body);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--primary);
  color: var(--foreground);
  font-weight: bolder;
}

.nav-pills .dropdown-menu .nav-item .nav-link.active {
  background: initial !important;
}

.card-header-tabs-border > li > .nav-link,
.card-header-tabs-border > div > .nav-link {
  border: initial;
  border-radius: initial;
  position: relative;
  padding-top: 15px;
}
.card-header-tabs-border .nav-link.active::before,
.card-header-tabs-border .nav-item.show .nav-link::before {
  content: " ";
  border-radius: 10px;
  position: absolute;
  width: 100%;
  height: 5px;
  left: 0;
  top: 0;
  background: var(--primary);
  color: var(--light-text);
}

.nav-pills .nav-link {
  line-height: 1.5;
  font-size: 1em;
  height: var(--input-height);
  cursor: pointer;
  border-radius: var(--border-radius-md);
}

.card .card-header-tabs {
  margin-bottom: calc(var(--card-spacing) * -1);
  margin-top: calc(var(--card-spacing) * -0.25);
}

.card-header-pills,
.card-header-tabs {
  margin-left: initial;
  margin-right: initial;
}

.card .card-header-tabs.nav-tabs-line {
  margin-top: calc(var(--card-spacing) * -1);
  margin-left: calc(var(--card-spacing) / 2 * -1);
  margin-right: calc(var(--card-spacing) / 2 * -1);
  margin-bottom: initial;
}

.nav-tabs-line {
  border: initial;
}
.nav-tabs-line > li > .nav-link,
.nav-tabs-line > div > .nav-link {
  border: initial;
  position: relative;
  padding-top: 20px;
  cursor: pointer;
  color: var(--body);
}
.nav-tabs-line > li > .nav-link:hover, .nav-tabs-line > li > .nav-link.active,
.nav-tabs-line > div > .nav-link:hover,
.nav-tabs-line > div > .nav-link.active {
  color: var(--primary);
}
.nav-tabs-line > li > .nav-link.active,
.nav-tabs-line > div > .nav-link.active {
  border: initial;
}
.nav-tabs-line > li > .nav-link.active::before,
.nav-tabs-line > div > .nav-link.active::before {
  content: " ";
  background: var(--primary);
  color: var(--foreground);
  border-radius: 10px;
  position: absolute;
  width: 100%;
  height: 3px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.nav-tabs-line .dropdown-menu .nav-link.active {
  border: initial;
}
.nav-tabs-line .dropdown-menu .nav-link.active::before {
  background: initial;
}

.nav-tabs-title {
  margin: initial;
}
.nav-tabs-title .nav-item {
  margin: initial;
}
.nav-tabs-title > li > .nav-link,
.nav-tabs-title > div > .nav-link {
  height: var(--small-title-height);
  border: initial;
  background: initial;
  position: relative;
  color: var(--alternate);
  font-family: var(--font-heading);
  font-weight: 400;
  margin-bottom: 0;
  font-size: 1em;
  padding: 12px;
  padding-top: initial !important;
  padding-bottom: initial !important;
  cursor: pointer;
}
.nav-tabs-title > li > .nav-link:hover, .nav-tabs-title > li > .nav-link.active,
.nav-tabs-title > div > .nav-link:hover,
.nav-tabs-title > div > .nav-link.active {
  color: var(--primary);
}
.nav-tabs-title > li > .nav-link.active,
.nav-tabs-title > div > .nav-link.active {
  border: initial;
  background: initial;
  color: var(--primary);
}
.nav-tabs-title > li:first-of-type > .nav-link,
.nav-tabs-title > div:first-of-type > .nav-link {
  padding-left: initial;
}
.nav-tabs-title > li:last-of-type > .nav-link,
.nav-tabs-title > div:last-of-type > .nav-link {
  padding-right: initial;
}

.nav-tabs-line-title {
  margin-bottom: calc(var(--small-title-height) / 3);
}
.nav-tabs-line-title > li,
.nav-tabs-line-title > div {
  margin-bottom: calc(-1px - var(--small-title-height) / 3) !important;
  padding-right: 12px;
  padding-left: 12px;
}
.nav-tabs-line-title > li > .nav-link,
.nav-tabs-line-title > div > .nav-link {
  padding-right: initial;
  padding-left: initial;
  padding-top: 1px !important;
}
.nav-tabs-line-title > li > .nav-link.active:after,
.nav-tabs-line-title > div > .nav-link.active:after {
  content: " ";
  left: 0;
  bottom: calc(-1px + var(--small-title-height) / 3);
  position: absolute;
  width: calc(100% + 1px);
  height: 1px;
  background: var(--primary);
}
.nav-tabs-line-title > li:first-of-type,
.nav-tabs-line-title > div:first-of-type {
  padding-left: initial;
}

.nav.horizontal-padding-0 > li:first-child a,
.nav.horizontal-padding-0 > div:first-child a,
.nav.horizontal-padding-0 > a:first-child {
  padding-left: 0;
}
.nav.horizontal-padding-0 > li:last-child a,
.nav.horizontal-padding-0 > div:last-child a,
.nav.horizontal-padding-0 > a:last-child {
  padding-right: 0;
}

/* Page Title */
.page-title-container {
  margin-bottom: var(--title-spacing);
}
.page-title-container h1 {
  line-height: 1;
}

/* Breadcrumb */
.breadcrumb {
  background: initial;
  padding: 0;
  font-size: 0.85em;
  margin-bottom: 0.25rem;
}
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "|";
  color: var(--alternate);
}
.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
  color: var(--alternate);
}
.breadcrumb .breadcrumb-item:not(.active):hover,
.breadcrumb .breadcrumb-item a:not(.active):hover {
  color: var(--primary);
}

.breadcrumb-back span {
  display: inline-block;
  padding-top: 2px;
}

.mobile-buttons-container .dropdown-menu {
  min-width: 200px;
  padding: 15px 20px 15px 20px;
  width: unset;
}

.responsive-tabs .responsive-tab-dropdown .nav-item .nav-link {
  line-height: 1.3;
  width: 100%;
  text-align: initial;
}

/* Scroll Spy Menu */
#scrollSpyMenu {
  position: sticky;
  overflow-y: auto;
  width: 190px;
}
@media (min-width: 1400px) {
  #scrollSpyMenu {
    width: 260px;
  }
}

#scrollSpyMenu .nav ul,
html .nav-container .mobile-buttons-container .dropdown-menu .nav ul {
  padding-left: 35px;
  margin-top: -2px;
  margin-bottom: 2px;
}
#scrollSpyMenu li,
html .nav-container .mobile-buttons-container .dropdown-menu li {
  width: 100%;
  padding: initial;
}
#scrollSpyMenu li a,
html .nav-container .mobile-buttons-container .dropdown-menu li a {
  width: 100%;
}
#scrollSpyMenu .nav-link,
html .nav-container .mobile-buttons-container .dropdown-menu .nav-link {
  display: inline-block;
  opacity: 0.8;
  color: var(--alternate);
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  padding-left: 0;
}
#scrollSpyMenu .nav-link i,
html .nav-container .mobile-buttons-container .dropdown-menu .nav-link i {
  display: inline-block;
}
#scrollSpyMenu .nav-link:hover,
html .nav-container .mobile-buttons-container .dropdown-menu .nav-link:hover {
  color: var(--primary);
}
#scrollSpyMenu .nav-link.active,
html .nav-container .mobile-buttons-container .dropdown-menu .nav-link.active {
  color: var(--alternate);
}
#scrollSpyMenu svg,
html .nav-container .mobile-buttons-container .dropdown-menu svg {
  display: block;
  float: left;
  width: 17px;
  height: 17px;
  margin-right: 0.25rem;
}
#scrollSpyMenu span,
html .nav-container .mobile-buttons-container .dropdown-menu span {
  float: left;
  display: block;
  line-height: 1.4;
  width: calc(100% - 25px);
}

html[data-placement=horizontal] #scrollSpyMenu {
  top: calc(var(--nav-size-slim) + var(--main-spacing-horizontal) / 2);
  height: calc(100vh - (var(--nav-size-slim) * 2 + var(--main-spacing-horizontal) + var(--card-spacing)));
}

html[data-placement=vertical] #scrollSpyMenu {
  top: var(--main-spacing-horizontal);
  height: calc(100vh - (var(--nav-size-slim) * 2 + var(--main-spacing-horizontal) + var(--card-spacing)));
}

/*@import 'bootstrap/_popover.scss';*/
/*
*
* Scrollbar
*
*
*/
.custom-scrollbar::-webkit-scrollbar, #body-content-loanSizer::-webkit-scrollbar {
  display: block;
  width: 12.5px;
  position: absolute;
}

.custom-scrollbar::-webkit-scrollbar-track, #body-content-loanSizer::-webkit-scrollbar-track {
  background: lightgrey;
  box-shadow: inset 0 0 1px grey;
}

.custom-scrollbar::-webkit-scrollbar-thumb, #body-content-loanSizer::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

.tools-scroll-area::-webkit-scrollbar,
.fsp-body::-webkit-scrollbar,
.portal-main-content::-webkit-scrollbar,
#utilityDrawerBody::-webkit-scrollbar,
.inspector-instructions-panel::-webkit-scrollbar,
.report-sidebar-scroll::-webkit-scrollbar {
  width: 5px;
}
.tools-scroll-area::-webkit-scrollbar-track,
.fsp-body::-webkit-scrollbar-track,
.portal-main-content::-webkit-scrollbar-track,
#utilityDrawerBody::-webkit-scrollbar-track,
.inspector-instructions-panel::-webkit-scrollbar-track,
.report-sidebar-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.tools-scroll-area::-webkit-scrollbar-thumb,
.fsp-body::-webkit-scrollbar-thumb,
.portal-main-content::-webkit-scrollbar-thumb,
#utilityDrawerBody::-webkit-scrollbar-thumb,
.inspector-instructions-panel::-webkit-scrollbar-thumb,
.report-sidebar-scroll::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 999px;
  opacity: 0.6;
}
.tools-scroll-area::-webkit-scrollbar-thumb:hover,
.fsp-body::-webkit-scrollbar-thumb:hover,
.portal-main-content::-webkit-scrollbar-thumb:hover,
#utilityDrawerBody::-webkit-scrollbar-thumb:hover,
.inspector-instructions-panel::-webkit-scrollbar-thumb:hover,
.report-sidebar-scroll::-webkit-scrollbar-thumb:hover {
  opacity: 1;
}
.tools-scroll-area,
.fsp-body,
.portal-main-content,
#utilityDrawerBody,
.inspector-instructions-panel,
.report-sidebar-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.scroll-container.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scroll-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

/* For WebKit browsers (Chrome, Safari) */
.scroll-container::-webkit-scrollbar {
  height: 8px; /* Adjust scrollbar height */
}

.custom-select-container .form-control, .form-select, .custom-select {
  font-size: 1em;
  height: auto;
  min-height: var(--input-height-lg) !important;
  color: var(--body);
  box-shadow: initial !important;
  /*background-color: var(--background) !important;*/
  /*border-color: var(--separator) !important;*/
  border-radius: var(--border-radius-md);
  filter: none;
  transition: border-color 0.15s ease-in-out;
  padding: var(--input-padding);
}

/* Ensure the dropdown options and selected items match the custom styles */
.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
  background-color: var(--background) !important;
  color: var(--color-fg) !important;
  border: 1px solid var(--border-color) !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  outline: 0;
  background-color: var(--foreground) !important;
  /*    border: solid var(--separator) 1px !important;
      border-radius: var(--border-radius-md);
      min-height: var(--input-height-lg);*/
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--secondary);
}

/* Styling the dropdown */
.select2-container--default .select2-results__option {
  background-color: var(--background) !important;
  color: var(--color-fg) !important;
}

/*.select2.select2-container {
    outline: 0;
    background-color: var(--foreground) !important;
    border: solid var(--separator) 1px !important;
    border-radius: var(--border-radius-md);
    min-height: var(--input-height-lg);
    padding: var(--input-padding);
    width: 100% !important;
}*/
.select2.select2-container {
  outline: 0;
  background-color: var(--foreground) !important;
  border: solid var(--separator) 1px !important;
  border-radius: var(--border-radius-md);
  min-height: var(--input-height-lg);
  /* padding: var(--input-padding); */
  width: 100% !important;
  font-size: 12px;
  height: auto;
  min-height: var(--input-height-lg) !important;
  color: var(--body);
  box-shadow: initial !important;
  /* background-color: var(--background) !important; */
  /* border-color: var(--separator) !important; */
  border-radius: var(--border-radius-md);
  filter: none;
  transition: border-color 0.15s ease-in-out;
  padding: 7px;
}

/* Styling the selected options */
.custom-select-container .select2-container--default .select2-selection__choice {
  background-color: var(--background) !important;
  color: var(--color-fg) !important;
  border: 1px solid var(--border-color) !important;
  /*    font-size: 12px;
  padding: 2px 5px;*/
  padding: 5px 5px;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: var(--secondary) !important;
}

.custom-select-container label {
  /*top: 21px;*/
  /* left: 12px; */
  font-size: 12px;
  /*color: var(--primary);*/
  background-color: var(--foreground);
  padding: 0 6px;
  position: absolute;
  z-index: 1;
}

/* ==========================================================================
  GENERAL TABLE STYLES
  ========================================================================== */
.table {
  --bs-table-bg: rgba(0, 0, 0, 0);
  --bs-table-striped-color: var(--body);
  color: var(--body);
  border-color: var(--separator-light);
}

tr th,
tr td {
  text-align: center;
  vertical-align: middle;
  margin: auto;
  font-weight: normal;
}

table.dataTable tbody tr {
  background-color: var(--background);
}

thead tr th,
tfoot tr th {
  color: var(--primary);
  font-weight: normal;
}

tfoot tr th {
  background-color: var(--background);
}

/* ==========================================================================
   TABLE CONTAINER
   ========================================================================== */
.table-container {
  display: flex;
  flex-direction: inherit;
  overflow-x: auto;
  white-space: nowrap;
}
.table-container .table th i {
  position: absolute;
  margin-right: 5px;
  margin-left: 5px;
}

/* ==========================================================================
   FULL OVERFLOW TABLE
   ========================================================================== */
.table-full-overflow {
  position: relative;
  width: auto;
  height: auto;
  overflow-y: scroll;
  white-space: nowrap;
  max-height: calc(100vh - (var(--Nav-Height) + var(--Sub-Nav) + var(--Mobile-Footer) + 1em));
  margin-left: -2em;
}
.table-full-overflow .table th {
  border-top: none;
  word-wrap: break-word;
  white-space: normal;
  background-color: var(--background);
}
.table-full-overflow .table {
  margin-right: 2em;
  margin-left: 2em;
}
.table-full-overflow .tbody {
  cursor: grab;
}
.table-full-overflow .table-container {
  position: relative;
  overflow-x: auto;
  cursor: grab;
}
.table-full-overflow .table-container:active {
  cursor: grabbing;
}

/* ==========================================================================
   STICKY HEADER / FOOTER
   ========================================================================== */
thead,
tfoot {
  position: sticky;
  z-index: 10;
}

thead {
  top: 0;
  box-shadow: 0 8px 6px -6px var(--primary);
  background: var(--foreground);
}

tfoot {
  bottom: 0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
tfoot td {
  color: var(--background);
  padding: 10px;
}

.pipeline-bottom {
  justify-content: flex-start;
  display: flex;
}

/* ==========================================================================
   TABLE CELLS
   ========================================================================== */
th,
td {
  padding: 10px;
  text-align: left;
}

tbody tr:nth-child(even) {
  background-color: var(--foreground);
}

.table-body {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ==========================================================================
   TABLE SIZES
   ========================================================================== */
.table-sm thead,
.table-sm tfoot {
  font-size: 12px !important;
  font-weight: initial !important;
}
.table-sm td {
  vertical-align: middle;
}

/* ==========================================================================
   SCROLLBARS
   ========================================================================== */
.table-container::-webkit-scrollbar,
table::-webkit-scrollbar,
tbody::-webkit-scrollbar {
  width: 12.5px;
}

.table-container::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.table-container::-webkit-scrollbar-track,
table::-webkit-scrollbar-track,
tbody::-webkit-scrollbar-track {
  background: lightgrey;
  border-radius: 5px;
  box-shadow: inset 0 0 1px grey;
}

.table-container::-webkit-scrollbar-thumb,
table::-webkit-scrollbar-thumb,
tbody::-webkit-scrollbar-thumb {
  background: var(--MainThemeColor);
  border-radius: 5px;
}

/* ==========================================================================
   TOP SCROLLBAR
   ========================================================================== */
#top-scrollbar {
  width: 100%;
  max-width: none;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0;
  margin: 0;
}

#top-scrollbar-container {
  width: 100%;
  height: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  background: transparent;
  padding: 0;
  margin: 0;
}

#scrollbar-content {
  display: inline-block;
  width: calc(100% + 20px);
  min-width: 100%;
  height: 18px;
}

#top-scrollbar::-webkit-scrollbar {
  height: 18px;
}

#top-scrollbar::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 5px;
  box-shadow: inset 0 0 1px grey;
}

#top-scrollbar::-webkit-scrollbar-thumb {
  background: var(--MainThemeColor);
  border-radius: 5px;
}

#top-scrollbar-container::-webkit-scrollbar {
  height: 8px;
}

#top-scrollbar-container::-webkit-scrollbar-track {
  background: transparent;
}

/* ==========================================================================
   HORIZONTAL SCROLL INDICATORS
   ========================================================================== */
#tableArrowIndicators {
  pointer-events: none;
}

.horizontal-scroll-indicator {
  position: fixed;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  opacity: 0;
  font-size: 1.2rem;
  color: #555;
  background: rgba(128, 128, 128, 0.17);
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
}

.horizontal-scroll-indicator.indicator-left {
  left: 0;
}

.horizontal-scroll-indicator.indicator-right {
  right: 0;
}

.horizontal-scroll-indicator:not(.d-none) {
  opacity: 0.7;
}

.horizontal-scroll-indicator i {
  pointer-events: none;
}

/* ==========================================================================
   LOADER/SPINNER
   ========================================================================== */
.header-loading-spinner {
  position: absolute;
  top: 50%;
  left: 33%;
  transform: translate(-50%, -50%); /* Centers the spinner */
  display: none;
  z-index: 2; /* Ensures it's on top */
}

/* ==========================================================================
   MOBILE CARD LAYOUT
   ========================================================================== */
@media (max-width: 1024px) {
  .table-container[data-mobile=true] table,
  .table-container[data-mobile=true] thead,
  .table-container[data-mobile=true] tfoot {
    display: none;
  }
  .table-container[data-mobile=true] tbody,
  .table-container[data-mobile=true] tbody tr {
    display: block;
    width: 100%;
  }
  .table-container[data-mobile=true] tbody tr {
    margin-bottom: 10px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid var(--separator-light);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .table-container[data-mobile=true] tbody tr td {
    display: block;
    position: relative;
    text-align: left;
    font-weight: bold;
    padding: 10px 15px;
    border-bottom: none;
  }
  .table-container[data-mobile=true] tbody tr td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
    color: #888;
  }
}
/* ==========================================================================
   MOBILE HTML OVERRIDES
   ========================================================================== */
html[data-mobile=true] .table-container::-webkit-scrollbar,
html[data-mobile=true] .table-container table::-webkit-scrollbar,
html[data-mobile=true] .table-container tbody::-webkit-scrollbar {
  display: none;
}
html[data-mobile=true] .pipeline-bottom {
  position: fixed;
  bottom: 0;
  justify-content: center;
  width: 100%;
  height: var(--Mobile-Footer);
  background: var(--background);
}
html[data-mobile=true] .table-container {
  flex-direction: initial;
}
html[data-mobile=true] #tableArrowIndicators {
  display: none;
}

/* ==========================================================================
TABLE RESPONSIVE CARD VIEW
========================================================================== */
html[data-mobile=true] .table-responsive .more-options-div {
  display: none;
}

html[data-mobile=true] .table-responsive table {
  border-collapse: collapse;
  margin: 0;
}

html[data-mobile=true] .table-responsive table thead {
  display: none;
}

html[data-mobile=true] .table-responsive table tbody tr {
  display: block;
  width: 100% !important;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: end;
}

html[data-mobile=true] .table-full-overflow {
  width: fit-content;
}

html[data-mobile=true] .table-responsive table tbody td {
  display: flex !important;
  justify-content: space-between !important;
  overflow: hidden;
}

html[data-mobile=true] .table-responsive table tbody td:before {
  content: attr(data-content);
  flex: 0 1 40%;
  max-width: 40%;
  min-width: 0;
  margin-right: 10px;
  font-size: smaller;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

html[data-mobile=true] .table-full-overflow {
  display: table;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  white-space: normal;
}

html[data-mobile=true] .table-responsive table tbody td span {
  flex: 1 1 50%;
  max-width: 50%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-mobile=true] .table-responsive table tbody td:last-child {
  border-bottom: none;
}

/* ==========================================================================
MOBILE TFOOT CARD VIEW
========================================================================== */
html[data-mobile=true] .table-responsive table tfoot {
  position: relative;
}

html[data-mobile=true] .table-responsive table tfoot tr {
  display: block;
  width: 100% !important;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

html[data-mobile=true] .table-responsive table tfoot td {
  display: flex;
  justify-content: space-between;
  border: none;
  text-align: center;
}

html[data-mobile=true] .table-responsive table tfoot td:before {
  content: attr(data-content);
  margin-right: 10px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--background);
  text-align: left;
  text-overflow: ellipsis;
}

html[data-mobile=true] .table-responsive table tfoot td span {
  max-width: 50%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*
*
* Texts
*
* Bootstrap text styles.
*
*/
.text-primary {
  color: var(--primary) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

.text-white {
  color: var(--light-text) !important;
}

.text-black {
  color: var(--dark-text) !important;
}

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

.text-separator-light {
  color: var(--separator-light) !important;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-lowercase {
  text-transform: lowercase;
}

/*===============TEXT ALIGNMENT=================*/
.text-center {
  text-align: center !important;
}

.text-end {
  text-align: end !important;
}

.text-start {
  text-align: start !important;
}

/*
*
* Toast
*
* Bootstrap toast styles.
*
*/
.toast {
  border-radius: var(--border-radius-md);
  border-color: var(--separator);
  font-size: 1em;
  white-space: nowrap;
  background-color: var(--secondary);
  color: var(--color-bg);
  /*    background: rgba(var(--foreground-rgb), 0.9);*/
}

.toast-body,
.toast-header {
  /* padding: var(--card-spacing-sm);*/
  color: inherit;
  display: block;
  border: initial;
  background: initial;
}

.toast-header + .toast-body {
  padding-top: initial;
}

.btn-close {
  margin-right: -0.25rem;
  margin-left: 0.25rem;
}

.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  padding: 1em;
}

/*
*
* Tooltip
*
* Bootstrap tooltip styles.
*
*/
.tooltip .tooltip-inner {
  background: var(--primary);
  color: var(--light-text);
  font-size: 0.875em;
  border-radius: var(--border-radius-md);
  padding: 0.3rem 0.5rem;
}

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[x-placement^=top] .tooltip-arrow::before {
  border-top-color: var(--primary);
}

.bs-tooltip-start .tooltip-arrow::before,
.bs-tooltip-auto[x-placement^=left] .tooltip-arrow::before {
  border-left-color: var(--primary);
}

.bs-tooltip-end .tooltip-arrow::before,
.bs-tooltip-auto[x-placement^=right] .tooltip-arrow::before {
  border-right-color: var(--primary);
}

.bs-tooltip-bottom .tooltip-arrow::before,
.bs-tooltip-auto[x-placement^=bottom] .tooltip-arrow::before {
  border-bottom-color: var(--primary);
}

/* Remove max-width from chat messages */
#chatMessages .message span {
  max-width: none !important; /* Ensure no max-width is applied */
}

/* Ensure no width limit on bot messages */
#chatMessages .bot-message {
  max-width: none !important;
}

/* Ensure no width limit on user messages */
#chatMessages .user-message {
  max-width: none !important;
}

#chatPopup {
  font-size: 14px !important;
}

#chatInput {
  /* align-items: center; */
  /* justify-content: space-between; */
  position: relative;
  /*     height: 200px;
      bottom: 128px;*/
}

.chat-avatar {
  padding: 5px !important;
}

#chatPopup .message {
  color: black !important;
}

#chatPopup .typing {
  display: inline-block;
  font-weight: bold; /* Make the dots more prominent */
  position: relative;
  padding-left: 20px;
}

/* * * AltiSource (Granite GRM) experience * * * */
#AltiSourceExperience > .card,
#AltiSourceExperience .card.border {
  border: 0 !important;
}
#AltiSourceExperience .card-header > strong {
  color: var(--MainThemeColor);
}
#AltiSourceExperience .card-header {
  cursor: pointer;
}
#AltiSourceExperience .altisource-hidden {
  display: none !important;
}
#AltiSourceExperience .altisource-clickable {
  cursor: pointer;
}
#AltiSourceExperience .altisource-note-chat {
  height: 320px;
  overflow-y: auto;
  border: 1px solid #e3e8f2;
  border-radius: 14px;
  padding: 16px;
  background: #f9fbff;
}
#AltiSourceExperience .altisource-note-item {
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 4px solid transparent;
}
#AltiSourceExperience .altisource-note-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
#AltiSourceExperience .altisource-note-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e3edff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
#AltiSourceExperience .altisource-note-title {
  flex: 1;
  min-width: 0;
}
#AltiSourceExperience .altisource-note-type {
  font-weight: 600;
  font-size: 1.05rem;
  color: #111827;
}
#AltiSourceExperience .altisource-note-sub {
  color: #6b7280;
  font-size: 0.85rem;
}
#AltiSourceExperience .altisource-note-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #6b7280;
  font-size: 0.85rem;
}
#AltiSourceExperience .altisource-note-badge {
  background: #e3edff;
  color: #1d4ed8;
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 0.8rem;
  white-space: nowrap;
}
#AltiSourceExperience .altisource-note-badge-high {
  background: #fdecec;
  color: #b42318;
}
#AltiSourceExperience .altisource-note-bubble {
  max-width: 75%;
  margin: 8px auto 0 0;
  padding: 12px 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  background: #eef0f4;
  border-radius: 10px;
  color: #111827;
}
#AltiSourceExperience .altisource-note-own .altisource-note-head {
  justify-content: flex-end;
}
#AltiSourceExperience .altisource-note-own .altisource-note-info {
  justify-content: flex-end;
}
#AltiSourceExperience .altisource-note-own .altisource-note-bubble {
  background: #e6efff;
  margin-left: auto;
  margin-right: 0;
}
#AltiSourceExperience .altisource-note-important {
  border-left-color: #dc3545;
}
#AltiSourceExperience .altisource-note-text {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
#AltiSourceExperience .altisource-note-composer {
  display: flex;
  gap: 20px;
  border: 1px solid #e3e8f2;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}
@media (max-width: 767px) {
  #AltiSourceExperience .altisource-note-composer {
    flex-direction: column;
  }
}
#AltiSourceExperience .altisource-note-input {
  position: relative;
  flex: 1;
  min-width: 0;
}
#AltiSourceExperience .altisource-note-input-icon {
  position: absolute;
  top: 16px;
  left: 14px;
  color: #6b7280;
}
#AltiSourceExperience .altisource-note-textarea {
  width: 100%;
  min-height: 170px;
  resize: vertical;
  border: 1px solid #d5dae3;
  border-radius: 10px;
  padding: 12px 14px 30px 40px;
  outline: none;
}
#AltiSourceExperience .altisource-note-textarea:focus {
  border-color: #2563eb;
}
#AltiSourceExperience .altisource-note-count {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 0.8rem;
  color: #6b7280;
}
#AltiSourceExperience .altisource-note-side {
  width: 300px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  border-left: 1px solid #e3e8f2;
}
@media (max-width: 767px) {
  #AltiSourceExperience .altisource-note-side {
    width: 100%;
    padding-left: 0;
    border-left: 0;
  }
}
#AltiSourceExperience .altisource-party {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid #e3e7ee;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
  background: #fff;
}
#AltiSourceExperience .altisource-party-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}
#AltiSourceExperience .altisource-party-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-right: 12px;
}
#AltiSourceExperience .altisource-party-chip {
  color: #4b5563;
  padding: 0 12px;
  border-left: 1px solid #d5dae3;
  white-space: nowrap;
}
#AltiSourceExperience .altisource-party-chip i {
  color: #6b7280;
  margin-right: 4px;
}
#AltiSourceExperience .altisource-party-meta {
  flex-basis: 100%;
  color: #6b7280;
  font-size: 0.8rem;
  margin-top: 4px;
}
#AltiSourceExperience .altisource-party-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
#AltiSourceExperience .altisource-party-actions [data-altisource-action=edit-entity],
#AltiSourceExperience .altisource-party-actions [data-altisource-action=unlink-entity],
#AltiSourceExperience .altisource-party-actions [data-altisource-action=delete-project] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  margin: 0 !important;
}
#AltiSourceExperience .altisource-party-actions [data-altisource-action=edit-entity] {
  border: 1px solid #bcd0fb;
  background: #eaf1ff;
}
#AltiSourceExperience .altisource-party-actions [data-altisource-action=unlink-entity],
#AltiSourceExperience .altisource-party-actions [data-altisource-action=delete-project] {
  border: 1px solid #f5c2c2;
  background: #fdecec;
}
#AltiSourceExperience .altisource-pill {
  border-radius: 999px;
  padding: 4px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}
#AltiSourceExperience .altisource-pill-linked {
  background: #e3f6e8;
  color: #1a7f37;
}
#AltiSourceExperience .altisource-pill-link {
  background: #eaf1ff;
  color: #1d4ed8;
  border: 1px solid #bcd0fb;
}
#AltiSourceExperience .altisource-party-grid .altisource-doc-thumb {
  height: 160px;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
#AltiSourceExperience .altisource-party-grid .altisource-doc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#AltiSourceExperience .altisource-party-grid .altisource-doc-thumb-icon {
  font-size: 4rem;
  color: #6b7280;
}
#AltiSourceExperience .altisource-party-grid .altisource-doc-thumb-icon.altisource-file-pdf {
  color: #d93025;
}
#AltiSourceExperience .altisource-party-grid .altisource-doc-thumb-icon.altisource-file-word {
  color: #2b579a;
}
#AltiSourceExperience .altisource-party-grid .altisource-doc-thumb-icon.altisource-file-excel {
  color: #217346;
}
#AltiSourceExperience .altisource-party-grid .altisource-doc-thumb-icon.altisource-file-powerpoint {
  color: #d24726;
}
#AltiSourceExperience .altisource-party-grid .altisource-doc-thumb-icon.altisource-file-archive {
  color: #b7791f;
}
#AltiSourceExperience .altisource-party-grid .altisource-doc-thumb-icon.altisource-file-default {
  color: #6b7280;
}
#AltiSourceExperience .altisource-property-type {
  min-width: 220px;
}
#AltiSourceExperience .altisource-budget-type {
  min-width: 180px;
}
#AltiSourceExperience .altisource-initially-hidden {
  display: none;
}
#AltiSourceExperience .altisource-party-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
#AltiSourceExperience .altisource-party-grid .altisource-party {
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 0;
}
#AltiSourceExperience .altisource-party-grid .altisource-party-main {
  display: block;
}
#AltiSourceExperience .altisource-party-grid .altisource-party-name {
  display: block;
  margin: 0 0 6px 0;
  word-break: break-word;
}
#AltiSourceExperience .altisource-party-grid .altisource-party-chip {
  display: block;
  padding: 0;
  border-left: 0;
  white-space: normal;
  word-break: break-word;
  margin-bottom: 2px;
}
#AltiSourceExperience .altisource-party-grid .altisource-party-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  border-top: 1px solid #eef0f4;
  padding-top: 8px;
}
@media (max-width: 1199px) {
  #AltiSourceExperience .altisource-party-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  #AltiSourceExperience .altisource-party-grid {
    grid-template-columns: 1fr;
  }
}

.altisource-edit-dialog .modal-dialog {
  max-width: 560px;
  width: 560px;
  height: auto !important;
  margin: 1.75rem auto !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
}
.altisource-edit-dialog .modal-content {
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100vh - 3.5rem);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.altisource-edit-dialog .modal-body {
  flex: 0 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow-y: auto;
}

/*
*
* Animation
*
*
*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade-in {
  animation: fadeIn 0.5s ease-in-out; /* Adjust the duration and timing function as needed */
}

/*#region card flip */
.item-flip-container {
  position: relative;
}

.item-flip-card {
  width: 100%;
  height: 100%;
  /*position: absolute;*/
  transform-style: preserve-3d;
  transition: all 0.5s ease;
  background: white;
  border-radius: 0.75em;
  box-shadow: 0 0 4px 0 rgba(19, 19, 20, 0.48);
}

.item-flip-card-front {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  transform: rotateY(0deg);
}

.item-flip-card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  transform: rotateY(180deg);
}

.item-flip-card-placeholder {
  visibility: hidden;
}

a.loginTypeOptionButtons {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1.5/1;
  color: var(--primary) !important;
  border-radius: 0.75em;
  background: white;
  font-weight: bold;
  overflow: hidden;
  box-shadow: 0 0 4px 0 rgba(19, 19, 20, 0.48);
  letter-spacing: 0.05em;
  /* to prever cursor selection showing up on mobile view:*/
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

a.loginTypeOptionButtons:hover {
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--primary) !important;
}

@media (max-width: 1750px) {
  a.loginTypeOptionButtons {
    font-size: 0.85em;
  }
}
@media (max-width: 800px) {
  a.loginTypeOptionButtons {
    font-size: 0.8em;
  }
}
/*#endregion End of card flip */
@property --rotate {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.animated-edge-ring {
  position: relative; /* REQUIRED for pseudo-elements to anchor */
  border-radius: 12px; /* inheritably tweakable */
  z-index: 0; /* content sits above */
  background: #fff; /* or whatever your element background is */
}

/* Animated edge ring (only the rim is visible) */
.animated-edge-ring::before {
  content: "";
  position: absolute;
  inset: -4px; /* how far outside the edge */
  border-radius: inherit; /* match the element */
  padding: 0px;
  box-sizing: border-box;
  background: conic-gradient(from var(--rotate, 0deg), var(--primary) 0 180deg, var(--secondary) 180deg 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: aiEdgeSpin 6s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Soft outer glow behind the ring */
.animated-edge-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from var(--rotate, 0deg), var(--primary) 0 180deg, var(--secondary) 180deg 360deg);
  filter: blur(10px);
  opacity: 0.6;
  animation: aiEdgeSpin 10s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes aiEdgeSpin {
  to {
    --rotate: 360deg;
  }
}
/* Reduced motion safety */
@media (prefers-reduced-motion: reduce) {
  .animated-edge-ring::before,
  .animated-edge-ring::after {
    animation: none;
  }
}
/* works in headings, links, and inside .btn/.badge/etc. */
.animated-gradient-text {
  display: inline-block; /* ensure background clips to text width */
  background: conic-gradient(from var(--rotate, 0deg), var(--primary) 0 180deg, var(--secondary) 180deg 360deg);
  -webkit-background-clip: text;
  background-clip: text;
  /* force glyphs to be transparent so gradient shows */
  -webkit-text-fill-color: transparent; /* Safari/Chromium */
  color: transparent !important; /* beat Bootstrap text-* utilities */
  animation: aiEdgeSpin 1000ms linear infinite;
}

/* Optional slower variant */
.animated-gradient-text.slow {
  animation-duration: 12s;
}

/* If Bootstrap adds text-shadow/uppercase etc., you can override if needed */
.btn .animated-gradient-text {
  line-height: 1;
}

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce) {
  .animated-gradient-text {
    animation: none;
  }
}
.credit-card-container {
  width: 500px;
  bottom: 5rem;
}

.credit-card {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  background: linear-gradient(to right, #0044cc, #0080ff);
  color: white;
  padding: 20px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.card-chip {
  width: 50px;
  height: 55px;
}

.card-number, .card-holder, .card-expiry, .card-contactless, .card-novalogo {
  font-size: 18px;
  letter-spacing: 2px;
  position: absolute;
  font-family: "Roboto Mono", "SF Mono", monospace;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: bold;
}

.card-number {
  bottom: 80px;
  left: 20px;
}

.card-holder {
  bottom: 30px;
  left: 20px;
}

.card-expiry {
  bottom: 30px;
  right: 160px;
}

.card-logo {
  bottom: 30px;
  right: 20px;
}

.cc-logo {
  position: absolute;
  right: 35px;
  bottom: 60px;
  font-size: 4rem;
}

.card-contactless {
  top: 23px;
  left: 75px;
  height: 50px;
}

.credit-card.visa {
  background: linear-gradient(to right, #0044cc, #0080ff);
}

.credit-card.mastercard {
  background: linear-gradient(to right, #f59c20, #ba122e);
}

.credit-card.amex {
  background: linear-gradient(to right, #2e77bb, #0040ff);
}

.credit-card.discover {
  background: linear-gradient(to right, #ff7f00, #ff3b00);
}

.credit-card.diners {
  background: linear-gradient(to right, #4d4d4d, #999999);
}

.credit-card.jcb {
  background: linear-gradient(to right, #006600, #00cc00);
}

/*.doc-container {
    width: 80%;
    margin: 20px auto;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
}

.drop-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 40px;
    cursor: pointer;
    background-color: #f9f9f9;
    margin-bottom: 20px;
    position: relative;
}

.upload-icon {
    font-size: 48px;
    color: #ccc;
}

.browse-button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.browse-button:hover {
    background-color: #45a049;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
}

.file-table th, .file-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.file-table th {
    background-color: #f2f2f2;
}

.file-table img {
    max-height: 50px;
    border-radius: 5px;
}

.delete-button {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.delete-button:hover {
    background-color: darkred;
}
*/
.draw-doc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  .draw-doc-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .draw-doc-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.draw-doc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.draw-doc-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #f1f3f5;
  border: 0;
}
.draw-doc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.draw-doc-card-placeholder {
  color: #adb5bd;
  font-size: 40px;
}

.draw-doc-card-body {
  flex: 1 1 auto;
  padding: 10px;
}

.draw-doc-card-heading {
  overflow: hidden;
  color: #212529;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draw-doc-card-primary-metadata {
  margin: 8px 0 0;
}
.draw-doc-card-primary-metadata > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.draw-doc-card-primary-metadata dt,
.draw-doc-card-primary-metadata dd {
  margin: 0;
  font-size: 11px;
}
.draw-doc-card-primary-metadata dt {
  color: #6c757d;
  font-weight: 500;
}
.draw-doc-card-primary-metadata dd {
  color: #343a40;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draw-doc-card-status {
  display: flex;
  align-items: center;
  margin-top: 8px;
}
.draw-doc-card-status .draw-doc-status-badge {
  cursor: help;
}

.draw-doc-status-badge {
  flex: 0 0 auto;
  padding: 3px 8px;
  color: #495057;
  font-size: 11px;
  font-weight: 600;
  background: #e9ecef;
  border-radius: 999px;
}
.draw-doc-status-badge.is-within {
  color: #155724;
  background: #d4edda;
}
.draw-doc-status-badge.is-outside {
  color: #721c24;
  background: #f8d7da;
}
.draw-doc-status-badge.is-unverified {
  color: #856404;
  background: #fff3cd;
}
.draw-doc-status-badge.is-pending {
  color: #0c5460;
  background: #d1ecf1;
}

.draw-doc-status-reason {
  color: #6c757d;
  font-size: 11px;
  line-height: 1.35;
}

.draw-doc-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 7px 10px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}
.draw-doc-card-actions .btn {
  display: flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
}

.draw-doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.draw-doc-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.draw-doc-list-icon {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  height: 42px;
  background: #f1f3f5;
  border-radius: 6px;
}
.draw-doc-list-icon.is-pdf {
  background: #fdecea;
}
.draw-doc-list-icon.is-excel {
  background: #e6f4ea;
}

.draw-doc-list-info {
  flex: 1 1 auto;
  min-width: 0;
}

.draw-doc-list-title {
  color: #212529;
  font-weight: 600;
}

.draw-doc-list-subtitle {
  color: #6c757d;
}

.draw-doc-list-meta {
  color: #868e96;
  font-size: 12px;
}

.draw-doc-list-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.draw-doc-list-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #495057;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
}
.draw-doc-list-action-btn:hover {
  color: #212529;
  background: #f1f3f5;
}

#MyModal .modal-body.draw-doc-image-preview-active {
  position: relative;
  overflow: hidden !important;
}

.draw-doc-image-preview {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 16px;
  background: #fff;
}

.draw-doc-image-preview-header {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dee2e6;
}

.draw-doc-image-preview-title {
  min-width: 0;
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draw-doc-image-preview-close {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #495057;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 50%;
}
.draw-doc-image-preview-close:hover, .draw-doc-image-preview-close:focus {
  color: #212529;
  background: #f1f3f5;
}

.draw-doc-image-preview-canvas {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding-top: 16px;
  overflow: hidden;
}
.draw-doc-image-preview-canvas img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
.draw-doc-image-preview-canvas video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #000;
}

.draw-doc-image-preview-details {
  flex: 0 0 auto;
  min-height: 0;
  padding-top: 12px;
}

.draw-doc-video-frame-controls {
  flex: 0 0 auto;
  padding: 12px 0 4px;
  border-top: 1px solid #dee2e6;
}
.draw-doc-video-frame-controls .custom-range {
  width: 100%;
}

.draw-doc-image-preview-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.draw-doc-image-preview-status-reason {
  color: #6c757d;
  font-size: 12px;
  line-height: 1.35;
}

.draw-doc-image-preview-metadata {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 16px;
  margin: 0;
}
.draw-doc-image-preview-metadata > div {
  min-width: 0;
}
.draw-doc-image-preview-metadata dt,
.draw-doc-image-preview-metadata dd {
  margin: 0;
  font-size: 12px;
}
.draw-doc-image-preview-metadata dt {
  color: #6c757d;
  font-weight: 500;
}
.draw-doc-image-preview-metadata dd {
  overflow: hidden;
  color: #343a40;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*
*
* Messaging/Notes
*
*
*/
.speech-bubble {
  position: relative;
  padding: 10px;
  border-radius: 8px;
  margin: 10px;
  max-width: fit-content;
}

.speech-bubble:after {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -10px; /* Adjust this value based on your bubble's height */
  border-width: 10px;
  border-style: solid;
}

.loggedInUserAuthor .speech-bubble {
  background-color: var(--info);
  color: #fff;
  border-color: transparent transparent transparent var(--info);
}

.recipientAuthor .speech-bubble {
  background-color: var(--success);
  color: #fff;
  border-color: transparent transparent transparent var(--success);
}

.loggedInUserAuthor .speech-bubble:after {
  left: 100%;
  border-color: transparent transparent transparent var(--info);
}

.recipientAuthor .speech-bubble:after {
  right: 100%;
  border-color: transparent var(--success) transparent transparent;
}

#commentsContainerWrapper {
  height: 300px;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: transparent transparent; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

#commentsContainerWrapper::-webkit-scrollbar {
  width: 6px; /* Chrome, Safari, Opera */
}

#commentsContainerWrapper::-webkit-scrollbar-thumb {
  background-color: transparent; /* Chrome, Safari, Opera */
}

/* * * Needs (Needs list, row, notes and documents partials) * * */
.ai-review-btn {
  white-space: nowrap;
  margin-top: 2px;
}

#partialContainer > .col-12.row.mx-0 {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
#partialContainer > .col-12.row.mx-0 > .row.mx-0 {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
#partialContainer > .col-12.row.mx-0 .needs-view-toggle {
  margin-left: auto;
  margin-right: 0;
}
#partialContainer > .col-12.row.mx-0 .needs-review-ai .ai-review-btn {
  margin-top: 0;
}

.dataTables_scrollHeadInner table {
  min-height: 3em;
}

.dataTables_scrollHeadInner #statusLegendInfoHeader,
.dataTables_scrollHeadInner #needIconsLegendHeader {
  cursor: help;
}

.status-legend-info {
  display: block;
  position: absolute;
  top: 0.15em;
  left: 3em;
  transform: translateX(-100%);
  transition: transform 0.4s ease-out, opacity 0.5s ease-out;
  opacity: 0;
  z-index: 999;
}

.dataTables_scrollHeadInner th:hover .status-legend-info {
  transform: translateX(5%);
  opacity: 1;
}

/* Icon Legend */
.need-icon-legend-info {
  display: flex;
  position: absolute;
  top: 3em;
  right: 0;
  transform: translateX(150%);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
  z-index: 999;
}

.icon-guide:hover .need-icon-legend-info {
  transform: translateX(0%);
  opacity: 1;
}

#Msg {
  color: red;
  font-weight: bold;
}

.addNoteIcon {
  width: 18px;
  height: 21px;
  bottom: 15px;
  cursor: pointer;
  display: inline-block;
}
.addNoteIcon .fa-sticky-note:after {
  position: relative;
  content: "+";
  color: var(--light-text);
  font-weight: bold;
  z-index: 5;
  right: 1.4em;
  bottom: 0.15em;
  font-size: 0.6em;
}

.expiredDoc {
  width: 18px;
  height: 21px;
  bottom: 15px;
  cursor: pointer;
  display: inline-block;
}
.expiredDoc .fa-file-alt:after {
  position: relative;
  content: "X";
  color: red;
  font-weight: bold;
  left: -12px;
  z-index: 5;
}

.dataTables_scrollBody .expiredDoc {
  font-size: 1.35em;
}

.myProgress {
  width: 100%;
  background-color: grey;
  margin: 10px;
}

.myBar {
  width: 0%;
  height: 25px;
  background-color: var(--success);
  text-align: center;
  line-height: 25px;
  color: var(--light-text);
  font-size: 1em;
}

.center-icons {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  text-align: center;
  min-height: 5.5em;
}

.status-legend-pill {
  border-radius: 1em;
  color: var(--light-text);
}

@media (max-width: 768px) {
  .icon-guide {
    display: none;
  }
}
/* Add note modal */
.modal-body .sendBtn {
  position: absolute;
  bottom: 35px;
  right: 30px;
}

/* Need documents modal */
.needs-modal-container {
  display: flex;
  max-height: 78vh;
  overflow: auto;
  gap: 0.5em;
}
.needs-modal-container .checklist {
  font-family: Arial, sans-serif;
  border: 1px solid var(--separator);
  padding: 20px;
  flex-basis: 50%;
  min-height: 100%;
  overflow: auto;
}
.needs-modal-container .document-wrapper {
  border: 1px solid var(--separator);
  padding: 15px;
  position: relative;
  flex-basis: 50%;
  min-height: 100%;
  overflow: auto;
}
.needs-modal-container .document-details {
  float: right;
  font-size: 10px;
}
.needs-modal-container .document-title {
  font-size: 0.75em;
  margin-top: 20px;
}
.needs-modal-container .document-file-name {
  word-break: break-all;
  overflow-wrap: break-word;
  margin-bottom: 0;
}
.needs-modal-container .document-actions {
  margin-top: 20px;
}
.needs-modal-container .checkbox-label {
  margin-right: 30px;
}
.needs-modal-container .btn-group.pull-right {
  display: flex;
  gap: 10px;
}
.needs-modal-container h3 {
  margin-bottom: 20px;
}
.needs-modal-container .checklist-item {
  padding: 10px;
  border-bottom: 1px solid var(--separator);
}
.needs-modal-container .task-name {
  font-weight: bold;
  color: var(--body);
  vertical-align: top;
}
.needs-modal-container input[type=checkbox] {
  margin-right: 10px;
  width: 1.25em;
  height: 1.25em;
}
.needs-modal-container .need-checklist-history-font {
  font-size: 0.75em;
}

.highlight-selected {
  border: 2px solid red;
}

.need-doc-thumb {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
  border: 1px solid var(--separator);
  border-radius: 4px;
  overflow: hidden;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
}
.need-doc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.need-doc-thumb-icon {
  display: flex;
}

/* Needs table - modern look (Upload Files column intentionally unchanged) */
table.needs#sort {
  border-collapse: separate;
  border-spacing: 0;
  background: var(--foreground);
  border: 1px solid var(--separator);
  border-radius: 8px;
  font-size: 14px;
  color: var(--body);
}
table.needs#sort thead th {
  background: var(--foreground);
  color: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 8px;
  border-bottom: 1px solid var(--separator);
  white-space: nowrap;
  vertical-align: middle;
}
table.needs#sort tbody td {
  padding: 12px 8px;
  vertical-align: middle;
  border-top: 0;
  border-bottom: 1px solid var(--separator);
  background: var(--foreground);
}
table.needs#sort tbody tr:last-child td {
  border-bottom: 0;
}
table.needs#sort tbody tr:hover td {
  background: var(--background-light);
}
table.needs#sort tbody td:first-child {
  width: 6px;
  min-width: 6px;
  padding: 0;
}
table.needs#sort .need-group {
  color: var(--body);
}
table.needs#sort .comment {
  margin: 0;
  display: inline;
  color: var(--body);
}
table.needs#sort .needEditDescription {
  color: var(--alternate);
  cursor: pointer;
  margin-left: 6px;
  font-size: 12px;
}
table.needs#sort .needEditDescription:hover, table.needs#sort .needEditDescription:focus-visible {
  color: var(--MainThemeColor);
}
table.needs#sort input.checkbox {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  accent-color: var(--primary);
  cursor: pointer;
}
table.needs#sort input.checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
table.needs#sort .needContactsLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--background-light);
  border: 1px solid var(--separator);
  color: var(--body);
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}
table.needs#sort .needContactsLink:hover, table.needs#sort .needContactsLink:focus-visible {
  background: var(--separator);
  color: var(--body);
}
table.needs#sort .needContactsLink .fa-2x {
  font-size: 15px;
}
table.needs#sort td.internalNeedIndicator .needContactsLink {
  background: color-mix(in srgb, var(--warning) 18%, var(--foreground));
  border-color: color-mix(in srgb, var(--warning) 50%, var(--foreground));
  color: var(--warning-darker);
}
table.needs#sort .text-primary {
  color: var(--primary) !important;
}
table.needs#sort .AddCommentNeedNote,
table.needs#sort .fileNotes,
table.needs#sort .needDeleteLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  cursor: pointer;
  color: var(--alternate);
  transition: color 0.12s ease, background-color 0.12s ease;
}
table.needs#sort .AddCommentNeedNote:hover,
table.needs#sort .fileNotes:hover,
table.needs#sort .needDeleteLink:hover {
  background: var(--background-light);
  border-radius: 6px;
}
table.needs#sort .needDeleteLink:hover {
  color: var(--danger);
}

.ai-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--background-light);
  color: var(--body);
}

.ai-pill--ok {
  background: color-mix(in srgb, var(--success) 18%, var(--foreground));
  color: var(--success);
}

.ai-pill--info {
  background: color-mix(in srgb, var(--info) 15%, var(--foreground));
  color: var(--info);
}

.ai-pill--bad {
  background: color-mix(in srgb, var(--danger) 15%, var(--foreground));
  color: var(--danger);
}

.ai-pill--warn {
  background: color-mix(in srgb, var(--warning) 18%, var(--foreground));
  color: var(--warning-darker);
}

/* ===== _needs-documents ===== */
.aiverified {
  color: var(--success);
}

.aiunverified {
  color: var(--alternate);
}

/* AI summary: thin animated border ring only (not a fill) and skeleton loader */
#aiSummary .animated-edge-ring::before {
  inset: -1px;
  padding: 1px;
}
#aiSummary .animated-edge-ring::after {
  inset: -1px;
  filter: blur(3px);
  opacity: 0.35;
}
#aiSummary .animated-edge-ring > .card-body {
  background: var(--foreground);
  border-radius: 12px;
}
#aiSummary .ai-skeleton .line {
  position: relative;
  height: 10px;
  margin: 10px 0;
  border-radius: 6px;
  background: var(--background-light);
  overflow: hidden;
}
#aiSummary .ai-skeleton .line.thick {
  height: 14px;
}
#aiSummary .ai-skeleton .line.short {
  width: 60%;
}
#aiSummary .ai-skeleton .line .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: needAiShimmer 1.4s infinite;
}

@keyframes needAiShimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
/* Attached Documents / Rules layout */
.needs-modal-container.needs-docs-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  max-height: 78vh;
  overflow: auto;
  padding: 12px 0;
}
.needs-modal-container.needs-docs-layout .needs-docs-card {
  flex: 1 1 420px;
  min-width: min(420px, 100%);
  max-width: 100%;
  min-height: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0 12px;
  overflow: visible;
}
.needs-modal-container.needs-docs-layout .needs-docs-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.needs-modal-container.needs-docs-layout .needs-docs-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--alternate);
}
.needs-modal-container.needs-docs-layout .needs-docs-icon {
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 12%, var(--foreground));
  color: var(--primary);
  font-size: 22px;
}
.needs-modal-container.needs-docs-layout .needs-docs-subtitle {
  margin: 2px 0 0;
  color: var(--alternate);
  font-size: 14px;
}
.needs-modal-container.needs-docs-layout .needs-docs-select label {
  color: var(--alternate);
  font-size: 14px;
  font-weight: 400;
}
.needs-modal-container.needs-docs-layout .needs-docs-select select {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--separator);
  min-height: 44px;
  color: var(--alternate);
}
.needs-modal-container.needs-docs-layout .needs-docs-body {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin: 20px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--separator);
}
.needs-modal-container.needs-docs-layout .needs-docs-body .need-doc-thumb {
  flex: 0 0 150px;
  width: 150px;
  height: 170px;
  margin: 0;
  border: 2px solid color-mix(in srgb, var(--primary) 30%, var(--foreground));
  border-radius: 14px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, var(--foreground));
}
.needs-modal-container.needs-docs-layout .needs-docs-meta {
  flex: 1 1 0;
  min-width: 0;
}
.needs-modal-container.needs-docs-layout .needs-docs-meta-block {
  float: none;
  margin: 0;
}
.needs-modal-container.needs-docs-layout .needs-docs-meta-block p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--alternate);
}
.needs-modal-container.needs-docs-layout .needs-docs-meta-block strong {
  display: block;
  font-weight: 400;
}
.needs-modal-container.needs-docs-layout .needs-docs-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 2px;
}
.needs-modal-container.needs-docs-layout .needs-docs-meta-block .document-file-name {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.needs-modal-container.needs-docs-layout .needs-docs-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--background-light);
  font-size: 14px !important;
}
.needs-modal-container.needs-docs-layout .needs-docs-ai-pill strong {
  display: inline;
  font-weight: 400;
}
.needs-modal-container.needs-docs-layout .needs-docs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--alternate);
}
.needs-modal-container.needs-docs-layout .needs-docs-actions {
  margin-top: 0;
}
.needs-modal-container.needs-docs-layout .needs-docs-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-bottom: 20px;
}
.needs-modal-container.needs-docs-layout .needs-docs-check {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: var(--background-light);
  border: 2px solid color-mix(in srgb, var(--primary) 30%, var(--foreground));
  border-radius: 14px;
}
.needs-modal-container.needs-docs-layout .needs-docs-check input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  position: static;
  width: 22px;
  height: 22px;
  margin: 0;
  background: var(--foreground);
  border: 2px solid var(--primary);
  border-radius: 6px;
  cursor: pointer;
}
.needs-modal-container.needs-docs-layout .needs-docs-check input[type=checkbox]:checked {
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M5 10.5l3.5 3.5L15 7'/%3E%3C/svg%3E") center/80% no-repeat;
}
.needs-modal-container.needs-docs-layout .needs-docs-check input[type=checkbox]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.needs-modal-container.needs-docs-layout .needs-docs-check label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--body);
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
}
.needs-modal-container.needs-docs-layout .needs-docs-check .fa-info-circle {
  color: var(--primary);
  margin-left: 10px;
  font-size: 20px;
}
.needs-modal-container.needs-docs-layout .needs-docs-thumb-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.needs-modal-container.needs-docs-layout .needs-docs-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
}
.needs-modal-container.needs-docs-layout .needs-docs-rules-info {
  position: relative;
  padding: 24px 24px 24px 80px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 12%, var(--foreground));
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--foreground));
  color: var(--alternate);
  font-weight: 400;
}
.needs-modal-container.needs-docs-layout .needs-docs-rules-info strong {
  font-weight: 400;
}
.needs-modal-container.needs-docs-layout .needs-docs-rules-info ul {
  margin: 0;
  padding-left: 20px;
}
.needs-modal-container.needs-docs-layout .needs-docs-rules-info li {
  margin-bottom: 10px;
}
.needs-modal-container.needs-docs-layout .needs-docs-rules-info-icon {
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: 34px;
  color: var(--primary);
}
.needs-modal-container.needs-docs-layout .checklist-item {
  padding: 12px 0;
}

.needs-ai-beta {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--info);
  background: color-mix(in srgb, var(--info) 15%, var(--foreground));
  border: 1px solid color-mix(in srgb, var(--info) 35%, var(--foreground));
  border-radius: 999px;
}

.needs-docs-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 500;
  --needs-btn: var(--primary);
  color: var(--needs-btn);
  background: transparent;
  border: 1px solid var(--needs-btn);
  border-radius: 999px;
  cursor: pointer;
}
.needs-docs-icon-btn:hover {
  color: var(--light-text);
  background: var(--needs-btn);
}
.needs-docs-icon-btn.needs-docs-icon-danger {
  --needs-btn: var(--danger);
}

/* ===== _needs-preview ===== */
body.nfp-open {
  overflow: hidden;
}

.nfp-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
}
.nfp-overlay[hidden] {
  display: none;
}
.nfp-overlay .nfp-dialog {
  display: flex;
  flex-direction: column;
  width: 75vw;
  height: 75vh;
  background: var(--foreground);
  border: 1px solid var(--separator);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}
.nfp-overlay .nfp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--separator);
}
.nfp-overlay .nfp-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.nfp-overlay .nfp-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nfp-overlay .nfp-type {
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--body);
  background: var(--background-light);
  border-radius: 999px;
}
.nfp-overlay .nfp-download {
  cursor: pointer;
}
.nfp-overlay .nfp-download:hover {
  color: var(--primary);
}
.nfp-overlay .nfp-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nfp-overlay .nfp-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--body);
}
.nfp-overlay .nfp-close:hover {
  background: var(--background-light);
}
.nfp-overlay .nfp-stage {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
  background: var(--background-light);
}
.nfp-overlay .nfp-content {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 56px;
}
.nfp-overlay .nfp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--separator);
  border-radius: 50%;
  background: var(--foreground);
  color: var(--body);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}
.nfp-overlay .nfp-nav:hover {
  background: var(--background-light);
}
.nfp-overlay .nfp-prev {
  left: 8px;
}
.nfp-overlay .nfp-next {
  right: 8px;
}
.nfp-overlay .nfp-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--separator);
}
.nfp-overlay .nfp-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--separator);
}
.nfp-overlay .nfp-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}
.nfp-overlay .nfp-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.nfp-overlay .nfp-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--foreground);
}
.nfp-overlay .nfp-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--alternate);
}
.nfp-overlay .nfp-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--separator);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: nfpSpin 0.8s linear infinite;
}
.nfp-overlay .nfp-fallback {
  max-width: 420px;
  text-align: center;
  color: var(--body);
}
.nfp-overlay .nfp-fallback-icon {
  font-size: 3rem;
  color: var(--alternate);
  margin-bottom: 12px;
}
.nfp-overlay .nfp-fallback-name {
  font-weight: 500;
  color: var(--body);
  word-break: break-word;
}
.nfp-overlay .nfp-fallback-ext,
.nfp-overlay .nfp-fallback-size {
  font-size: 0.85rem;
  color: var(--alternate);
}
.nfp-overlay .nfp-fallback-msg {
  margin: 12px 0;
}
.nfp-overlay .nfp-sheet,
.nfp-overlay .nfp-doc,
.nfp-overlay .nfp-text {
  align-self: stretch;
  width: 100%;
  background: var(--foreground);
  border: 1px solid var(--separator);
  border-radius: 6px;
}
.nfp-overlay .nfp-sheet {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.nfp-overlay .nfp-sheet-tabs {
  display: flex;
  gap: 4px;
  padding: 6px 6px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--separator);
}
.nfp-overlay .nfp-sheet-tab {
  padding: 4px 12px;
  border: 1px solid transparent;
  border-radius: 6px 6px 0 0;
  background: transparent;
  color: var(--body);
  white-space: nowrap;
}
.nfp-overlay .nfp-sheet-tab.active {
  background: var(--foreground);
  border-color: var(--separator) var(--separator) var(--foreground);
  color: var(--primary);
  margin-bottom: -1px;
}
.nfp-overlay .nfp-sheet-view {
  flex: 1 1 auto;
  overflow: auto;
}
.nfp-overlay .nfp-table {
  border-collapse: collapse;
  font-size: 0.8rem;
}
.nfp-overlay .nfp-table th, .nfp-overlay .nfp-table td {
  padding: 4px 10px;
  border: 1px solid var(--separator);
  white-space: nowrap;
  font-weight: 400;
}
.nfp-overlay .nfp-table tr:first-child th {
  position: sticky;
  top: 0;
  background: var(--background-light);
  font-weight: 500;
}
.nfp-overlay .nfp-doc {
  padding: 24px 32px;
  overflow: auto;
  align-self: stretch;
  color: var(--body);
}
.nfp-overlay .nfp-doc img {
  max-width: 100%;
}
.nfp-overlay .nfp-doc table {
  border-collapse: collapse;
}
.nfp-overlay .nfp-doc table td, .nfp-overlay .nfp-doc table th {
  border: 1px solid var(--separator);
  padding: 4px 8px;
}
.nfp-overlay .nfp-text {
  margin: 0;
  padding: 16px;
  overflow: auto;
  font-size: 0.8rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.nfp-overlay .nfp-note {
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--alternate);
}
.nfp-overlay .nfp-error {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 6px 14px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--danger) 15%, var(--foreground));
  color: var(--danger);
  font-size: 0.85rem;
}

@keyframes nfpSpin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 767.98px) {
  .nfp-overlay .nfp-dialog {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .nfp-overlay .nfp-content {
    padding: 8px 48px;
  }
}
/* ===== _needs-subnav ===== */
#partialContainer .needs-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
#partialContainer .needs-nav .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 400;
  --needs-btn: var(--primary);
  color: var(--needs-btn);
  background: transparent;
  border: 1px solid var(--needs-btn);
  border-radius: 14px;
}
#partialContainer .needs-nav .btn:hover, #partialContainer .needs-nav .btn:focus, #partialContainer .needs-nav .btn:active, #partialContainer .needs-nav .btn.show {
  color: var(--light-text);
  background: var(--needs-btn);
}
#partialContainer .needs-nav-split {
  border-radius: 14px;
}
#partialContainer .needs-nav-split > .btn,
#partialContainer .needs-nav-split > .btn-group > .btn {
  border-radius: 0;
}
#partialContainer .needs-nav-split > .btn:first-child {
  border-radius: 14px 0 0 14px;
  padding-right: 22px;
}
#partialContainer .needs-nav-split > .btn-group:last-child > .btn {
  border-radius: 0 14px 14px 0;
  border-left: 0;
  padding: 0 14px;
}
#partialContainer .needs-nav-split .dropdown-toggle::after {
  width: 8px;
  height: 8px;
  margin: 0;
  border: 0;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
#partialContainer .needs-nav-summary .btn .fa-file-lines {
  font-size: 20px;
}
#partialContainer .needs-nav-ai .btn {
  --needs-btn: var(--secondary);
}
#partialContainer .needs-nav-ai .btn .fa-sparkle {
  font-size: 20px;
}
#partialContainer .needs-nav .needs-nav-icon {
  width: 50px;
  padding: 0;
  justify-content: center;
}
#partialContainer .needs-nav .needs-nav-icon i {
  font-size: 18px;
}
#partialContainer .needs-nav .needs-nav-icon.btnToggleResponse {
  position: relative;
}
#partialContainer .needs-nav .needs-nav-icon.btnToggleResponse[hidden] {
  display: none;
}
#partialContainer .needs-nav .needs-nav-icon .needs-nav-dot {
  position: absolute;
  top: 6px;
  right: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  border: 1.5px solid var(--foreground);
}
#partialContainer .needs-nav .needs-nav-icon .needs-nav-dot[hidden] {
  display: none;
}
#partialContainer .needs-nav .needs-nav-review {
  --needs-btn: var(--danger);
}
#partialContainer .needs-nav .needs-nav-review .fa-file-lines {
  font-size: 20px;
}
#partialContainer .needs-nav .dropdown-menu .dropdown-item {
  display: block;
  width: 100%;
  height: auto;
  padding: 0.4rem 1rem;
  gap: 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#partialContainer .needs-nav .dropdown-menu .dropdown-item:hover, #partialContainer .needs-nav .dropdown-menu .dropdown-item:focus {
  background: var(--background-light);
}
#partialContainer .needs-nav-right .copy-message {
  display: none;
}

/* ===== Add new need form ===== */
#partialContainer #addNeed.needs-add {
  padding: 8px 0;
  row-gap: 8px;
}
#partialContainer #addNeed.needs-add label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}
#partialContainer #addNeed.needs-add label i {
  color: var(--primary);
  font-size: 16px;
}
#partialContainer #addNeed.needs-add .needs-add-opt {
  font-weight: 400;
}
#partialContainer #addNeed.needs-add .form-control {
  height: 46px;
  border: 1px solid var(--separator);
  border-radius: 10px;
  background-color: var(--foreground);
  box-shadow: none;
  color: var(--body);
}
#partialContainer #addNeed.needs-add .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}
#partialContainer #addNeed.needs-add select.form-control {
  height: 46px;
  min-height: 46px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 44px;
}
#partialContainer #addNeed.needs-add .needs-add-fields > div {
  margin-bottom: 14px;
}
#partialContainer #addNeed.needs-add .needs-add-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
#partialContainer #addNeed.needs-add .needs-add-head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 12%, var(--foreground));
  color: var(--primary);
  font-size: 20px;
}
#partialContainer #addNeed.needs-add label.needs-add-title {
  margin: 0;
  font-size: 16px;
  color: var(--primary);
}
#partialContainer #addNeed.needs-add .needs-add-sub {
  font-size: 13px;
  color: var(--alternate);
}
#partialContainer #addNeed.needs-add .needs-add-upload-label {
  margin-left: 15px;
}
#partialContainer #addNeed.needs-add .doc-container {
  position: relative;
  margin: 0 15px;
  padding: 28px 16px;
  width: auto;
  max-width: calc(100% - 30px);
  flex: 0 0 calc(100% - 30px);
  min-height: 190px;
  justify-content: center;
  align-items: center;
  border: 2px dashed color-mix(in srgb, var(--primary) 30%, var(--foreground));
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 12%, var(--foreground));
}
#partialContainer #addNeed.needs-add .doc-container:hover {
  background: color-mix(in srgb, var(--primary) 12%, var(--foreground));
}
#partialContainer #addNeed.needs-add .doc-label {
  position: static;
  top: auto;
  font-size: 17px;
  color: var(--body);
  pointer-events: none;
}
#partialContainer #addNeed.needs-add .doc-label strong {
  font-weight: 600;
  color: var(--primary);
}
#partialContainer #addNeed.needs-add .needs-add-upload-icon {
  font-size: 44px;
  color: var(--primary);
  margin-bottom: 8px;
}
#partialContainer #addNeed.needs-add .needs-add-upload-hint {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--alternate);
}
#partialContainer #addNeed.needs-add .fu_doc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
#partialContainer #addNeed.needs-add .fu_doc:hover {
  box-shadow: none;
}
#partialContainer #addNeed.needs-add .fileList {
  position: relative;
  z-index: 2;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
#partialContainer #addNeed.needs-add .needs-add-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 8px;
}
#partialContainer #addNeed.needs-add .needs-add-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 170px;
  height: 46px;
  border-radius: 10px;
  font-weight: 600;
}
#partialContainer #addNeed.needs-add .needs-add-visibility {
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
}
#partialContainer #addNeed.needs-add .needs-add-visibility:hover {
  color: var(--light-text);
  background: var(--primary);
}
#partialContainer #addNeed.needs-add .needs-add-save {
  color: var(--light-text);
  background: var(--primary);
  border: 1px solid var(--primary);
}
#partialContainer #addNeed.needs-add .needs-add-save:hover {
  background: var(--primary-darker);
}

/* ===== Need row description box ===== */
.needs-desc-box {
  position: relative;
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--need-status, var(--separator));
  border-radius: 10px;
  background: var(--background-light);
  background: color-mix(in srgb, var(--need-status, var(--separator)) 14%, var(--foreground));
}
.needs-desc-box .comment {
  margin: 0;
}
.needs-desc-box .needEditDescription {
  position: absolute;
  top: 6px;
  right: 8px;
  cursor: pointer;
}

html[data-colormode=dark] .needs-desc-box {
  background: color-mix(in srgb, var(--need-status, var(--body)) 22%, var(--foreground));
}

/* ===== Dark mode overrides for the Needs documents, preview and toolbar styles ===== */
html[data-colormode=dark] #partialContainer #addNeed.needs-add label,
html[data-colormode=dark] #partialContainer #addNeed.needs-add label.needs-add-title {
  color: var(--color-fg);
}
html[data-colormode=dark] #partialContainer #addNeed.needs-add label i,
html[data-colormode=dark] #partialContainer #addNeed.needs-add label.needs-add-title i {
  color: var(--primary);
}
html[data-colormode=dark] #partialContainer #addNeed.needs-add .needs-add-sub {
  color: var(--alternate);
}
html[data-colormode=dark] #partialContainer #addNeed.needs-add .needs-add-head-icon {
  background: color-mix(in srgb, var(--primary) 12%, var(--foreground));
  color: var(--primary);
}
html[data-colormode=dark] #partialContainer #addNeed.needs-add .form-control {
  background-color: var(--background-light);
  border-color: var(--separator);
  color: var(--body);
}
html[data-colormode=dark] #partialContainer #addNeed.needs-add .doc-container {
  background: var(--background-light);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--foreground));
}
html[data-colormode=dark] #partialContainer #addNeed.needs-add .doc-container:hover {
  background: var(--foreground);
}
html[data-colormode=dark] #partialContainer #addNeed.needs-add .doc-label {
  color: var(--body);
}
html[data-colormode=dark] #partialContainer #addNeed.needs-add .doc-label strong {
  color: var(--color-fg);
}
html[data-colormode=dark] #partialContainer #addNeed.needs-add .needs-add-upload-hint {
  color: var(--alternate);
}
html[data-colormode=dark] .aiverified {
  color: var(--success);
}
html[data-colormode=dark] .aiunverified {
  color: var(--alternate);
}
html[data-colormode=dark] #aiSummary .animated-edge-ring > .card-body {
  background: var(--foreground);
  color: var(--body);
}
html[data-colormode=dark] #aiSummary .ai-skeleton .line {
  background: var(--background-light);
}
html[data-colormode=dark] #aiSummary .ai-skeleton .line .shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-header h3,
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-label,
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-check label {
  color: var(--color-fg);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-subtitle,
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-meta-block p,
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-select label,
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-select select,
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-rules-info {
  color: var(--body);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-icon {
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  color: var(--primary);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-select select {
  background: var(--foreground);
  border-color: var(--separator);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-body {
  border-bottom-color: var(--separator);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-body .need-doc-thumb {
  background: var(--background);
  border-color: var(--separator);
  box-shadow: 0 0 0 4px var(--separator-light);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-ai-pill {
  background: var(--background-light);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-dot {
  background: var(--alternate);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-check {
  background: var(--foreground);
  border-color: var(--separator);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-check input[type=checkbox] {
  background: var(--background);
  border-color: var(--primary);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-check input[type=checkbox]:checked {
  background-color: var(--primary);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-check .fa-info-circle {
  color: var(--primary);
}
html[data-colormode=dark] .needs-modal-container.needs-docs-layout .needs-docs-rules-info {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
}
html[data-colormode=dark] .needs-ai-beta {
  color: var(--info);
  background: color-mix(in srgb, var(--info) 25%, transparent);
  border-color: color-mix(in srgb, var(--info) 50%, transparent);
}
html[data-colormode=dark] .needs-docs-icon-btn {
  color: var(--body);
  background: var(--background-light);
}
html[data-colormode=dark] .needs-docs-icon-btn:hover {
  color: var(--primary);
}
html[data-colormode=dark] .needs-docs-icon-btn.needs-docs-icon-danger:hover {
  color: var(--danger);
}
html[data-colormode=dark] .nfp-overlay {
  background: rgba(0, 0, 0, 0.7);
}
html[data-colormode=dark] .nfp-overlay .nfp-dialog {
  background: var(--foreground);
  border-color: var(--separator);
}
html[data-colormode=dark] .nfp-overlay .nfp-header,
html[data-colormode=dark] .nfp-overlay .nfp-dots {
  border-color: var(--separator);
}
html[data-colormode=dark] .nfp-overlay .nfp-title {
  color: var(--color-fg);
}
html[data-colormode=dark] .nfp-overlay .nfp-type {
  color: var(--body);
  background: var(--background-light);
}
html[data-colormode=dark] .nfp-overlay .nfp-download:hover {
  color: var(--primary);
}
html[data-colormode=dark] .nfp-overlay .nfp-close {
  color: var(--body);
}
html[data-colormode=dark] .nfp-overlay .nfp-close:hover {
  background: var(--background-light);
}
html[data-colormode=dark] .nfp-overlay .nfp-stage {
  background: var(--background);
}
html[data-colormode=dark] .nfp-overlay .nfp-nav {
  background: var(--foreground);
  border-color: var(--separator);
  color: var(--body);
}
html[data-colormode=dark] .nfp-overlay .nfp-nav:hover {
  background: var(--background-light);
}
html[data-colormode=dark] .nfp-overlay .nfp-dot {
  background: var(--separator);
}
html[data-colormode=dark] .nfp-overlay .nfp-dot.active {
  background: var(--primary);
}
html[data-colormode=dark] .nfp-overlay .nfp-loading,
html[data-colormode=dark] .nfp-overlay .nfp-fallback,
html[data-colormode=dark] .nfp-overlay .nfp-note {
  color: var(--alternate);
}
html[data-colormode=dark] .nfp-overlay .nfp-spinner {
  border-color: var(--separator);
  border-top-color: var(--primary);
}
html[data-colormode=dark] .nfp-overlay .nfp-fallback-name {
  color: var(--color-fg);
}
html[data-colormode=dark] .nfp-overlay .nfp-fallback-ext,
html[data-colormode=dark] .nfp-overlay .nfp-fallback-size,
html[data-colormode=dark] .nfp-overlay .nfp-fallback-icon {
  color: var(--alternate);
}
html[data-colormode=dark] .nfp-overlay .nfp-sheet,
html[data-colormode=dark] .nfp-overlay .nfp-doc,
html[data-colormode=dark] .nfp-overlay .nfp-text {
  background: var(--foreground);
  border-color: var(--separator);
  color: var(--body);
}
html[data-colormode=dark] .nfp-overlay .nfp-sheet-tabs {
  border-bottom-color: var(--separator);
}
html[data-colormode=dark] .nfp-overlay .nfp-sheet-tab {
  color: var(--body);
}
html[data-colormode=dark] .nfp-overlay .nfp-sheet-tab.active {
  background: var(--foreground);
  border-color: var(--separator) var(--separator) var(--foreground);
  color: var(--primary);
}
html[data-colormode=dark] .nfp-overlay .nfp-table {
  color: var(--body);
}
html[data-colormode=dark] .nfp-overlay .nfp-table th,
html[data-colormode=dark] .nfp-overlay .nfp-table td {
  border-color: var(--separator);
}
html[data-colormode=dark] .nfp-overlay .nfp-table tr:first-child th {
  background: var(--background-light);
}
html[data-colormode=dark] .nfp-overlay .nfp-doc {
  color: var(--body);
}
html[data-colormode=dark] .nfp-overlay .nfp-doc table td,
html[data-colormode=dark] .nfp-overlay .nfp-doc table th {
  border-color: var(--separator);
}
html[data-colormode=dark] .nfp-overlay .nfp-error {
  background: color-mix(in srgb, var(--danger) 30%, transparent);
  color: var(--danger);
}

html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .icon-guide {
  display: none;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .needs-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
  margin: 0;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .needs-nav .btn {
  height: 2.2rem;
  padding: 0 0.6rem;
  gap: 0.4rem;
  font-size: 0.75rem;
  line-height: 1;
  border-radius: 0.4rem;
  white-space: nowrap;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .needs-nav .needs-nav-split {
  flex: 1 1 auto;
  display: flex;
  min-width: 0;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .needs-nav .needs-nav-split > .btn:first-child {
  flex: 1 1 auto;
  justify-content: center;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .needs-nav .needs-nav-icon {
  flex: 0 0 2.6rem;
  width: 2.6rem;
  padding: 0;
  justify-content: center;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .needs-nav .needs-nav-icon i {
  font-size: 0.9rem;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .needs-nav .needs-nav-review {
  flex: 1 1 auto;
  justify-content: center;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .needs-nav .needs-nav-summary .btn .fa-file-lines,
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .needs-nav .needs-nav-ai .btn .fa-sparkle,
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .needs-nav .needs-nav-review .fa-file-lines {
  font-size: 0.9rem;
}

.log-table-wrapper {
  max-height: 80vh;
  overflow-y: auto;
}

.log-detail-row {
  display: none;
  background-color: #f8f9fa;
}
.log-detail-row.is-open {
  display: table-row;
}

.log-detail-cell {
  text-align: left !important;
}
.log-detail-cell pre {
  max-height: 60vh;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: Consolas, monospace;
  font-size: 0.8rem;
  margin: 0;
}

.ai-review-panel .ai-review-hint {
  font-size: 0.75em;
}
.ai-review-panel .ai-review-text {
  font-size: 0.85em;
}
.ai-review-panel .ai-review-table .col-item {
  width: 22%;
}
.ai-review-panel .ai-review-table .col-override {
  width: 18%;
}
.ai-review-panel .ai-note-hint {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 1;
  font-size: 0.875rem;
}

/* ===== Needs views: styles moved out of Views/Needs *.cshtml (dynamic Razor-valued colors and display:none toggles stay inline) ===== */
.needs-ai-count--blue {
  color: blue;
}
.needs-ai-count--green {
  color: green;
}
.needs-ai-count--red {
  color: red;
}
.needs-ai-count--grey {
  color: grey;
}
.needs-ai-count--slate {
  color: darkslategray;
}
.needs-ai-count--black {
  color: black;
}

.needs-legend-icon--uploaded {
  color: black;
  font-weight: 300;
}
.needs-legend-icon--approved {
  color: green;
}
.needs-legend-icon--rejected {
  color: red;
}
.needs-legend-icon--ai-verified {
  color: purple;
}
.needs-legend-icon--ai-unverified {
  color: #FFCE1B;
}
.needs-legend-icon--lo-approved {
  color: orange;
  font-weight: 300;
}
.needs-legend-icon--sample {
  color: blue;
}

.needs-sample-icon {
  color: blue;
}

.needs-cursor-help {
  cursor: help;
}

.needs-text-xs {
  font-size: 0.75em;
}

.needs-text-sm {
  font-size: 0.8em;
}

.needs-text-10 {
  font-size: 10px;
}

.needs-text-2rem {
  font-size: 2rem;
}

.needs-opacity-85 {
  opacity: 0.85;
}

.needs-opacity-75 {
  opacity: 0.75;
}

.needs-list-plain {
  list-style-type: none;
}

.needs-ws-normal {
  white-space: normal;
}

.needs-msg-error {
  color: red;
}

.needs-th-description {
  max-width: 204px;
}

.needs-th-center {
  text-align: center;
}

.needs-expired-legend {
  display: flex;
  align-items: center;
  cursor: help;
}

.needs-icon-legend-offset {
  margin-top: 75px;
}

.needs-copy-message {
  margin-left: 10px;
}

.needs-center-content {
  place-content: center;
}

.needs-pad-left-2 {
  padding-left: 2em;
}

.alert.needs-status-legend {
  gap: 2em;
  padding: 0.5rem;
  align-items: center;
}

.status-legend-pill.needs-pill--outstanding {
  background: darkorange;
}
.status-legend-pill.needs-pill--review {
  background: blue;
}
.status-legend-pill.needs-pill--complete {
  background: green;
}
.status-legend-pill.needs-pill--na {
  background: grey;
}

#partialContainer #addNeed .needs-desc-input {
  height: 256px;
}

.needs-ai-summary {
  margin-top: 25px;
}

.needs-ai-header-loader {
  position: relative;
  bottom: 20px;
}

.card-body.needs-ai-summary-text {
  display: flex;
  white-space: pre-line;
  padding-bottom: 0;
  margin-bottom: 0;
}

.needs-ai-header-toggle {
  position: relative;
  bottom: 12px;
  cursor: pointer;
}

.needs-notes-list-scroll {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 700px;
}

.needs-nav-icon-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 14px;
}

.nav-icon.needs-nav-icon-box {
  width: 40px;
}

/* AI submission documents modal (was an inline <style> block) */
#aiSubmissionDocumentsContainer #tableContainer {
  width: 100%;
  overflow-x: auto;
}

#aiSubmissionDocumentsContainer #GreenTableKPIAIUnderwriter {
  width: 200%;
  table-layout: fixed;
}

.ai-review-panel {
  border-radius: 4px;
}
.ai-review-panel .card-title {
  color: #dc3545;
}

/* * * New Notes Section * * * */
#deals-notes-list-container {
  /*    overflow-y: scroll;
  overflow-x: hidden;*/
  overflow: auto;
  height: calc(100vh - var(--Body-Height));
}

.active-list-item {
  background-color: var(--light);
}

.details-visible {
  transform: translateX(0) !important;
}

.details-inner-container {
  height: calc(100vh - var(--Body-Height));
  overflow: auto;
  overflow-x: hidden;
  margin-bottom: var(--Mobile-Footer);
}

/***Button overrides***/
#notes-container.btn-link {
  text-decoration: initial;
  color: var(--alternate) !important;
}

#notes-container.btn-link.active {
  text-decoration: initial;
  color: var(--light-text) !important;
  background-color: var(--primary);
}

/*==========MOBILE==============*/
html[data-mobile=true] #deals-notes-list-container {
  display: flex;
  flex-direction: column;
  /*position: absolute;*/
  width: 100%;
  overflow-y: auto;
  /*    overflow-x: hidden;*/
  overflow: visible;
  height: 100%;
  min-height: calc(100vh - var(--Nav-Height) - var(--Mobile-Footer));
  /*margin-bottom: 10em !important;*/
}

html[data-mobile=true] #deals-notes-list-container .hide {
  display: none !important;
}

html[data-mobile=true] #deals-notes-list-container .card-footer {
  bottom: var(--Mobile-Footer);
  width: 100%;
  overflow: auto;
  padding: 5px;
  position: inherit;
}

/*html[data-mobile='true'] #deals-notes-list-container .card-header {
    top: var(--Nav-Height);
    width: 100%;
    position: sticky;
    background-color: white;
    z-index: 1;
}
*/
html[data-mobile=true] #note-details-container {
  height: 100vh;
  width: 100%;
  z-index: 2;
  background-color: white;
  top: calc(var(--Nav-Height) + var(--Sub-Nav));
  margin-bottom: var(--Mobile-Footer);
  padding: 10px;
  margin: 0;
  transform: translateX(120%);
  transition: transform 0.3s ease-out;
  position: fixed;
  z-index: 999;
  overflow: auto;
  min-height: calc(100vh - var(--Nav-Height) - var(--Mobile-Footer));
  margin-bottom: 10em;
}

html[data-mobile=true] #note-details-container .note-visible-to {
  display: none !important;
}

html[data-mobile=true] .inner-details {
  width: 100%;
  height: 100vh;
  margin-bottom: 2em;
  overflow: scroll;
  resize: vertical;
}

/*html[data-mobile='true'] #notes-container {
    width: 100%;
    height: 100vh;
   overflow-x: hidden;
    overflow-y: scroll;
}*/
html[data-mobile=true] #notesMenu-mobile {
  display: none;
}

html[data-mobile=true] #addNew {
  top: var(--Nav-Height);
  bottom: var(--Mobile-Footer);
  min-height: calc(100vh - var(--Nav-Height) - var(--Mobile-Footer));
  overflow: auto;
  margin-bottom: 10em;
}

html[data-mobile=true] .card {
  box-shadow: none !important;
}

html[data-mobile=true] #notesMenu > .row {
  flex-wrap: nowrap;
  margin: 0;
}
html[data-mobile=true] #notesMenu-mobile > .row {
  flex-wrap: wrap;
  margin: 0;
}
html[data-mobile=true] #notesMenu > .row > [class*=col-] {
  flex: 1 1 0;
  width: auto;
  max-width: none;
  min-width: 0;
}
html[data-mobile=true] #notesMenu-mobile > .row > [class*=col-] {
  flex: 1 1 30%;
  max-width: none;
}
html[data-mobile=true] #notesMenu .btn,
html[data-mobile=true] #notesMenu-mobile .btn {
  margin: 0.25rem 0 !important;
  padding: 0.25rem 0.1rem !important;
  font-size: 0.7rem;
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
}
html[data-mobile=true] #notesMenu > .row,
html[data-mobile=true] #notesMenu-mobile > .row {
  justify-content: center;
}
html[data-mobile=true] #notesMenu .btn,
html[data-mobile=true] #notesMenu-mobile .btn {
  position: relative;
  text-align: center;
}
html[data-mobile=true] #notesMenu .dropdown-toggle::after {
  position: absolute;
  right: 0.1rem;
  bottom: 0.45rem;
  margin: 0;
}
html[data-mobile=true] #deals-notes-list-container .card-header h2.title-small {
  text-align: left !important;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: var(--primary);
}
html[data-mobile=true] #deals-notes-list-container .note-item {
  padding: 0.6rem 0.5rem !important;
}
html[data-mobile=true] #deals-notes-list-container .note-item .nav-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary);
  color: #fff;
}
html[data-mobile=true] #note-details-container .details-inner-container {
  height: auto;
  min-height: 0;
  padding: 0.5rem;
  margin-bottom: 0;
}
html[data-mobile=true] #note-details-container .card-body.card-content {
  padding: 0;
}
html[data-mobile=true] #note-details-container .inner-details {
  width: 100% !important;
  height: auto;
  overflow: visible;
  resize: none;
  padding: 0.5rem !important;
  margin-bottom: 1rem;
}
html[data-mobile=true] #note-details-container #unAlteredNoteText {
  overflow-x: auto;
  overflow-wrap: anywhere;
}
html[data-mobile=true] #note-details-container .details-inner-container > .row {
  margin: 0;
}
html[data-mobile=true] #note-details-container .details-inner-container > .row > .col,
html[data-mobile=true] #note-details-container .details-inner-container > .row > .col-auto {
  flex: 1 1 100%;
  max-width: 100%;
  padding: 0;
}
html[data-mobile=true] #note-details-container .details-inner-container > .row .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  white-space: nowrap;
}
html[data-mobile=true] #note-details-container #contactTitle .name,
html[data-mobile=true] #note-details-container #contactTitle .card-title {
  overflow-wrap: anywhere;
}
html[data-mobile=true] #note-details-container #contactTitle .card-title {
  margin-bottom: 0.25rem;
}
html[data-mobile=true] #note-details-container #aiSummary {
  margin-top: 0.5rem;
}
html[data-mobile=true] #note-details-container #aiSummary .card > .card-body {
  padding: 0.75rem !important;
}
html[data-mobile=true] #note-details-container #aiSummary #aiSummaryText {
  white-space: normal !important;
}
html[data-mobile=true] #note-details-container #aiSummary #aiSummaryContent {
  white-space: pre-line;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
html[data-mobile=true] .filter-btn {
  flex: 1 1 auto;
  min-width: min-content;
  padding: 0.4rem 0.2rem !important;
  font-size: 0.7rem;
  overflow-wrap: normal;
  word-break: normal;
}

/*==============================================================
  Note Threads — floating chat popups
  (moved from inline <style> in Views/Notifications/_NoteThreadsMenu.cshtml)
================================================================*/
#chatPopupsContainer {
  position: fixed;
  bottom: 0;
  right: 80px;
  z-index: 999;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 10px;
}

.chat-popup-window {
  width: 320px;
  height: 440px;
  /* Never let the popup's top edge climb above the fixed app header, regardless of
     viewport size, since the window is anchored to the bottom of the screen and grows
     upward. */
  max-height: calc(100vh - var(--Nav-Height, 0px) - var(--Sub-Nav, 0px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dee2e6;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: width 0.15s ease, height 0.15s ease;
  /* Expanded size — mirrors the AI chat widget's expand/collapse pattern.
     Only one chat popup may be expanded at a time (enforced in JS_ChatPopups.js). */
}
.chat-popup-window.expanded {
  width: 560px;
  height: 680px;
  max-height: calc(100vh - var(--Nav-Height, 0px) - var(--Sub-Nav, 0px));
}
.chat-popup-window.minimized {
  height: auto;
  /* Let the "..." menu dropdown escape the collapsed window instead of being clipped. */
  overflow: visible;
}
.chat-popup-window.minimized .chat-popup-body {
  display: none;
}
.chat-popup-window {
  /* Highlights popups for note threads that belong to the loan currently being viewed. */
}
.chat-popup-window.current-loan-thread .chat-popup-header {
  background: var(--success, #198754);
}

.chat-popup-header {
  background: var(--primary, #0d6efd);
  color: #fff;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.chat-popup-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.chat-popup-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.chat-popup-priority-badge {
  flex-shrink: 0;
}
.chat-popup-priority-badge .badge {
  font-size: 0.6rem;
  vertical-align: middle;
}

.chat-popup-actions i {
  margin-left: 8px;
  cursor: pointer;
  opacity: 0.85;
}
.chat-popup-actions i:hover {
  opacity: 1;
}

.chat-popup-menu-wrap {
  position: relative;
  display: inline-block;
}

.chat-popup-menu-dropdown {
  position: absolute;
  top: 20px;
  right: 0;
  background: #fff;
  color: #212529;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  min-width: 170px;
  z-index: 1070;
  font-weight: normal;
}
.chat-popup-menu-dropdown a {
  display: block;
  padding: 8px 12px;
  color: #212529;
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
}
.chat-popup-menu-dropdown a:hover {
  background-color: #f8f9fa;
}

.popup-ontee-dropdown {
  position: absolute;
  top: 20px;
  left: 0;
  background: #fff;
  color: #212529;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1070;
  font-weight: normal;
}
.popup-ontee-dropdown a {
  display: block;
  padding: 6px 10px;
  color: #212529;
  font-size: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}
.popup-ontee-dropdown a:hover {
  background-color: #f8f9fa;
}
.popup-ontee-dropdown a.active {
  color: var(--primary, #0d6efd);
  font-weight: 600;
}

.chat-popup-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.popup-chat-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.popup-subview {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.popup-subview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--background, #f8f9fa);
  border-bottom: 1px solid #dee2e6;
  font-size: 0.8rem;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 2;
  flex-shrink: 0;
}
.popup-subview-header i {
  cursor: pointer;
  opacity: 0.75;
}
.popup-subview-header i:hover {
  opacity: 1;
}
.popup-subview-body {
  flex: 1;
  overflow-y: auto;
}
.popup-subview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #212529;
  text-decoration: none;
  border-bottom: 1px solid #f1f1f1;
}
.popup-subview-row.active {
  color: var(--primary, #0d6efd);
  font-weight: 600;
}

a.popup-subview-row:hover {
  background-color: #f8f9fa;
}

.popup-chat-status {
  background: var(--background, #f8f9fa);
  border-bottom: 1px solid #dee2e6;
  position: sticky;
  top: 0;
  z-index: 2;
  flex-shrink: 0;
}

.popup-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popup-chat-bubble {
  max-width: 85%;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 10px;
  position: relative;
  word-wrap: break-word;
}
.popup-chat-bubble.chat-bubble-left {
  align-self: flex-start;
  background-color: #e9ecef;
  color: #212529;
  border-bottom-left-radius: 3px;
}
.popup-chat-bubble.chat-bubble-left .chat-sender {
  color: #495057;
}
.popup-chat-bubble.chat-bubble-right {
  align-self: flex-end;
  background-color: var(--primary, #0d6efd);
  color: #fff;
  border-bottom-right-radius: 3px;
}
.popup-chat-bubble.chat-bubble-right .chat-sender {
  color: #cfe2ff;
}
.popup-chat-bubble .chat-sender {
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.popup-chat-bubble .chat-time {
  font-size: 0.6rem;
  opacity: 0.75;
  margin-top: 3px;
}

.popup-participants-list {
  max-height: 260px;
  overflow-y: auto;
}
.popup-participants-list .participant-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #f1f1f1;
  font-size: 0.85rem;
}

.popup-chat-input {
  padding: 8px;
  border-top: 1px solid #dee2e6;
}

/* .notificationContainer is display:flex, which otherwise shoves this loader into the
   top-right corner (flex item after the full-width #notesView). Center it as an overlay instead. */
#notesToggle #notesLoader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

/* Note Threads notification dropdown — the "Me On Tee" / "My Threads" subtab lists.
   .tabContainer (shared by Tasks/Needs/Notifications/Notes) is normally `position: absolute;
   top: 10%`, which assumes the header lives *inside* that same absolutely-positioned element.
   Here the NOTE THREADS header + subtab buttons render as separate elements *above* the list,
   so a percentage-based top causes the list to overlap/clip the header+tabs on shorter
   (smaller laptop) screens where 10% of the panel's height is less than the header's actual
   height. Let these two lists sit in normal document flow right below the tabs instead. */
#NoteThreadsOnTee.tabContainer,
#NoteThreadsMine.tabContainer {
  position: static;
  top: auto;
}

/* Note Threads notification dropdown — #notesToggle.notificationContainer is `position: fixed;
   top: var(--Nav-Height); height: 100%`, which makes its actual bottom edge sit one nav-height
   BELOW the bottom of the viewport (100% of a fixed element's containing block is the full
   viewport height, then offset down by top). That pushes the container's own bottom — and its
   native scrollbar — past the visible screen, cutting off the last thread even though there's
   "more" to scroll to. Shrink the height by the same nav offset so the panel's bottom lines up
   with the viewport bottom instead of overflowing past it. Scoped by ID so the shared
   .notificationContainer class (also used by the Notifications dropdown) is unaffected. */
#notesToggle {
  height: calc(100% - var(--Nav-Height, 0px));
}

/* Add breathing room at the end of the scrollable content so the final item isn't flush
   against the bottom edge of the (now correctly sized) panel. */
#notesView {
  padding-bottom: 24px;
}

/* Note Threads notification dropdown — "Daily Brief" summary strip at the top,
   a short bulleted briefing (mirrors the AI Overview tone used in the My Daily AI
   Brief pipeline tab, condensed to fit this small panel). */
.note-thread-brief {
  padding: 8px 16px 10px;
  border-bottom: 1px solid #e9ecef;
}

.note-thread-brief-list {
  list-style: disc;
  padding-left: 18px;
  font-size: 0.78rem;
  line-height: 1.5;
}
.note-thread-brief-list li {
  margin-bottom: 3px;
}

/*==============================================================
  Note Threads — live toast notifications (JS_LiveUpdates.js)
================================================================*/
#noteToastContainer {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10000;
  width: 450px;
  max-width: calc(100vw - 32px);
}
#noteToastContainer .note-toast {
  width: 100%;
  max-width: none;
  animation: slideInRight 0.3s ease;
}
#noteToastContainer .note-toast.note-toast-closing {
  animation: fadeOut 0.3s ease;
}
#noteToastContainer .note-toast .toast-body {
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: auto;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.stage-card {
  font-size: 0.75em;
  position: relative;
}

/* tokens */
/* ------------------------------
   Base (desktop / default)
   ------------------------------ */
.progressNav {
  width: 100%;
  height: 100px;
}
.progressNav a {
  text-decoration: none;
  font-size: 11px;
  color: var(--primary);
  display: block;
  transition: 0.3s;
}
.progressNav a:hover {
  color: #999;
}
.progressNav .closeProgbtn {
  display: none;
}

.openProgressMobileHam {
  display: none;
}

.openProgressBar {
  display: block;
}

#progressBarMobile {
  margin: auto;
  margin-bottom: 2em;
}

.progressBarLineSmallView {
  text-align: center;
  margin: auto;
  counter-reset: step;
  padding: inherit;
  padding-bottom: 10px;
}
.progressBarLineSmallView li {
  list-style-type: none;
  position: relative;
  text-align: center;
  text-transform: capitalize;
  white-space: nowrap;
  color: #fff;
  max-height: 5px;
  font-size: 7px;
  display: inline-block;
}
.progressBarLineSmallView li:after {
  width: 100%;
  height: 2px;
  content: "";
  position: absolute;
  background-color: grey;
  top: 8px;
  left: -50%;
  z-index: -1;
}
.progressBarLineSmallView li:first-child:after {
  content: none;
}
.progressBarLineSmallView a {
  color: #fff;
  background-color: #afafaf;
  border-radius: 50%;
  margin-right: 10px;
  margin-left: 10px;
}
.progressBarLineSmallView a:hover {
  color: #fff;
  background-color: red;
}
.progressBarLineSmallView a:before {
  width: 15px;
  height: 15px;
  content: counter(step);
  counter-increment: step;
  font-size: 10px;
  display: block;
  text-align: center;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background-color: #afafaf;
}
.progressBarLineSmallView a.stageActive:before {
  background-color: var(--active);
}

.folderName {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: var(--primary);
}

.avgAmt,
.totalAmt {
  font-size: 12px;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  text-align: center;
  margin: 5px;
}

.avgAmt {
  background-color: #6a0dad;
}

.totalAmt {
  background-color: #50AD0D;
}

.progressBarLine {
  text-align: center;
  counter-reset: step;
  /*width: calc(100% - var(--Side-Icon-Nav-Width));*/
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  /* scrollbar */
}
.progressBarLine::-webkit-scrollbar {
  display: none;
  width: 5.5px;
  position: absolute;
}
.progressBarLine::-webkit-scrollbar-track {
  background: lightgrey;
  box-shadow: inset 0 0 1px grey;
}
.progressBarLine::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}
.progressBarLine::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}
.progressBarLine li {
  list-style-type: none;
  position: relative;
  text-align: center;
  text-transform: capitalize;
  white-space: nowrap;
  color: var(--primary);
  max-height: 30px;
  font-size: 11px;
  display: inline-block;
  width: 200px;
}
.progressBarLine li:before {
  color: var(--primary);
  width: 35px;
  height: 35px;
  content: counter(step);
  counter-increment: step;
  line-height: 32px;
  font-size: 16px;
  border: 1px solid #bfbcbc;
  display: block;
  text-align: center;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background-color: var(--foreground);
  font-weight: bold;
  box-shadow: inset -1px 1px 3px 0px rgba(0, 0, 0, 0.47), inset 1px 2px 0px rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.progressBarLine li:after {
  width: 100%;
  height: 6px;
  content: "";
  position: absolute;
  background-color: var(--secondary);
  top: 1rem;
  left: -50%;
  z-index: -1;
  box-shadow: inset 0 1px 6px rgba(14, 14, 14, 0.15), inset 0 1px 4px rgba(0, 0, 0, 0.24);
}
.progressBarLine li:first-child:after {
  content: none;
}
.progressBarLine li.stageCompleted {
  color: var(--success);
}
.progressBarLine li.stageCompleted:before {
  background-color: var(--success);
  font-size: 16px;
  content: "✓︎";
  color: #fff;
  border: 2px solid #fff;
  box-shadow: inset 1px 1px 10px var(--success);
  cursor: pointer;
}
.progressBarLine li.stageActive {
  color: var(--info);
}
.progressBarLine li.stageActive:before {
  background-color: var(--active);
  box-shadow: 0 0 0 2px var(--active);
  border: 5px solid #fff;
  color: #fff;
  width: 36px;
  height: 36px;
  line-height: 25px;
  font-size: 18px;
}
.progressBarLine li.stageActive .subStageInfo {
  color: var(--info);
  font-size: 9px;
}
.progressBarLine li.stageActive .subStageInfo:hover {
  color: var(--info);
  font-weight: bold;
}
.progressBarLine li.previouslyCompleted:before {
  background-color: #FF7200;
  font-size: 16px;
  content: counter(step);
  color: var(--background);
  border: 2px solid var(--background);
  box-shadow: inset 1px 1px 10px #FFA705;
  cursor: pointer;
}
.progressBarLine li:hover p {
  visibility: visible;
}

.progressBarLine li.stageCompleted:before {
  background-color: var(--success);
  font-size: 16px;
  content: "✓︎";
  color: var(--color-bg);
  border: 2px solid var(--color-bg);
  box-shadow: inset 1px 1px 10px var(--success);
  cursor: pointer;
}

.stageHeaderSideNav {
  text-align: center;
  color: var(--primary);
  display: block;
  font-size: 14px;
  font-weight: bold;
}

.openBtn {
  display: none;
}

.progressBarLine li:hover {
  color: #999;
}

.subStageInfo {
  color: var(--background);
  cursor: pointer;
}
.subStageInfo:hover {
  color: var(--success);
}

/* Pipeline rail block */
.stage-bar-line-wrapper {
  display: flex;
  justify-content: center;
}

.stageBarLine {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.stageBarLine::-webkit-scrollbar {
  display: none;
  width: 5.5px;
  position: absolute;
}
.stageBarLine::-webkit-scrollbar-track {
  background: lightgrey;
  box-shadow: inset 0 0 1px grey;
}
.stageBarLine::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}
.stageBarLine::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}
.stageBarLine li {
  background-color: var(--background);
  padding: 1em;
  border-radius: 10px;
  margin: 5px;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
  min-width: 200px;
}
.stageBarLine #stageBarLine .folderName {
  word-wrap: break-word;
}
.stageBarLine #stageBarLine li.stageActive {
  box-shadow: inset 0px 3px 8px 5px rgba(0, 0, 0, 0.3);
}
.stageBarLine #stageBarLine .badge {
  float: right;
  margin-top: -9px;
}

/* arrows */
.horizon {
  display: block;
}
.horizon i {
  font-size: 20px;
  color: var(--primary);
  cursor: pointer;
}

/* ------------------------------
   Mobile mode (toggle via data-attribute)
   Use: <html data-mobile="true">
   ------------------------------ */
/* ===== Mobile vertical timeline tweaks (uses existing markup) ===== */
html[data-mobile=true] .progressNav {
  background: var(--background);
}
html[data-mobile=true] {
  /* Drawer container stays the same (slides down) */
}
html[data-mobile=true] #progressBarMobile.progressNav {
  position: fixed;
  top: calc(var(--Nav-Height) + var(--Sub-Nav));
  overflow: auto;
  z-index: 100;
}
html[data-mobile=true] {
  /* Make the list vertical and left-aligned */
}
html[data-mobile=true] #progressBarLine {
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100dvh - (var(--Nav-Height, 56px) + var(--Sub-Nav, 0px)) - 1rem);
  padding: 0.75rem 1rem 0.5rem 1rem; /* a bit more left space for the rail */
  white-space: normal;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
html[data-mobile=true] {
  /* Each item becomes a two-column grid: [dot] [text] */
}
html[data-mobile=true] #progressBarLine li {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem auto; /* dot col + text col */
  align-items: start;
  gap: 0.75rem;
  width: 100% !important;
  padding: 0.5rem 0.25rem;
  margin: 0;
  border: 0; /* no separators — the rail will be the separator */
  max-height: none;
  font-size: 1rem;
  /* kill the desktop horizontal connector */
}
html[data-mobile=true] #progressBarLine li::after {
  display: none;
}
html[data-mobile=true] {
  /* Vertical rail: draw a line from this dot down to the next item */
}
html[data-mobile=true] #progressBarLine li::marker {
  content: "";
}
html[data-mobile=true] {
  /* (safety for some UAs) */
  /* Use a dedicated pseudo-element for the vertical connector */
}
html[data-mobile=true] #progressBarLine li::before {
  /* This is your DOT (counter circle) — keep behavior but place left */
  width: 2.25rem;
  height: 2.25rem;
  line-height: 2.1rem;
  font-size: 1rem;
  margin: 0.125rem 0 0 0; /* small top nudge */
  grid-column: 1;
  justify-self: center;
}
html[data-mobile=true] {
  /* Add the vertical line as a new pseudo-element (the “rail”) */
}
html[data-mobile=true] #progressBarLine li::after {
  content: "";
  position: absolute;
  left: 1.125rem; /* half of 2.25rem — center under dot */
  top: 2.375rem; /* start just under the dot */
  bottom: -0.5rem; /* extend slightly past item for tight joins */
  width: 2px;
  background: var(--secondary);
  opacity: 0.9;
  pointer-events: none;
}
html[data-mobile=true] {
  /* Don’t draw the rail after the last item */
}
html[data-mobile=true] #progressBarLine li:last-child::after {
  display: none;
}
html[data-mobile=true] {
  /* Text column */
}
html[data-mobile=true] .folderName {
  grid-column: 2;
  margin: 0;
  font-weight: 700;
  color: var(--primary);
  font-size: clamp(0.95rem, 1.8vw + 0.6rem, 1.125rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
html[data-mobile=true] .subStageInfo {
  grid-column: 2;
  margin: 0.125rem 0 0 0 !important;
  color: inherit;
  font-size: clamp(0.82rem, 1.4vw + 0.55rem, 0.95rem);
  white-space: normal;
  line-height: 1.2;
  text-align: left;
}
html[data-mobile=true] {
  /* State colors for DOTS (reuse your classes) */
}
html[data-mobile=true] #progressBarLine li.stageActive::before {
  background-color: var(--active);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--active);
  color: #fff;
}
html[data-mobile=true] #progressBarLine li.stageCompleted::before {
  background-color: var(--success);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: inset 1px 1px 10px var(--success);
}
html[data-mobile=true] #progressBarLine li.previouslyCompleted::before {
  background-color: #FF7200;
  color: var(--background);
  border: 2px solid var(--background);
  box-shadow: inset 1px 1px 10px #FFA705;
}
html[data-mobile=true] {
  /* Optional: color the rail by state (gives a “progress” feel) */
}
html[data-mobile=true] #progressBarLine li.stageCompleted::after {
  background: var(--success);
}
html[data-mobile=true] #progressBarLine li.stageActive::after {
  background: var(--active);
}
html[data-mobile=true] {
  /* Larger tap targets */
}
html[data-mobile=true] #progressBarLine a,
html[data-mobile=true] #progressBarLine li {
  min-height: 48px;
}
html[data-mobile=true] {
  /* Hide desktop-only UI in the drawer */
}
html[data-mobile=true] .stageHeaderSideNav,
html[data-mobile=true] .horizon {
  display: none !important;
}

/* Make UL the rail container */
html[data-mobile=true] #progressBarLine {
  position: relative; /* create containing block for the rail */
  padding-left: 1rem; /* you already have this; keeps text clear of the rail */
}

/* Continuous vertical rail behind the dots */
html[data-mobile=true] #progressBarLine::before {
  content: "";
  position: absolute;
  left: 2.125rem;
  transform: translateX(-1px);
  top: 1.5rem;
  /* bottom: 1.5rem; */
  width: 5px;
  background: var(--muted);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
  height: 100vh;
}

/* Ensure each item (and its dot) paints above the rail */
html[data-mobile=true] #progressBarLine li {
  position: relative;
  z-index: 1;
}

/* Keep the existing kill of the desktop horizontal connector */
html[data-mobile=true] #progressBarLine li::after {
  display: none !important;
}

/* (You already have this) — dot styling is via li::before and stays centered */
/* * * Base * * Template styles for base core items such as root, html and body. * */
/*html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: hidden;
}*/
main {
  overflow-y: auto;
}

body {
  font-family: var(--FontFamily);
  font-weight: 400;
  color: var(--body);
  background-color: var(--background);
}

#body-content {
  position: absolute;
  width: calc(100vw - var(--Side-Icon-Nav-Width));
  padding: 0;
  /*padding-top: 1em;*/
  right: var(--Side-Icon-Nav-Width);
  top: calc(var(--Nav-Height) + var(--Sub-Nav));
  bottom: var(--Mobile-Footer);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /*background: var(--background);*/
}
#body-content::-webkit-scrollbar {
  display: none;
}

html[data-subnav=false] #body-content {
  padding: 10px;
}

html[data-sideiconmenu=show] #body-content {
  width: 100vw;
  right: 0;
}

html[data-sideiconmenu=none] {
  --Side-Icon-Nav-Width: 0em;
}
html[data-sideiconmenu=none] #body-content {
  width: 100vw;
  right: 0;
}

html[data-subnav=false] {
  --Sub-Nav: 0px;
}

#root {
  opacity: 0;
}

html:not([data-show=true]) body.spinner #root {
  opacity: 0;
}

html:not([data-show=true]) body.spinner:after {
  border-color: #7d7d7d;
  border-right-color: transparent;
}

html[data-show=true] {
  scroll-behavior: smooth;
}

html[data-show=true] #root {
  opacity: 1;
}

/*===============STAT CARD ICONS=====================*/
.stat-icon-circle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.06em;
}

/*===============MODE TOGGLE=====================*/
.mode-toggle {
  position: relative;
  width: 360px;
  max-width: 100%;
}

.mode-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-toggle-label {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  background: #eef1f5;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.mode-toggle-label .mode-option {
  flex: 1 1 50%;
  text-align: center;
  padding: 0 0.75rem;
  color: #6c757d;
  z-index: 2;
  pointer-events: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.mode-toggle-label .mode-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 6px);
  height: calc(100% - 6px);
  border-radius: 9999px;
  background: var(--primary, #0d6efd);
  box-shadow: 0 2px 6px rgba(13, 110, 253, 0.35);
  transition: transform 0.25s ease;
  z-index: 1;
}

.mode-toggle-input:checked + .mode-toggle-label .mode-thumb {
  transform: translateX(100%);
}

.mode-toggle-input:not(:checked) + .mode-toggle-label .single {
  color: #fff;
}

.mode-toggle-input:checked + .mode-toggle-label .bulk {
  color: #fff;
}

.ai-review-panel .card-body {
  padding: 1rem;
}
.ai-review-panel .ai-review-header {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(18rem, 1.2fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}
.ai-review-panel .ai-review-summary {
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 0.4rem;
}
.ai-review-panel .ai-review-summary ul {
  margin-top: 0.35rem;
  padding-left: 1.25rem;
  font-size: 0.85rem;
}
.ai-review-panel .ai-review-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ai-review-panel .ai-review-item-card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0.5rem;
  background: var(--foreground, #fff);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.ai-review-panel .ai-review-item-card.is-stale {
  border-left: 0.3rem solid #ffc107;
}
.ai-review-panel .ai-review-item-heading,
.ai-review-panel .ai-review-proposal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.ai-review-panel .ai-review-item-heading {
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.035);
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
.ai-review-panel .ai-review-item-heading h5 {
  margin: 0;
  font-size: 1rem;
}
.ai-review-panel .ai-review-document-value {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ai-review-panel .ai-review-document-value .ai-review-value-match {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
}
.ai-review-panel .ai-review-document-value .ai-review-value-match i {
  font-size: 1rem;
}
.ai-review-panel .ai-review-item-body {
  display: grid;
  grid-template-columns: minmax(13rem, 0.8fr) minmax(20rem, 1.2fr);
  gap: 1rem;
  padding: 1rem;
}
.ai-review-panel .ai-review-label {
  display: block;
  margin-bottom: 0.2rem;
  color: #6c757d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.ai-review-panel .ai-review-finding p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}
.ai-review-panel .ai-review-proposal,
.ai-review-panel .ai-review-no-proposal {
  padding: 0.75rem;
  background: rgba(0, 123, 255, 0.045);
  border: 1px solid rgba(0, 123, 255, 0.16);
  border-radius: 0.4rem;
}
.ai-review-panel .ai-review-no-proposal {
  color: #6c757d;
  font-size: 0.85rem;
}
.ai-review-panel .ai-review-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.ai-review-panel .ai-review-values > div {
  min-width: 0;
}
.ai-review-panel .ai-review-values span,
.ai-review-panel .ai-review-values strong,
.ai-review-panel .ai-review-values small {
  display: block;
  overflow-wrap: anywhere;
}
.ai-review-panel .ai-review-evidence {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.75rem;
  color: #6c757d;
  font-size: 0.78rem;
}
.ai-review-panel .ai-review-status-detail {
  margin-top: 0.5rem;
  font-size: 0.78rem;
}
.ai-review-panel .ai-review-apply-choice {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.ai-review-panel .ai-review-apply-choice input:disabled + span {
  color: #6c757d;
}
.ai-review-panel .ai-review-decision {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(16rem, 1fr);
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}
.ai-review-panel .ai-review-decision label {
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
}
.ai-review-panel .ai-review-decision .ai-review-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}
.ai-review-panel .ai-review-decision .ai-review-item-message {
  flex: 1 1 15rem;
  min-width: 0;
}
.ai-review-panel .ai-review-unmatched {
  margin-top: 0.5rem;
}
.ai-review-panel .ai-review-unmatched > h5 {
  margin-bottom: 0.2rem;
}
.ai-review-panel .ai-review-unmatched-card {
  padding: 1rem;
}
.ai-review-panel .ai-review-empty {
  padding: 1rem;
  color: #6c757d;
  text-align: center;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 0.4rem;
}
.ai-review-panel .ai-review-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem -1rem -1rem;
  padding: 0.75rem 1rem;
  background: var(--foreground, #fff);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.ai-review-panel.is-embedded {
  border: 0;
  box-shadow: none;
}
.ai-review-panel.is-embedded > .card-body {
  padding: 1rem 0 0;
}
.ai-review-panel.is-embedded .ai-review-header {
  grid-template-columns: 1fr;
}

@media (max-width: 767px) {
  .ai-review-panel .ai-review-header,
  .ai-review-panel .ai-review-item-body,
  .ai-review-panel .ai-review-decision,
  .ai-review-panel .ai-review-values {
    grid-template-columns: 1fr;
  }
  .ai-review-panel .ai-review-actions .btn {
    flex: 1 1 100%;
  }
}
/*
*
* Deals page nav, loan deatails and icons
*
* Template styles for both vertical and horizontal navigation as well as mobile menu.
*
*/
html[data-page=deals],
html[data-page=deals] body {
  overflow: hidden;
}

html[data-page=deals] #body-content {
  /*  bottom: 0;*/
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html[data-page=deals] #body-content::-webkit-scrollbar {
  display: none;
}

#loanDetails {
  text-align: center;
  height: var(--Loan-Detail-Height);
  position: inherit;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 600ms, visibility 600ms;
  transition: opacity 600ms, visibility 600ms;
  --Loan-Detail-Height: 0em;
  width: 100%;
}

.deals-main-icon-partial-container button {
  font-size: 1em;
  color: var(--color-fg);
}
.deals-main-icon-partial-container span {
  font-size: 1.25em;
  color: var(--color-fg);
}

.deal-menu-container {
  width: var(--Side-Icon-Nav-Width);
}

.deal-menu-icon-container::-webkit-scrollbar {
  display: none;
}

.deal-menu-icon-container {
  position: fixed;
  top: calc(var(--Nav-Height) + var(--Sub-Nav));
  bottom: 0;
  right: 0;
  width: var(--Side-Icon-Nav-Width);
  /*    height: 100%;*/
  list-style-type: none;
  /*margin: 0;*/
  padding: 0;
  background: var(--foreground);
  z-index: 1000;
  overflow: hidden;
  box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.26);
  transition: all 0.5s ease-in-out;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 5em;
}
.deal-menu-icon-container .dropdowncontainer {
  /*display: none;*/
  transition: all 0.25s ease-in-out;
  background: none;
  z-index: 1000;
  position: absolute;
  top: auto;
  width: auto;
  height: auto;
  box-shadow: none;
}
.deal-menu-icon-container #NameSearchContainer {
  position: absolute;
  top: 0;
  /* left: 18%; */
  right: 100%;
  background: var(--foreground);
  height: 61px;
  width: 500px;
  overflow: hidden;
  transition: width 250ms ease-in-out;
  padding: 10px;
}
.deal-menu-icon-container .dropdowncontainer.show {
  display: flex !important;
  left: auto !important;
  /* overflow: auto;*/
  position: initial;
}
.deal-menu-icon-container span {
  font-size: 1em;
  /*    color: var(--color-fg);*/
}
.deal-menu-icon-container .test {
  padding-bottom: 4em;
  overflow: auto;
  overflow-x: hidden;
  position: initial;
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
  padding-bottom: 5em;
}

.deal-menu-header {
  text-align: center;
  width: 100%;
  display: block;
  margin: auto;
  padding: 1em;
  font-size: inherit;
  background-color: var(--primary);
  color: white;
  cursor: pointer;
}

.deal-menu-icon-container button {
  height: 5rem;
  width: 7em;
  font-size: 11px;
  line-height: 1.25em;
}

.deals-menu {
  overflow: hidden;
  right: var(--Side-Icon-Nav-Width);
  z-index: 5;
  width: 0;
  height: 0;
  transition: all 0.1s ease-in-out;
  width: 8em;
  height: fit-content;
  background-color: var(--primary);
  color: white;
  z-index: 100;
}

.deal-menu-bar {
  overflow: hidden;
  z-index: 5;
  transition: all 0.3s ease-in-out;
  background-color: #6a0dad;
  color: white;
  z-index: 100;
}

.deal-menu-bar.open {
  width: var(--Side-Icon-Nav-Width);
  height: fit-content;
  color: white;
}

.deals-menu-tab {
  text-align: center;
  padding: 0.5em;
  line-height: inherit !important;
  cursor: pointer;
  font-size: 12px;
  display: inline-block;
  width: 24%;
}
.deals-menu-tab :hover {
  background-color: var(--primary);
}

.deals-menu-tab:hover {
  background-color: var(--primary);
}

.deals-icon-menu {
  background-color: var(--primary);
  width: 100%;
  position: fixed;
  top: var(--Nav-Height);
  height: var(--Sub-Nav);
  /*margin: 0;*/
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2em;
  z-index: 999;
}

.deals-menu-icon {
  top: 0;
  left: 0;
  margin: 0.5em;
  display: grid;
  position: relative;
  cursor: pointer;
}

.deals-icon-menu-item button .open {
  background-color: var(--secondary);
  color: var(--color-fg);
}

.deals-icon-menu-item span {
  display: block;
  font-size: 11px;
}

/*.deals-icon-menu-item.open {
    background-color: var(--secondary);
    color: white;
}*/
/*===================LOAN DETAILS=================*/
.loan-additional-details {
  text-align: initial;
}
.loan-additional-details p {
  font-size: var(--FontSmall);
  color: var(--primary);
  text-transform: uppercase;
}
.loan-additional-details span {
  color: var(--body);
  font-weight: bold;
}

#loanDetails.open {
  visibility: visible;
  opacity: 1;
  --Loan-Detail-Height: fit-content;
}

.loanRow {
  padding: 2em;
}

/*.loan-additional-details p {
    font-size: var(--font-small);
    color: var(--primary);
    text-transform: uppercase;

}*/
/*===================DETAILED APP==============*/
.detailed-app-buttons-and-partials {
  padding-bottom: 3em;
  top: var(--Body-Height);
  position: sticky;
}

.detailed-app-partial-index {
  /* position: unset; */
  /* top: var(--Body-Height); */
  /* width: 15%; */
  /* height: 100%; */
  border-right: 5px solid var(--MainThemeColor);
  /* padding: 1em; */
  /* overflow: hidden; */
  /* display: flex; */
  /* flex-direction: column; */
  justify-content: space-between;
}
.detailed-app-partial-index .index-section {
  height: auto;
}

.dropdownHideable .dropdown-menu-hideable {
  margin-top: auto;
}

.partials-nav-button {
  height: 3em;
  color: var(--color-fg);
  border-radius: 10px;
}
.partials-nav-button .dropdown-menu {
  z-index: 1000;
  max-height: 27em;
}
.partials-nav-button .dropdown-menu-hideable {
  margin-top: auto;
}
.partials-nav-button .fa-plus, .partials-nav-button .fa-trash {
  font-size: 30px;
  margin: 5px;
}
.partials-nav-button .fa-plus {
  color: var(--MainThemeColor);
}
.partials-nav-button .fa-trash {
  color: red;
}
.partials-nav-button .fa-user-plus:hover, .partials-nav-button .fa-plus:hover {
  color: green;
}

.partials-nav-button:hover {
  background-color: var(--secondary);
  color: var(--color-fg);
}

.partials-nav-button .active {
  background-color: var(--primary);
  color: var(--color-bg);
}

.dropdown-item.active {
  background-color: var(--primary);
  color: var(--color-bg);
}

#DetailedAppPartialsContainer {
  padding: 1em;
  overflow-y: scroll;
  overflow-x: hidden;
  height: calc(100vh - var(--Body-Height));
  padding-bottom: 10em;
  width: 100%;
}

#DetailedAppPartialsContainer td input[type=checkbox] {
  width: 30px; /* Set the desired width for the custom checkbox */
  height: 30px; /* Set the desired height for the custom checkbox */
  background-color: #ccc; /* Background color of the checkbox */
  border: 1px solid #333; /* Border style for the checkbox */
  display: inline-block;
  cursor: pointer;
  position: relative;
}

#DetailedAppPartialsContainer td {
  text-align: center;
  border-left: 1px solid #d9d5d5;
}

#PartialsNavigationButtons .partials-button-group {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.5em;
}

/*.index-section{
    padding: 2em;
}*/
.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  /*    overflow: hidden*/
}

.icon-container .fa-file-alt {
  color: var(--MainThemeAccentColor);
  transform: rotate(30deg);
  font-size: 9vw;
}

.icon-container .fa-pen-alt {
  color: var(--MainThemeColor);
  position: absolute;
  top: 25%;
  left: 21%;
  transform: translate(-50%, -50%) rotate(270deg);
  font-size: 5vw;
}

.additional-checkbox-choices {
  display: none;
  flex-direction: column;
}

/*=====================REMOVEABLE FIELDS=======================*/
.removeable-fields-container {
  background-color: #ebe8e8;
}

/*=======================LOAN SEARCH CONTAINER==================*/
.loan-search-container {
  /*position: absolute;*/
  top: 0;
  /* left: 18%; */
  right: 100%;
  background: white;
  height: 61px;
  width: 0;
  overflow: hidden;
  transition: width 250ms ease-in-out;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid var(--primary);
  border-radius: 0.25rem;
}

/*==================DYNAMIC APP=====================*/
:root {
  --StepHeader-Height: 9em;
}

#DynamicAppContentContainer {
  overflow-y: scroll; /* ensures scrolling is possible */
  height: 100vh;
  overflow-x: clip;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

/* Chrome, Edge, Safari */
#DynamicAppContentContainer::-webkit-scrollbar {
  display: none;
}

/*=================STEP CIRCLES Starts======================== */
.prevNextIconStep {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: white;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;
  z-index: 2;
}

#Dynamic-App-Header-Wrap {
  top: calc(var(--Nav-Height) + var(--Sub-Nav));
  height: var(--StepHeader-Height);
  /* margin-bottom: 20px;*/
  /*display: flex;*/
  gap: 10px;
  position: sticky;
  z-index: 12;
}

#Dynamic-App-Top-Bar {
  padding: 1em;
}

#DynamicAppContentContainer tr th, #DynamicAppContentContainer .table thead tr th {
  background-color: var(--background-light) !important;
  color: var(--muted) !important;
}

button:disabled {
  background-color: #ccc;
}

.prev-button {
  background-color: #ccc;
}

.active-step-dot-label {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.1;
  text-transform: uppercase;
  /*   opacity: .85;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;*/
}

.app-sticky-header {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  /*top: calc(var(--Nav-Height) + var(--Sub-Nav) + var(--StepHeader-Height));*/ /* Position below the Sub-Nav */
  background-color: var(--foreground);
  color: var(--primary);
  /*text-align: center;*/
  padding: 5px;
  z-index: 1;
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  margin-bottom: 2em;
  border-bottom: 2px solid var(--primary);
  padding-top: 3em;
  display: flex;
  justify-content: space-between;
}

.app-sticky-header h5 {
  font-weight: bold;
  text-transform: uppercase;
}

/*=====================THE STEPS CIRCLES========================*/
.step-progress {
  position: relative;
}
.step-progress .app-step-line {
  width: 97%;
  height: 3px;
  background-color: #ccc;
  position: absolute;
  top: 19px;
  left: 12px;
}
.step-progress ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step-progress .step-number {
  font-size: 12px;
}
.step-progress .step-label {
  font-size: 12px;
  color: #333;
}
.step-progress .progress-circle {
  transform: rotate(-90deg); /* Rotate the circle so the progress starts from top */
  position: absolute;
  top: -7px;
  left: -7px;
}
.step-progress .circle-background {
  stroke: #ddd;
}
.step-progress .circle-progress {
  transition: stroke-dashoffset 0.3s ease;
}
.step-progress .app-step-circle.completed .circle-progress {
  stroke: var(--success);
}
.step-progress .app-step-circle.active .circle-progress {
  stroke: var(--info);
}
.step-progress .app-step-circle.completed .step-number {
  content: "✔";
  font-size: 15px;
  color: white;
}
.step-progress .app-step-circle.completed {
  background-color: var(--success);
  color: white;
}
.step-progress .app-step-circle.active {
  background-color: var(--info);
  color: white;
}
.step-progress .step-progress ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.step-progress .app-step-circle {
  width: 35px;
  height: 35px;
  background-color: var(--separator-light); /* Default to gray */
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;
  z-index: 2;
  cursor: pointer;
}

/*=================STEP CIRCLES Ends======================== */
/*=====================STEP MOBILE DOTS========================*/
.step-progress-small-dots-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-progress-small-dots {
  z-index: 3;
  justify-content: center;
  /*width: calc(100vw - var(--Deal-Nav-Width));*/
  /*padding: 2px 15px 2px 15px;*/
  /*display: flex;*/
  bottom: 1em;
  /*    background: rgb(6 5 5 / 37%);
  border-radius: 50px;*/
  width: 100%;
}
.step-progress-small-dots ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 5px;
  justify-content: space-between; /* spread across full width */
  gap: 0; /* let space-between do the work */
  width: 100%;
}

.stepDot {
  width: 8px;
  height: 8px;
  background-color: var(--light);
  border-radius: 50%;
  flex-direction: column;
  cursor: pointer;
  margin: 0 2px;
}

.stepDot:hover, .substepDot:hover {
  background-color: var(--muted); /* Darker grey for hover effect */
}

.stepDot.active {
  background-color: var(--primary);
  width: 15px;
  height: 15px;
}

.step-progress-small-dots {
  position: relative;
}

/* dots row should stretch full width */
.step-dots-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 5px;
  width: 100%;
}

/* the line wrapper is positioned by JS (top/left/width) */
.step-dots-line {
  position: absolute;
  left: 0;
  top: 0; /* JS overrides */
  height: 2px;
  z-index: 1;
  pointer-events: none;
}

.step-dots-line__track,
.step-dots-line__fill {
  position: absolute;
  top: 0;
  height: 2px;
  border-radius: 999px;
}

.step-dots-line__track {
  background: #d9d9d9;
}

.step-dots-line__fill {
  background: var(--primary); /* or --primary / whatever matches */
  transition: width 0.2s ease;
}

.substepDot {
  width: 6px;
  height: 6px;
  background-color: var(--light);
  border-radius: 50%;
  flex-direction: column;
  cursor: pointer;
  margin: 0 2px;
}

.substepDot.active {
  background-color: var(--warning);
  width: 12px;
  height: 12px;
}

.prevNextDotIcon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  text-align: center;
  /* line-height: 40px; */
  color: white;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* margin: 0 10px; */
  z-index: 2;
  font-size: 10px;
}

/*=====================SUB STEP DOTS========================*/
.substep-dots-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 5px;
  gap: 6px;
  justify-content: center;
}

.substep-dots-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  margin: 0 10px;
}

.substep-dot {
  width: 10px;
  height: 10px;
  background-color: #bbb;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.substep-dot.active {
  background-color: #007bff; /* Highlight color for the active step */
}

.substep-dot:hover {
  background-color: #444; /* Darker grey for hover effect */
}

/*================VERTICAL STEP CATEGORY NAVIGCATION===============*/
/* Sidebar Styling */
.step-category-sidebar {
  position: sticky;
  top: calc(var(--Nav-Height) + var(--Sub-Nav) + var(--StepHeader-Height));
  left: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /*padding-top: calc(var(--Nav-Height) + var(--Sub-Nav) + var(--StepHeader-Height));*/
  padding-top: 20px; /* Space from the top */
  padding-bottom: 20px; /* Space from the bottom */
  z-index: 3;
}

.subcategory-buttons {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.subcategory-button {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 0px 10px 5px;
  transition: background-color 0.3s;
  margin: auto;
}

.subcategory-button.active-section .dot {
  background-color: var(--primary); /* Highlighted color */
  transform: scale(1.2);
  width: 13px;
  height: 13px;
}

.subcategory-button.active-section .subcategory-name {
  opacity: 100%;
  margin-left: 16px;
}

step-category-sidebar .dot:hover {
  background-color: var(--info); /* Highlight on hover */
}

.step-category-sidebar .dot {
  width: 10px;
  height: 10px;
  background-color: var(--muted); /* Color for the dot */
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.step-category-sidebar .dot.dot-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-category-sidebar .dot.dot-icon i {
  font-size: 11px;
  color: #fff;
  transition: transform 0.3s ease;
}

.subcategory-button.active-section .dot.dot-icon {
  width: 26px;
  height: 26px;
  transform: none; /* Override the plain-dot scale transform */
}
.subcategory-button.active-section .dot.dot-icon i {
  transform: scale(1.1);
}

.placeholder-dots {
  display: flex;
  flex-direction: column;
  gap: 5px; /* Space between small dots */
}

.small-dot {
  width: 8px;
  height: 8px;
  background-color: #bbb; /* Color for the small dots */
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.subcategory-name {
  position: absolute;
  opacity: 0; /* Hide the text initially */
  background-color: var(--light); /* Background for text */
  padding: 5px;
  border-radius: 5px;
  white-space: nowrap; /* Prevent text from wrapping */
  transition: opacity 0.3s ease, bottom 0.3s ease;
  font-size: 10px;
  margin-left: 16px;
}

.subcategory-button:hover .subcategory-name {
  opacity: 1; /* Show the text on hover */
}

.subcategory-button:hover .dot {
  background-color: #007bff; /* Highlight the dot on hover */
}

/* Localized loading overlay */
#global-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none; /* default state */
  align-items: center;
  justify-content: center;
}

#global-loading-overlay {
  transition: opacity 0.2s ease;
  opacity: 0;
}

#global-loading-overlay.show {
  display: flex;
  opacity: 1;
}

.overlay-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  top: 0;
  left: 0;
  z-index: 1;
}

.overlay-content {
  z-index: 2;
  color: white;
  padding: 1rem;
}

/* Default: desktop shows, mobile drawer hidden */
.app-actions-desktop {
  display: block;
}

.app-actions-mobile {
  display: none;
}

/* When html[data-mobile='true']: flip them */
html[data-mobile=true] .app-actions-desktop {
  display: none;
}

html[data-mobile=true] .app-actions-mobile {
  display: block;
}

.app-actions-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1040;
}

.app-actions-drawer {
  position: fixed;
  top: calc(var(--Nav-Height) + var(--Sub-Nav) + var(--Sub-Nav));
  left: 0;
  height: calc(100vh - (var(--Nav-Height) + var(--Sub-Nav)));
  width: 280px;
  background: var(--foreground);
  z-index: 1050;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.app-actions-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.app-actions-title {
  font-weight: 600;
}

.app-actions-drawer-body {
  padding: 10px;
  overflow-y: auto; /* independent scroll */
  flex: 1 1 auto;
}

.app-actions-drawer-body .deals-icon-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.step-progress-current-mobile .mobile-step-card {
  display: flex;
  align-items: center;
  border-radius: var(--border-radius-md);
  background: var(--foreground);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.step-progress-current-mobile .mobile-step-ring {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}
.step-progress-current-mobile .mobile-step-ring .progress-circle {
  display: block;
}
.step-progress-current-mobile .mobile-step-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
  pointer-events: none;
}
.step-progress-current-mobile .mobile-step-meta {
  min-width: 0;
  flex: 1 1 auto;
}
.step-progress-current-mobile .mobile-step-title {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--primary);
}
.step-progress-current-mobile .mobile-step-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.step-progress-current-mobile .mobile-step-bar {
  margin-top: 6px;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  overflow: hidden;
}
.step-progress-current-mobile .mobile-step-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--success);
  width: 0%;
  transition: width 0.2s ease;
}
.step-progress-current-mobile .mobile-step-hint {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}

html[data-mobile=true] .step-progress-small-dots-container,
html[data-mobile=true] #step-circle-bar-container {
  display: none;
}
html[data-mobile=true] #Dynamic-App-Top-Bar {
  padding: 0;
}
html[data-mobile=true] #Dynamic-App-Header-Wrap {
  height: auto;
}
html[data-mobile=true] #substep-dots-container,
html[data-mobile=true] #Progress-outer-div {
  display: none !important;
}
html[data-mobile=true].dynamic-app-active #heading.page-title {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}
html[data-mobile=true] #Dynamic-App-Top-Bar > .d-flex {
  margin-bottom: 0.25rem !important;
}
html[data-mobile=true] #Dynamic-App-Top-Bar > #activeStepDotLabel {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-align: center;
  text-transform: none !important;
  color: inherit !important;
  margin: 0 0 0.25rem;
}
html[data-mobile=true] .dynamicapp-header-actions {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: space-around;
}
html[data-mobile=true] .dynamicapp-header-actions .app-actions-mobile {
  order: 10;
}
html[data-mobile=true] .dynamicapp-header-actions .hoisted-trash-btn {
  order: 11;
}
html[data-mobile=true] .dynamicapp-header-actions .hoisted-trash-btn .fa-2x {
  font-size: inherit;
}
html[data-mobile=true] .dynamicapp-header-actions .app-actions-drawer-body .deals-icon-menu-item span {
  display: block;
}
html[data-mobile=true] .dynamicapp-header-actions .deals-icon-menu-item span.spinner-wrapper:not(.d-none) {
  display: inline-flex;
}
html[data-mobile=true] .step-progress {
  display: none;
}
html[data-mobile=true] #Dynamic-App-Header-Wrap .app-actions-drawer-body .deals-icon-menu-item span {
  display: block;
}
html[data-mobile=true] #Dynamic-App-Header-Wrap .deals-icon-menu-item span {
  display: none;
}
html[data-mobile=true] .dynamicapp-header-actions .deals-icon-menu-item span {
  display: none;
}
html[data-mobile=true] #Dynamic-App-Header-Wrap {
  top: calc(var(--Nav-Height) + var(--Sub-Nav));
}
html[data-mobile=true] #Dynamic-App-Top-Bar {
  margin-left: -1em;
  margin-right: -1em;
}
html[data-mobile=true] .step-category-sidebar {
  top: calc(var(--Nav-Height) + var(--Sub-Nav) + var(--StepHeader-Height));
}

html[data-mobile=false] .step-progress {
  display: block;
}
html[data-mobile=false] #currentStepMobile {
  display: none !important;
}
html[data-mobile=false] .step-progress-small-dots-container {
  display: none;
}
html[data-mobile=false] #Dynamic-App-Header-Wrap .deals-icon-menu-item span {
  display: block;
}
html[data-mobile=false] #Dynamic-App-Top-Bar {
  margin-left: -2em;
  margin-right: -2em;
  padding-right: 2em;
  padding-left: 2em;
}

.sachem-property-insurance {
  margin-bottom: 1.5rem;
}
.sachem-property-insurance .nav-tabs {
  display: grid;
  gap: 0.25rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  overflow-x: visible;
}
.sachem-property-insurance .nav-link {
  height: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}
.sachem-property-insurance .sachem-insurance-tab-item {
  min-width: 0;
}
.sachem-property-insurance .sachem-insurance-tab-item.is-applicable .nav-link {
  border-top-color: #198754;
}
.sachem-property-insurance .sachem-insurance-tab-item.is-not-applicable .nav-link {
  background-color: #f1f3f5;
  color: #6c757d;
}
.sachem-property-insurance .sachem-insurance-applicability-badge {
  border-radius: 0.75rem;
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.2rem;
}
.sachem-property-insurance .sachem-insurance-applicability-badge.is-applicable {
  color: #198754;
}
.sachem-property-insurance .sachem-insurance-applicability-badge.is-not-applicable {
  color: #6c757d;
}
.sachem-property-insurance .sachem-insurance-applicability-control {
  align-items: center;
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.75rem;
}
.sachem-property-insurance .sachem-insurance-applicability-control label {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0;
}
.sachem-property-insurance .sachem-insurance-applicability-status {
  min-height: 1.25rem;
}
.sachem-property-insurance .sachem-insurance-empty-state {
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem;
}
.sachem-property-insurance .property-insurance-policy {
  padding: 1rem 0;
}
.sachem-property-insurance .sachem-insurance-actions {
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 0.75rem;
  padding-bottom: 1rem;
}
.sachem-property-insurance .sachem-insurance-status {
  min-height: 1.25rem;
}
.sachem-property-insurance .sachem-insurance-notes {
  margin-top: 1.25rem;
}
.sachem-property-insurance .sachem-insurance-note-history {
  max-height: 18rem;
  overflow-y: auto;
}
.sachem-property-insurance .sachem-insurance-note {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}
.sachem-property-insurance .sachem-insurance-note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.sachem-property-insurance .sachem-insurance-note-text {
  white-space: pre-wrap;
  word-break: break-word;
}

html[data-mobile=true] .sachem-property-insurance .nav-tabs {
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
}
html[data-mobile=true] .sachem-property-insurance .sachem-insurance-actions {
  align-items: stretch;
  flex-direction: column;
}

.esign-portal-modal {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.esign-portal-modal .esign-portal-modal-instructions .page-instructions-wrapper {
  width: 100%;
  height: auto;
}
.esign-portal-modal .esign-portal-modal-instructions .page-instructions {
  position: relative;
  width: 100%;
  box-shadow: none;
  border: 1px solid var(--separator-light, #f1f1f1);
  border-radius: var(--border-radius-md, 10px);
  background: var(--card-bg-color, #fafafa);
}
.esign-portal-modal .esign-portal-modal-instructions .page-instructions.expanded {
  width: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.esign-portal-modal .esign-portal-modal-instructions .page-instructions h4::after {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.esign-portal-modal .esign-portal-modal-card {
  padding: 1.5rem;
  border-radius: var(--border-radius-md, 10px);
  border: 1px solid var(--separator-light, #f1f1f1);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/*
*
* Footer
*
* Template styles for footer.
*
*/
html[data-footer=true] body {
  min-height: 100%;
  position: relative;
  padding-bottom: var(--footer-size);
}
html[data-footer=true] #root > footer {
  border-top: 1px solid var(--separator);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: var(--footer-size);
  display: flex;
  padding-left: calc(var(--nav-size) + var(--main-spacing-horizontal));
  padding-right: var(--main-spacing-horizontal);
}
html[data-footer=true] #root > footer > .container-fluid, html[data-footer=true] #root > footer > .container-lg, html[data-footer=true] #root > footer > .container-md, html[data-footer=true] #root > footer > .container-sm, html[data-footer=true] #root > footer > .container-xl {
  padding-right: 0;
  padding-left: 0;
}
html[data-footer=true] #root > footer .footer-content {
  display: flex;
  width: 100%;
  align-items: center;
}

html[data-footer=true][data-placement=horizontal] #root > footer {
  padding-left: var(--main-spacing-horizontal);
}

@media (max-width: 1199.98px) {
  html[data-footer=true][data-placement=vertical] #root > footer {
    padding-left: calc(var(--main-spacing-horizontal) + var(--footer-size));
  }
}

html[data-footer=true][data-placement=vertical][data-behaviour=unpinned] #root > footer {
  padding-left: calc(var(--main-spacing-horizontal) + var(--footer-size));
}

html[data-footer=true][data-layout=fluid] #root > footer .container {
  width: 100%;
  max-width: initial;
  padding-right: 0;
  padding-left: 0;
}

html:not([data-footer=true]) #root > footer {
  display: none;
}

/*============MOBILE FOOTER===========*/
.mobile-footer-buttons-container {
  position: fixed !important;
  z-index: 1000 !important;
  bottom: 0;
  width: 100%;
  height: var(---Mobile-Footer);
}

.mobile-footer-button {
  display: inline-block;
  opacity: 0;
  border-radius: 0;
  font-size: 18px;
  width: 100%;
  margin: 0 !important;
}
.mobile-footer-button span {
  padding: 0.5rem;
  display: block;
  font-size: 10px;
}
.mobile-footer-button span svg {
  margin-top: 3px;
}
.mobile-footer-button::before {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: var(--border-radius-md) !important;
  border-bottom-left-radius: var(--border-radius-md) !important;
  border-radius: 0 !important;
}

.mobile-footer-slide-toggle {
  --Mobile-Footer: 0px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-height: var(--Mobile-Footer);
}

.mobile-footer-slide-toggle.open {
  --Mobile-Footer: 100px;
  max-height: var(--Mobile-Footer);
}

.mobile-footer-slide-toggle.chevron-flip {
  transition: transform 0.3s ease;
}

.mobile-footer-slide-toggle.chevron-flip.flipped {
  transform: rotate(180deg);
}

.copyrightFooter {
  position: absolute;
  bottom: 0px;
  margin: auto;
  text-align: center;
  color: lightgray;
  font-family: sans-serif;
  font-size: 12px !important;
}

html[data-show=true] .mobile-footer-button {
  opacity: 1;
}

/*============DEALS MOBILE FOOTER===========*/
#dealsMobileFooter {
  --Mobile-Footer: 4em;
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: var(--primary);
  height: var(--Mobile-Footer);
  overflow: hidden;
  flex-wrap: wrap;
  align-content: flex-end;
  transition: height 0.3s ease;
  justify-content: space-around;
}
#dealsMobileFooter .deals-icon-menu-item {
  opacity: 1;
  color: var(--color-bg);
  width: 20%;
  flex: 0 0 20%;
  height: 4em;
}
#dealsMobileFooter .deals-icon-menu-item.active-footer-btn {
  background: rgba(255, 255, 255, 0.25);
  border-bottom: 3px solid var(--color-bg);
}
#dealsMobileFooter.expanded {
  --Mobile-Footer: 8em;
}
#dealsMobileFooter #moreToggleBtn i.chevron {
  transition: transform 0.3s ease;
}
#dealsMobileFooter #moreToggleBtn.open i.chevron {
  transform: rotate(180deg);
}

#dealsMobileFooter:not(.expanded) .deals-icon-menu-item:nth-of-type(n+5):not(#moreToggleBtn) {
  display: none;
}

html[data-mobile=true] #dealsMobileFooter {
  display: flex;
}

html[data-sideiconmenu=none] #dealsMobileFooter {
  --Mobile-Footer: 0em;
  display: none;
}

@font-face {
  font-family: "Poppins";
  src: url("/Fonts/Poppins/Poppins-Light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
.starting-InteractiveApp {
  min-height: 70vh;
  width: 100vw;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wizard Layout */
.wizard-container {
  text-align: center;
  width: 100%;
  padding: 0 1rem;
}

/* Wider container for the card grid step */
#stepLoanPurpose {
  max-width: 1400px;
  margin: 0 auto;
}

.wizard-heading {
  font-family: var(--FontFamily), sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.wizard-btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Big, bold wizard buttons */
.wizard-btn {
  font-family: var(--FontFamily), sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--primary);
  background-color: var(--WhiteText);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 2.25rem 2.75rem;
  min-width: 230px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.wizard-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  background-color: var(--primary);
  color: var(--WhiteText);
}

.wizard-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ─── LOAN PURPOSE CARD GRID ──────────────────────────────── */
.lp-card-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  padding: 0.5rem 0;
}

.lp-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
  overflow: hidden;
}

.lp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
  border-color: var(--primary);
}

.lp-card:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Card with image — short, wide card with centered image */
.lp-card--with-image {
  padding: 1rem;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lp-card--with-image .lp-card__image {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.lp-card--with-image .lp-card__image img {
  max-width: 150%;
  max-height: 150%;
  object-fit: contain;
}

.lp-card--with-image .lp-card__title {
  padding: 0;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.lp-card--with-image .lp-card__summary {
  padding: 0 0.25rem;
}

/* Simple card (no image) — compact, wizard-btn-like */
.lp-card--simple {
  padding: 1.25rem 2rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.lp-card--simple .lp-card__title {
  font-size: 1rem;
  color: var(--primary);
  margin-top: 0.95rem;
}

.lp-card--simple:hover {
  background: var(--primary);
}

.lp-card--simple:hover .lp-card__title {
  color: #fff;
}

.lp-card__title {
  font-family: var(--FontFamily), sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d0d0d;
  line-height: 1.25;
  margin-top: 0.95rem;
}

.lp-card__summary {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.55;
  flex: 1;
}

.lp-card__summary p {
  margin: 0 0 0.4rem;
}

/* Fade transitions */
.wizard-step {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.wizard-fade-out {
  opacity: 0;
  pointer-events: none;
}

.wizard-fade-in {
  animation: wizardFadeIn 0.5s ease forwards;
}

@keyframes wizardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive */
@media (max-width: 576px) {
  .wizard-heading {
    font-size: 1.6rem;
  }
  .wizard-btn {
    font-size: 1rem;
    padding: 1rem 2rem;
    min-width: 140px;
  }
  .wizard-btn-group {
    gap: 0.75rem;
  }
  .lp-card-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .lp-card {
    min-width: 0;
  }
  .lp-card--simple {
    padding: 1rem 0.75rem;
  }
  .lp-card--with-image {
    padding: 0.75rem;
    min-height: 150px;
  }
}
/* ─── WIZARD FIELDS LAYOUT ───────────────────────────────────── */
#wizardFields {
  color: black;
  height: auto !important;
}

.wf-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  font-family: var(--FontFamily), sans-serif;
}

/* Sidebar */
.wf-sidebar {
  width: 280px;
  min-width: 280px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  align-self: flex-start;
}

.wf-sidebar-purpose {
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem 1.25rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.wf-sidebar-purpose-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a0aec0;
  margin-bottom: 0.2rem;
}

.wf-sidebar-purpose-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.wf-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #4a5568;
  border-left: 4px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.wf-sidebar-item:hover:not(.wf-sidebar-item--locked) {
  background: #f0f4ff;
  color: var(--primary);
  text-decoration: none;
}

.wf-sidebar-item--active {
  border-left-color: var(--primary);
  background: #f0f4ff;
  color: var(--primary);
}

.wf-sidebar-step {
  display: flex;
  flex-direction: column;
}

.wf-sidebar-num {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a0aec0;
  margin-bottom: 0.2rem;
}

.wf-sidebar-item--active .wf-sidebar-num {
  color: var(--primary);
}

.wf-sidebar-label {
  font-size: 0.95rem;
  font-weight: 600;
}

.wf-sidebar-icon {
  font-size: 1.4rem;
  opacity: 0.6;
}

.wf-sidebar-item--active .wf-sidebar-icon {
  opacity: 1;
  color: var(--primary);
}

/* Main Content */
.wf-content {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Section */
.wf-section {
  display: none;
  flex: 1;
  padding: 2.5rem 3rem 2.5rem;
}

.wf-section--active {
  display: block;
}

/* Each section's row stacks fields vertically, each capped at col-3 width */
.wf-section .row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wf-section .col-3.shift-group {
  width: 25%;
  max-width: 25%;
  flex: 0 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.wf-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
}

/* Yes/No & choice button groups */
.wf-btn-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.wf-choice-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid #cbd5e0;
  border-radius: 8px;
  background: #fff;
  color: #4a5568;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.wf-choice-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.wf-choice-btn--active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* Nav footer (Next / Back) — sticky at the top of the content pane */
.wf-nav-footer {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 3rem;
}

.wf-back-btn {
  background: #e2e8f0;
  color: #4a5568;
}

.wf-back-btn:hover {
  background: #cbd5e0;
  opacity: 1;
  transform: translateY(-1px);
}

.wf-next-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s, transform 0.15s;
}

.wf-next-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Responsive sidebar collapse */
@media (max-width: 768px) {
  .wf-sidebar {
    width: 72px;
    min-width: 72px;
  }
  .wf-sidebar-step,
  .wf-sidebar-purpose,
  .wf-sidebar-num {
    display: none;
  }
  .wf-sidebar-icon {
    font-size: 1.6rem;
    opacity: 1;
  }
  .wf-sidebar-item {
    justify-content: center;
    padding: 1rem 0;
  }
  .wf-content {
    padding: 0;
  }
  .wf-section {
    padding: 1.5rem 1.5rem 1.5rem;
  }
  .wf-nav-footer {
    padding: 0.85rem 1.5rem;
  }
}
/* ── Submit Section ──────────────────────────────────────────── */
.wf-section--submit {
  max-width: 600px;
}

.wf-submit-desc {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.wf-submit-action-btn {
  background: var(--primary, #1E0DAD);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.85rem 2.5rem;
  border-radius: 8px;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(30, 13, 173, 0.25);
}

.wf-submit-action-btn:hover,
.wf-submit-action-btn:focus {
  background: color-mix(in srgb, var(--primary, #1E0DAD) 80%, #000);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 13, 173, 0.35);
  color: #fff;
}

/* Submit sidebar item — always shown, slightly distinct */
.wf-sidebar-item--submit {
  border-top: 1px solid #e2e8f0;
  margin-top: 1rem;
  color: var(--primary, #1E0DAD);
  font-weight: 700;
}

/* ── Guest header (shown when user is not logged in) ───────────────────── */
.wf-guest-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 2px solid var(--primary, #1E0DAD);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  max-height: 76px;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  opacity: 1;
}

.wf-guest-header--collapsed {
  max-height: 0;
  opacity: 0;
  border-bottom: none;
}

.wf-guest-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 64px;
  gap: 1rem;
}

.wf-guest-header__logo img {
  height: 42px;
  max-width: 160px;
  object-fit: contain;
}

.wf-guest-header__message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #444;
  font-size: 0.95rem;
  font-weight: 500;
  flex: 1;
  justify-content: flex-end;
}

.wf-guest-header__login-btn {
  background: var(--primary, #1E0DAD);
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 0.4rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.wf-guest-header__login-btn:hover {
  background: color-mix(in srgb, var(--primary, #1E0DAD) 80%, #000);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Nudge body down so header doesn't overlap wizard */
body:has(.wf-guest-header:not(.wf-guest-header--collapsed)) #bodyLayout,
body:has(.wf-guest-header:not(.wf-guest-header--collapsed)) .starting-InteractiveApp {
  padding-top: 1rem;
}

/* ── Property top row: fields on the left, map on the right ───────────── */
.wf-property-toprow {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wf-property-toprow__fields {
  flex: 0 0 auto;
  width: 50%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

.wf-property-toprow__fields .shift-group {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto;
}

.wf-property-toprow__map {
  flex: 1 1 320px;
  min-width: 320px;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .wf-property-toprow__fields {
    width: 100%;
  }
  .wf-property-toprow__map {
    min-width: 100%;
  }
}
/* ── Property Address Map Card ─────────────────────────────────────────── */
.wf-map-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  background: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wf-map-card--visible .wf-map-card,
#propMapCard.wf-map-card--visible .wf-map-card {
  opacity: 1;
  transform: translateY(0);
}

/* fade-in applied directly to card container */
#propMapCard {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#propMapCard.wf-map-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.wf-map-card__summary {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.wf-map-card__address {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a202c;
}

.wf-map-card__meta {
  font-size: 0.85rem;
  color: #718096;
}

.wf-map-card__maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 300px;
}

.wf-map-card__map,
.wf-map-card__pano {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Street view image on the left, map moved to the right */
.wf-map-card__pano {
  order: 1;
  border-right: 1px solid #e2e8f0;
}

.wf-map-card__map {
  order: 2;
}

.wf-map-card__pano-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #f0f4f8;
  color: #718096;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  pointer-events: none;
}

.wf-map-card__pano-placeholder svg {
  color: var(--primary, #1E0DAD);
  opacity: 0.5;
}

@media (max-width: 640px) {
  .wf-map-card__maps {
    grid-template-columns: 1fr;
    height: 500px;
  }
  .wf-map-card__pano {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    height: 250px;
  }
  .wf-map-card__map {
    height: 250px;
  }
}
/* ── Skip-borrower checkbox ─────────────────────────────────── */
.wf-skip-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  width: fit-content;
}

.wf-skip-check:has(input:checked) {
  border-color: var(--primary, #1E0DAD);
  background: #eef2ff;
}

.wf-skip-check .form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  cursor: pointer;
  accent-color: var(--primary, #1E0DAD);
}

.wf-skip-check .form-check-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
  cursor: pointer;
}

.wf-skip-check:has(input:checked) .form-check-label {
  color: var(--primary, #1E0DAD);
  font-weight: 600;
}

/* ── Validation error card (shown on submit section) ─────────────────────── */
.wf-error-card {
  background: #fff5f5;
  border: 1.5px solid #feb2b2;
  border-left: 5px solid #e53e3e;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(229, 62, 62, 0.12);
  animation: wf-card-in 0.25s ease;
}

@keyframes wf-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wf-error-card-header {
  color: #742a2a;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.wf-error-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.wf-error-list li {
  padding: 4px 0;
  font-size: 0.875rem;
  color: #c53030;
  border-bottom: 1px solid #fed7d7;
}

.wf-error-list li:last-child {
  border-bottom: none;
}

.wf-error-link {
  color: #c53030;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.wf-error-link:hover {
  color: #742a2a;
  text-decoration: underline;
}

/* Red border on errored fields */
.wf-has-error .shift-input,
.wf-has-error select.shift-input {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.15) !important;
}

.wf-has-error .shift-label,
.wf-has-error .shift-label--static {
  color: #e53e3e !important;
}

/* ── Currency field: $ prefix ─────────────────────────────── */
.shift-group:has(.wf-currency)::before {
  content: "$";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--body, #212529);
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}
.shift-group:has(.wf-currency):has(.wf-currency:focus)::before, .shift-group:has(.wf-currency):has(.wf-currency:not(:placeholder-shown))::before {
  opacity: 1;
}
.shift-group:has(.wf-currency) .wf-currency {
  padding-left: 28px;
}
.shift-group:has(.wf-currency) .wf-currency + .shift-label {
  left: 28px;
}
.shift-group:has(.wf-currency) .wf-currency:focus + .shift-label,
.shift-group:has(.wf-currency) .wf-currency:not(:placeholder-shown) + .shift-label {
  left: 3%;
}

/* Investor2026 dashboard layout (new investor portal) */
.investor2026-dashboard .investor2026-equal-height-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.investor2026-dashboard .investor2026-map-card {
  padding: 0.75rem;
}
.investor2026-dashboard .investor2026-graph-column {
  display: flex;
  flex-direction: column;
}
.investor2026-dashboard .investor2026-fund-map-card {
  min-height: 320px;
}
.investor2026-dashboard .investor2026-dashboard-graph-card {
  flex: 1 1 50%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.investor2026-dashboard .investor2026-funddetails-map-card {
  min-height: 460px;
}
.investor2026-dashboard .investor2026-funddetails-graph-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
}
.investor2026-dashboard .investor2026-pie-card-inline {
  flex: 1 1 50%;
  min-height: 0;
  margin-top: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.investor2026-dashboard .investor2026-pie-card-inline .investor2026-pie-toggles {
  flex: 0 0 auto;
}
.investor2026-dashboard .investor2026-pie-card-inline .partial {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.investor2026-dashboard .investor2026-pie-card-inline .pieChart.row {
  flex: 1 1 auto;
  min-height: 0;
}
.investor2026-dashboard .investor2026-pie-card-inline .investor2026-pie-card {
  height: 100%;
  margin-bottom: 0 !important;
}
.investor2026-dashboard .investor2026-pie-card-inline .card-body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.investor2026-pie-chart {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.investor2026-summary {
  align-self: flex-start;
}
.investor2026-summary .investor2026-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.investor2026-summary .investor2026-summary-grid .stage-card {
  margin-bottom: 0;
}
.investor2026-summary .investor2026-balance-card {
  margin-top: 1rem;
}
.investor2026-summary .investor2026-map-bar-card {
  margin-top: 1rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.investor2026-summary .investor2026-map-bar-chart {
  width: 100%;
  min-height: 280px;
  flex: 1 1 auto;
}
.investor2026-summary .investor2026-map-bar-total {
  flex: 0 0 auto;
  text-align: center;
  font-weight: 600;
  color: #6c757d;
  padding-top: 0.25rem;
}

.investor2026-header-summary {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.25rem;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.investor2026-header-summary::-webkit-scrollbar {
  display: none;
}
.investor2026-header-summary .investor2026-header-fund-name {
  flex: 0 0 auto;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--body);
  padding-right: 1.25rem;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}
.investor2026-header-summary .investor2026-header-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
}
.investor2026-header-summary .investor2026-header-stat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  white-space: nowrap;
  background-color: var(--stage-color, #6c757d);
  border-radius: var(--border-radius-sm, 6px);
  padding: 0.15rem 0.6rem;
}
.investor2026-header-summary .investor2026-header-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.investor2026-header-summary .investor2026-header-stat-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.disbursement-history-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 0.75rem;
}
.disbursement-history-stats .investor2026-header-stat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  white-space: nowrap;
  background-color: var(--stage-color, #6c757d);
  border-radius: var(--border-radius-sm, 6px);
  padding: 0.35rem 0.9rem;
}
.disbursement-history-stats .investor2026-header-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.disbursement-history-stats .investor2026-header-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.investor2026-icon-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.investor2026-icon-tabs .investor2026-icon-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
.investor2026-icon-tabs .investor2026-icon-tab:hover {
  background-color: var(--primary);
  color: #fff;
}
.investor2026-icon-tabs .investor2026-icon-tab.detailBtnActive, .investor2026-icon-tabs .investor2026-icon-tab.bg-c-pink {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.investor2026-active-tab-label {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.5rem;
}

.investor2026-loan-modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--separator-light, #dee2e6);
  margin-bottom: 1rem;
}
.investor2026-loan-modal-tabs .investor2026-loan-modal-tab-btn {
  flex: 1 1 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.6rem 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--body);
  cursor: pointer;
  transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.investor2026-loan-modal-tabs .investor2026-loan-modal-tab-btn:hover {
  color: var(--primary);
}
.investor2026-loan-modal-tabs .investor2026-loan-modal-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.investor2026-loan-modal-pane {
  min-height: 100px;
}

.loan-details-info-card .loan-details-info-img-wrap {
  overflow: hidden;
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
}
.loan-details-info-card .loan-details-info-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #eef1f4;
}
.loan-details-info-card .loan-details-stat-icon {
  width: 40px;
  height: 40px;
}

.investor2026-loan-modal-loading {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}
.investor2026-loan-modal-loading::after {
  content: "";
  width: 2.5rem;
  height: 2.5rem;
  border: 6px solid #ecf2f5;
  border-top: 6px solid var(--primary);
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.investor2026-portfolio-table .investTable th,
.investor2026-portfolio-table .investTable td {
  text-align: center;
  vertical-align: middle;
}
.investor2026-portfolio-table .investTable th.tooltipNova,
.investor2026-portfolio-table .investTable th.tooltipInvestor {
  display: table-cell !important;
}

.investor2026-portfolio-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.investor2026-portfolio-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
}

.investor2026-portfolio-card-img-wrap {
  overflow: hidden;
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
}

.investor2026-portfolio-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.investor2026-portfolio-card-img.img-loading {
  background: #eef1f4;
}

.investor2026-portfolio-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.investor2026-portfolio-card-stat {
  flex: 1 1 0;
  min-width: 90px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  background: #fff;
  padding: 4px 8px;
}
.investor2026-portfolio-card-stat .stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#DisbursementHistoryContainer .investTable thead th {
  border-top: none;
  border-bottom: none;
}
#DisbursementHistoryContainer .investTable th.tooltipNova,
#DisbursementHistoryContainer .investTable th.tooltipInvestor {
  display: table-cell !important;
}

.investor2026-fund-graph {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.investor2026-fund-graph .btn {
  margin-bottom: 0.5rem;
}
.investor2026-fund-graph .investor2026-sort-toggles {
  display: flex;
  width: 100%;
}
.investor2026-fund-graph .investor2026-sort-toggles .investor2026-sort-toggle-btn {
  flex: 1 1 0;
  margin: 0;
  border-radius: 0 !important;
}
.investor2026-fund-graph .investor2026-sort-toggles .investor2026-sort-toggle-btn:not(:last-child) {
  border-right-width: 0;
}
.investor2026-fund-graph .investor2026-fund-graph-chart {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
}
.investor2026-fund-graph .investor2026-fund-graph-year-select {
  width: auto;
  max-width: 100%;
  margin-left: auto;
  display: block;
}
.investor2026-fund-graph .col-6:last-child {
  display: flex;
  justify-content: flex-end;
}

.investor2026-pie-toggles {
  display: flex;
  width: 100%;
}
.investor2026-pie-toggles .investor2026-pie-toggle-btn {
  flex: 1 1 0;
  margin: 0;
  border-radius: 0 !important;
}
.investor2026-pie-toggles .investor2026-pie-toggle-btn:not(:last-child) {
  border-right-width: 0;
}

.investor2026-property-map-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.investor2026-property-map-wrap .investor2026-map-toggles {
  display: flex;
  width: 100%;
  margin-bottom: 0.35rem;
}
.investor2026-property-map-wrap .investor2026-map-toggles button {
  flex: 1 1 0;
  margin: 0;
  padding: 0.25rem 0.5rem;
  border-radius: 0 !important;
}
.investor2026-property-map-wrap .investor2026-map-toggles button:not(:last-child) {
  border-right-width: 0;
}
.investor2026-property-map-wrap .investor2026-map-weight-toggles {
  margin-top: 0;
}
.investor2026-property-map-wrap .investor2026-map-weight-toggles button {
  font-size: 0.8rem;
}
.investor2026-property-map-wrap .investor2026-map-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.investor2026-property-map-wrap .investor2026-map-breadcrumb a {
  cursor: pointer;
}
.investor2026-property-map-wrap .investor2026-map-breadcrumb span {
  margin-left: 0.25rem;
  font-weight: 600;
}
.investor2026-property-map-wrap .investor2026-map-view-toggles {
  margin-bottom: 0.5rem;
}
.investor2026-property-map-wrap #investor2026_heat_map_view,
.investor2026-property-map-wrap #investor2026_pin_map_view {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.investor2026-property-map-wrap .investor2026-property-map {
  width: 100%;
  flex: 1 1 auto;
  min-height: 220px;
}

.investor2026-pin-popup {
  min-width: 320px;
}
.investor2026-pin-popup.investor2026-pin-popup-loading {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.investor2026-pin-popup .investor2026-pin-popup-body {
  display: flex;
  gap: 0.75rem;
}
.investor2026-pin-popup .investor2026-pin-popup-image {
  flex: 0 0 80px;
  width: 80px;
  height: 230px;
  border-radius: 4px;
  background-color: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 1.75rem;
  overflow: hidden;
}
.investor2026-pin-popup .investor2026-pin-popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.investor2026-pin-popup .investor2026-pin-popup-details {
  flex: 1 1 auto;
  min-width: 0;
}
.investor2026-pin-popup .investor2026-pin-popup-row {
  display: flex;
  gap: 0.75rem;
}
.investor2026-pin-popup .investor2026-pin-popup-row > .investor2026-pin-popup-field {
  flex: 1 1 0;
  min-width: 0;
}
.investor2026-pin-popup .investor2026-pin-popup-row.investor2026-pin-popup-row-triple > .investor2026-pin-popup-field {
  flex-basis: 33%;
}
.investor2026-pin-popup .investor2026-pin-popup-field {
  margin-bottom: 0.4rem;
}
.investor2026-pin-popup .investor2026-pin-popup-field.investor2026-pin-popup-field-full {
  flex-basis: 100%;
}
.investor2026-pin-popup .investor2026-pin-popup-label {
  display: block;
  color: #6c757d;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.investor2026-pin-popup .investor2026-pin-popup-value {
  display: block;
  font-weight: 600;
  word-break: break-word;
}
.investor2026-pin-popup .investor2026-pin-popup-link {
  margin-top: 0.5rem;
}
.investor2026-pin-popup .investor2026-pin-popup-link a {
  display: inline-block;
}

@media (max-width: 767.98px) {
  .investor2026-dashboard .card-body {
    padding: 0.85rem;
  }
  .investor2026-dashboard .investor2026-map-bar-card,
  .investor2026-dashboard .investor2026-map-card,
  .investor2026-dashboard .investor2026-dashboard-graph-card,
  .investor2026-dashboard .investor2026-pie-card-inline {
    min-height: 260px;
  }
  .investor2026-summary .investor2026-summary-grid {
    gap: 0.6rem;
  }
  .investor2026-summary .stage-card__title {
    font-size: 11px;
  }
  .investor2026-summary .stage-card__value {
    font-size: 20px;
  }
  .investor2026-property-map-wrap .investor2026-map-toggles,
  .investor2026-pie-toggles,
  .investor2026-sort-toggles {
    flex-wrap: wrap;
  }
  .investor2026-property-map-wrap .investor2026-map-toggles button,
  .investor2026-property-map-wrap .investor2026-map-toggles a,
  .investor2026-pie-toggles button,
  .investor2026-pie-toggles a,
  .investor2026-sort-toggles button,
  .investor2026-sort-toggles a {
    flex: 1 1 auto;
  }
}
@media (max-width: 400px) {
  .investor2026-summary .investor2026-summary-grid {
    grid-template-columns: 1fr;
  }
}
.investor2026-phone-layout,
.investor2026-phone-bottom-nav,
.investor2026-swipe-indicator {
  display: none;
}

@media (max-width: 767.98px) {
  #portalBody.investor2026-phone-active header .user-container > div {
    display: none;
  }
  #portalBody.investor2026-phone-active {
    --Nav-Height: 70px !important;
  }
  #portalBody.investor2026-phone-active #body-content {
    top: calc(var(--Nav-Height) + 4px) !important;
  }
  .investor2026-dashboard {
    padding-bottom: 4.5rem;
  }
  .investor2026-desktop-row {
    display: none;
  }
  .investor2026-phone-layout {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1rem;
  }
  .investor2026-phone-layout #investor2026PhoneCurrentInvestment {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }
  .investor2026-phone-layout #investor2026PhoneStatRow {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .investor2026-phone-layout #investor2026PhoneCurrentInvestment .stage-card__body {
    padding: 1.25rem 1rem;
  }
  .investor2026-phone-layout #investor2026PhoneCurrentInvestment .stage-card__value {
    font-size: 28px;
  }
  .investor2026-phone-layout .investor2026-map-bar-card {
    margin-top: 0;
    min-height: 240px;
  }
  .investor2026-phone-layout .investor2026-pie-card-inline {
    margin-top: 0;
  }
  .investor2026-phone-layout .investor2026-pie-toggles {
    display: none;
  }
  .investor2026-swipe-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    color: #6c757d;
    font-size: 11px;
  }
  .investor2026-swipe-indicator .investor2026-swipe-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ced4da;
  }
  .investor2026-swipe-indicator .investor2026-swipe-dot.active {
    background-color: #0d6efd;
  }
  .investor2026-swipe-indicator .investor2026-swipe-hint {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  .investor2026-phone-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.08);
  }
  .investor2026-phone-bottom-nav a {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.5rem 0.25rem;
    font-size: 10px;
    color: #6c757d;
    text-decoration: none;
  }
  .investor2026-phone-bottom-nav a i {
    font-size: 18px;
  }
  .investor2026-phone-bottom-nav a.active {
    color: #0d6efd;
  }
}
/*html[data-page='kpidashboard'] {
    --Sub-Nav: 4em !important;
    --Side-Icon-Nav-Width: 0em;

    &[data-mobile='true'] {
        .openMainMenuHam {
            display: block;
        }

        &[data-sideiconmenu=lock] {
            --Side-Icon-Nav-Width: 12em;

            .RenderBody {
                padding-right: 0em
            }
        }
    }

}*/
.kpi-container {
  max-width: 100%;
  margin: auto;
  padding: 15px;
  overflow: hidden;
}

/*
*
* Loader
*
* Template styles for loaders.
*
*/
#loader {
  z-index: 9999;
  position: absolute;
  top: 0;
  height: 0.5em;
  width: 100%;
  background: transparent;
}

#loader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

#loader::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10%; /* Start with a smaller width */
  height: 100%;
  background: var(--primary);
  animation: loading-bar 2s infinite cubic-bezier(0.4, 0, 0.2, 1); /* Use an easing function */
}

@keyframes loading-bar {
  0% {
    left: -30%;
    width: 10%; /* Narrow at the start */
  }
  50% {
    width: 40%; /* Wider in the middle */
  }
  100% {
    left: 100%;
    width: 10%; /* Narrow again at the end */
  }
}
.loader {
  z-index: 1;
  width: 5rem !important;
  height: 5rem !important;
  min-width: 70px;
  min-height: 70px;
  margin: -75px 0 0 -5px;
  border: 10px solid #ecf2f5;
  border-radius: 50%;
  border-top: 10px solid var(--primary);
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#smallLoader {
  position: absolute;
  inset: 0;
  margin: auto !important;
  transform: none;
  z-index: 1;
  width: 3rem !important;
  height: 3rem !important;
  min-width: 70px;
  min-height: 70px;
  border: 6px solid #f3f3f3;
  border-radius: 50%;
  border-top: 6px solid var(--primary);
  -webkit-animation: smallLoaderSpin 1s linear infinite;
  animation: smallLoaderSpin 1s linear infinite;
}

@keyframes smallLoaderSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
html[data-mobile=true] #smallLoader {
  position: fixed;
}

.dscr-rate-adjustment-slider {
  margin: 1.5rem auto;
  max-width: 75rem;
  width: calc(100% - 2rem);
}

.dscr-rate-adjustment-slider__heading {
  align-items: baseline;
  display: flex;
  font-size: 1.75rem;
  font-weight: 700;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.dscr-rate-adjustment-slider__heading label {
  margin: 0;
}
.dscr-rate-adjustment-slider__heading output {
  color: var(--MainThemeAccentColor);
}

.dscr-rate-adjustment-slider__track {
  height: 4rem;
  position: relative;
}
.dscr-rate-adjustment-slider__track::before {
  background: #c7c7c7;
  border-radius: 0.25rem;
  content: "";
  height: 0.5rem;
  left: 0.75rem;
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  z-index: 1;
}

.dscr-rate-adjustment-slider__input {
  appearance: none;
  accent-color: var(--MainThemeAccentColor);
  background: transparent;
  cursor: pointer;
  height: 2rem;
  left: 0;
  margin: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 3;
}
.dscr-rate-adjustment-slider__input::-webkit-slider-runnable-track {
  background: transparent;
  height: 0.5rem;
}
.dscr-rate-adjustment-slider__input::-webkit-slider-thumb {
  appearance: none;
  background: var(--MainThemeAccentColor);
  border: 0.2rem solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0.1rem var(--MainThemeAccentColor);
  height: 1.5rem;
  margin-top: -0.5rem;
  width: 1.5rem;
}
.dscr-rate-adjustment-slider__input::-moz-range-track {
  background: transparent;
  height: 0.5rem;
}
.dscr-rate-adjustment-slider__input::-moz-range-thumb {
  background: var(--MainThemeAccentColor);
  border: 0.2rem solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0.1rem var(--MainThemeAccentColor);
  height: 1.1rem;
  width: 1.1rem;
}

.dscr-rate-adjustment-slider__scale {
  display: flex;
  justify-content: space-between;
  left: 0.75rem;
  pointer-events: none;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
  z-index: 2;
}

.dscr-rate-adjustment-slider__tick {
  align-items: center;
  color: inherit;
  display: flex;
  flex-direction: column;
  width: 0;
}

.dscr-rate-adjustment-slider__dot {
  background: #fff;
  border: 0.15rem solid var(--MainThemeAccentColor);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 1rem;
  width: 1rem;
}

.dscr-rate-adjustment-slider__label {
  font-size: 0.75rem;
  margin-top: 0.65rem;
  white-space: nowrap;
}

.dscr-rate-adjustment-slider__disclaimer {
  color: #6c757d;
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
}

.llpa-wrap .llpa-card {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
}
.llpa-wrap .llpa-card > .card-footer {
  position: static;
  flex: 0 0 auto;
}
.llpa-wrap .llpa-card-body {
  flex: 0 0 auto;
  min-height: 200px;
  max-height: calc(100vh - 16rem);
  overflow-y: auto;
  padding: 16px;
}
.llpa-wrap .llpa-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.llpa-wrap .llpa-desc {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25rem;
}
.llpa-wrap .llpa-val {
  min-width: 90px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/*
*
* Main
*
* Template styles for main content area.
*
*/
.page-title {
  text-align: center;
  /*   margin-top:1em;
     margin-bottom:1em*/
}

.notificationBadge {
  position: absolute;
  z-index: 5;
  bottom: 75%;
  /*    left: 44%;*/
  background-color: red;
  border-radius: 12px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
  color: white;
  font: bold 12px/9px Helvetica, Verdana, Tahoma;
  height: 12px;
  padding: 2px 3px 0 3px;
  text-align: center;
  min-width: 8px;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-grab {
  cursor: grab;
}

.cursor-grabbing {
  cursor: grabbing;
}

main .container {
  width: 100%;
  max-width: initial;
  padding-right: 0;
  padding-left: 0;
}

.main-partial-container {
  width: 100%;
  max-width: initial;
  padding-right: 2em;
  padding-left: 2.5em;
}

.loan-details-container {
  width: 100%;
  max-width: initial;
  padding-right: 2em;
  padding-left: 2em;
}

/* * * NAVIGATION *  * */
/*===============SUBNAV=====================*/
.subnav-menu {
  background-color: var(--primary);
  width: 100vw;
  position: fixed;
  top: var(--Nav-Height);
  height: var(--Sub-Nav);
  margin: 0;
  /*   display: flex;
     flex-wrap: wrap;
     justify-content: flex-end;*/
  gap: 0.2em;
  z-index: 90;
}
.subnav-menu .btnContainer {
  min-width: 0;
}

#btnsSubnav {
  white-space: nowrap;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  gap: 0.2em;
  width: stretch;
  height: 100%;
  margin-right: 1em;
  margin-left: 1em;
}
#btnsSubnav a.side-item {
  align-content: center;
  text-decoration: none;
}

html:not(.in-detailed-app) #btnsSubnav .pageEditButton {
  display: none !important;
}

html[data-mobile=true] #btnsSubnav {
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
html[data-mobile=true] #btnsSubnav::-webkit-scrollbar {
  display: none;
}
html[data-mobile=true] #btnsSubnav > * {
  flex: 0 0 auto;
}

@media (max-width: 1023.98px) {
  #btnsSubnav {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #btnsSubnav::-webkit-scrollbar {
    display: none;
  }
  #btnsSubnav > * {
    flex: 0 0 auto;
  }
}
.subnav-scroll-hint {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
  animation: subnav-scroll-hint-pulse 1.4s ease-in-out infinite;
}

.subnav-scroll-hint-left {
  left: 0;
  background: linear-gradient(to right, var(--primary) 45%, transparent);
}

.subnav-scroll-hint-right {
  right: 0;
  background: linear-gradient(to left, var(--primary) 45%, transparent);
}

.subnav-menu.show-scroll-left .subnav-scroll-hint-left,
.subnav-menu.show-scroll-right .subnav-scroll-hint-right {
  display: flex;
}

@keyframes subnav-scroll-hint-pulse {
  0%, 100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}
html[data-mobile=true] #subNavReportTitle {
  display: none !important;
}

#columnSearchContainer.is-open {
  width: 30vw;
  min-width: 252px;
}

html[data-mobile=true] #columnSearchContainer.is-open {
  width: calc(100vw - 110px);
}

html[data-mobile=true] #QuickSearchContainer,
html[data-mobile=true] #NameSearchContainerNew,
html[data-mobile=true] #columnSearchFilterToggleContainer,
html[data-mobile=true] #columnSearchContainer {
  display: none !important;
}

/*===============SIDE ICON MENU=====================*/
.side-container {
  width: var(--Side-Icon-Nav-Width);
}

.side-menu-icon-container::-webkit-scrollbar {
  display: none;
}

.side-menu-icon-container {
  position: fixed;
  top: calc(var(--Nav-Height) + var(--Sub-Nav));
  bottom: 0;
  right: 0;
  width: var(--Side-Icon-Nav-Width);
  /*    height: 100%;*/
  list-style-type: none;
  margin: 0;
  padding: 0;
  background: var(--foreground);
  overflow: hidden;
  box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.26);
  transition: all 0.5s ease-in-out;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 5em;
  z-index: 999;
}
.side-menu-icon-container .dropdowncontainer {
  display: none;
  transition: all 0.25s ease-in-out;
  background: none;
  z-index: 1000;
  position: absolute;
  top: auto;
  width: auto;
  height: auto;
  box-shadow: none;
}
.side-menu-icon-container #NameSearchContainer {
  position: absolute;
  top: 0;
  /* left: 18%; */
  right: 100%;
  background: var(--foreground);
  height: 61px;
  width: 500px;
  overflow: hidden;
  transition: width 250ms ease-in-out;
  padding: 10px;
}
.side-menu-icon-container .dropdowncontainer.show {
  display: flex !important;
  left: auto !important;
  /* overflow: auto;*/
  position: initial;
}
.side-menu-icon-container span {
  font-size: 1em;
  /*    color: var(--color-fg);*/
}
.side-menu-icon-container .test {
  padding-bottom: 4em;
  overflow: auto;
  overflow-x: hidden;
  position: initial;
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
  padding-bottom: 5em;
}

.side-menu-icon-container button {
  font-size: 11px;
  line-height: 1.25em;
  margin: auto;
  color: var(--color-fg);
}
.side-menu-icon-container i {
  color: var(--primary);
}
.side-menu-icon-container .side-icon-menu-header {
  grid-column: 1/-1;
  padding: 0.55rem 0.75rem 0.35rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary, #1E0DAD);
  border-bottom: 1px solid rgba(30, 13, 173, 0.12);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.side-menu-icon-container #iconMenuOptions .btn-icon {
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  border-radius: 6px;
  position: relative;
}
.side-menu-icon-container #iconMenuOptions .btn-icon::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  border-radius: 0 3px 3px 0;
  transition: background 0.15s ease;
}
.side-menu-icon-container #iconMenuOptions .btn-icon:hover {
  background-color: rgba(var(--primary-rgb, 30, 13, 173), 0.08);
}
.side-menu-icon-container #iconMenuOptions .btn-icon:hover i {
  color: var(--primary);
}
.side-menu-icon-container #iconMenuOptions .btn-icon.active, .side-menu-icon-container #iconMenuOptions .btn-icon.open {
  background-color: rgba(var(--primary-rgb, 30, 13, 173), 0.12);
  box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb, 30, 13, 173), 0.18);
  font-weight: 600;
}
.side-menu-icon-container #iconMenuOptions .btn-icon.active i, .side-menu-icon-container #iconMenuOptions .btn-icon.open i {
  color: var(--primary);
}
.side-menu-icon-container #iconMenuOptions .btn-icon.active::after, .side-menu-icon-container #iconMenuOptions .btn-icon.open::after {
  background: var(--primary);
}

#iconMenuOptions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
#iconMenuOptions .btn-icon {
  width: 100%;
  height: 100%;
  min-height: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/*=================BREADCRUMBS======================*/
.breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  padding: 0 0.5rem;
}

.breadcrumb-item a {
  text-decoration: none;
}

.breadcrumb-item.active {
  font-weight: bold;
}

.deals-main-icon-partial-container button {
  font-size: 1em;
  color: var(--color-fg);
}
.deals-main-icon-partial-container span {
  font-size: 1.25em;
  color: var(--color-fg);
}

.deal-menu-header {
  text-align: center;
  width: 100%;
  display: block;
  margin: auto;
  padding: 1em;
  font-size: inherit;
  background-color: var(--primary);
  color: white;
  cursor: pointer;
}

.deals-menu {
  overflow: hidden;
  right: var(--Side-Icon-Nav-Width);
  z-index: 5;
  width: 0;
  height: 0;
  transition: all 0.1s ease-in-out;
  width: 8em;
  height: fit-content;
  background-color: var(--primary);
  color: white;
  z-index: 100;
}

.side-menu-filters {
  overflow: hidden;
  z-index: 5;
  transition: all 0.3s ease-in-out;
  background-color: #6a0dad;
  color: white;
  z-index: 100;
}

.side-menu-filters.open {
  width: var(--Side-Icon-Nav-Width);
  height: fit-content;
  color: white;
}

.side-menu-tab {
  text-align: center;
  padding: 0.5em;
  line-height: inherit !important;
  cursor: pointer;
  font-size: 12px;
  display: inline-block;
  width: 24%;
  color: white;
}
.side-menu-tab :hover {
  background-color: var(--primary-darker);
}

.side-menu-tab:hover {
  background-color: var(--primary-darker);
}

.side-menu-tab.active {
  background-color: var(--primary-darker);
  box-shadow: inset 0px 0px 16px 0px lightgrey;
}

.side-item-icon {
  top: 0;
  left: 0;
  margin: 0.5em;
  display: grid;
  position: relative;
  cursor: pointer;
}

.side-item button .open {
  background-color: var(--secondary);
  color: var(--color-fg);
}

.side-item span {
  display: block;
  font-size: 11px;
}

.side-item .open {
  background-color: var(--secondary);
  color: white;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  /*    overflow: hidden*/
}

.icon-container .fa-file-alt {
  color: var(--MainThemeAccentColor);
  transform: rotate(30deg);
  font-size: 9vw;
}

.icon-container .fa-pen-alt {
  color: var(--MainThemeColor);
  position: absolute;
  top: 25%;
  left: 21%;
  transform: translate(-50%, -50%) rotate(270deg);
  font-size: 5vw;
}

.nav-button-w-icon {
  color: var(--background);
  display: grid;
  font-size: 12px;
}
.nav-button-w-icon i {
  color: var(--background);
}
.nav-button-w-icon a {
  color: var(--background);
}

html[data-sideiconmenu=lock] {
  --Side-Icon-Nav-Width: 12em;
}
html[data-sideiconmenu=lock] .side-menu-tab {
  width: 100%;
}

html[data-sideiconmenu=show] {
  --Side-Icon-Nav-Width: 23em;
}
html[data-sideiconmenu=show] #iconMenuOptions {
  grid-template-columns: 1fr 1fr 1fr;
}

html[data-sideiconmenu=hide] {
  --Side-Icon-Nav-Width: 0em;
}
html[data-sideiconmenu=hide] .side-menu-filters {
  display: none;
  width: 0px;
}

html[data-sideiconmenu=none] {
  --Side-Icon-Nav-Width: 0em;
}

html[data-sideiconmenu=show][data-page=fund] {
  --Side-Icon-Nav-Width: 23em;
}
html[data-sideiconmenu=show][data-page=fund] #iconMenuOptions {
  grid-template-columns: 1fr 1fr 1fr;
}
html[data-sideiconmenu=show][data-page=fund] .RenderBody {
  padding-right: 0;
}

html[data-page=fund] .partial-header {
  display: none;
}
html[data-page=fund] .partial-body-btn {
  display: none;
}

html[data-page=fianddashboard] .partial-header {
  display: none;
}

html[data-page=investorprofile] .partial-header {
  display: none;
}

/*
*
* Nav Primary
*
* Template styles for both vertical and horizontal navigation as well as mobile menu.
*
*/
header {
  height: var(--Nav-Height);
  width: 100%;
  background-color: var(--foreground) !important;
  border-bottom: 5px solid var(--primary) !important;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
}

.navigation-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 4px;
  padding: 6px 8px;
  cursor: pointer;
  border: 0;
  background: transparent;
  border-radius: 8px;
  transition: background 0.15s ease;
  text-decoration: none;
}

.navigation-icon i {
  font-size: 2em;
  color: var(--primary);
}

.navigation-icon.active i {
  color: var(--foreground);
}

.navigation-icon.active {
  background: var(--primary);
  border-radius: 8px;
}

html[data-device=mobile] .nav-icon-label,
html[data-device=tablet] .nav-icon-label {
  display: none;
}

html[data-device=desktop] .nav-icon-label {
  display: block;
}

.navigation-icon .badge {
  font-size: 10px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  top: 2px;
  right: 2px;
}

.nav-icon-label {
  font-size: 10px;
  color: var(--body-muted, #6c757d);
  margin-top: 1px;
  text-align: center;
  white-space: nowrap;
}

/*
 * Nav Header Dropdown
 * Reusable fixed-position panel for My Account, Start New, etc.
 * The wrapper has position:relative so the fixed panel anchors to the viewport
 * top at --Nav-Height, aligned to the right edge.
 */
.nav-header-dropdown {
  position: fixed;
  top: var(--Nav-Height);
  right: 0;
  min-width: 220px;
  background: var(--foreground);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  z-index: 1060;
}
.nav-header-dropdown .nhd-header {
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.nav-header-dropdown .nhd-header .nhd-header-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--body);
}
.nav-header-dropdown .nhd-header .nhd-header-sub {
  font-size: 11px;
  color: var(--body-muted, #6c757d);
}
.nav-header-dropdown .nhd-items {
  padding: 4px 0;
}
.nav-header-dropdown .nhd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--body);
  text-decoration: none;
  cursor: pointer;
}
.nav-header-dropdown .nhd-item i {
  width: 15px;
  text-align: center;
  color: var(--body-muted, #6c757d);
  flex-shrink: 0;
}
.nav-header-dropdown .nhd-item .nhd-item-badge {
  margin-left: auto;
}
.nav-header-dropdown .nhd-item:hover {
  background: var(--background);
  color: var(--primary);
}
.nav-header-dropdown .nhd-item:hover i {
  color: var(--primary);
}
.nav-header-dropdown .nhd-item.text-danger {
  color: var(--danger, #dc3545) !important;
}
.nav-header-dropdown .nhd-item.text-danger i {
  color: var(--danger, #dc3545) !important;
}
.nav-header-dropdown .nhd-item.text-danger:hover {
  background: rgba(220, 53, 69, 0.07);
}
.nav-header-dropdown .nhd-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.07);
  margin: 3px 0;
}
.nav-header-dropdown .nhd-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--body-muted, #6c757d);
  padding: 6px 14px 2px;
}
.nav-header-dropdown .nhd-dark-mode {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--body);
  cursor: pointer;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.nav-header-dropdown .nhd-dark-mode i {
  width: 15px;
  text-align: center;
  color: var(--body-muted, #6c757d);
}
.nav-header-dropdown .nhd-dark-mode .form-check-input {
  margin-left: auto;
  cursor: pointer;
}
.nav-header-dropdown .nhd-dark-mode:hover {
  background: var(--background);
}

/*
 * Navigation Button
 * Full tap-area footer button with icon + label and active state
 */
.navigation-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s ease;
  color: var(--body);
  min-width: 60px;
}
.navigation-btn i {
  font-size: 1.5em;
  color: var(--primary);
  transition: color 0.15s ease;
}
.navigation-btn .nav-btn-label {
  font-size: 10px;
  margin-top: 2px;
  color: var(--body);
  transition: color 0.15s ease;
}
.navigation-btn.active {
  background: var(--primary);
}
.navigation-btn.active i {
  color: #fff;
}
.navigation-btn.active .nav-btn-label {
  color: #fff;
}

/*
 * Nav Header Dropdown
 * Reusable fixed-position panel for My Account, Start New, etc.
 */
.nav-header-dropdown {
  position: fixed;
  top: var(--Nav-Height);
  right: 0;
  min-width: 220px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13), 0 2px 6px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--primary);
  background: var(--foreground);
  z-index: 1060;
  animation: navDropdownIn 0.15s ease;
}
.nav-header-dropdown .nhd-header {
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--separator, rgba(0, 0, 0, 0.07));
  background: var(--background);
}
.nav-header-dropdown .nhd-header .nhd-header-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--body);
}
.nav-header-dropdown .nhd-header .nhd-header-sub {
  font-size: 11px;
  color: var(--body-muted, #6c757d);
}
.nav-header-dropdown .nhd-items {
  padding: 4px 0;
}
.nav-header-dropdown .nhd-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--body);
  text-decoration: none;
  transition: background 0.12s ease;
  cursor: pointer;
}
.nav-header-dropdown .nhd-item i {
  width: 15px;
  text-align: center;
  color: var(--body-muted, #6c757d);
  flex-shrink: 0;
}
.nav-header-dropdown .nhd-item .nhd-item-badge {
  margin-left: auto;
}
.nav-header-dropdown .nhd-item:hover {
  background: var(--background);
  color: var(--primary);
}
.nav-header-dropdown .nhd-item:hover i {
  color: var(--primary);
}
.nav-header-dropdown .nhd-item.text-danger {
  color: var(--danger, #dc3545) !important;
}
.nav-header-dropdown .nhd-item.text-danger i {
  color: var(--danger, #dc3545) !important;
}
.nav-header-dropdown .nhd-item.text-danger:hover {
  background: rgba(220, 53, 69, 0.07);
}
.nav-header-dropdown .nhd-divider {
  height: 1px;
  background: var(--separator, rgba(0, 0, 0, 0.07));
  margin: 3px 0;
}
.nav-header-dropdown .nhd-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--body-muted, #6c757d);
  padding: 7px 14px 3px;
}
.nav-header-dropdown .nhd-dark-mode {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--body);
  cursor: pointer;
  border-top: 1px solid var(--separator, rgba(0, 0, 0, 0.07));
  transition: background 0.12s ease;
}
.nav-header-dropdown .nhd-dark-mode i {
  width: 15px;
  text-align: center;
  color: var(--body-muted, #6c757d);
}
.nav-header-dropdown .nhd-dark-mode .form-check-input {
  margin-left: auto;
  cursor: pointer;
}
.nav-header-dropdown .nhd-dark-mode:hover {
  background: var(--background);
}

/*
 * Nav Header Dropdown — footer (mobile) variant
 * Opens upward from the mobile footer instead of downward from the nav
 */
html[data-device=mobile] #portalMobileFooter .nav-header-dropdown,
html[data-device=tablet] #portalMobileFooter .nav-header-dropdown {
  top: auto;
  bottom: var(--Portal-Mobile-Footer);
  border-top: 3px solid var(--primary);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

@keyframes navDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-container {
  top: 0;
  bottom: 0;
  z-index: 1001;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-right: 1em;
  padding-left: 1em;
}

.menu-container {
  color: var(--body);
}

.nav-menu-container {
  color: var(--body);
}

.user-container {
  display: flex;
  width: auto;
  position: inherit;
  float: right;
  /*    margin: auto;*/
}

.user-name {
  margin: auto;
}

.acctLogMenu {
  position: fixed !important;
  top: var(--Nav-Height) !important;
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  min-width: 220px;
}

.nav-menu-item {
  width: 100%;
  height: auto;
  padding: 5px;
  color: var(--body);
  cursor: pointer;
  /*margin: auto;*/
  min-width: 0;
}

.icon-no-bg {
  color: var(--color-bg);
  padding: 6px;
  font-size: inherit;
  top: 0;
  left: 0;
  margin: 0.5em;
  display: grid;
  position: relative;
  width: fit-content;
}

.icon-no-bg-title {
  color: var(--color-bg);
  font-size: 10px;
}

.nav-icon {
  color: var(--color-bg);
  background-color: var(--primary);
  border-radius: 50%;
  padding: 13px;
  font-size: inherit;
  top: 0;
  left: 0;
  margin: 0.5em;
  display: grid;
  position: relative;
  width: fit-content;
}

.nav-icon-title {
  color: var(--color-fg);
  font-size: 10px;
}

.nav-menu-title {
  color: var(--body);
  font-family: var(--FontFamily);
  font-size: 12px;
  margin: auto;
  width: 100%;
  text-align: center;
  margin-bottom: 2px;
}

.nav-sub-menu {
  position: relative;
  left: inherit;
  height: 100%;
  background-color: var(--foreground);
  color: var(--body);
  padding: 20px 20px;
  top: 10px;
  width: auto;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.12);
  border-radius: 0px 0px 10px 10px;
}

.nav-sub-menu ul,
.NavMoreOptions ul {
  width: 100%;
  margin: auto;
  list-style: none;
  padding-left: 5px;
  text-align: left;
}

.nav-sub-menu li,
.NavMoreOptions li {
  padding-bottom: 10px;
}

.nav-sub-menu li,
.NavMoreOptions li {
  width: 100%;
  min-width: 0;
}
.nav-sub-menu li > a,
.NavMoreOptions li > a {
  display: flex;
  align-items: center;
  gap: 0.6em;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.nav-sub-menu li > a [class^=LIpic],
.nav-sub-menu li > a .nav-sub-menu-icon,
.nav-sub-menu li > a .LIicon,
.NavMoreOptions li > a [class^=LIpic],
.NavMoreOptions li > a .nav-sub-menu-icon,
.NavMoreOptions li > a .LIicon {
  flex: 0 0 auto;
  width: 1.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-sub-menu li > a [class^=LIpic] i,
.nav-sub-menu li > a .nav-sub-menu-icon i,
.nav-sub-menu li > a .LIicon i,
.NavMoreOptions li > a [class^=LIpic] i,
.NavMoreOptions li > a .nav-sub-menu-icon i,
.NavMoreOptions li > a .LIicon i {
  font-size: 1em;
}
.nav-sub-menu li > a [class^=LIpic] img,
.nav-sub-menu li > a .nav-sub-menu-icon img,
.nav-sub-menu li > a .LIicon img,
.NavMoreOptions li > a [class^=LIpic] img,
.NavMoreOptions li > a .nav-sub-menu-icon img,
.NavMoreOptions li > a .LIicon img {
  max-width: 100%;
  height: auto;
}
.nav-sub-menu li > a .nav-sub-menu-title,
.NavMoreOptions li > a .nav-sub-menu-title {
  flex: 1 1 0%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-sub-menu-item {
  float: left;
  margin: 0 4px 7px 0;
  width: 150px;
  font-size: 12px;
  color: var(--body);
  text-decoration: none;
  font-weight: bold;
  /* border: 1px solid #333; */
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 7px;
}

.nav-sub-menu-icon {
  display: inline-block;
  width: 30px;
  height: 20px;
  position: relative;
  text-align: center;
}

/*.nav-sub-menu-icon i {
    color: var(--color-fg);
}

.nav-sub-menu-icon i:hover {
    color: var(--color-bg);
}*/
.nav-shadow {
  width: 100%;
  height: 100%;
  position: absolute;
  box-shadow: var(--menu-shadow);
  pointer-events: none;
  z-index: 1001;
}

.NavMoreOptions {
  position: absolute;
  left: 100px;
  height: 100%;
  background: var(--secondary);
  padding: 10px 5px;
  top: 0;
  width: auto;
}

#mobileSideNav ul {
  list-style: none !important;
  padding-left: 0 !important;
  text-align: left !important;
}
#mobileSideNav li {
  list-style: none !important;
}

.mobile-container .topnav a:hover {
  color: var(--color-bg);
  background-color: var(--primary);
}

/*
* Horizontal
* Styles for horizontal menu
*/
html[data-placement=horizontal] .nav-icon {
  color: var(--color-bg);
  background-color: var(--primary);
  border-radius: 50%;
  padding: 13px;
  font-size: inherit;
  top: 0;
  left: 0;
  margin: 0.5em;
  display: grid;
  position: relative;
}

/*
* Vertical
* Styles for vertical menu
*/
html[data-placement=vertical] .nav-icon {
  color: var(--body);
  background-color: inherit;
  padding: 5px;
  font-size: inherit;
  top: 0;
  left: 0;
  margin: 0em;
  display: flex;
  position: relative;
}

html[data-mobile=true] .sideNavig {
  width: var(--Side-Nav-Width);
  height: calc(100vh - var(--Mobile-Footer));
  /*height: auto;*/
  background: gray;
  position: fixed;
  left: 0px;
  z-index: 10;
  cursor: pointer;
  border-color: white;
  top: calc(var(--Nav-Height) + var(--Sub-Nav));
  background: none repeat scroll 0 0 var(--primary);
  color: white;
  text-shadow: none;
  border-left: 0px;
  border: none;
  padding-bottom: 10em;
  bottom: var(--Mobile-Footer);
  /*    overflow: auto;*/
}
html[data-mobile=true] .NavMoreOptions {
  position: absolute;
  left: 100%;
  height: 100%;
  width: 285px;
  font-size: inherit;
  text-align: center;
}

/*NEW*/
html[data-mobile=false] .NavMoreOptions {
  position: inherit;
  background-color: var(--foreground);
  color: var(--body);
}

html[data-navversion=new] {
  /*    --Side-Nav-Width: 0px;*/
}
html[data-navversion=new] #mobileSideNav {
  display: none;
}
html[data-navversion=new] #mainMenu {
  display: flex;
  margin-top: 1em;
}
html[data-navversion=new] {
  /*   .NavMoreOptions {
          position: inherit;
          background-color: var(--foreground);
          color: var(--body);
      }
  */
}
html[data-navversion=new] .NavMoreOptions ul {
  color: var(--body);
  width: 100%;
  margin-bottom: 0em;
  list-style: none;
  text-align: left;
}
html[data-navversion=new] nav ul li a {
  float: left;
  margin: 0 4px 7px 0;
  width: 100%;
  font-size: 12px;
  /* color: #4D4D4D !important; */
  text-decoration: none;
  font-weight: bold;
  /* border: 1px solid #333; */
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 7px;
}
html[data-navversion=new] #newDealsMenu {
  display: flex;
}
html[data-navversion=new] #oldDealsMenu {
  display: none;
}
html[data-navversion=new] #newDealsIcons {
  display: flex;
}
html[data-navversion=new] {
  /*    #oldDealsIcons {
      display: none
  }*/
}
html[data-navversion=new] #subNavOld {
  display: none;
}
html[data-navversion=new] #subNavNew {
  display: block;
}

html[data-mobile=false][data-navversion=new] .side-icon:hover {
  position: inherit;
  background-color: var(--foreground);
  color: var(--body);
  box-shadow: var(--menu-shadow);
}
html[data-mobile=false][data-navversion=new] .nav-sub-menu-title {
  color: var(--body);
}
html[data-mobile=false][data-navversion=new] .nav-sub-menu-icon,
html[data-mobile=false][data-navversion=new] [class^=LIpic],
html[data-mobile=false][data-navversion=new] .LIicon {
  color: var(--body);
}
html[data-mobile=false][data-navversion=new] .nav-sub-menu-icon img,
html[data-mobile=false][data-navversion=new] [class^=LIpic] img,
html[data-mobile=false][data-navversion=new] .LIicon img {
  filter: grayscale(1) brightness(0.6);
}

html[data-mobile=true] {
  --Side-Nav-Width: 100px;
}
html[data-mobile=true] .nav-sub-menu-title {
  color: var(--color-bg);
}
html[data-mobile=true] .nav-sub-menu-icon,
html[data-mobile=true] [class^=LIpic],
html[data-mobile=true] .LIicon {
  color: var(--color-bg);
}
html[data-mobile=true] .nav-sub-menu-icon img,
html[data-mobile=true] [class^=LIpic] img,
html[data-mobile=true] .LIicon img {
  filter: grayscale(1) brightness(2);
}

html[data-mobile=true] header nav.nav-container {
  flex-wrap: nowrap;
  padding-left: 0.5em;
  padding-right: 0.5em;
}
html[data-mobile=true] header nav.nav-container > .col-5 {
  flex: 0 1 auto;
  max-width: 40%;
  min-width: 0;
}
html[data-mobile=true] header nav.nav-container .imgLogo {
  max-width: 220px;
  height: auto;
  width: 220px;
}
html[data-mobile=true] header nav.nav-container .navigation-icon {
  margin: 0 0.4em;
  padding: 4px;
}
html[data-mobile=true] header nav.nav-container .navigation-icon i {
  font-size: 1.5em;
}

html[data-mobile=true].has-mobile-drawer #mobile-loan-info-menu {
  display: none !important;
}
html[data-mobile=true].has-mobile-drawer:has(#mobile-loan-info-menu) {
  --Sub-Nav: 0em !important;
}
html[data-mobile=true] header .mobile-nav-actions-col {
  padding-right: 1.5rem !important;
}
html[data-mobile=true] .mobile-drawer-backdrop {
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
html[data-mobile=true] .mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 65vw;
  z-index: 2001;
  display: flex !important;
  flex-direction: column;
  background: var(--secondary);
  color: #fff;
  overflow: hidden;
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
html[data-mobile=true].mobile-drawer-open {
  overflow: hidden;
}
html[data-mobile=true].mobile-drawer-open .mobile-drawer-backdrop {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
html[data-mobile=true].mobile-drawer-open .mobile-drawer {
  transform: none;
  visibility: visible;
  box-shadow: 6px 0 28px rgba(0, 0, 0, 0.45), 2px 0 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}
html[data-mobile=true] .mobile-drawer-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 1.5em 1em 1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
html[data-mobile=true] .mobile-drawer-avatar {
  flex: 0 0 auto;
  width: 2.75em;
  height: 2.75em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.03em;
}
html[data-mobile=true] .mobile-drawer-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9em;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-mobile=true] .mobile-drawer-close {
  flex: 0 0 auto;
  background: none;
  border: 0;
  color: inherit;
  font-size: 1.25em;
  padding: 0.25em 0.4em;
  cursor: pointer;
}
html[data-mobile=true] .mobile-drawer nav#nav {
  flex: 1 1 auto;
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  margin: 0;
  padding: 0.5em 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: inherit;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
html[data-mobile=true] .mobile-drawer nav#nav .side-icon,
html[data-mobile=true] .mobile-drawer nav#nav .NavIconContainer {
  display: grid;
  grid-template-columns: 2.5em 1fr;
  align-items: center;
  padding: 0 1em;
  margin: 0;
  width: 100%;
  background: transparent !important;
  cursor: pointer;
}
html[data-mobile=true] .mobile-drawer nav#nav .side-icon:hover,
html[data-mobile=true] .mobile-drawer nav#nav .NavIconContainer:hover {
  background: transparent !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .NavIconPic {
  grid-column: 1;
  padding: 0.85em 0;
  text-align: left !important;
  color: inherit !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .NavIconPic i {
  font-size: 1.15em !important;
  color: inherit !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .NavPicLabel {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85em 0;
  font-size: 1em;
  font-weight: 500;
  text-align: left !important;
  color: inherit !important;
  background: transparent !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .NavPicLabel br {
  display: none;
}
html[data-mobile=true] .mobile-drawer nav#nav .NavPicLabel::after {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 0.25em;
}
html[data-mobile=true] .mobile-drawer nav#nav .drawer-expanded > .NavPicLabel::after {
  transform: rotate(-135deg);
}
html[data-mobile=true] .mobile-drawer nav#nav .NavMoreOptions {
  grid-column: 1/-1;
  display: none !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 0 0.5em 0.5em !important;
  background: transparent !important;
  color: inherit !important;
  text-align: left !important;
  cursor: default;
}
html[data-mobile=true] .mobile-drawer nav#nav .NavMoreOptions ul {
  margin: 0;
  padding: 0 !important;
  list-style: none !important;
  text-align: left !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .NavMoreOptions li {
  list-style: none !important;
  width: 100%;
}
html[data-mobile=true] .mobile-drawer nav#nav .NavMoreOptions a,
html[data-mobile=true] .mobile-drawer nav#nav .NavMoreOptions a *,
html[data-mobile=true] .mobile-drawer nav#nav .NavMoreOptions li,
html[data-mobile=true] .mobile-drawer nav#nav .NavMoreOptions span {
  color: #fff !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .NavMoreOptions a {
  font-size: 0.95em;
  padding: 0.6em 0.5em;
  text-decoration: none;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.75em;
}
html[data-mobile=true] .mobile-drawer nav#nav .NavMoreOptions li.drawer-duplicate {
  display: none !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .NavMoreOptions .text-primary,
html[data-mobile=true] .mobile-drawer nav#nav .NavMoreOptions strong {
  color: #fff !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .drawer-expanded > .NavMoreOptions {
  display: block !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .mobile-drawer-actions {
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
html[data-mobile=true] .mobile-drawer nav#nav .mobile-drawer-actions-title {
  padding: 0.5em 1.25em 0.25em;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
html[data-mobile=true] .mobile-drawer nav#nav .mobile-drawer-action {
  display: grid;
  grid-template-columns: 2.5em 1fr auto;
  align-items: center;
  margin: 0 1em;
  padding: 0.75em 0;
  color: inherit !important;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}
html[data-mobile=true] .mobile-drawer nav#nav .mobile-drawer-action:hover, html[data-mobile=true] .mobile-drawer nav#nav .mobile-drawer-action:focus, html[data-mobile=true] .mobile-drawer nav#nav .mobile-drawer-action:active {
  background: transparent;
  color: inherit !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .mobile-drawer-action i {
  font-size: 1.15em;
  color: inherit !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .mobile-drawer-action-badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35em;
}
html[data-mobile=true] .mobile-drawer nav#nav .mobile-drawer-action-badge {
  min-width: 1.6em;
  padding: 0.1em 0.5em;
  border-radius: 1em;
  font-size: 0.75em;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: #dc3545;
  margin-left: 0.25em;
}
html[data-mobile=true] .mobile-drawer nav#nav .mobile-drawer-action-badge.is-success {
  background: #198754;
}
html[data-mobile=true] .mobile-drawer nav#nav .copyrightFooter {
  display: none !important;
}
html[data-mobile=true] .mobile-drawer nav#nav .drawer-link > .NavPicLabel::after,
html[data-mobile=true] .mobile-drawer nav#nav .drawer-link > .NavMoreOptions {
  display: none !important;
}
html[data-mobile=true] .mobile-drawer-signout {
  display: grid;
  grid-template-columns: 2.5em 1fr;
  align-items: center;
  margin: 0 1em;
  padding: 0.85em 0;
  color: #fff !important;
  font-weight: 500;
  text-decoration: none;
}
html[data-mobile=true] .mobile-drawer-signout i {
  font-size: 1.15em;
}
html[data-mobile=true] .mobile-drawer-settings {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding: 0.75em 1em calc(1em + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
html[data-mobile=true] .mobile-drawer-gear {
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.75em;
  padding: 0.25em 0.5em;
  cursor: pointer;
}
html[data-mobile=true] .acctAddressBook {
  display: none !important;
}
html[data-mobile=true] .openProgressMobileHam,
html[data-mobile=true] #stagesOutside {
  display: none !important;
}
html[data-mobile=true] .loan-details-container .fixed-tab#loanSummaryButton {
  display: none !important;
}
html[data-mobile=true] .mobile-drawer > .mobile-drawer-header,
html[data-mobile=true] .mobile-drawer > nav#nav,
html[data-mobile=true] .mobile-drawer > .mobile-drawer-settings {
  transition: transform 0.25s ease 0.25s;
}
html[data-mobile=true] .mobile-drawer.drawer-flipped > .mobile-drawer-header,
html[data-mobile=true] .mobile-drawer.drawer-flipped > nav#nav,
html[data-mobile=true] .mobile-drawer.drawer-flipped > .mobile-drawer-settings {
  transform: perspective(900px) rotateY(90deg);
  transition-delay: 0s;
}
html[data-mobile=true] .mobile-drawer-loan {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: var(--secondary);
  color: #fff;
  visibility: hidden;
  transform: perspective(900px) rotateY(-90deg);
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}
html[data-mobile=true] .mobile-drawer.drawer-flipped > .mobile-drawer-loan {
  visibility: visible;
  transform: perspective(900px) rotateY(0);
  transition: transform 0.25s ease 0.25s, visibility 0s;
}
html[data-mobile=true] .mobile-drawer-loan-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 1.5em 1em 1.25em;
}
html[data-mobile=true] .mobile-drawer-back {
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  border-radius: 2em;
  color: inherit;
  font-size: 0.85em;
  font-weight: 600;
  padding: 0.4em 1em;
  cursor: pointer;
}
html[data-mobile=true] .mobile-drawer-loan-title {
  flex: 1 1 auto;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-right: 4.5em;
}
html[data-mobile=true] .mobile-drawer-loan-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem 0.9rem 1.5rem;
  border-radius: 1.25rem 1.25rem 0 0;
  background: #fff;
  color: #1f2330;
  -webkit-overflow-scrolling: touch;
}
html[data-mobile=true] .mobile-drawer-loan-body .loan-details-container > .row {
  margin: 0 !important;
  row-gap: 0;
}
html[data-mobile=true] .mobile-drawer-loan-body .loan-details-container [class*=col-lg-],
html[data-mobile=true] .mobile-drawer-loan-body .loan-details-container .col-sm-12,
html[data-mobile=true] .mobile-drawer-loan-body .loan-details-container .col-md-6,
html[data-mobile=true] .mobile-drawer-loan-body .loan-details-container .col-12,
html[data-mobile=true] .mobile-drawer-loan-body .loan-details-container .col-3,
html[data-mobile=true] .mobile-drawer-loan-body .loan-details-container .col-9 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 !important;
}
html[data-mobile=true] .mobile-drawer-loan-body .loan-details-container .row.p-0 {
  margin: 0;
  row-gap: 0;
}
html[data-mobile=true] .mobile-drawer-loan-body .card {
  width: 100%;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
html[data-mobile=true] .mobile-drawer-loan-body .card > .row {
  margin: 0;
  flex-wrap: nowrap;
  align-items: stretch;
}
html[data-mobile=true] .mobile-drawer-loan-body .card-left-icon {
  display: none !important;
}
html[data-mobile=true] .mobile-drawer-loan-body .card > .row > .col {
  min-width: 0;
  padding: 0.5rem 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.35rem 0.75rem;
}
html[data-mobile=true] .mobile-drawer-loan-body .card > .row > .col > * {
  min-width: 0;
  text-align: left !important;
}
html[data-mobile=true] .mobile-drawer-loan-body .card .position-absolute.badge {
  position: static !important;
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.6rem;
}
html[data-mobile=true] .mobile-drawer-loan-body label,
html[data-mobile=true] .mobile-drawer-loan-body .text-muted.text-small {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.55rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a8094 !important;
}
html[data-mobile=true] .mobile-drawer-loan-body .card p,
html[data-mobile=true] .mobile-drawer-loan-body .card .p-1,
html[data-mobile=true] .mobile-drawer-loan-body .card span:not(.badge):not(.fas):not(.far) {
  margin: 0;
  padding: 0 !important;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1f2330;
  overflow-wrap: anywhere;
}
html[data-mobile=true] .mobile-drawer-loan-body .card a {
  color: var(--secondary);
  text-decoration: none;
}
html[data-mobile=true] .mobile-drawer-loan-body .address-loan-info-container,
html[data-mobile=true] .mobile-drawer-loan-body #loanDetailsPropertyAddress {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
html[data-mobile=true] .mobile-drawer-loan-body .card > .row[class*=row-cols] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
  align-items: start !important;
  padding: 0.5rem 0;
  margin: 0;
}
html[data-mobile=true] .mobile-drawer-loan-body .card > .row[class*=row-cols] br {
  display: none;
}
html[data-mobile=true] .mobile-drawer-loan-body .card > .row[class*=row-cols] > .col {
  display: block !important;
  flex: none;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0 !important;
}
html[data-mobile=true] .mobile-drawer-loan-body .phone-email-toggle-icon,
html[data-mobile=true] .mobile-drawer-loan-body .card a > span.fas.fa-phone,
html[data-mobile=true] .mobile-drawer-loan-body .card a > span.fas.fa-envelope {
  display: none !important;
}
html[data-mobile=true] .mobile-drawer-loan-body .phone-email-toggle-item {
  display: block !important;
}
html[data-mobile=true] .mobile-drawer-loan-body .phone-email-toggle-label {
  font-size: 0 !important;
}
html[data-mobile=true] .mobile-drawer-loan-body .phone-email-toggle-label::after {
  content: "Guarantor Phone / Email";
  font-size: 0.55rem;
}
html[data-mobile=true] .mobile-drawer-loan-body .check-icon {
  font-size: 0.7rem;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarMobile.progressNav {
  display: block !important;
  position: static !important;
  height: auto;
  margin: 0;
  overflow: visible;
  background: transparent;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarMobile.progressNav,
html[data-mobile=true] .mobile-drawer-loan-body #progressBarMobile > .row,
html[data-mobile=true] .mobile-drawer-loan-body #progressBarMobile ul#progressBarLine {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarMobile .row {
  margin: 0;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarLine {
  position: relative;
  max-height: none;
  padding: 0.25rem 0 0.5rem !important;
  margin: 0;
  overflow: visible;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarLine::before {
  display: none !important;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarLine li {
  width: 100% !important;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.6rem;
  min-height: 0;
  padding: 0.3rem 0;
  font-size: 0.75rem;
  text-transform: none;
  white-space: normal;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarLine li > p,
html[data-mobile=true] .mobile-drawer-loan-body #progressBarLine li > a {
  min-width: 0;
  width: 100%;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarLine li::before {
  width: 1.7rem;
  height: 1.7rem;
  margin: 0;
  line-height: 1.5rem;
  font-size: 0.75rem;
  border-width: 2px;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarLine li.stageActive::before {
  border-width: 3px;
  box-shadow: 0 0 0 1px var(--active);
  line-height: 1.1rem;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarLine li::after {
  display: block !important;
  left: 0.85rem;
  top: 2rem;
  bottom: -0.3rem;
  width: 2px;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarLine li:last-child::after {
  display: none !important;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarLine .folderName {
  font-size: 0.8rem;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
html[data-mobile=true] .mobile-drawer-loan-body #progressBarLine .subStageInfo {
  font-size: 0.65rem;
  line-height: 1.2;
  color: #7a8094;
}
html[data-mobile=true] .mobile-drawer-loan-body .btn#loanSummaryButton {
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--secondary);
  color: #fff;
}

html[data-mobile=true] #buttonMenu {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.6rem;
  margin: 0;
  padding: 0.75rem 0.75rem 5rem;
}
html[data-mobile=true] #buttonMenu > .btn-icon {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100% !important;
  height: 100% !important;
  min-height: 5.75rem;
  margin: 0;
  padding: 0.6rem 0.25rem;
  text-align: center;
  background: var(--foreground, #fff);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
html[data-mobile=true] #buttonMenu > .btn-icon > span:first-child {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.7rem;
  background: rgba(var(--primary-rgb, 30, 13, 173), 0.1);
}
html[data-mobile=true] #buttonMenu > .btn-icon > span:first-child i {
  font-size: 1.35rem !important;
  padding: 0 !important;
  line-height: 1;
}
html[data-mobile=true] #buttonMenu > .btn-icon > span:not(:first-child) {
  font-size: 0.75rem !important;
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html[data-mobile=true] #buttonMenu > .btn-icon:active {
  background: rgba(var(--primary-rgb, 30, 13, 173), 0.08);
}

html[data-mobile=true]:has(#buttonMenu) #heading.page-title {
  display: none !important;
}

html:not([data-mobile=true]) .mobile-drawer-backdrop,
html:not([data-mobile=true]) .mobile-drawer-header,
html:not([data-mobile=true]) .mobile-drawer-signout,
html:not([data-mobile=true]) .mobile-drawer-settings {
  display: none !important;
}

#sort.need-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
#sort.need-cards .need-card {
  width: 100%;
}
#sort.need-cards .need-card-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "status group group" "status desc desc" "status checks checks" "status upload upload" "status notes notes" "status ai ai" "status due last" "status completed completed" "status . .";
  grid-template-rows: repeat(8, auto) 0.2rem;
  align-items: center;
  row-gap: 0.7rem;
  column-gap: 0.5rem;
  padding: 0 0.6rem 0 0;
  overflow: hidden;
  background: var(--foreground, #fff);
  border: 2px solid transparent;
  border-radius: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
#sort.need-cards .need-card-status {
  grid-area: status;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.2rem;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
#sort.need-cards .need-card-status span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
#sort.need-cards .need-card-group {
  grid-area: group;
  min-height: 2rem;
  padding: 0.5rem 3.3rem 0;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
#sort.need-cards .need-card-description {
  grid-area: desc;
  padding: 0 1rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.25;
}
#sort.need-cards .need-card-description p {
  display: inline;
  margin: 0;
}
#sort.need-cards .need-card-description span[onclick],
#sort.need-cards .need-card-description span[data-need-id] {
  margin-left: 0.35rem;
  color: var(--primary);
  cursor: pointer;
}
#sort.need-cards .need-card-description .myProgress[style*=block] {
  display: block !important;
  margin-top: 0.3rem;
}
#sort.need-cards .need-card-visibility,
#sort.need-cards .need-card-delete {
  position: absolute;
  top: 0.4rem;
  z-index: 1;
}
#sort.need-cards .need-card-visibility span[onclick],
#sort.need-cards .need-card-visibility span[data-need-id],
#sort.need-cards .need-card-delete span[onclick],
#sort.need-cards .need-card-delete span[data-need-id] {
  display: block;
  line-height: 1;
  cursor: pointer;
}
#sort.need-cards .need-card-visibility i,
#sort.need-cards .need-card-delete i {
  font-size: 1.1rem !important;
}
#sort.need-cards .need-card-visibility {
  left: 2.5rem;
}
#sort.need-cards .need-card-visibility span[onclick],
#sort.need-cards .need-card-visibility span[data-need-id] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
#sort.need-cards .need-card-visibility .need-card-visibility-label {
  width: 2.6rem;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  opacity: 0.7;
}
#sort.need-cards .need-card-visibility i::before {
  content: "\f06e";
}
#sort.need-cards .need-card-delete {
  right: 0.6rem;
}
#sort.need-cards .need-card-delete i {
  color: #dc3545 !important;
}
#sort.need-cards .need-card-checks {
  grid-area: checks;
  display: flex;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#sort.need-cards .need-card-check {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
#sort.need-cards .need-card-check + .need-card-check {
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}
#sort.need-cards .need-card-check input.checkbox {
  margin: 0;
}
#sort.need-cards .need-card-check .text-primary {
  font-size: 0.6rem;
  font-weight: 400;
  line-height: 1.1;
}
#sort.need-cards .need-card-upload {
  grid-area: upload;
  position: relative;
}
html[data-mobile=true] #sort.need-cards .need-card-upload .need-card-upload-desktop {
  display: none;
}
html[data-mobile=true] #sort.need-cards .need-card-upload .tabledocLabel {
  display: block;
  top: 0;
  margin: 0;
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background: var(--primary);
  border-radius: 0.6rem;
  cursor: pointer;
}
html[data-mobile=true] #sort.need-cards .need-card-upload .tabledocUpload {
  position: absolute !important;
  top: 0 !important;
  left: 0;
  width: 1px;
  min-width: 0;
  height: 1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
#sort.need-cards .need-card-notes {
  grid-area: notes;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.4rem;
}
#sort.need-cards .need-card-notes i {
  font-size: 1.05rem;
}
#sort.need-cards .need-card-notes .AddCommentNeedNote,
#sort.need-cards .need-card-notes .fileNotes {
  cursor: pointer;
}
#sort.need-cards .need-card-notes .AddCommentNeedNote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
#sort.need-cards .need-card-notes .need-card-note-label {
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.7;
}
#sort.need-cards .need-card-notes .need-card-docs {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
#sort.need-cards .need-card-notes .need-card-docs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}
#sort.need-cards .need-card-ai {
  grid-area: ai;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}
#sort.need-cards .need-card-ai p {
  margin-top: 10px;
}
#sort.need-cards .need-card-ai p:not(:empty)::before {
  content: "AI Status: ";
  font-weight: 700;
}
#sort.need-cards .need-card-ai:empty {
  display: none;
}
#sort.need-cards .need-card-last-upload {
  grid-area: last;
  justify-self: end;
  text-align: right;
  font-size: 0.75rem;
}
#sort.need-cards .need-card-last-upload:not(:empty)::before {
  content: "Last upload ";
  display: block;
  font-weight: 700;
}
#sort.need-cards .need-card-due,
#sort.need-cards .need-card-completed-by {
  font-size: 0.75rem;
}
#sort.need-cards .need-card-due {
  grid-area: due;
}
#sort.need-cards .need-card-due:not(:empty)::before {
  content: "Due ";
  display: block;
  font-weight: 700;
}
#sort.need-cards .need-card-completed-by {
  grid-area: completed;
}
#sort.need-cards .need-card-completed-by:not(:has(span)) {
  display: none;
}
#sort.need-cards .need-card-completed-by:has(span)::before {
  content: "Completed by ";
  display: block;
  font-weight: 700;
}

html:not([data-mobile=true]) #sort.need-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
  padding: 0.5rem 0;
}
html:not([data-mobile=true]) #sort.need-cards .need-card {
  display: flex;
}
html:not([data-mobile=true]) #sort.need-cards .need-card-upload {
  text-align: center;
  height: 3.8rem;
  margin-bottom: 0;
}
html:not([data-mobile=true]) #sort.need-cards .need-card-upload .need-card-upload-mobile {
  display: none;
}
html:not([data-mobile=true]) #sort.need-cards .need-card-inner {
  flex: 1 1 auto;
  width: 100%;
  grid-template-rows: repeat(8, auto) minmax(0.2rem, 1fr);
}

html[data-mobile=true] .needs-view-toggle {
  display: none;
}

html[data-mobile=true] #partialContainer > .col-12.row.mx-0 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 > .btn-group,
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 > .row.mx-0 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  margin: 0 !important;
  padding: 0;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 > .btn-group > .btn-group,
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 > .row.mx-0 > .btn-group {
  display: flex;
  width: 100%;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .btn-group > .btn,
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .btn-group > .btn-group > .btn {
  height: 2.2rem;
  padding: 0 0.6rem;
  font-size: 0.75rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0;
  margin: 0;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .btn-group > .btn:first-child {
  flex: 1 1 auto;
  border-radius: 0.4rem 0 0 0.4rem;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .btn-group > .btn-group {
  flex: 0 0 2.6rem;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .btn-group > .btn-group > .btn {
  width: 100%;
  padding: 0;
}
html[data-mobile=true] #partialContainer > .col-12.row.mx-0 .btn-group > .btn-group:last-child > .btn {
  border-radius: 0 0.4rem 0.4rem 0;
}

html[data-mobile=true] #Response {
  margin: 0;
}
html[data-mobile=true] #Response .ai-summary-accordion {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-left-width: 4px;
  border-radius: 0.4rem;
  background: #fff;
  margin: 6px 0;
  overflow: hidden;
}
html[data-mobile=true] #Response .ai-summary-accordion.alert-warning {
  border-left-color: #ffc107;
}
html[data-mobile=true] #Response .ai-summary-accordion.alert-success {
  border-left-color: #28a745;
}
html[data-mobile=true] #Response .ai-summary-accordion.alert-danger {
  border-left-color: #dc3545;
}
html[data-mobile=true] #Response .ai-summary-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
html[data-mobile=true] #Response .ai-summary-accordion > summary::-webkit-details-marker {
  display: none;
}
html[data-mobile=true] #Response .ai-summary-accordion > summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  font-size: 0.65rem;
  transition: transform 0.2s;
}
html[data-mobile=true] #Response .ai-summary-accordion[open] > summary::after {
  transform: rotate(180deg);
}
html[data-mobile=true] #Response .ai-summary-accordion > .ai-summary-body {
  padding: 0.5rem 0.75rem 0.6rem;
  font-size: 0.75rem;
  line-height: 1.35;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

html:not([data-mobile=true]) #taskContainer:not(.task-card-view) .task-status-strip,
html:not([data-mobile=true]) #taskContainer:not(.task-card-view) .task-complete-label,
html:not([data-mobile=true]) #taskContainer:not(.task-card-view) .task-edit-icon {
  display: none;
}

html[data-mobile=true] .tasks-view-toggle {
  display: none;
}

html[data-mobile=true] #taskContainer,
html:not([data-mobile=true]) #taskContainer.task-card-view {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
html[data-mobile=true] #taskContainer .task-card,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-card {
  --task-status-color: #007bff;
  position: relative;
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr) auto auto;
  grid-template-areas: "status loan due complete" "status assigned assigned assigned" "status desc desc desc" "status na countdown edit";
  align-items: center;
  row-gap: 0.5rem;
  column-gap: 0.5rem;
  margin: 0;
  padding: 0 0.6rem 0.5rem 0;
  overflow: hidden;
  background: var(--foreground, #fff);
  border: 2px solid var(--task-status-color);
  border-radius: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
html[data-mobile=true] #taskContainer .task-card[data-status=complete],
html:not([data-mobile=true]) #taskContainer.task-card-view .task-card[data-status=complete] {
  --task-status-color: #28a745;
}
html[data-mobile=true] #taskContainer .task-card[data-status=pastdue],
html:not([data-mobile=true]) #taskContainer.task-card-view .task-card[data-status=pastdue] {
  --task-status-color: #dc3545;
}
html[data-mobile=true] #taskContainer .task-card[data-status=incomplete],
html:not([data-mobile=true]) #taskContainer.task-card-view .task-card[data-status=incomplete] {
  --task-status-color: #007bff;
}
html[data-mobile=true] #taskContainer .task-card[data-status=na],
html:not([data-mobile=true]) #taskContainer.task-card-view .task-card[data-status=na] {
  --task-status-color: #8b5a2b;
}
html[data-mobile=true] #taskContainer .task-main,
html[data-mobile=true] #taskContainer .task-actions,
html[data-mobile=true] #taskContainer .task-main > strong,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-main,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-actions,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-main > strong {
  display: contents;
}
html[data-mobile=true] #taskContainer .task-status-strip,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-status-strip {
  grid-area: status;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--task-status-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
html[data-mobile=true] #taskContainer .task-status-strip::before,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-status-strip::before {
  content: "Incomplete";
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
html[data-mobile=true] #taskContainer .task-card[data-status=complete] .task-status-strip::before,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-card[data-status=complete] .task-status-strip::before {
  content: "Complete";
}
html[data-mobile=true] #taskContainer .task-card[data-status=pastdue] .task-status-strip::before,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-card[data-status=pastdue] .task-status-strip::before {
  content: "Past Due";
}
html[data-mobile=true] #taskContainer .task-card[data-status=na] .task-status-strip::before,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-card[data-status=na] .task-status-strip::before {
  content: "N/A";
}
html[data-mobile=true] #taskContainer .task-main > img,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-main > img {
  display: none;
}
html[data-mobile=true] #taskContainer .task-sep,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-sep {
  display: none;
}
html[data-mobile=true] #taskContainer .task-loan,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-loan {
  grid-area: loan;
  padding-top: 0.5rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}
html[data-mobile=true] #taskContainer .task-loan-value,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-loan-value {
  display: block;
}
html[data-mobile=true] #taskContainer .task-due,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-due {
  grid-area: due;
  padding-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
html[data-mobile=true] #taskContainer .task-assigned,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-assigned {
  grid-area: assigned;
  font-size: 0.85rem;
  font-weight: 400;
}
html[data-mobile=true] #taskContainer .task-complete-check,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-complete-check {
  grid-area: complete;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.4rem 0.2rem 0 0;
}
html[data-mobile=true] #taskContainer .task-complete-check input.checkbox,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-complete-check input.checkbox {
  margin: 0;
}
html[data-mobile=true] #taskContainer .task-complete-check .task-complete-label,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-complete-check .task-complete-label {
  display: block;
  margin: 0;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
html[data-mobile=true] #taskContainer .task-body,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-body {
  grid-area: desc;
  padding: 0;
  max-width: none;
  flex: none;
  font-size: 0.9rem;
  line-height: 1.25;
}
html[data-mobile=true] #taskContainer .task-body .taskitem,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-body .taskitem {
  padding: 0;
  border: 0;
  box-shadow: none;
}
html[data-mobile=true] #taskContainer .task-body .taskitem small,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-body .taskitem small {
  display: block;
  margin-top: 0.3rem;
}
html[data-mobile=true] #taskContainer .task-na,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-na {
  grid-area: na;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
html[data-mobile=true] #taskContainer .task-na label,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-na label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
}
html[data-mobile=true] #taskContainer .task-na input.checkbox,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-na input.checkbox {
  order: -1;
  margin: 0;
}
html[data-mobile=true] #taskContainer .task-countdown-wrap,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-countdown-wrap {
  grid-area: countdown;
  justify-self: center;
  margin: 0 !important;
  font-size: 0.8rem;
}
html[data-mobile=true] #taskContainer .task-countdown-wrap label,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-countdown-wrap label {
  margin: 0;
}
html[data-mobile=true] #taskContainer .task-edit,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-edit {
  grid-area: edit;
  justify-self: end;
  text-decoration: none !important;
  color: var(--primary, #007bff);
}
html[data-mobile=true] #taskContainer .task-edit .task-edit-text,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-edit .task-edit-text {
  display: none;
}
html[data-mobile=true] #taskContainer .task-edit .task-edit-icon,
html:not([data-mobile=true]) #taskContainer.task-card-view .task-edit .task-edit-icon {
  font-size: 1.1rem;
}

html:not([data-mobile=true]) #taskContainer.task-card-view {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
}
html:not([data-mobile=true]) #taskContainer.task-card-view .task-card {
  max-width: none;
  flex: none;
}

html[data-mobile=true] .note-visible-to {
  display: block !important;
  margin: 0.4rem 0;
}
html[data-mobile=true] .note-visible-to .note-visible-to-label {
  display: block;
  margin-bottom: 0.3rem;
}
html[data-mobile=true] .note-visible-to .note-visible-to-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
html[data-mobile=true] .note-visible-to .note-role {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.3;
  white-space: nowrap;
  border: 1px solid rgba(40, 167, 69, 0.4);
  border-radius: 1rem;
  background: rgba(40, 167, 69, 0.08);
}
html[data-mobile=true] .note-visible-to .note-role i {
  font-size: 0.65rem;
}

html[data-mobile=true] #note-details-container .card-title,
html[data-mobile=true] #note-details-container .name {
  overflow-wrap: anywhere;
}

html[data-mobile=true] #note-details-container .inner-details {
  width: 100% !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

html[data-mobile=true] #aiSummary #aiSummaryText,
html[data-mobile=true] #aiSummary #aiSummaryLoader {
  padding: 0.9rem 1rem !important;
}
html[data-mobile=true] #aiSummary .ai-summary-header {
  position: static !important;
  margin-bottom: 0.6rem !important;
}
html[data-mobile=true] #aiSummary .ai-summary-refresh-icon {
  position: static !important;
}
html[data-mobile=true] #aiSummary #aiSummaryContent {
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
html[data-mobile=true] #aiSummary .ai-summary-footer {
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
html[data-mobile=true] #aiSummary .ai-summary-footer .text-end {
  text-align: left !important;
}
html[data-mobile=true] #aiSummary .ai-summary-footer small {
  display: block;
  font-size: 0.7rem;
}

html[data-mobile=true] #note-details-container {
  height: auto;
  min-height: 0;
  bottom: var(--Mobile-Footer);
  margin-bottom: 0;
  padding-bottom: 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
html[data-mobile=true] #note-details-container .inner-details {
  height: auto;
  overflow: visible;
  resize: none;
  margin-bottom: 0;
}

html:not([data-mobile=true]) #aiSummary .ai-summary-chevron {
  display: none;
}

html[data-mobile=true] #aiSummary .ai-summary-chevron {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
html[data-mobile=true] #aiSummary .ai-summary-header[aria-expanded=true] .ai-summary-chevron {
  transform: rotate(180deg);
}
html[data-mobile=true] #aiSummary .ai-summary-header[aria-expanded=false] {
  margin-bottom: 0 !important;
}

/*
*
* MARKETPLACE
*
*
*/
html[data-page=marketplace] .RenderBody {
  width: calc(100vw - (var(--Side-Icon-Nav-Width) + var(--Side-Nav-Width)));
  top: calc(var(--Nav-Height));
}

.pipeline-alert-zero {
  background-color: var(--warning);
}

.pipeline-alert-unread {
  background-color: var(--danger);
}

.pipeline-alert-read {
  background-color: var(--info);
}

/*============Circle Loan Selector Start=================*/
.circular-menu-container {
  position: absolute;
  display: inline-block;
}

.loan-id {
  color: var(--primary);
  cursor: pointer;
  position: relative;
  z-index: 1;
  padding: 5px;
  background-color: transparent;
  transition: background-color 0.3s;
  border-radius: 5px;
}

.circular-menu-container:hover .loan-id {
  background-color: var(--background);
  color: white;
}

.pipeline-circle {
  position: absolute;
  top: 50%;
  /*left: 120%;*/
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--background);
  box-shadow: var(--menu-shadow);
  /*display: none;*/
  pointer-events: none;
  z-index: 1000;
  overflow: visible;
}

.circular-menu-container:hover .pipeline-circle,
.pipeline-circle:hover {
  display: block;
  pointer-events: auto;
}

.pipeline-circle .center-loan-id {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: bold;
  pointer-events: none;
  color: var(--body);
}

.menu-item {
  z-index: 2001;
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.menu-item:hover {
  background-color: #555;
}

/* Ensure the tooltips are on top for bottom items while the top ones show below the element*/
.menu-item[data-tooltip]:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  top: -40px; /* Adjust this to position the tooltip above the icon */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 2100; /* Make sure z-index is higher than other elements */
}

.menu-item[data-tooltip]:nth-child(7):hover:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px; /* Adjust this to position the tooltip above the icon */
  top: unset;
  left: 50%;
  transform: translateX(-20%);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 2100; /* Make sure z-index is higher than other elements */
}

.menu-item[data-tooltip]:nth-child(8):hover:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px; /* Adjust this to position the tooltip above the icon */
  top: unset;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 2100; /* Make sure z-index is higher than other elements */
}

.menu-item[data-tooltip]:nth-child(9):hover:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px; /* Adjust this to position the tooltip above the icon */
  top: unset;
  left: 50%;
  transform: translateX(-100%);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 2100; /* Make sure z-index is higher than other elements */
}

.menu-item[data-tooltip]:hover:before {
  content: "";
  position: absolute;
  top: -10px; /* Adjust this if needed */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
  z-index: 2100; /* Match the z-index with the tooltip */
}

.menu-item[data-tooltip]:nth-child(7):hover:before {
  content: "";
  position: absolute;
  top: unset; /* Adjust this if needed */
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
  z-index: 2100; /* Match the z-index with the tooltip */
}

.menu-item[data-tooltip]:nth-child(8):hover:before {
  content: "";
  position: absolute;
  top: unset; /* Adjust this if needed */
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
  z-index: 2100; /* Match the z-index with the tooltip */
}

.menu-item[data-tooltip]:nth-child(9):hover:before {
  content: "";
  position: absolute;
  top: unset; /* Adjust this if needed */
  bottom: -12px;
  left: 50%;
  transform: translateX(-100%) rotate(190deg);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
  z-index: 2100; /* Match the z-index with the tooltip */
}

.menu-item:nth-child(2) {
  z-index: 1998;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(40deg) translate(70px) rotate(-40deg);
}

.menu-item:nth-child(3) {
  z-index: 1997;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(80deg) translate(70px) rotate(-80deg);
}

.menu-item:nth-child(4) {
  z-index: 1996;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(120deg) translate(70px) rotate(-120deg);
}

.menu-item:nth-child(5) {
  z-index: 1995;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(160deg) translate(70px) rotate(-160deg);
}

.menu-item:nth-child(6) {
  z-index: 1992;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(200deg) translate(70px) rotate(-200deg);
}

.menu-item:nth-child(7) {
  z-index: 1991;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(240deg) translate(70px) rotate(-240deg);
}

.menu-item:nth-child(8) {
  z-index: 1992;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(280deg) translate(70px) rotate(-280deg);
}

.menu-item:nth-child(9) {
  z-index: 1991;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(320deg) translate(70px) rotate(-320deg);
}

.menu-item:nth-child(10) {
  z-index: 1997;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(360deg) translate(70px) rotate(-360deg);
}

/* Arrow connecting Loan ID to circle */
.loan-id:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid var(--primary);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  opacity: 0;
  transition: opacity 0.3s;
}

.circular-menu-container:hover .loan-id:after {
  opacity: 1;
}

/*============Circle Loan Selector End=================*/
/* === DESKTOP behavior: hide filters when filters-hidden is present === */
html.filters-hidden .tasks-filter-panel {
  display: none;
}

html.filters-hidden .tasks-list-panel {
  flex: 1 0 100%;
}

/*==================MOBILE===================*/
/*Tasks Partial sort and filter menu*/
/* MOBILE: hide filter panel when body has data-mobile="true" and class filters-hidden */
/*==================MOBILE===================*/
/* Tasks Partial sort and filter menu - OFF CANVAS on mobile */
html[data-page=pipeline][data-mobile=true] .tasks-layout {
  display: flex;
  position: relative;
}
html[data-page=pipeline][data-mobile=true] {
  /*    .tasks-list-panel {
          flex: 1 0 auto;
      }*/
}
html[data-page=pipeline][data-mobile=true] .tasks-filter-panel {
  position: fixed;
  top: var(--Sub-Nav);
  left: 0;
  bottom: 0;
  /*        width: 280px;
          max-width: 80%;*/
  background-color: var(--background);
  box-shadow: var(--menu-shadow);
  z-index: 1050;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.25s ease-in-out;
}
html[data-page=pipeline][data-mobile=true] {
  /* When filters are visible (no .filters-hidden), slide panel in */
}
html[data-page=pipeline][data-mobile=true]:not(.filters-hidden) .tasks-filter-panel {
  transform: translateX(0);
}
html[data-page=pipeline][data-mobile=true] {
  /* Optional overlay on main list when drawer is open */
}
html[data-page=pipeline][data-mobile=true]:not(.filters-hidden) .tasks-list-panel::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1040;
}

html[data-page=pipeline][data-mobile=true] #body-content {
  bottom: 0;
}
html[data-page=pipeline][data-mobile=true] #tablePipelineView,
html[data-page=pipeline][data-mobile=true] .table-container,
html[data-page=pipeline][data-mobile=true] .table-responsive {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}
html[data-page=pipeline][data-mobile=true] .main-partial-container {
  padding-left: 0;
  padding-right: 0;
}
html[data-page=pipeline][data-mobile=true] #pipelineTable {
  width: 100% !important;
  table-layout: fixed;
  word-break: break-word;
}

/*==================MOBILE PIPELINE CARDS (_MyPipeline_Mobile)===================*/
.mp-mobile {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 0 0.5rem 1rem;
}
.mp-mobile .mp-card {
  position: relative;
  background: linear-gradient(160deg, var(--background) 0%, color-mix(in srgb, var(--primary, #1e0dad) 6%, var(--background)) 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -8px rgba(0, 0, 0, 0.18);
  margin-bottom: 1rem;
  padding: 1rem;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mp-mobile .mp-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary, #1e0dad), color-mix(in srgb, var(--primary, #1e0dad) 30%, transparent));
}
.mp-mobile .mp-card:active {
  transform: scale(0.985);
}
.mp-mobile .mp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem 0 0.85rem;
}
.mp-mobile .mp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mp-mobile .mp-grid.mp-grid-cols-1 {
  grid-template-columns: minmax(0, 1fr);
}
.mp-mobile .mp-grid.mp-grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mp-mobile .mp-grid.mp-grid-more {
  border-top: 0;
  padding: 0.5rem 0 0.85rem;
}
.mp-mobile .mp-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-width: 0;
}
.mp-mobile .mp-label,
.mp-mobile .mp-value {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mp-mobile .mp-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.6;
}
.mp-mobile .mp-value {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
}
.mp-mobile .mp-grid .mp-slot {
  cursor: pointer;
}
.mp-mobile .mp-grid .mp-slot.mp-slot-open {
  grid-column: 1/-1;
}
.mp-mobile .mp-grid .mp-slot.mp-slot-open .mp-label,
.mp-mobile .mp-grid .mp-slot.mp-slot-open .mp-value {
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: clip;
}
.mp-mobile .mp-empty {
  opacity: 0.35;
}
.mp-mobile .mp-slot-id .mp-loan-id {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
}
.mp-mobile .mp-menu-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.25rem;
}
.mp-mobile .mp-menu {
  display: none;
}
.mp-mobile .mp-card-fields {
  margin: 0;
}
.mp-mobile .mp-card-fields .mp-card-field {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.8rem;
}
.mp-mobile .mp-card-fields dt {
  font-weight: 600;
  opacity: 0.65;
}
.mp-mobile .mp-card-fields dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.mp-mobile .mp-card-more {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mp-mobile .mp-card-more summary {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0.6rem 0 0.4rem;
  font-size: 1.1rem;
  list-style: none;
}
.mp-mobile .mp-card-more summary::-webkit-details-marker {
  display: none;
}
.mp-mobile .mp-card-more summary i {
  transition: transform 0.2s ease;
}
.mp-mobile .mp-card-more[open] summary i {
  transform: rotate(45deg);
}
.mp-mobile .mp-load-more {
  text-align: center;
  margin-top: 0.5rem;
}
.mp-mobile .mp-load-more .btn {
  width: 100%;
}

.mp-cfg {
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
}
.mp-cfg .mp-card {
  margin-bottom: 0;
}
.mp-cfg .mp-card:active {
  transform: none;
}
.mp-cfg .mp-cfg-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.4rem 1.4rem 0.4rem 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  background: var(--background);
  cursor: grab;
  user-select: none;
}
.mp-cfg .mp-cfg-sample {
  height: 0.6rem;
  width: 60%;
  border-radius: 0.3rem;
  background: rgba(0, 0, 0, 0.1);
}
.mp-cfg .mp-cfg-remove {
  position: absolute;
  top: 0.1rem;
  right: 0.15rem;
  width: 1.2rem;
  height: 1.2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 0.75rem;
  line-height: 1;
  opacity: 0.55;
}
.mp-cfg .mp-cfg-remove:hover {
  opacity: 1;
}
.mp-cfg .mp-cfg-edit {
  position: absolute;
  bottom: 0.1rem;
  right: 0.15rem;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 0.8rem;
  line-height: 1;
  opacity: 0.7;
}
.mp-cfg .mp-cfg-empty {
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-style: dashed;
  cursor: default;
}
.mp-cfg .mp-cfg-empty .mp-cfg-edit {
  position: static;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
}
.mp-cfg .mp-cfg-zone {
  min-height: 3.5rem;
  border-radius: 0.5rem;
}
.mp-cfg .mp-cfg-zone-empty {
  grid-column: 1/-1;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.55;
}
.mp-cfg .mp-cfg-more {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mp-cfg .mp-cfg-more .mp-cfg-more-title {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
}
.mp-cfg .mp-cfg-more .mp-cfg-zone {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.mp-cfg .mp-cfg-over {
  outline: 2px dashed var(--primary, #1e0dad);
  outline-offset: 2px;
  background: color-mix(in srgb, var(--primary, #1e0dad) 8%, transparent);
}

.mp-cfg-pill {
  z-index: 1100;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--primary, #1e0dad);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  cursor: grabbing;
}

.mp-wheel-overlay {
  --mp-wheel-size: min(92vw, 360px);
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.mp-wheel-overlay.open {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}
.mp-wheel-overlay .mp-wheel {
  position: relative;
  width: var(--mp-wheel-size);
  height: var(--mp-wheel-size);
  border-radius: 50%;
  color: #fff;
  background: repeating-conic-gradient(from -20deg, rgba(255, 255, 255, 0.55) 0 0.8deg, transparent 0.8deg 40deg), radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--secondary) 80%, white 20%), var(--secondary) 70%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 0 0 6px rgba(255, 255, 255, 0.25);
  opacity: 0;
  transform: scale(0.2) rotate(-120deg);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.25s ease;
}
.mp-wheel-overlay.open .mp-wheel {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.mp-wheel-overlay .mp-wheel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.1;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--mp-wheel-size) * -0.355)) rotate(calc(var(--a) * -1)) scale(0.4);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3), opacity 0.3s ease;
  transition-delay: calc(var(--i) * 30ms + 150ms);
}
.mp-wheel-overlay .mp-wheel-item i {
  font-size: 1.5rem;
}
.mp-wheel-overlay .mp-wheel-item:active {
  opacity: 0.7;
}
.mp-wheel-overlay .mp-wheel-item.is-deal {
  color: #0b3d2e;
}
.mp-wheel-overlay .mp-wheel-wedge {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from calc(var(--a) - var(--w) / 2 + 0.4deg), var(--MainThemeGreenColor, #5de3c8) 0 calc(var(--w) - 0.8deg), transparent 0);
}
.mp-wheel-overlay.open .mp-wheel-item {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--mp-wheel-size) * -0.355)) rotate(calc(var(--a) * -1)) scale(1);
}
.mp-wheel-overlay .mp-wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  height: 34%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.25rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--secondary-darker, var(--secondary));
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.35), 0 6px 16px rgba(0, 0, 0, 0.25);
  text-align: center;
  overflow: hidden;
}
.mp-wheel-overlay .mp-wheel-center small {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
.mp-wheel-overlay .mp-wheel-center strong {
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.mp-stage-dd {
  display: none;
}

html[data-mobile=true] #stageScrollWrapper,
html[data-mobile=true] #stageFilterHeader {
  display: none !important;
}

html[data-mobile=true] .mp-stage-dd {
  display: block;
  position: relative;
  margin: 0.5rem 1.25rem 0;
}
html[data-mobile=true] .mp-stage-dd .mp-stage-dd-trigger {
  text-align: left;
  color: inherit;
  box-shadow: none;
}
html[data-mobile=true] .mp-stage-dd.loading .mp-stage-dd-trigger {
  opacity: 0.6;
  pointer-events: none;
}
html[data-mobile=true] .mp-stage-dd .mp-stage-dd-list {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 60vh;
  margin: 0;
  padding: 0.35rem;
  overflow-y: auto;
  list-style: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  background: var(--background);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
html[data-mobile=true] .mp-stage-dd.open .mp-stage-dd-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
html[data-mobile=true] .mp-stage-dd .mp-stage-opt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
}
html[data-mobile=true] .mp-stage-dd .mp-stage-opt[data-clear=true] {
  display: block;
  font-weight: 600;
}
html[data-mobile=true] .mp-stage-dd .mp-stage-opt.active {
  background: color-mix(in srgb, var(--secondary) 14%, transparent);
  box-shadow: inset 3px 0 0 var(--secondary);
}
html[data-mobile=true] .mp-stage-dd .mp-stage-opt:active {
  background: color-mix(in srgb, var(--secondary) 22%, transparent);
}
html[data-mobile=true] .mp-stage-dd .mp-stage-opt small {
  margin-right: 0.3rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}
html[data-mobile=true] .mp-stage-dd .mp-stage-name {
  font-weight: 700;
  font-size: 0.9rem;
}
html[data-mobile=true] .mp-stage-dd .mp-stage-count {
  justify-self: end;
  padding: 0.05rem 0.6rem;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
}
html[data-mobile=true] .mp-stage-dd .mp-stage-total,
html[data-mobile=true] .mp-stage-dd .mp-stage-avg {
  font-weight: 600;
}
html[data-mobile=true] .mp-stage-dd .mp-stage-avg {
  justify-self: end;
}

/* * *NEW PORTALS - Investor, inspector, borrower, broker, colab * * Template styles for base core items such as root, html and body. * */
:root {
  --Utility-Drawer-Width: 0px;
  --Portal-Mobile-Footer: 0px; /* Default 0 for desktop; overridden to 65px on mobile via [data-mobile=true] */
}

html[data-page=newportal],
html[data-page=newportal] body {
  overflow: hidden;
  height: 100%;
}

.portal-main-content {
  position: fixed;
  top: var(--Nav-Height);
  left: 0;
  right: var(--Utility-Drawer-Width);
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: calc(var(--Portal-Mobile-Footer) + 2em);
  transition: right 0.25s ease;
}

body.page-loading .portal-main-content {
  opacity: 0.4;
  transform: translateY(6px);
  pointer-events: none;
}

.portal-utility-drawer {
  position: fixed;
  top: var(--Nav-Height);
  right: 0;
  bottom: var(--Portal-Mobile-Footer);
  height: calc(100vh - var(--Nav-Height) - var(--Portal-Mobile-Footer));
  width: var(--Utility-Drawer-Width);
  transition: width 0.25s ease;
  overflow: hidden;
  z-index: 1045;
}

.portal-mobile-footer {
  height: var(--Portal-Mobile-Footer);
  width: 100%;
  background-color: var(--foreground) !important;
  border-top: 2px solid var(--primary) !important;
  position: fixed;
  z-index: 1000;
  bottom: 0;
  left: 0;
}

/* === Portal header info strip (e.g. draw/loan quick-glance details) === */
#portalHeaderInfo {
  gap: 28px;
}

.portal-header-info-item {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.portal-header-info-item .phi-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted, #8a8a8a);
}
.portal-header-info-item .phi-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* === DrawDetails: Back To Draws / Complete Inspection action buttons === */
.inspector-drawdetails-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.5rem;
}

/* === DrawDetails: Uploaded Documents / Documents Supplied By Lender scrollable halves === */
.inspector-docs-half {
  position: relative;
}
.inspector-docs-half + .inspector-docs-half {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
}

.inspector-docs-half-scroll {
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.inspector-docs-half-scroll::-webkit-scrollbar {
  display: none;
}

.inspector-docs-scroll-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  pointer-events: auto;
  cursor: pointer;
  color: var(--primary, #1e88e5);
  font-size: 14px;
  animation: inspector-docs-scroll-bounce 1.4s ease-in-out infinite;
}

@keyframes inspector-docs-scroll-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}
.inspector-docs-mini-table {
  font-size: 0.7em !important;
}
.inspector-docs-mini-table th,
.inspector-docs-mini-table td {
  padding: 0.35rem 0.5rem;
}
.inspector-docs-mini-table tbody tr.doc-row td {
  border-bottom: none;
}
.inspector-docs-mini-table tbody tr.doc-open-row td {
  border-top: none;
  padding-top: 0;
  padding-bottom: 0.5rem;
  text-align: right;
}
.inspector-docs-mini-table .btn {
  padding: 0.15rem 0.5rem;
  font-size: 0.85em;
}

.doc-photo-thumb-wrap {
  position: relative;
  display: inline-block;
}
.doc-photo-thumb-wrap .doc-photo-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
.doc-photo-thumb-wrap .doc-photo-hover-preview {
  display: none;
  position: absolute;
  z-index: 1050;
  bottom: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  padding: 8px;
  width: 260px;
}
.doc-photo-thumb-wrap .doc-photo-hover-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 6px;
}
.doc-photo-thumb-wrap .doc-photo-hover-preview .doc-photo-hover-meta {
  font-size: 0.75em;
  color: #333;
  white-space: normal;
  line-height: 1.4;
}
.doc-photo-thumb-wrap:hover .doc-photo-hover-preview {
  display: block;
}

/* === Inspector 2026 Dashboard === */
.inspector-dashboard-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.line-item-upload-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.line-item-upload-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.line-item-upload-status {
  max-width: 140px;
  margin: 4px auto 0;
  white-space: normal;
  line-height: 1.2;
}

/* === Inspection Instructions (rendered inline as a tab in the line item drawer; no dedicated styles needed) === */
body.inspector-index-body .modal,
body.inspector-drawdetails-body .modal {
  z-index: 99999 !important;
}
body.inspector-index-body .modal-backdrop,
body.inspector-drawdetails-body .modal-backdrop {
  z-index: 99990 !important;
}

.inspector-confirm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.inspector-confirm-overlay.show {
  display: flex;
}

.inspector-confirm-card {
  background: #fff;
  border-radius: 10px;
  max-width: 420px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.3);
}
.inspector-confirm-card h5 {
  margin: 0 0 12px;
}
.inspector-confirm-card p {
  margin: 0 0 20px;
  color: #495057;
}

.inspector-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.inspector-search-bar {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  background-color: #fff;
  border: 1px solid #dde1e6;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.inspector-search-bar:focus-within {
  border-color: var(--primary, #1e88e5);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12);
}
.inspector-search-bar .inspector-search-icon {
  font-size: 14px;
  color: #9aa1a9;
  margin-right: 10px;
}
.inspector-search-bar .inspector-search-input {
  flex: 1 1 auto;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  padding: 0;
}
.inspector-search-bar .inspector-search-input::placeholder {
  color: #9aa1a9;
}
.inspector-search-bar .inspector-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #9aa1a9;
  cursor: pointer;
  border-radius: 50%;
}
.inspector-search-bar .inspector-search-clear:hover {
  color: #dc3545;
  background-color: rgba(220, 53, 69, 0.08);
}

.inspector-today-inspection-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
}

.inspector-today-inspection-item {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  border-bottom: 1px solid #eef0f2;
}
.inspector-today-inspection-item:last-child {
  border-bottom: none;
}
.inspector-today-inspection-item .inspector-today-inspection-draw {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary, #1e88e5);
}
.inspector-today-inspection-item .inspector-today-inspection-address {
  font-size: 13px;
  color: #495057;
}

.inspector-route-map {
  width: 100%;
  height: 260px;
  border-radius: 8px;
  border: 1px solid #dde1e6;
}

.inspector-route-stops-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 160px;
  overflow-y: auto;
}

.inspector-route-stop-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #eef0f2;
}
.inspector-route-stop-item:last-child {
  border-bottom: none;
}
.inspector-route-stop-item .inspector-route-stop-label {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary, #1e88e5);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.inspector-route-stop-item .inspector-route-stop-draw {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary, #1e88e5);
}
.inspector-route-stop-item .inspector-route-stop-address {
  font-size: 13px;
  color: #495057;
}

@media (max-width: 767.98px) {
  .inspector-index-page {
    padding-bottom: 76px;
  }
  body.inspector-index-body .personalinfo {
    display: none;
  }
  body.inspector-drawdetails-body .personalinfo,
  body.inspector-drawdetails-body #portalHeaderInfoCol {
    display: none;
  }
  body.inspector-drawdetails-body {
    padding-bottom: 130px;
  }
  .inspector-drawdetails-actions {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
  }
  .inspector-drawdetails-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    font-size: 13px;
    padding: 8px 4px;
    white-space: nowrap;
  }
  table.inspector-draws-table {
    border-collapse: separate;
    border-spacing: 0 10px;
  }
  table.inspector-draws-table thead {
    display: none;
  }
  table.inspector-draws-table tbody tr {
    display: block;
    background: #fff;
    border: 1px solid #e6e9ed;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    padding: 10px 14px;
  }
  table.inspector-draws-table tbody tr td,
  table.inspector-draws-table tbody tr th {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    text-align: right;
    white-space: normal;
  }
  table.inspector-draws-table tbody tr td:empty {
    display: none !important;
    padding: 0;
  }
  table.inspector-draws-table tbody tr th {
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid #eef0f3 !important;
    font-size: 15px;
  }
  table.inspector-draws-table .mobile-buttons-container {
    display: inline-flex !important;
    color: #6c757d;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    flex: 0 0 auto;
  }
  table.inspector-draws-table .table-mobile-header {
    border: none;
  }
  .inspector-mobile-drawer {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 80vh;
    overflow-y: auto;
    background: #f8f9fa;
    border-top: 2px solid var(--primary, #1e88e5);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.16);
    padding: 12px 16px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1035;
  }
  .inspector-mobile-drawer.inspector-mobile-drawer-open {
    transform: translateY(0);
  }
  .inspector-mobile-drawer[data-active-section=routing] #inspectorDrawsOverviewCard {
    display: none;
  }
  .inspector-mobile-drawer[data-active-section=drawcount] #inspectorTodaysDrawsCard {
    display: none;
  }
  .inspector-mobile-drawer-handle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  .inspector-drawer-tabs {
    display: flex;
    gap: 6px;
  }
  .inspector-drawer-tab {
    border: 1px solid #ced4da;
    background: #fff;
    color: #495057;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }
  .inspector-drawer-tab.active {
    background: var(--primary, #1e88e5);
    border-color: var(--primary, #1e88e5);
    color: #fff;
  }
  .inspector-drawer-tab-panel.mobile-tab-hidden {
    display: none !important;
  }
  .inspector-mobile-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 1033;
  }
  .inspector-mobile-drawer-backdrop.show {
    display: block;
  }
}
/* === Inspection Instructions pull-out drawer (desktop only - see d-none d-md-flex in the markup) === */
.inspector-instructions-drawer {
  position: fixed;
  top: 50%;
  left: 0;
  align-items: center;
  transform: translateY(-50%) translateX(calc(-1 * 480px));
  transition: transform 0.3s ease-in-out;
  z-index: 1040;
}
.inspector-instructions-drawer.open {
  transform: translateY(-50%) translateX(0);
}

.inspector-instructions-tab {
  flex: 0 0 auto;
  width: 40px;
  height: 185px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 8px;
  background-color: #1e88e5;
  color: #fff;
  border: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  cursor: pointer;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}
.inspector-instructions-tab span {
  writing-mode: vertical-rl;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.inspector-instructions-tab:hover {
  background-color: #1668ab;
}

.inspector-instructions-panel {
  flex: 0 0 auto;
  width: 480px;
  max-width: min(480px, 90vw);
  max-height: 80vh;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #dde1e6;
  border-left: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1);
}

.inspector-instructions-panel-body {
  padding: 20px 24px;
  max-width: 100%;
  overflow-wrap: break-word;
  font-size: 15px;
  line-height: 1.6;
}
.inspector-instructions-panel-body img {
  max-width: 100%;
  height: auto;
}

.inspector-mobile-footer-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: flex;
  background: #fff;
  border-top: 1px solid #e6e9ed;
  box-shadow: 0 -2px 8px rgba(15, 23, 42, 0.08);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}
.inspector-mobile-footer-nav .inspector-mobile-footer-nav-btn {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  color: #6c757d;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 2px;
}
.inspector-mobile-footer-nav .inspector-mobile-footer-nav-btn i {
  font-size: 18px;
  color: var(--primary, #1e88e5);
}
.inspector-mobile-footer-nav .inspector-mobile-footer-nav-btn:active, .inspector-mobile-footer-nav .inspector-mobile-footer-nav-btn.active {
  color: var(--primary, #1e88e5);
}
.inspector-mobile-footer-nav.inspector-mobile-footer-nav-stacked {
  padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
}

.inspector-footer-account-wrap {
  position: relative;
  flex: 1 1 0;
  display: flex;
}

.inspector-footer-account-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 170px;
  background: #fff;
  border: 1px solid #e6e9ed;
  border-radius: 10px;
  box-shadow: 0 -2px 16px rgba(15, 23, 42, 0.16);
  padding: 6px;
  z-index: 1040;
}
.inspector-footer-account-menu.show {
  display: block;
}

.inspector-footer-account-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #343a40;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.inspector-footer-account-menu-item i {
  color: var(--primary, #1e88e5);
  font-size: 16px;
}
.inspector-footer-account-menu-item:hover, .inspector-footer-account-menu-item:focus {
  background: #f1f3f5;
  color: #343a40;
  text-decoration: none;
}
.inspector-footer-account-menu-item.text-danger i {
  color: #dc3545;
}
.inspector-footer-account-menu-item.text-danger:hover, .inspector-footer-account-menu-item.text-danger:focus {
  background: #fdecea;
  color: #dc3545;
}

.inspector-mobile-footer-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 6px 10px 2px;
  border-top: 1px solid #eef0f3;
}
.inspector-mobile-footer-info .inspector-mobile-footer-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  min-width: 64px;
}
.inspector-mobile-footer-info .inspector-mobile-footer-info-item .phi-label {
  font-size: 10px;
}
.inspector-mobile-footer-info .inspector-mobile-footer-info-item .phi-value {
  font-size: 12px;
}

.inspector-dashboard-stat {
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  margin-bottom: 16px;
}
.inspector-dashboard-stat .inspector-dashboard-stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 4px;
}
.inspector-dashboard-stat .inspector-dashboard-stat-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.inspector-dashboard-stat.inspector-dashboard-stat-orange {
  background-color: #f7941d;
}
.inspector-dashboard-stat.inspector-dashboard-stat-blue {
  background-color: #1e88e5;
}
.inspector-dashboard-stat.inspector-dashboard-stat-pink {
  background-color: #e0316b;
}
.inspector-dashboard-stat.inspector-dashboard-stat-green {
  background-color: #21a67a;
}
.inspector-dashboard-stat.inspector-dashboard-stat-filter {
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.inspector-dashboard-stat.inspector-dashboard-stat-filter:hover {
  transform: translateY(-2px);
}
.inspector-dashboard-stat.inspector-dashboard-stat-filter.active {
  border-color: #212529;
}

html[data-device=desktop] .portal-mobile-footer {
  display: none !important;
}
html[data-device=desktop] .portal-main-content {
  padding-bottom: 2em;
}

html[data-device=mobile] .portal-mobile-footer,
html[data-device=tablet] .portal-mobile-footer {
  display: flex !important;
}
html[data-device=mobile] .portal-main-content,
html[data-device=tablet] .portal-main-content {
  padding-bottom: calc(var(--Portal-Mobile-Footer) + 6em);
}

/* ---- Dashboard ---- */
.loan-carousel-viewport {
  width: 100%;
  overflow: hidden;
}

.loan-carousel-track {
  display: flex;
  will-change: transform;
  transition: transform 0.35s ease;
}

.loan-carousel-card {
  flex-shrink: 0;
  padding: 0 8px;
  width: 33.333%;
}

html[data-device=tablet] .loan-carousel-card {
  width: 50%;
}

html[data-device=mobile] .loan-carousel-card {
  width: 100%;
}

.loan-carousel-prev,
.loan-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.loan-carousel-prev {
  left: -16px;
}

.loan-carousel-next {
  right: -16px;
}

.loan-pill-card {
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  background: var(--foreground);
}
.loan-pill-card:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12) !important;
  transform: translateY(-1px);
}

.status-filter-btn {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border: 1.5px solid transparent;
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.status-filter-btn:hover {
  opacity: 1;
  transform: scale(1.05);
}
.status-filter-btn.status-filter-active {
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  transform: scale(1.08);
}
.status-filter-btn--approved {
  background: #16a34a;
}
.status-filter-btn--active {
  background: #0284c7;
}
.status-filter-btn--pending {
  background: #d97706;
}
.status-filter-btn--inactive {
  background: #dc2626;
}
.status-filter-btn--paid-off {
  background: #0d9488;
}

.stage-card {
  border-radius: 10px;
  background: var(--stage-color, #6c757d);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}
.stage-card.status-filter-active {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  outline: 2px solid #fff;
  outline-offset: -2px;
}
.stage-card .stage-card__body {
  padding: 4px 14px;
}
.stage-card .stage-card__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}
.stage-card .stage-card__value {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}
.stage-card .stage-card__sub {
  font-size: 16px;
  opacity: 0.8;
  margin-top: 2px;
}

.loan-card-image-wrap {
  overflow: hidden;
  position: relative;
}

.loan-card-img {
  height: 160px;
  object-fit: cover;
  display: block;
  width: 100%;
}

.loan-stages-card .card-body {
  padding: 1rem;
}

.loan-card-badge-wrap {
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.stage-badge {
  font-size: 10px;
}

.stat-label {
  font-size: 10px;
}

.loan-card-address {
  font-size: 11px;
}

.status-filter-row {
  gap: 12px;
}

.loan-pill-stage {
  min-width: 90px;
}

.loan-pill-info {
  min-width: 120px;
}

.loan-pill-amount {
  min-width: 80px;
}

.loan-pill-action {
  min-width: 140px;
  font-size: 12px;
}

.loan-pill-badges {
  gap: 6px;
}

.loan-pill-meta {
  font-size: 11px;
}

.loan-pill-status-badge {
  font-size: 10px;
}

.loan-pill-stage .stage-badge {
  white-space: nowrap;
  font-size: 11px;
}

/* ---- Portal Pagination ---- */
.portal-tool-panel .pagination,
.tool-panel .pagination,
#utilityDrawerBody .pagination {
  gap: 4px;
}
.portal-tool-panel .pagination .page-item .page-link,
.tool-panel .pagination .page-item .page-link,
#utilityDrawerBody .pagination .page-item .page-link {
  border-radius: 8px !important;
  border: 1px solid var(--separator, rgba(0, 0, 0, 0.1));
  color: var(--primary);
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  background: var(--foreground, #fff);
}
.portal-tool-panel .pagination .page-item .page-link i,
.tool-panel .pagination .page-item .page-link i,
#utilityDrawerBody .pagination .page-item .page-link i {
  font-size: 0.75rem;
}
.portal-tool-panel .pagination .page-item.active .page-link,
.tool-panel .pagination .page-item.active .page-link,
#utilityDrawerBody .pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.portal-tool-panel .pagination .page-item.disabled .page-link,
.tool-panel .pagination .page-item.disabled .page-link,
#utilityDrawerBody .pagination .page-item.disabled .page-link {
  color: var(--muted, #aaa);
  background: transparent;
  border-color: transparent;
}
.portal-tool-panel .pagination .page-item:not(.disabled):not(.active) .page-link:hover,
.tool-panel .pagination .page-item:not(.disabled):not(.active) .page-link:hover,
#utilityDrawerBody .pagination .page-item:not(.disabled):not(.active) .page-link:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: var(--primary);
}

/* ---- Loan Details + Tools equal-height layout ---- */
.tool-toggle.active .tool-icon-circle {
  background-color: var(--primary) !important;
}
.tool-toggle.active .tool-icon-circle i {
  color: #fff !important;
}
.tool-toggle.active .small {
  color: var(--primary);
  font-weight: 600;
}

.loan-detail-flip {
  perspective: 1200px;
}
.loan-detail-flip-inner {
  position: relative;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.loan-detail-flip.flipped .loan-detail-flip-inner {
  transform: rotateY(180deg);
}

.loan-detail-flip-front,
.loan-detail-flip-back {
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.loan-detail-flip-front {
  position: relative;
}

.loan-detail-flip-back {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transform: rotateY(180deg);
  background: var(--foreground);
}

.loan-details-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--Portal-Mobile-Footer);
  background: var(--foreground);
  border-top: 2px solid var(--primary);
  border-radius: 16px 16px 0 0;
  z-index: 1045;
  max-height: 75vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}
.loan-details-modal.loan-details-modal-open {
  transform: translateY(0);
}
.loan-details-modal-inner {
  padding: 20px 16px 24px;
}

.tools-shell {
  min-height: 0;
  overflow: hidden;
}
.tools-shell .tools-scroll-area {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ---- Fullscreen Step Panel ---- */
.fullscreen-step-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--Portal-Mobile-Footer);
  background: #f8f9fa;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}
.fullscreen-step-panel.fsp-open {
  transform: translateX(0);
  pointer-events: all;
}

.fsp-header {
  flex-shrink: 0;
  padding: 12px 16px;
  background: var(--foreground);
  border-bottom: 1px solid #dee2e6;
}

.fsp-step-strip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 12px;
  background: var(--foreground);
  border-bottom: 1px solid #dee2e6;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.fsp-step-strip::-webkit-scrollbar {
  display: none;
}
.fsp-step-strip::before, .fsp-step-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.2s;
}
.fsp-step-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--foreground) 0%, transparent 100%);
}
.fsp-step-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--foreground) 0%, transparent 100%);
}

.fsp-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  min-width: 60px;
  max-width: 80px;
  flex-shrink: 0;
}
.fsp-step-item.active .fsp-step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.fsp-step-item.completed .fsp-step-circle {
  background: var(--success, #28a745);
  border-color: var(--success, #28a745);
  color: #fff;
}
.fsp-step-item.active .fsp-step-label {
  color: var(--primary);
  font-weight: 700;
}

.fsp-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #dee2e6;
  background: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.15s, border-color 0.15s;
}

.fsp-step-label {
  font-size: 11px;
  color: #6c757d;
  margin-top: 6px;
  white-space: normal;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}

.fsp-step-connector {
  width: 20px;
  height: 2px;
  background: #dee2e6;
  flex-shrink: 0;
  margin-bottom: 24px;
}

.fsp-body {
  flex: 1 1 0;
  min-height: 0; /* Required so overflow-y: auto works correctly in a flex column */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
}

.fsp-nav {
  flex-shrink: 0;
  padding: 10px 16px;
  background: var(--foreground);
  border-top: 1px solid #dee2e6;
}

/*.stage-card {
    position: relative;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16), 0 4px 10px rgba(15, 23, 42, 0.08);
    background: linear-gradient( 135deg, color-mix(in srgb, var(--stage-color) 88%, white 12%) 0%, var(--stage-color) 55%, color-mix(in srgb, var(--stage-color) 82%, black 18%) 100% );
}

.stage-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,.22), transparent 32%), radial-gradient(circle at bottom left, rgba(255,255,255,.10), transparent 28%);
    pointer-events: none;
}*/
.stage-card__body {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

.stage-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.stage-card__value {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.stage-card__sub {
  font-size: 0.95rem;
  opacity: 0.92;
}

.stage-badge {
  color: #fff;
  border: 0;
  font-weight: 600;
  background-color: var(--stage-color);
}

.stage-badge--soft {
  color: var(--stage-color);
  background-color: color-mix(in srgb, var(--stage-color) 14%, white 86%);
  border: 1px solid color-mix(in srgb, var(--stage-color) 28%, white 72%);
}

.loan-card-image-wrap {
  position: relative;
  overflow: hidden;
  border-top-left-radius: var(--border-radius-md);
  border-top-right-radius: var(--border-radius-md);
  --concentric-radius: var(--border-radius-md);
}

.loan-card-todo-ribbon {
  position: absolute;
  top: 23px;
  left: -50px;
  width: 173px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 0;
  text-align: center;
  transform: rotate(-45deg);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loan-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: #64748b;
  white-space: nowrap;
}
.loan-status-pill i {
  font-size: 9px;
}
.loan-status-pill--approved {
  background: #16a34a;
}
.loan-status-pill--active {
  background: #0284c7;
}
.loan-status-pill--pending {
  background: #d97706;
}
.loan-status-pill--inactive {
  background: #dc2626;
}
.loan-status-pill--paid-off {
  background: #0d9488;
}

.loan-stat-box {
  --concentric-inset: 4px;
  --concentric-base-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 1px 8px;
}

.footer-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 18px;
  color: #fff;
  text-align: center;
}

.launch-card {
  box-shadow: 0 0 4px rgba(19, 19, 20, 0.48) !important;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 18rem;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.launch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
}

.launch-card.active .lc-footer {
  background: var(--primary);
  color: var(--white);
}

.lc-status {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 0.5rem;
  gap: 0.25rem;
  filter: saturate(0.8);
}

.lc-status-danger {
  background: var(--danger);
}

.lc-status-success {
  background: var(--success);
}

.lc-status-warning {
  background: var(--warning);
}

.lc-status-info {
  background: var(--info);
}

.lc-status-secondary {
  background: var(--secondary);
}

.lc-status-sow {
  background: #1e90ff;
}

.lc-number {
  font-size: 3.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.lc-label {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-align: center;
}

.lc-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  background: var(--foreground);
  border-bottom: 1px solid var(--border-color, #dee2e6);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  min-height: 60px;
  word-break: break-word;
}
.lc-footer i {
  font-size: 1.6rem;
  flex-shrink: 0;
  display: block;
}
.lc-footer span {
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.lc-sow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.lc-sow-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  gap: 0.2rem;
}

.lc-sow-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-align: center;
}

.lc-sow-value {
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-align: center;
}

.corner-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 290px 370px 0 0;
  border-color: transparent;
}

.corner-ribbon-danger {
  border-color: var(--danger) transparent transparent transparent;
}

.corner-ribbon-success {
  border-color: var(--success) transparent transparent transparent;
}

.corner-ribbon-info {
  border-color: var(--info) transparent transparent transparent;
}

.corner-ribbon-warning {
  border-color: var(--warning) transparent transparent transparent;
}

.corner-ribbon-text {
  position: absolute;
  top: 45px;
  left: 9px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  transform: rotate(-45deg);
  pointer-events: none;
}

.corner-ribbon-sm {
  border-width: 42px 42px 0 0;
}

.corner-ribbon-text-sm {
  top: 5px;
  left: -4px;
  width: 36px;
  font-size: 15px;
  line-height: 1.2;
}

.tool-toggle-card {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--primary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--foreground);
  cursor: pointer;
  padding: 0;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.tool-toggle-card i {
  font-size: 1.4rem;
  color: var(--text-muted);
}
.tool-toggle-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.tool-toggle-card.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}
.tool-toggle-card.active i {
  color: #fff !important;
}
.tool-toggle-card.active span {
  color: #fff !important;
}

.tabledocContainer {
  text-align: center;
}

.tabledocUpload {
  display: block;
  padding: 5em 0 0 0;
  overflow: hidden;
  background-color: rgba(208, 208, 208, 0.25);
  position: relative;
  z-index: 1;
  height: 5em;
  border: dashed 1px var(--MainThemeColor);
  border-radius: 10px;
  top: -3.2rem;
  width: 100%;
  min-width: 10em;
}

.tabledocLabel {
  font-size: 0.75rem;
  position: relative;
  top: 0.3rem;
  font-weight: 500;
}

[data-page=newportal] body.utility-drawer-closed {
  --Utility-Drawer-Width: 0px;
}
[data-page=newportal][data-mobile=true] {
  --Portal-Mobile-Footer: 65px;
  --Nav-Height: 65px !important;
}
[data-page=newportal][data-mobile=true] .navigation-icon i {
  font-size: 1em;
}
[data-page=newportal][data-mobile=true] .tool-header {
  cursor: pointer;
}
[data-page=newportal][data-mobile=true] .tool-header:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}
[data-page=newportal][data-mobile=true] #loanListView,
[data-page=newportal][data-mobile=true] .table-container,
[data-page=newportal][data-mobile=true] .table-responsive {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}
[data-page=newportal][data-mobile=true] #loanListView table {
  width: 100% !important;
  table-layout: fixed;
  word-break: break-word;
}

html[data-page=newportal][data-device=mobile] body.utility-drawer-open,
html[data-page=newportal][data-device=tablet] body.utility-drawer-open {
  --Utility-Drawer-Width: 100%;
}

html[data-page=newportal][data-device=desktop] body.utility-drawer-open {
  --Utility-Drawer-Width: 20em;
}

.need-note-snippet {
  margin-top: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}

.need-note-bubble {
  border-radius: 14px;
  padding: 7px 12px;
  position: relative;
  display: inline-block;
  max-width: 95%;
  font-size: 0.8rem;
  border: 2px solid var(--primary);
  margin-bottom: 14px;
  word-wrap: break-word;
  background: #fff;
}
.need-note-bubble::after {
  content: "";
  position: absolute;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%, 50% 70%);
  background: var(--primary);
  height: 22px;
  width: 22px;
  bottom: -10px;
  left: 4px;
  transform: rotate(107deg);
}
.need-note-bubble .author {
  margin-bottom: 2px;
  font-weight: 600;
  color: darkblue;
}
.need-note-bubble .postDate {
  font-style: italic;
  font-size: 0.72rem;
  color: #49A7D3;
  margin-left: 8px;
}

@keyframes need-msg-flash {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
@keyframes need-msg-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(255, 193, 7, 0);
  }
}
.need-msg-unread {
  animation: need-msg-flash 1s ease-in-out infinite, need-msg-glow 1.5s ease-in-out infinite;
}

.notification-badge-blink {
  animation: need-msg-flash 1s ease-in-out infinite;
}

.need-note-snippet--right {
  display: flex;
  justify-content: flex-end;
  max-width: 220px;
}

.need-note-bubble--right {
  border: 2px solid var(--primary);
  border-radius: 14px;
  padding: 7px 12px;
  position: relative;
  display: inline-block;
  max-width: 100%;
  font-size: 0.8rem;
  word-wrap: break-word;
  background: #fff;
  text-align: left;
  margin-top: 4px;
  margin-bottom: 14px;
}
.need-note-bubble--right::after {
  content: "";
  position: absolute;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%, 50% 70%);
  background: var(--primary);
  height: 18px;
  width: 18px;
  top: -9px;
  right: 10px;
  transform: rotate(0deg);
}
.need-note-bubble--right .author {
  margin-bottom: 2px;
  font-weight: 600;
  color: darkblue;
}
.need-note-bubble--right .postDate {
  font-style: italic;
  font-size: 0.72rem;
  color: #49A7D3;
  margin-left: 8px;
}

.loan-summary-card #progressBarMobile {
  height: auto;
}
.loan-summary-card .progressBarLine {
  position: relative !important;
  width: 100% !important;
  padding: 0.5em 0 0.5rem;
  margin-bottom: 0;
  border-radius: 0;
  counter-reset: step;
  overflow-x: hidden;
}
.loan-summary-card .progressBarLine li {
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  width: 130px !important;
  vertical-align: top !important;
  max-height: none !important;
}
.loan-summary-card .progressBarLine li:after {
  background-color: var(--primary) !important;
  height: 3px !important;
  top: 16px !important;
  box-shadow: none !important;
  z-index: 0 !important;
}
.loan-summary-card .progressBarLine li:before {
  background-color: var(--foreground) !important;
  color: var(--primary) !important;
  content: counter(step) !important;
  font-size: 16px !important;
  line-height: 33px !important;
  width: 35px !important;
  height: 35px !important;
  border: 1px solid #bfbcbc !important;
  box-shadow: inset -1px 1px 3px 0px rgba(0, 0, 0, 0.47), inset 1px 2px 0px rgba(255, 255, 255, 0.4) !important;
  font-weight: bold !important;
  position: relative !important;
  z-index: 1 !important;
}
.loan-summary-card .progressBarLine li p.folderName {
  visibility: visible !important;
  color: var(--primary) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  white-space: normal !important;
  word-break: break-word !important;
  margin-top: 4px !important;
}
.loan-summary-card .progressBarLine li.stageCompleted {
  color: var(--success) !important;
}
.loan-summary-card .progressBarLine li.stageCompleted:before {
  background-color: var(--success) !important;
  content: "✓︎" !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  box-shadow: inset 1px 1px 10px var(--success) !important;
}
.loan-summary-card .progressBarLine li.stageActive {
  color: var(--info) !important;
}
.loan-summary-card .progressBarLine li.stageActive:before {
  background-color: var(--active) !important;
  content: counter(step) !important;
  color: #fff !important;
  border: 5px solid #fff !important;
  box-shadow: 0 0 0 2px var(--active) !important;
  line-height: 25px !important;
  font-size: 18px !important;
}
.loan-summary-card .progressBarLine li.previouslyCompleted {
  color: var(--primary) !important;
}
.loan-summary-card .progressBarLine li.previouslyCompleted:before {
  background-color: #FF7200 !important;
  content: counter(step) !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  box-shadow: inset 1px 1px 10px #FFA705 !important;
  font-size: 16px !important;
  line-height: 33px !important;
}

.stage-filter-btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stage-filter-btn.stage-filter-active {
  transform: scale(1.04);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--stage-color, #6c757d), 0 10px 24px rgba(15, 23, 42, 0.22);
}

.loan-col--hidden {
  display: none !important;
}

.dashboard-sticky-header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.dashboard-sticky-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10rem;
  background: var(--background);
}

.dashboard-prop-img.img-loading {
  visibility: hidden;
}

.loan-card-image-wrap.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  z-index: 1;
  border-radius: 0.375rem 0.375rem 0 0;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.message-notification-icon {
  position: absolute;
  top: 6px;
  right: 7px;
  background: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.message-notification-icon.has-unread {
  animation: pulse 1.5s infinite;
}

.has-unread {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(255, 193, 7, 0.7);
  }
  50% {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 8px rgba(255, 193, 7, 0);
  }
}
.portal-payment-form,
.portal-pay-fees {
  container-type: inline-size;
  container-name: portal-card-pane;
}
.portal-payment-form .card,
.portal-pay-fees .card {
  background: var(--foreground);
}
.portal-payment-form .card-title,
.portal-pay-fees .card-title {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.portal-payment-form .form-label,
.portal-pay-fees .form-label {
  color: var(--text);
}
.portal-payment-form .form-control-sm,
.portal-payment-form .form-select-sm,
.portal-pay-fees .form-control-sm,
.portal-pay-fees .form-select-sm {
  font-size: 0.875rem;
}
.portal-payment-form .portal-credit-card-wrap,
.portal-pay-fees .portal-credit-card-wrap {
  padding: 0 4px;
}
.portal-payment-form .portal-credit-card-wrap .credit-card,
.portal-pay-fees .portal-credit-card-wrap .credit-card {
  height: 160px;
  font-size: 0.8rem;
  border-radius: 10px;
}
.portal-payment-form .portal-credit-card-wrap .credit-card .card-chip,
.portal-pay-fees .portal-credit-card-wrap .credit-card .card-chip {
  width: 90px;
  height: 50px;
}
.portal-payment-form .portal-credit-card-wrap .credit-card .card-contactless,
.portal-pay-fees .portal-credit-card-wrap .credit-card .card-contactless {
  top: 20px;
  left: 110px;
  height: 50px;
}
.portal-payment-form .portal-credit-card-wrap .credit-card .card-number,
.portal-pay-fees .portal-credit-card-wrap .credit-card .card-number {
  bottom: 150px;
  left: 25px;
  font-size: 20px;
  letter-spacing: 1.5px;
}
.portal-payment-form .portal-credit-card-wrap .credit-card .card-holder,
.portal-pay-fees .portal-credit-card-wrap .credit-card .card-holder {
  bottom: 20px;
  left: 16px;
  font-size: 11px;
  letter-spacing: 1px;
}
.portal-payment-form .portal-credit-card-wrap .credit-card .card-expiry,
.portal-pay-fees .portal-credit-card-wrap .credit-card .card-expiry {
  bottom: 20px;
  right: 100px;
  font-size: 11px;
}
.portal-payment-form .portal-credit-card-wrap .credit-card .card-logo,
.portal-pay-fees .portal-credit-card-wrap .credit-card .card-logo {
  bottom: 14px;
  right: 14px;
}
.portal-payment-form .portal-credit-card-wrap .credit-card .cc-logo,
.portal-pay-fees .portal-credit-card-wrap .credit-card .cc-logo {
  font-size: 5.5rem !important;
}

.portal-payment-form .card-type-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35em 0.7em;
  border-radius: 999px;
}
.portal-payment-form .card-type-badge.card-type-badge-debit {
  background-color: var(--bs-success, #198754);
  color: #fff;
}
.portal-payment-form .card-type-badge.card-type-badge-credit {
  background-color: var(--bs-primary, #0d6efd);
  color: #fff;
}
.portal-payment-form .card-type-badge.card-type-badge-unknown {
  background-color: var(--bs-secondary, #6c757d);
  color: #fff;
}

.portal-card-visual-row {
  align-items: stretch;
}
.portal-card-visual-row .portal-card-visual-col {
  flex: 0 0 100%;
  max-width: 100%;
}

@container portal-card-pane (min-width: 420px) {
  .portal-card-visual-row .portal-card-visual-col {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
  }
  .portal-card-visual-row .portal-credit-card-wrap {
    padding: 0 4px;
    width: 100%;
  }
  .portal-card-visual-row .portal-credit-card-wrap .credit-card {
    height: 100%;
    min-height: 160px;
    font-size: 0.8rem;
    border-radius: 10px;
  }
  .portal-card-visual-row .portal-credit-card-wrap .credit-card .card-chip {
    width: 90px;
    height: 50px;
  }
  .portal-card-visual-row .portal-credit-card-wrap .credit-card .card-contactless {
    top: 20px;
    left: 110px;
    height: 50px;
  }
  .portal-card-visual-row .portal-credit-card-wrap .credit-card .card-number {
    bottom: 150px;
    left: 25px;
    font-size: 20px;
    letter-spacing: 1.5px;
  }
  .portal-card-visual-row .portal-credit-card-wrap .credit-card .card-holder {
    bottom: 45px;
    left: 16px;
    font-size: 20px;
    letter-spacing: 1px;
  }
  .portal-card-visual-row .portal-credit-card-wrap .credit-card .card-expiry {
    bottom: 100px;
    right: 50px;
    font-size: 20px;
  }
  .portal-card-visual-row .portal-credit-card-wrap .credit-card .card-logo {
    bottom: -50px;
    right: -10px;
    position: absolute;
  }
  .portal-card-visual-row .portal-credit-card-wrap .credit-card .cc-logo {
    font-size: 5.5rem !important;
  }
}
input[type=number] {
  -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sow-overview-ui .sow-action-card {
  transition: all 0.2s ease;
}
.sow-overview-ui .sow-action-card:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.08);
}

@media (max-width: 767.98px) {
  .portal-header-nav-loan-detail > div:first-child {
    flex: 0 0 auto !important;
    width: auto !important;
  }
  .portal-header-nav-loan-detail > div:last-child {
    flex: 1 1 auto !important;
    width: auto !important;
  }
  .portal-header-nav-loan-detail .d-flex:has(.portal-back-btn) > .portal-header-logo-link {
    display: none !important;
  }
}

.portal-back-btn {
  white-space: nowrap;
  font-weight: 600;
}

.progress-bar-back-btn {
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
}

.portal-check-card {
  overflow-x: hidden;
  position: relative;
  border: 2px solid #000;
  border-radius: 5px;
  background-color: #d5ebf1;
  color: #000;
  font-family: "Courier New", Courier, monospace;
}
.portal-check-card .portal-check-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  color: #555;
}
.portal-check-card .portal-check-pay-to-label {
  font-weight: bold;
  font-size: 0.65rem;
  line-height: 1.3;
  white-space: nowrap;
  color: #000;
}
.portal-check-card .portal-check-payee {
  flex: 1;
  font-weight: bold;
  font-size: 0.9rem;
  border-bottom: 2px solid #000;
  margin: 0 0.5rem;
  padding-bottom: 2px;
  min-width: 0;
}
.portal-check-card .portal-check-amount-box {
  border: 2px solid #000;
  background: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-align: right;
  padding: 4px 8px;
  white-space: nowrap;
  min-width: 90px;
  max-width: 120px;
  outline: none;
  font-family: inherit;
}
.portal-check-card .portal-check-words {
  font-style: italic;
  font-size: 0.8rem;
  border-bottom: 2px solid #000;
  padding-bottom: 2px;
  margin: 0.5rem 0;
}
.portal-check-card .portal-check-memo-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}
.portal-check-card .portal-check-memo-row label {
  font-weight: bold;
  white-space: nowrap;
  margin: 0;
}
.portal-check-card .portal-check-memo-row input {
  flex: 1;
  border: none;
  border-bottom: 1px solid #000;
  background: transparent;
  font-family: inherit;
  font-size: 0.8rem;
  padding: 0 2px;
}
.portal-check-card .portal-check-memo-row input:focus {
  outline: none;
  border-bottom-color: var(--primary);
}
.portal-check-card .portal-check-banking {
  border-top: 1px dashed #666;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  font-size: 0.78rem;
}
.portal-check-card .portal-check-banking label {
  font-weight: bold;
  margin-bottom: 1px;
}
.portal-check-card .portal-check-banking input {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #888;
}

.portal-header-loan-id {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}

.portal-header-actions-loan-detail {
  gap: 4px;
}
@media (min-width: 768px) {
  .portal-header-actions-loan-detail {
    gap: 1rem;
  }
}

html[data-device=mobile] #portalHeaderActions {
  left: 5%;
  bottom: -36px;
  position: absolute;
}

html[data-page=newportal] #Dynamic-App-Header-Wrap {
  top: 0;
}
html[data-page=newportal] .step-category-sidebar {
  top: var(--StepHeader-Height);
}
html[data-page=newportal] #DynamicAppContentContainer {
  height: calc(100vh - var(--Nav-Height));
}

html[data-page=newportal][data-mobile=false] #Dynamic-App-Top-Bar {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.tss {
  width: 50%;
  height: 40px;
  padding: 5px;
  background-color: var(--MainThemeAccentColor);
  border-radius: 5px;
  position: relative;
  display: inline-block;
}
.tss input[type=radio] {
  display: none;
}
.tss label {
  position: relative;
  z-index: 1;
  float: left;
  font-size: 16px;
  font-weight: bold;
  width: 33%;
  color: #222;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  margin: 0;
}
.tss input[type=radio]:not(:checked) + label {
  color: white !important;
}
.tss span {
  position: absolute;
  top: 5px;
  width: 30%;
  height: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 5px;
  background-color: #fff;
  transform: translate(0);
}
.tss input[id$=-no]:checked ~ span {
  transform: translate(0);
  left: 5px;
}
.tss input[id$=-null]:checked ~ span {
  transform: translateX(116%);
  left: 0;
}
.tss input[id$=-yes]:checked ~ span {
  transform: translateX(231%);
  left: -5px;
}

.doc-drop-zone {
  border: 2px dashed var(--MainThemeColor, #5c6bc0);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
  background: #fff;
  user-select: none;
}
.doc-drop-zone:hover {
  background-color: rgba(92, 107, 192, 0.04);
}
.doc-drop-zone--over {
  background-color: rgba(92, 107, 192, 0.08);
  border-style: solid;
}
.doc-drop-zone--loading {
  cursor: wait;
  opacity: 0.65;
  pointer-events: none;
  color: #6b7280;
  font-size: 0.8rem;
}
.doc-drop-zone .doc-drop-choose {
  font-weight: 600;
  color: var(--MainThemeColor, #5c6bc0);
  font-size: 0.85rem;
}
.doc-drop-zone .doc-drop-or {
  color: #6b7280;
  font-size: 0.8rem;
  margin-top: 2px;
}

.doc-upload-progress {
  width: 100%;
  height: 20px;
  border-radius: 10px;
  background-color: #e5e7eb;
  overflow: hidden;
}

.doc-upload-progress-bar {
  height: 100%;
  width: 0%;
  min-width: 2.5em;
  background-color: var(--MainThemeColor, #5c6bc0);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
  transition: width 0.3s linear, background-color 0.2s ease;
}
.doc-upload-progress-bar--complete {
  background-color: #16a34a;
}

.portal-payment-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0 0.25rem;
}
.portal-payment-toggle .portal-payment-toggle-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--MainThemeColor, #5c6bc0);
  border-radius: 8px;
  background: #fff;
  color: var(--MainThemeColor, #5c6bc0);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
  user-select: none;
}
.portal-payment-toggle .portal-payment-toggle-btn i {
  font-size: 1.1rem;
}
.portal-payment-toggle .portal-payment-toggle-btn:hover {
  background-color: rgba(92, 107, 192, 0.06);
}
.portal-payment-toggle .portal-payment-toggle-btn.active {
  background: var(--MainThemeColor, #5c6bc0);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.portal-terms-agree-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text);
}
.portal-terms-agree-row input[type=checkbox] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.portal-terms-agree-row .portal-terms-text label {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: normal;
  cursor: pointer;
}
.portal-terms-agree-row a.portal-terms-link {
  color: var(--primary, #007bff);
  text-decoration: underline;
  cursor: pointer;
}
.portal-terms-agree-row a.portal-terms-link:hover {
  text-decoration: none;
}

.portal-terms-content {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text);
}
.portal-terms-content .tc-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}
.portal-terms-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary, #1F3756);
}
.portal-terms-content p {
  margin-bottom: 0.75rem;
}
.portal-terms-content .tc-callout {
  background: #eef3f8;
  border-left: 3px solid var(--primary, #4F81BD);
  border-radius: 4px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 1rem;
}
.portal-terms-content .tc-callout p {
  margin-bottom: 0;
}
.portal-terms-content .tc-list {
  margin: 0 0 0.75rem 1.1rem;
  padding: 0;
}
.portal-terms-content .tc-list li {
  margin-bottom: 0.35rem;
}

.proposal-card .card {
  min-height: 480px;
}

.card-footer {
  position: static;
}

.lds {
  padding: 1rem;
  color: var(--body);
}
.lds__top {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  align-items: stretch;
}
.lds__left-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.lds__img-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  position: relative;
}
.lds__img-wrap img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.lds__canary-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px);
}
.lds__canary-card {
  flex: 1;
  padding: 0.45rem 0.4rem;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.lds__canary-card:last-child {
  border-right: none;
}
.lds__canary-card img {
  display: block;
  margin: 0 auto 0.2rem;
  max-height: 1.25rem;
  width: auto;
  max-width: 70%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.lds__info-col {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: var(--foreground, #fff);
  display: flex;
  flex-direction: column;
}
.lds__info-panel {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid #e5e7eb;
  flex: 1 1 auto;
}
.lds__info-panel:last-child {
  border-bottom: none;
}
.lds__info-panel--clickable {
  cursor: pointer;
}
.lds__info-panel--clickable:hover .lds__info-head {
  background: #f1f5f9;
}
.lds__info-head {
  padding: 0.9rem 0.85rem;
  background: #f9fafb;
  border-right: 1px solid #e5e7eb;
  border-left: 3px solid var(--primary, #2b99cc);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  transition: background 0.15s;
}
.lds__info-head span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary, #2b99cc);
  line-height: 1.2;
}
.lds__info-head small {
  font-size: 0.63rem;
  color: #9ca3af;
}
.lds__info-body {
  padding: 0.5rem 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 0.2rem 1.1rem;
  min-height: 50px;
  font-size: 0.85rem;
}
.lds__kv {
  display: flex;
  flex-direction: column;
}
.lds__kv-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  line-height: 1;
  margin-bottom: 2px;
}
.lds__kv-val {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
}
.lds__kv-val a {
  color: var(--primary, #2b99cc);
  font-size: 0.75rem;
  margin-left: 4px;
}
.lds__kv--lg .lds__kv-val {
  font-size: 0.95rem;
  font-weight: 400;
}
.lds__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.lds__stat {
  background: var(--foreground, #fff);
  border: 1px solid #e5e7eb;
  border-top: 2px solid var(--primary, #2b99cc);
  border-radius: 6px;
  padding: 2rem 1rem;
  text-align: center;
}
.lds__stat--alt {
  border-top-color: #7c3aed;
}
.lds__stat-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.25;
  margin-bottom: 2px;
}
.lds__stat-lbl {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
}
.lds__prop-card {
  background: var(--foreground, #fff);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.lds__prop-card--compact {
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
}
.lds__prop-row {
  display: flex;
  align-items: stretch;
}
.lds__prop-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-right: 1px solid #e5e7eb;
  gap: 2px;
}
.lds__prop-col:last-child {
  border-right: none;
}
.lds__prop-col--address {
  flex: 1.6;
}
.lds__prop-col--address .lds__prop-col-val {
  font-size: 0.82rem;
  font-weight: 600;
}
.lds__prop-col-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  line-height: 1;
}
.lds__prop-col-val {
  font-size: 0.83rem;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.25;
}
.lds__prop-col--appstatus {
  min-width: 150px;
}
.lds__prop-col--appstatus .progress {
  height: 0.6rem !important;
  border-radius: 4px !important;
  margin-top: 2px;
}
.lds__prop-col--appstatus .h3ApplicationPercent {
  font-size: 0.83rem !important;
  font-weight: 500;
  padding: 0 !important;
  margin: 4px 0 0;
  color: #1f2937;
}
.lds__prop-col--appstatus hr {
  display: none;
}
.lds__prop-col--appstatus p {
  margin: 0;
  font-size: 0.7rem;
  color: #9ca3af;
}
.lds__prop-col--appstatus p.h3ApplicationPercent {
  font-size: 0.83rem !important;
  color: #1f2937;
}
.lds__snw-snu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.lds__snw-snu-row .lds__loan-card {
  margin-bottom: 0;
  height: 100%;
}
.lds__snw-snu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.lds__snw-subhead {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary, #2b99cc);
  margin-bottom: 0.6rem;
}
.lds__snw-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  color: #374151;
}
.lds__snw-item button {
  flex: 0 0 auto;
  border: none;
  background: none;
  color: #9ca3af;
  padding: 0.1rem 0.3rem;
}
.lds__snw-item button:hover {
  color: #dc3545;
}
.lds__snw-add-input {
  margin-bottom: 0.6rem;
}
.lds__snw-add-btn {
  width: 100%;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
.lds__snw-save-row {
  text-align: right;
}
.lds__snw-save-row .btn {
  font-size: 0.8rem;
}
.lds__snu-table {
  margin-bottom: 0.6rem;
}
.lds__snu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.5rem 4rem 3rem 1.5rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}
.lds__snu-row span:not(:first-child) {
  text-align: right;
}
.lds__snu-row button {
  border: none;
  background: none;
  color: #9ca3af;
  padding: 0;
  text-align: center;
}
.lds__snu-row button:hover {
  color: #dc3545;
}
.lds__snu-row--head {
  background: #f9fafb;
  border-bottom: 2px solid var(--primary, #2b99cc);
  border-radius: 6px 6px 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary, #2b99cc);
}
.lds__snu-row--head span:not(:first-child) {
  text-align: right;
}
.lds__snu-row--total {
  background: rgba(43, 153, 204, 0.09);
  font-weight: 700;
  color: var(--primary, #2b99cc);
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}
.lds__loan-card {
  background: var(--foreground, #fff);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.lds__card-title {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary, #2b99cc);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.lds__card-title--with-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lds__card-title-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.lds__card-edit-btn {
  padding: 0.1rem 0.4rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.lds__deal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.lds__deal-header-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  white-space: nowrap;
}
.lds__deal-tab-group {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.lds__deal-tab-group .dashboardDealBtn {
  border-radius: 6px !important;
  font-size: 0.72rem;
  padding: 0.3rem 0.75rem;
}
.lds__desc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.lds__desc-row .lds__loan-card {
  margin-bottom: 0;
}
.lds__loan-card--vertical .lds__loan-cols {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lds__loan-card--vertical .lds__loan-cols .lds__loan-list + .lds__loan-list {
  border-left: none;
  border-top: 1px solid #e5e7eb;
  padding-left: 0;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}
.lds__loan-card--vertical .lds__loan-cols .lds__loan-list:first-child {
  padding-right: 0;
}
.lds__loan-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.lds__loan-cols .lds__loan-list + .lds__loan-list {
  border-left: 1px solid #e5e7eb;
  padding-left: 1.25rem;
}
.lds__loan-cols .lds__loan-list:first-child {
  padding-right: 1.25rem;
}
.lds__loan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lds__loan-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.32rem 0;
  border-bottom: 1px solid #f3f4f6;
  gap: 0.5rem;
}
.lds__loan-list li:last-child {
  border-bottom: none;
}
.lds__loan-list li label {
  font-size: 0.8rem;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
  flex-shrink: 0;
}
.lds__loan-list li p {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  text-align: right;
}
.lds__loan-notes {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}
.lds__loan-notes label {
  font-size: 0.8rem;
  font-weight: 400;
  color: #6b7280;
  margin: 0 0 0.25rem;
  display: block;
}
.lds__loan-notes div {
  font-size: 0.85rem;
  color: #1f2937;
}
.lds__table-wrap {
  background: var(--foreground, #fff);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.lds__table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 0;
}
.lds__table-wrap thead th {
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-bottom: 2px solid var(--primary, #2b99cc);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary, #2b99cc);
}
.lds__table-wrap thead th:first-child {
  text-align: left;
}
.lds__table-wrap tbody td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  text-align: center;
  color: #374151;
}
.lds__table-wrap tbody td:first-child {
  text-align: left;
}
.lds__table-wrap tr:last-child td {
  border-bottom: none;
}
.lds__table-wrap .loanTableGroupRowLiteColor td {
  background: rgba(43, 153, 204, 0.04);
}
.lds__table-wrap .loanTableGroupRowMedColor td {
  background: rgba(43, 153, 204, 0.09);
  font-weight: 700;
  color: var(--primary, #2b99cc);
}
@media (max-width: 992px) {
  .lds__top {
    grid-template-columns: 1fr;
  }
  .lds__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .lds__loan-card {
    margin-bottom: 1rem;
  }
  .lds__desc-row {
    grid-template-columns: 1fr;
  }
  .lds__snw-snu-row {
    grid-template-columns: 1fr;
  }
  .lds__snw-snu-cols {
    grid-template-columns: 1fr;
  }
  .lds__prop-row {
    flex-wrap: wrap;
  }
  .lds__prop-col {
    flex: 1 1 50%;
    border-bottom: 1px solid #e5e7eb;
  }
}
@media (max-width: 576px) {
  .lds__info-panel {
    grid-template-columns: 1fr;
  }
  .lds__info-head {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    border-left: 3px solid var(--primary, #2b99cc);
  }
  .lds__stats {
    grid-template-columns: 1fr 1fr;
  }
  .lds__loan-cols {
    grid-template-columns: 1fr;
  }
  .lds__loan-cols .lds__loan-list + .lds__loan-list {
    border-left: none;
    border-top: 1px solid #e5e7eb;
    padding-left: 0;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
  }
  .lds__loan-cols .lds__loan-list:first-child {
    padding-right: 0;
  }
  .lds__prop-row {
    flex-wrap: wrap;
  }
  .lds__prop-row .lds__prop-col {
    flex: 0 0 50%;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .lds__prop-row .lds__prop-col:nth-child(odd) {
    border-right: 1px solid #e5e7eb;
  }
  .lds__prop-row .lds__prop-col:last-child, .lds__prop-row .lds__prop-col:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
  .lds__table-wrap table, .lds__table-wrap thead, .lds__table-wrap tbody, .lds__table-wrap th, .lds__table-wrap td, .lds__table-wrap tr {
    display: block;
  }
  .lds__table-wrap thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .lds__table-wrap tr {
    border: 1px solid #e5e7eb;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    overflow: hidden;
  }
  .lds__table-wrap td {
    border: none;
    border-bottom: 1px solid #f3f4f6;
    padding-left: 50%;
    position: relative;
    text-align: right !important;
  }
  .lds__table-wrap td:before {
    position: absolute;
    top: 0.6rem;
    left: 1rem;
    width: 45%;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    white-space: nowrap;
  }
}

/* Shared export-to-Excel button used inside every Servicing History filter bar */
.export-action {
  display: inline-flex;
  align-items: center;
}
.export-action i {
  cursor: pointer;
}

/* ACH/NACHA (Servicing > Nacha) page -- consolidated header/action bar
   above the payments table. */
.ach-table-header-bar {
  background-color: var(--primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
}
.ach-table-header-bar .side-item {
  padding: 0.25rem 0.6rem;
}
.ach-table-header-bar .side-item i {
  display: block;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .ach-table-header-bar {
    justify-content: center;
    text-align: center;
  }
}
/* ACH/NACHA payments table -- highlights a row with invalid/missing data,
   plus a one-time flash animation used to draw attention to a row after
   editing (e.g. jumping back to it from a validation warning). */
.ach-row-invalid {
  background-color: rgba(220, 53, 69, 0.08) !important;
  border-left: 4px solid #dc3545;
  position: relative;
  scroll-margin-top: 6em;
}
.ach-row-invalid:hover {
  background-color: rgba(220, 53, 69, 0.12) !important;
}

.ach-row-flash {
  animation: achRowFlash 1.5s ease-out;
}

@keyframes achRowFlash {
  0%, 40% {
    background-color: rgba(220, 53, 69, 0.35) !important;
  }
  100% {
    background-color: rgba(220, 53, 69, 0.08) !important;
  }
}
.ach-validation-icon-btn {
  line-height: 1;
}
.ach-validation-icon-btn:focus {
  outline: 2px solid #dc3545;
  outline-offset: 2px;
}

.sendAchCheckbox:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Shared "search all columns" input used inside every Servicing History filter bar
   (SummaryHistory, ExtensionHistory, AuditHistory, ServicingDataHistory, PaymentsHistory).
   Kept as its own class (rather than reusing .filter-field) so its width isn't overridden
   by the per-table, ID-scoped .filter-field rules below. */
.broad-search-row {
  display: flex;
  margin-bottom: 0.75rem;
}

.broad-search-field {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
}
.broad-search-field label {
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 0.15rem;
}

/* Servicing History - Summary Table */
#SummaryHistoryTable th[data-sort-col] {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
#SummaryHistoryTable th[data-sort-col].sort-active {
  text-decoration: underline;
}

/* Filters are always visible in a single horizontal row above the table. */
#SummaryHistoryFilterBar {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--background, #fff);
}
#SummaryHistoryFilterBar .filter-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
}
#SummaryHistoryFilterBar .filter-field {
  display: flex;
  flex-direction: column;
  margin-right: 0.75rem;
  margin-bottom: 0;
  width: 130px;
  flex: 0 0 auto;
}
#SummaryHistoryFilterBar .filter-field.filter-actions {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  width: auto;
}
#SummaryHistoryFilterBar label {
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 0.15rem;
}

/* Servicing History - Extension History */
#ExtensionHistoryTable th[data-sort-col] {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
#ExtensionHistoryTable th[data-sort-col].sort-active {
  text-decoration: underline;
}

/* 14 fields laid out as a 7-column grid, wrapping to 2 rows. */
#ExtensionHistoryFilterBar {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  background: var(--background, #fff);
}
#ExtensionHistoryFilterBar .filter-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
}
#ExtensionHistoryFilterBar .filter-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  min-width: 0;
}
#ExtensionHistoryFilterBar .filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
#ExtensionHistoryFilterBar label {
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 0.15rem;
}

/* Extension History table renders the 1098 Reportable value as a disabled checkbox;
   Bootstrap's .form-check-input assumes it's wrapped in a .form-check container and
   applies a negative margin-left, which throws off alignment under its header. */
#ExtensionHistoryTable td .cbx-table {
  margin: 0;
  float: none;
  vertical-align: middle;
}

/* Servicing History - Audit History (filtering only, no sorting; Action Description is not filterable) */
#AuditHistoryFilterBar {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  background: var(--background, #fff);
}
#AuditHistoryFilterBar .filter-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
}
#AuditHistoryFilterBar .filter-field {
  display: flex;
  flex-direction: column;
  margin-right: 0.75rem;
  margin-bottom: 0;
  width: 130px;
  flex: 0 0 auto;
}
#AuditHistoryFilterBar .filter-field.filter-actions {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  width: auto;
}
#AuditHistoryFilterBar label {
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 0.15rem;
}

/* Servicing History - History Table */
#ServicingDataHistoryTable th[data-sort-col] {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
#ServicingDataHistoryTable th[data-sort-col].sort-active {
  text-decoration: underline;
}

/* 14 fields laid out as a 7-column grid, wrapping to 2 rows. */
#ServicingDataHistoryFilterBar {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  background: var(--background, #fff);
}
#ServicingDataHistoryFilterBar .filter-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
}
#ServicingDataHistoryFilterBar .filter-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  min-width: 0;
}
#ServicingDataHistoryFilterBar .filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
#ServicingDataHistoryFilterBar label {
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 0.15rem;
}

/* Servicing History - Payments */
#PaymentsHistoryTable th[data-sort-col] {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
#PaymentsHistoryTable th[data-sort-col].sort-active {
  text-decoration: underline;
}

/* 14 fields laid out as a 7-column grid, wrapping to 2 rows. */
#PaymentsHistoryFilterBar {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  background: var(--background, #fff);
}
#PaymentsHistoryFilterBar .filter-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
}
#PaymentsHistoryFilterBar .filter-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  min-width: 0;
}
#PaymentsHistoryFilterBar .filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
#PaymentsHistoryFilterBar label {
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 0.15rem;
}

/* Servicing History - Draws */
#DrawHistoryTable th[data-sort-col] {
  cursor: pointer;
  user-select: none;
}
#DrawHistoryTable th[data-sort-col].sort-active {
  text-decoration: underline;
}

/* 16 filterable fields laid out as a 7-column grid, wrapping to 3 rows. */
#DrawHistoryFilterBar {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  background: var(--background, #fff);
}
#DrawHistoryFilterBar .filter-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
}
#DrawHistoryFilterBar .filter-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  min-width: 0;
}
#DrawHistoryFilterBar .filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
#DrawHistoryFilterBar label {
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 0.15rem;
}

/*@import 'layout/_portals.scss';*/
html[data-mobile=true] .acctLogMenu {
  position: fixed !important;
  width: 100%;
}
html[data-mobile=true] .card-body {
  padding: 5px;
}
html[data-mobile=true] .doc360-button {
  display: none;
}
html[data-mobile=true] #doc360-button {
  display: none;
}
html[data-mobile=true] .user-name-welcome {
  display: none !important;
}
html[data-mobile=true] #loan-detail-container-mobile {
  text-align: center;
  height: var(--Loan-Detail-Height);
  position: inherit;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 600ms, visibility 600ms;
  transition: opacity 600ms, visibility 600ms;
  --Loan-Detail-Height: 0em;
  width: 100%;
}
html[data-mobile=true] #loan-detail-container-mobile.open {
  visibility: visible;
  opacity: 1;
  --Loan-Detail-Height: fit-content;
}
html[data-mobile=true] .top-main-menu {
  display: none;
}
html[data-mobile=true] .sideNavig {
  display: none;
}
html[data-mobile=true] #newDealsIcons {
  display: none;
}
html[data-mobile=true] #mobile-loan-info-menu {
  background-color: var(--primary);
  width: 100%;
  position: fixed;
  top: var(--Nav-Height);
  height: var(--Sub-Nav);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em;
  z-index: 10;
}
html[data-mobile=true] .mobile-footer {
  display: block !important;
}
html[data-mobile=true] #credit-card {
  display: none;
}
html[data-mobile=true] #check-body-mobile {
  display: block;
}
html[data-mobile=true] #check-body {
  display: none !important;
}
html[data-mobile=true] .portalLinkSection {
  display: none;
}
html[data-mobile=true] #investorsTable td[data-content=Email] {
  max-width: none !important;
}

html[data-mobile=false] .portalLinkSection {
  display: block;
}
html[data-mobile=false] #mobile-loan-info-menu {
  display: none;
}
html[data-mobile=false] #loan-detail-container-mobile {
  display: none;
}
html[data-mobile=false] #add-payment-check {
  display: block;
}
html[data-mobile=false] #check-body {
  display: block;
}
html[data-mobile=false] #check-body-mobile {
  display: none;
}
html[data-mobile=false] .show-on-mobile-only {
  display: none !important;
}
html[data-mobile=true][data-layout=fluid] .main-partial-container {
  width: 100%;
  max-width: initial;
  padding-right: 1em;
  padding-left: 1em;
}

html[data-mobile=true][data-navversion=new] {
  /*--Sub-Nav: 0em;*/
  /* --Nav-Height: 65px;*/
  /*    --Side-Icon-Nav-Width: 0em;
  --Side-Nav-Width: 100px;*/
  /* #body-content {
      right: initial;
      top: calc(var(--Sub-Nav) + var(--Nav-Height));
      width: 100vw;
      left: 0;
      padding: 0;
  }*/
}
html[data-mobile=true][data-navversion=new] #chatButton {
  display: none;
}
html[data-mobile=true][data-navversion=new] .main-partial-container {
  width: 100%;
  max-width: initial;
  padding-right: 1em;
  padding-left: 1em;
  margin-bottom: calc(var(--Mobile-Footer) + 2em);
}
html[data-mobile=true][data-navversion=new] #mainMenu {
  display: none;
}
html[data-mobile=true][data-navversion=new] .detailed-app-partial-index {
  display: none;
}
html[data-mobile=true][data-navversion=new] .card {
  box-shadow: none !important;
}
html[data-mobile=true][data-navversion=new] .card-body {
  padding: 1em;
}
html[data-mobile=true][data-navversion=new] #mobileSideNav {
  display: block;
}
html[data-mobile=true][data-navversion=new] .mobile-buttons-container {
  display: flex;
}
html[data-mobile=true][data-navversion=new] {
  /*    .user-preference-container {
      display: none
  }*/
  /*   .acctAddressBook {
      display: none;
  }*/
}
html[data-mobile=true][data-navversion=new] .acctLogMenu {
  position: fixed;
}
html[data-mobile=true][data-navversion=new] {
  /*   .user-name {
      display: none;
  }*/
}
html[data-mobile=true][data-navversion=new] #showToastButton {
  display: none;
}
html[data-mobile=true][data-navversion=new] .partials-button-group {
  overflow-x: scroll;
  width: 100%;
  position: initial;
}
html[data-mobile=true][data-navversion=new] .partials-button-group .dropdown-menu {
  width: 100%;
}
html[data-mobile=true][data-navversion=new] #DetailedAppPartialsContainer {
  position: initial;
  padding: 0em;
}
html[data-mobile=true][data-navversion=new] .dropdowncontainer {
  display: none !important;
}
html[data-mobile=true][data-navversion=new] #subNavOld {
  display: block;
}
html[data-mobile=true][data-navversion=new] #navVersionCol {
  display: none;
}
html[data-mobile=true][data-navversion=new] #bodyLayoutCol {
  display: none;
}
html[data-mobile=true][data-navversion=new] {
  /*    #youtubeVideoIcon {
      display: none;
  }*/
}
html[data-mobile=true][data-navversion=new] .scrollTopBtn {
  display: none !important;
}
html[data-mobile=true][data-navversion=new] .hide-on-mobile {
  display: none;
}
html[data-mobile=true][data-navversion=new] #document360-widget-iframe {
  display: none !important;
}
html[data-mobile=true][data-navversion=new] {
  /*    .mobile-footer {
      height: var(--Mobile-Footer);
      display: block !important;
  }*/
  /*   #body-content {
      bottom: var(--Mobile-Footer);
      top: var(--Nav-Height);
      position: -webkit-sticky;
  }*/
}
html[data-mobile=true][data-navversion=new] .table-mobile-header {
  background-color: var(--MainThemeGreenColor);
  color: var(--WhiteText);
  text-align: center;
  padding: 12px;
}
html[data-mobile=true][data-navversion=new] #dealsNav {
  display: block;
  width: 100%;
  right: 0px;
  top: auto;
  position: fixed;
  bottom: 0;
  background-color: var(--MainThemeColor);
  text-align: center;
}
html[data-mobile=true][data-navversion=new] #topNav {
  display: block;
  width: 100%;
  right: 0px;
  top: auto;
  position: fixed;
  bottom: 0;
  background-color: var(--MainThemeColor);
  text-align: center;
}
html[data-mobile=true][data-navversion=new] .copyrightFooter {
  bottom: var(--Mobile-Footer);
}
html[data-mobile=true][data-navversion=new] #mobileView {
  position: fixed;
  bottom: 0;
  z-index: 2;
}

[data-mobile=false] {
  --Mobile-Footer: 0px;
}
[data-mobile=false] #mobileView {
  display: none;
}
[data-mobile=false] .mobile-buttons-container {
  display: none;
}
[data-mobile=false] .account-nav-option {
  display: none;
}
[data-mobile=false] .openMainMenuHam {
  display: none;
}

html[data-device=widescreen] html[data-orientation=landscape] .user-name-welcome {
  display: none !important;
}

html[data-device=laptop] html[data-orientation=portrait] #nav {
  display: none;
}
html[data-device=tablet] .user-name-welcome {
  display: none !important;
}
html[data-device=tablet][data-orientation=portrait] #nav {
  display: none;
}
html[data-device=tablet][data-orientation=portrait] #loan-detail-container-mobile {
  display: block;
}

html[data-device=tablet] .user-name-welcome {
  display: none !important;
}
html[data-device=tablet] html[data-orientation=portrait] #nav {
  display: none;
}
/*html[data-page='pipeline'] {
    --Sub-Nav: 4em !important;
    --Side-Icon-Nav-Width: 0em;

    &[data-mobile='true'] {
        .openMainMenuHam {
            display: block;
        }
    }
}*/
html[data-page=pipeline][data-mobile=true] {
  --Sub-Nav: 5.5em !important;
}
html[data-page=pipeline][data-mobile=true] #nav-tab > .col.p-0 {
  flex: 1 0 20%;
  max-width: 20%;
}
html[data-page=pipeline][data-mobile=true] .nav-button-w-icon {
  font-size: 10px;
}
html[data-page=pipeline][data-mobile=true] .nav-button-w-icon span {
  white-space: normal;
  text-align: center;
  line-height: 1.1;
}

br.mobile-break {
  display: none;
}

html[data-mobile=true] br.mobile-break {
  display: inline;
}

/*html[data-mobile='true']&[data-page="deals"] {
    --Side-Icon-Nav-Width: 0em;
}*/
/*
*
* Typography
*
* Template styles for typography.
*
*/
p {
  font-family: var(--font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
}

.font-standard {
  font-family: var(--font);
}

.font-heading {
  font-family: var(--font-heading);
}

.text-medium {
  font-size: 0.9em !important;
}

.text-medium-fluid {
  font-size: clamp(0.8rem, 0.85rem + 0.6vw, 1rem);
}

.text-semi-large {
  font-size: 1.4em !important;
}

.text-xlarge {
  font-size: 2.7em !important;
  /*font-weight: 300 !important;*/
}

.text-small {
  font-size: 0.7em !important;
  font-weight: initial !important;
}

.text-extra-small {
  font-size: 0.65em !important;
  line-height: 1em !important;
}

.text-large {
  font-size: 1.6em !important;
  font-weight: 300 !important;
}

/* base was 1.60em ≈ 1.6rem if root = 16px */
.text-large-fluid {
  font-size: clamp(1.2rem, 1rem + 2vw, 1.6rem);
  font-weight: 300 !important; /* to match your .text-large */
}

.font-weight-bold {
  font-weight: 600;
}

[class*=cs-] {
  font-size: 18px;
}

.heading {
  font-size: 1.1em;
  font-weight: 500;
  margin-bottom: 0.7em;
}

.small-title {
  font-family: var(--font-heading);
  font-weight: 400;
  margin-bottom: 0;
  font-size: 1em;
  color: var(--primary);
  height: var(--small-title-height);
}

.blockquote {
  font-size: 1em;
}

.display-1 {
  font-family: var(--font-heading);
  font-size: 3.5em;
  line-height: 1.2;
  font-weight: 300;
}
@media (max-width: 767.98px) {
  .display-1 {
    font-size: 3em;
  }
}

.display-2 {
  font-family: var(--font-heading);
  font-size: 3em;
  line-height: 1.2;
  font-weight: 300;
}
@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2.75em;
  }
}

.display-3 {
  font-family: var(--font-heading);
  font-size: 2.15em;
  line-height: 1.2;
  font-weight: 300;
}
@media (max-width: 767.98px) {
  .display-3 {
    font-size: 2em;
  }
}

.display-4 {
  font-family: var(--font-heading);
  font-size: 1.85em;
  line-height: 1.2;
  font-weight: 300;
}
@media (max-width: 991.98px) {
  .display-4 {
    font-size: 1.7em;
  }
}
@media (max-width: 767.98px) {
  .display-4 {
    font-size: 1.6em;
  }
}

.display-5 {
  font-family: var(--font-heading);
  font-size: 1.75em;
  line-height: 1.2;
  font-weight: 300;
}
@media (max-width: 991.98px) {
  .display-5 {
    font-size: 1.6em;
  }
}
@media (max-width: 767.98px) {
  .display-5 {
    font-size: 1.5em;
  }
}

.display-6 {
  font-family: var(--font-heading);
  font-size: 1.6em;
  line-height: 1.2;
  font-weight: 300;
}
@media (max-width: 991.98px) {
  .display-6 {
    font-size: 1.5em;
  }
}
@media (max-width: 767.98px) {
  .display-6 {
    font-size: 1.5em;
  }
}

.cta-1 {
  font-family: var(--font-heading);
  font-size: 1.5em;
  line-height: 1.4;
  font-weight: 400;
}

.cta-2 {
  font-family: var(--font-heading);
  font-size: 1.35em;
  line-height: 1.4;
  font-weight: 400;
}

.cta-3 {
  font-family: var(--font-heading);
  font-size: 1.25em;
  line-height: 1.4;
  font-weight: 400;
}

.cta-4 {
  font-family: var(--font-heading);
  font-size: 1.15em;
  line-height: 1.25;
  font-weight: 400;
}

.lead {
  font-weight: 300;
}

h1,
.h1 {
  font-size: 1.8em;
}
@media (max-width: 767.98px) {
  h1,
  .h1 {
    font-size: 1.5em;
  }
}

h2,
.h2 {
  font-size: 1.65em;
}
@media (max-width: 767.98px) {
  h2,
  .h2 {
    font-size: 1.3em;
  }
}

h3,
.h3 {
  font-size: 1.5em;
}
@media (max-width: 767.98px) {
  h3,
  .h3 {
    font-size: 1.25em;
  }
}

h4,
.h4 {
  font-size: 1.35em;
}
@media (max-width: 767.98px) {
  h4,
  .h4 {
    font-size: 1.15em;
  }
}

h5,
.h5 {
  font-size: 1.1em;
}
@media (max-width: 767.98px) {
  h5,
  .h5 {
    font-size: 1em;
  }
}

h6,
.h6 {
  font-size: 1em;
}
@media (max-width: 767.98px) {
  h6,
  .h6 {
    font-size: 1em;
  }
}

.icon-24 {
  font-size: 24px !important;
}

.icon-22 {
  font-size: 22px !important;
}

.icon-20 {
  font-size: 20px !important;
}

.icon-18 {
  font-size: 18px !important;
}

.icon-16 {
  font-size: 16px !important;
}

.icon-14 {
  font-size: 14px !important;
}

pre {
  color: var(--body);
}

code {
  color: var(--body);
}

mark,
.mark {
  /*    background-color: rgba(var(--secondary-rgb), 0.1);*/
}

.ll-nam {
  color: var(--tertiary);
}

.ll-num {
  color: var(--info);
}

.ll-str {
  color: var(--secondary);
}

.ll-rex {
  color: var(--warning);
}

.ll-pct {
  color: var(--body);
}

.ll-key {
  color: var(--body);
  font-weight: bold;
}

.ll-com {
  color: var(--text-muted);
  font-style: italic;
}

kbd {
  background: var(--primary);
  color: var(--light-text);
  border-radius: calc(var(--border-radius-md) / 2);
}

.tooltip,
.popover {
  font-family: var(--font);
}

.lh-1 {
  line-height: 1 !important;
}

.lh-1-25 {
  line-height: 1.25 !important;
}

.lh-1-5 {
  line-height: 1.5 !important;
}

.disable-text-selection {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.font-weight-300 {
  font-weight: 300 !important;
}

.line-through {
  text-decoration: line-through;
}

.blockquote-footer {
  margin-top: initial;
}

/*==================WORD WRAPPING===============*/
.text-wrap {
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break words when necessary to fit the container */
  overflow-wrap: break-word; /* Ensure long words or URLs break to the next line */
}

.workflow-automations-page .workflow-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.workflow-automations-page .event-form-container {
  margin-bottom: 20px;
}
.workflow-automations-page .big-number {
  font-size: 1.2em;
  font-weight: 700;
}
.workflow-automations-page .workflow-library {
  border-top: 1px solid #dee2e6;
  padding-top: 2rem;
}
.workflow-automations-page .workflow-library-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.workflow-automations-page .workflow-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}
.workflow-automations-page .workflow-summary-card {
  min-width: 88px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  background: #fff;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.workflow-automations-page .workflow-summary-card:hover, .workflow-automations-page .workflow-summary-card:focus {
  border-color: #0d6efd;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}
.workflow-automations-page .workflow-summary-card.active {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.18);
}
.workflow-automations-page .workflow-summary-card strong,
.workflow-automations-page .workflow-summary-card span {
  display: block;
}
.workflow-automations-page .workflow-summary-card strong {
  font-size: 1.35rem;
  line-height: 1;
}
.workflow-automations-page .workflow-summary-card span {
  margin-top: 0.3rem;
  color: #6c757d;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.workflow-automations-page .workflow-summary-card-connected {
  border-color: #9ec5fe;
}
.workflow-automations-page .workflow-summary-card-warning {
  border-color: #ffda6a;
}
.workflow-automations-page .workflow-summary-card-danger {
  border-color: #f1aeb5;
}
.workflow-automations-page .workflow-toolbar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.workflow-automations-page .workflow-search {
  position: relative;
  flex: 1 1 280px;
}
.workflow-automations-page .workflow-search i {
  position: absolute;
  top: 50%;
  left: 0.8rem;
  z-index: 1;
  color: #6c757d;
  transform: translateY(-50%);
}
.workflow-automations-page .workflow-search input {
  padding-left: 2.35rem;
}
.workflow-automations-page .workflow-risk-filter {
  width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
}
.workflow-automations-page .select2-container {
  max-width: 100%;
}
.workflow-automations-page .select2-container .select2-selection--single {
  min-height: 38px;
  border-color: #ced4da;
}
.workflow-automations-page .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  line-height: 1.35;
}
.workflow-automations-page .workflow-task-selection {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workflow-automations-page .workflow-table-container {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  background: #fff;
}
.workflow-automations-page .workflow-table {
  margin-bottom: 0;
}
.workflow-automations-page .workflow-table thead th {
  border-top: 0;
  background: #f8f9fa;
  color: #495057;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  white-space: nowrap;
}
.workflow-automations-page .workflow-table td {
  min-width: 135px;
  vertical-align: middle;
}
.workflow-automations-page .workflow-table tbody tr {
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.workflow-automations-page .workflow-row-highlight {
  background: #fff3cd;
  box-shadow: inset 4px 0 #ffc107;
}
.workflow-automations-page .workflow-name-text,
.workflow-automations-page .workflow-id,
.workflow-automations-page .workflow-updated span,
.workflow-automations-page .workflow-updated small {
  display: block;
}
.workflow-automations-page .workflow-id,
.workflow-automations-page .workflow-updated small {
  margin-top: 0.2rem;
  color: #6c757d;
  font-size: 0.78rem;
}
.workflow-automations-page .workflow-event {
  min-width: 170px;
  padding: 0.6rem 0.7rem;
  border: 1px solid #ced4da;
  border-left-width: 4px;
  border-radius: 0.35rem;
  background: #fff;
}
.workflow-automations-page .workflow-event strong,
.workflow-automations-page .workflow-event span {
  display: block;
}
.workflow-automations-page .workflow-event strong {
  margin-top: 0.15rem;
  overflow-wrap: anywhere;
}
.workflow-automations-page .workflow-event-trigger {
  border-left-color: #0d6efd;
  background: #f4f8ff;
}
.workflow-automations-page .workflow-event-action {
  border-left-color: #198754;
  background: #f3fbf7;
}
.workflow-automations-page .workflow-event-label,
.workflow-automations-page .workflow-connection-label {
  color: #6c757d;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
.workflow-automations-page .workflow-action-step + .workflow-action-step {
  margin-top: 0.75rem;
}
.workflow-automations-page .workflow-delay {
  display: inline-block;
  margin: 0 0 0.35rem 0.4rem;
  color: #6c757d;
  font-size: 0.78rem;
}
.workflow-automations-page .workflow-connection-group + .workflow-connection-group {
  margin-top: 0.6rem;
}
.workflow-automations-page .workflow-connections-heading,
.workflow-automations-page .workflow-connections {
  text-align: center;
}
.workflow-automations-page .workflow-connection-count {
  display: inline-flex;
  min-width: 72px;
  margin: 0.2rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #dee2e6;
  border-radius: 0.4rem;
  flex-direction: column;
  background: #f8f9fa;
  text-align: center;
  cursor: pointer;
}
.workflow-automations-page .workflow-connection-count:hover, .workflow-automations-page .workflow-connection-count:focus {
  border-color: #0d6efd;
  background: #e7f1ff;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
}
.workflow-automations-page .workflow-connection-count strong {
  font-size: 1.1rem;
  line-height: 1;
}
.workflow-automations-page .workflow-connection-count span {
  margin-top: 0.25rem;
  color: #6c757d;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}
.workflow-automations-page .workflow-connection-label {
  display: block;
  margin-bottom: 0.25rem;
}
.workflow-automations-page .workflow-connection-label-conditional {
  color: #7a4d00;
}
.workflow-automations-page .view-workflow-chain {
  display: block;
  margin: 0.65rem auto 0;
  white-space: nowrap;
}
.workflow-automations-page .workflow-link {
  max-width: 210px;
  margin: 0 0.25rem 0.25rem 0;
  padding: 0.2rem 0.45rem;
  border: 1px solid #9ec5fe;
  border-radius: 999px;
  background: #e7f1ff;
  color: #084298;
  font-size: 0.78rem;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}
.workflow-automations-page .workflow-link:hover, .workflow-automations-page .workflow-link:focus {
  border-color: #0d6efd;
  background: #cfe2ff;
}
.workflow-automations-page .workflow-connection-more {
  display: inline-block;
  margin-bottom: 0.25rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: #e9ecef;
  color: #495057;
  font-size: 0.78rem;
  font-weight: 600;
  vertical-align: middle;
  white-space: nowrap;
}
.workflow-automations-page .workflow-link-conditional {
  border-color: #ffda6a;
  background: #fff8e1;
  color: #664d03;
}
.workflow-automations-page .workflow-link-conditional:hover, .workflow-automations-page .workflow-link-conditional:focus {
  border-color: #ffc107;
  background: #fff3cd;
}
.workflow-automations-page .workflow-status {
  display: block;
  width: fit-content;
  margin-bottom: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
}
.workflow-automations-page .workflow-status-button {
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.workflow-automations-page .workflow-status-button:hover, .workflow-automations-page .workflow-status-button:focus {
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.45);
  text-decoration: underline;
}
.workflow-automations-page .workflow-status-danger {
  background: #f8d7da;
  color: #842029;
}
.workflow-automations-page .workflow-status-warning {
  background: #fff3cd;
  color: #664d03;
}
.workflow-automations-page .workflow-status-ok {
  background: #d1e7dd;
  color: #0f5132;
}
.workflow-automations-page .workflow-warning-text {
  color: #842029;
  font-size: 0.85rem;
  font-weight: 600;
}
.workflow-automations-page .workflow-row-actions {
  min-width: 120px !important;
  white-space: nowrap;
}
.workflow-automations-page .workflow-icon-button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #ced4da;
  border-radius: 0.3rem;
  background: #fff;
  color: #495057;
  cursor: pointer;
}
.workflow-automations-page .workflow-icon-button:hover, .workflow-automations-page .workflow-icon-button:focus {
  border-color: #0d6efd;
  color: #0d6efd;
}
.workflow-automations-page .workflow-icon-button-danger:hover,
.workflow-automations-page .workflow-icon-button-danger:focus {
  border-color: #dc3545;
  color: #dc3545;
}
.workflow-automations-page .workflow-chain-modal .modal-dialog {
  max-width: calc(100vw - 3rem);
}
.workflow-automations-page .workflow-chain-modal .modal-content {
  max-height: calc(100vh - 2rem);
}
.workflow-automations-page .workflow-chain-modal .modal-header {
  flex: 0 0 auto;
}
.workflow-automations-page .workflow-chain-modal .modal-body {
  overflow: auto;
}
.workflow-automations-page .workflow-chain-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: #495057;
  font-size: 0.82rem;
}
.workflow-automations-page .workflow-chain-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.3rem;
  border-radius: 50%;
}
.workflow-automations-page .workflow-chain-legend-line {
  display: inline-block;
  width: 20px;
  margin: 0 0.3rem 2px 0;
  border-top: 2px dashed #b77900;
}
.workflow-automations-page .workflow-chain-legend-before {
  background: #6c757d;
}
.workflow-automations-page .workflow-chain-legend-current {
  background: #0d6efd;
}
.workflow-automations-page .workflow-chain-legend-after {
  background: #198754;
}
.workflow-automations-page .workflow-chain-graph {
  display: flex;
  align-items: center;
  min-width: max-content;
  padding: 1rem 0.5rem 1.5rem;
}
.workflow-automations-page .workflow-chain-column {
  width: 245px;
  flex: 0 0 245px;
}
.workflow-automations-page .workflow-chain-column-label {
  display: block;
  margin-bottom: 0.55rem;
  color: #6c757d;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.workflow-automations-page .workflow-chain-column-nodes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  min-height: 150px;
}
.workflow-automations-page .workflow-chain-node {
  display: block;
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #adb5bd;
  border-radius: 0.5rem;
  background: #fff;
  color: #212529;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.workflow-automations-page .workflow-chain-node:hover, .workflow-automations-page .workflow-chain-node:focus {
  border-color: #0d6efd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}
.workflow-automations-page .workflow-chain-node-before {
  border-color: #6c757d;
  background: #f8f9fa;
}
.workflow-automations-page .workflow-chain-node-current {
  border-color: #0d6efd;
  background: #e7f1ff;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.13);
}
.workflow-automations-page .workflow-chain-node-after {
  border-color: #198754;
  background: #f3fbf7;
}
.workflow-automations-page .workflow-chain-node-name,
.workflow-automations-page .workflow-chain-node-trigger,
.workflow-automations-page .workflow-chain-node-action,
.workflow-automations-page .workflow-chain-node-badges {
  display: block;
}
.workflow-automations-page .workflow-chain-node-name {
  margin-bottom: 0.45rem;
  font-weight: 700;
}
.workflow-automations-page .workflow-chain-node-trigger,
.workflow-automations-page .workflow-chain-node-action {
  font-size: 0.78rem;
  line-height: 1.35;
}
.workflow-automations-page .workflow-chain-node-trigger {
  color: #084298;
}
.workflow-automations-page .workflow-chain-node-action {
  margin-top: 0.3rem;
  color: #0f5132;
}
.workflow-automations-page .workflow-chain-node-missing {
  color: #842029;
}
.workflow-automations-page .workflow-chain-node-badges:empty {
  display: none;
}
.workflow-automations-page .workflow-chain-badge {
  display: inline-block;
  margin: 0.55rem 0.25rem 0 0;
  padding: 0.15rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.workflow-automations-page .workflow-chain-badge-loop {
  background: #f8d7da;
  color: #842029;
}
.workflow-automations-page .workflow-chain-badge-shared {
  background: #fff3cd;
  color: #664d03;
}
.workflow-automations-page .workflow-chain-arrow {
  display: flex;
  width: 150px;
  flex: 0 0 150px;
  flex-direction: column;
  align-items: center;
  color: #6c757d;
  font-size: 1.5rem;
  text-align: center;
}
.workflow-automations-page .workflow-chain-arrow span {
  margin-top: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}
.workflow-automations-page .workflow-chain-arrow-conditional {
  color: #7a4d00;
}
.workflow-automations-page .workflow-chain-arrow-conditional i {
  width: 100%;
  padding-bottom: 0.25rem;
  border-bottom: 2px dashed #d39e00;
}
.workflow-automations-page .workflow-chain-arrow-conditional span {
  max-width: 145px;
  line-height: 1.25;
}
.workflow-automations-page .workflow-chain-arrow-mixed {
  color: #6f42c1;
}
.workflow-automations-page .workflow-chain-arrow-mixed i {
  width: 100%;
  padding-bottom: 0.25rem;
  border-bottom: 2px dashed #6f42c1;
}
.workflow-automations-page .workflow-chain-empty {
  padding: 1rem;
  border: 1px dashed #adb5bd;
  border-radius: 0.5rem;
  color: #6c757d;
  font-size: 0.82rem;
  text-align: center;
}
@media (max-width: 991px) {
  .workflow-automations-page .workflow-library-heading,
  .workflow-automations-page .workflow-toolbar {
    flex-direction: column;
  }
  .workflow-automations-page .workflow-task-options-dropdown {
    width: min(560px, 100vw - 2rem) !important;
    max-width: calc(100vw - 2rem);
  }
  .workflow-automations-page .workflow-task-options-dropdown .select2-results__options {
    max-height: 360px !important;
  }
  .workflow-automations-page .workflow-task-options-dropdown .select2-results__option {
    padding: 0.55rem 0.7rem;
  }
  .workflow-automations-page .workflow-task-option {
    display: block;
    max-width: 100%;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .workflow-automations-page .workflow-summary {
    justify-content: flex-start;
  }
  .workflow-automations-page .workflow-search,
  .workflow-automations-page .workflow-risk-filter {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }
  .workflow-automations-page .workflow-chain-modal .modal-dialog {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem;
  }
}

.collapse-toggle[aria-expanded=true] .chev {
  transform: rotate(180deg);
}

.collapse-toggle .chev {
  transition: transform 0.2s ease;
}

/* Optional: subtle card flair */
.bg-info-subtle {
  background-color: rgba(13, 110, 253, 0.08);
}

.text-info-emphasis {
  color: #055160;
}

.border-info-subtle {
  border-color: rgba(13, 110, 253, 0.25);
}

/* AI Summary loader */
.ai-skeleton {
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  background: #eef2f7 !important;
}

.ai-skeleton .line {
  height: 10px;
  margin: 10px 0;
  border-radius: 4px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.ai-skeleton .line.thick {
  height: 14px;
}

.ai-skeleton .line.short {
  width: 65%;
}

.ai-skeleton .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  animation: shimmer 1.25s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
/* Keep loader nicely contained */
#aiSummary .card {
  box-shadow: 0 0 15px rgba(94, 206, 243, 0.5) !important;
}

.ai-hub-shell {
  --ai-border: #dfe3e8;
  --ai-muted: #5d6874;
  --ai-surface: #fff;
  --ai-surface-muted: #f6f8fa;
  --ai-primary: #245aa8;
  padding: 1.5rem;
}
.ai-hub-shell .ai-shell-nav-toggle {
  display: none;
}
.ai-hub-shell .ai-shell-layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1600px;
}
.ai-hub-shell .ai-shell-navigation {
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: 0.65rem;
  position: sticky;
  top: 5.25rem;
}
.ai-hub-shell .ai-shell-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
}
.ai-hub-shell .ai-shell-navigation a {
  align-items: center;
  border-radius: 0.45rem;
  color: #28323c;
  display: flex;
  gap: 0.7rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
}
.ai-hub-shell .ai-shell-navigation a:hover {
  background: var(--ai-surface-muted);
}
.ai-hub-shell .ai-shell-navigation a:focus-visible {
  outline: 3px solid rgba(36, 90, 168, 0.3);
  outline-offset: 1px;
}
.ai-hub-shell .ai-shell-navigation a.active {
  background: #eaf1fb;
  color: #174b91;
  font-weight: 700;
}
.ai-hub-shell .ai-shell-navigation a i {
  text-align: center;
  width: 1.25rem;
}
.ai-hub-shell .ai-shell-content {
  min-width: 0;
}
.ai-hub-shell .ai-system-field {
  width: 100%;
}
.ai-hub-shell .ai-system-field > label {
  font-weight: 500;
  margin: 0;
}
.ai-hub-shell .ai-shell-section {
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: 0.65rem;
  min-height: 24rem;
  padding: 1.25rem;
}
.ai-hub-shell .ai-shell-section-flush {
  padding: 0;
}
.ai-hub-shell .ai-section-heading {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.ai-hub-shell .ai-section-heading h2 {
  margin: 0;
}
.ai-hub-shell .ai-section-heading p {
  color: var(--ai-muted);
  margin: 0.35rem 0 0;
}
.ai-hub-shell .ai-section-badge {
  background: #edf2f7;
  border-radius: 999px;
  color: #4a5562;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
}
.ai-hub-shell .ai-overview-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 1rem;
}
.ai-hub-shell .ai-overview-metrics {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  margin-bottom: 1rem;
}
.ai-hub-shell .ai-overview-metric,
.ai-hub-shell .ai-overview-detail {
  border: 1px solid var(--ai-border);
  border-radius: 0.55rem;
}
.ai-hub-shell .ai-overview-metric {
  padding: 1rem;
}
.ai-hub-shell .ai-overview-metric span,
.ai-hub-shell .ai-overview-metric small {
  color: var(--ai-muted);
  display: block;
}
.ai-hub-shell .ai-overview-metric strong {
  display: block;
  font-size: 1.35rem;
  margin: 0.25rem 0;
  overflow-wrap: anywhere;
}
.ai-hub-shell .ai-overview-alert {
  background: #fff8e6;
  border: 1px solid #e8ca79;
  border-radius: 0.55rem;
  color: #654f14;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
}
.ai-hub-shell .ai-section-badge-success {
  background: #e7f6ec;
  color: #22643a;
}
.ai-hub-shell .ai-overview-card {
  align-items: center;
  border: 1px solid var(--ai-border);
  border-radius: 0.55rem;
  color: #27323d;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto 1fr auto auto;
  padding: 1rem;
  text-decoration: none;
}
.ai-hub-shell .ai-overview-card:hover {
  border-color: #8eadd7;
  box-shadow: 0 4px 12px rgba(31, 55, 82, 0.08);
}
.ai-hub-shell .ai-overview-card .ai-overview-card-state {
  border-radius: 999px;
  color: #22643a;
  font-size: 0.72rem;
  font-weight: 700;
}
.ai-hub-shell .ai-overview-card .ai-overview-card-state[data-state="1"] {
  color: #9a3412;
}
.ai-hub-shell .ai-overview-card .ai-overview-card-state[data-state="2"] {
  color: var(--ai-muted);
}
.ai-hub-shell .ai-overview-card:focus-visible {
  outline: 3px solid rgba(36, 90, 168, 0.3);
  outline-offset: 2px;
}
.ai-hub-shell .ai-overview-card > i:first-child {
  color: var(--ai-primary);
  font-size: 1.2rem;
}
.ai-hub-shell .ai-overview-card strong,
.ai-hub-shell .ai-overview-card small {
  display: block;
}
.ai-hub-shell .ai-overview-card small {
  color: var(--ai-muted);
  line-height: 1.35;
  margin-top: 0.25rem;
}
.ai-hub-shell .ai-overview-detail {
  background: var(--ai-surface-muted);
  overflow: hidden;
}
.ai-hub-shell .ai-overview-detail summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto 1fr auto;
  list-style: none;
  padding: 0.85rem 1rem;
}
.ai-hub-shell .ai-overview-detail summary::-webkit-details-marker {
  display: none;
}
.ai-hub-shell .ai-overview-detail summary:hover {
  background: #eef3f8;
}
.ai-hub-shell .ai-overview-detail summary:focus-visible {
  outline: 3px solid rgba(36, 90, 168, 0.3);
  outline-offset: -3px;
}
.ai-hub-shell .ai-overview-detail summary strong,
.ai-hub-shell .ai-overview-detail summary small {
  display: block;
}
.ai-hub-shell .ai-overview-detail summary small {
  color: var(--ai-muted);
  margin-top: 0.15rem;
}
.ai-hub-shell .ai-overview-detail[open] {
  background: var(--ai-surface);
}
.ai-hub-shell .ai-overview-detail[open] .ai-overview-detail-chevron {
  transform: rotate(180deg);
}
.ai-hub-shell .ai-overview-detail-icon {
  align-items: center;
  background: #e4edf8;
  border-radius: 0.45rem;
  color: var(--ai-primary);
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}
.ai-hub-shell .ai-overview-detail-chevron {
  color: var(--ai-muted);
  transition: transform 0.2s ease;
}
.ai-hub-shell .ai-overview-detail-groups {
  border-top: 1px solid var(--ai-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 1rem;
}
.ai-hub-shell .ai-overview-detail-groups section {
  min-width: 0;
}
.ai-hub-shell .ai-overview-detail-groups h3 {
  color: #334155;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}
.ai-hub-shell .ai-overview-detail-groups dl {
  margin: 0;
}
.ai-hub-shell .ai-overview-detail-groups dl div {
  align-items: baseline;
  border-top: 1px solid #edf0f3;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.55rem 0;
}
.ai-hub-shell .ai-overview-detail-groups dl div:first-child {
  border-top: 0;
  padding-top: 0;
}
.ai-hub-shell .ai-overview-detail-groups dt {
  color: var(--ai-muted);
  font-size: 0.82rem;
}
.ai-hub-shell .ai-overview-detail-groups dd {
  font-weight: 700;
  margin: 0;
  text-align: right;
}
.ai-hub-shell .ai-setup-wizard {
  margin: 1rem auto;
  max-width: 760px;
}
.ai-hub-shell .ai-setup-intro {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ai-hub-shell .ai-setup-intro h1 {
  margin: 0;
}
.ai-hub-shell .ai-setup-intro p:last-child {
  color: var(--ai-muted);
  margin: 0.35rem 0 0;
}
.ai-hub-shell .ai-setup-intro-icon {
  align-items: center;
  background: #e4edf8;
  border-radius: 0.75rem;
  color: var(--ai-primary);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.45rem;
  height: 3.5rem;
  justify-content: center;
  width: 3.5rem;
}
.ai-hub-shell .ai-setup-progress {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.ai-hub-shell .ai-setup-progress li {
  align-items: center;
  color: var(--ai-muted);
  display: flex;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 0.4rem;
  min-width: 0;
}
.ai-hub-shell .ai-setup-progress li::after {
  background: var(--ai-border);
  content: "";
  flex: 1 1 auto;
  height: 2px;
  margin-left: 0.1rem;
}
.ai-hub-shell .ai-setup-progress li:last-child::after {
  display: none;
}
.ai-hub-shell .ai-setup-progress li span {
  align-items: center;
  border: 2px solid #b9c2cc;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 1.75rem;
  justify-content: center;
  width: 1.75rem;
}
.ai-hub-shell .ai-setup-progress li.active {
  color: var(--ai-primary);
}
.ai-hub-shell .ai-setup-progress li.active span {
  border-color: var(--ai-primary);
}
.ai-hub-shell .ai-setup-progress li.complete {
  color: #22643a;
}
.ai-hub-shell .ai-setup-progress li.complete span {
  background: #e7f6ec;
  border-color: #3f8a59;
}
.ai-hub-shell .ai-setup-progress li.complete::after {
  background: #88b99a;
}
.ai-hub-shell .ai-setup-step {
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: 0.65rem;
  box-shadow: 0 8px 24px rgba(31, 55, 82, 0.08);
  padding: 1.5rem;
}
.ai-hub-shell .ai-setup-step h2 {
  margin: 0;
}
.ai-hub-shell .ai-setup-step > p {
  color: var(--ai-muted);
  margin: 0.4rem 0 1.25rem;
}
.ai-hub-shell .ai-setup-step .ai-system-field {
  margin-top: 1rem;
}
.ai-hub-shell .ai-setup-actions {
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.ai-hub-shell .ai-setup-test-summary,
.ai-hub-shell .ai-setup-review {
  border: 1px solid var(--ai-border);
  border-radius: 0.5rem;
  margin: 1rem 0;
  padding: 0.25rem 1rem;
}
.ai-hub-shell .ai-setup-test-summary div,
.ai-hub-shell .ai-setup-review div {
  align-items: baseline;
  border-top: 1px solid #edf0f3;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.ai-hub-shell .ai-setup-test-summary div:first-child,
.ai-hub-shell .ai-setup-review div:first-child {
  border-top: 0;
}
.ai-hub-shell .ai-setup-test-summary span,
.ai-hub-shell .ai-setup-test-summary dt,
.ai-hub-shell .ai-setup-review span,
.ai-hub-shell .ai-setup-review dt {
  color: var(--ai-muted);
}
.ai-hub-shell .ai-setup-test-summary strong,
.ai-hub-shell .ai-setup-test-summary dd,
.ai-hub-shell .ai-setup-review strong,
.ai-hub-shell .ai-setup-review dd {
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}
.ai-hub-shell .ai-setup-test-result {
  align-items: center;
  background: #e7f6ec;
  border: 1px solid #a8d5b7;
  border-radius: 0.5rem;
  color: #22643a;
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}
.ai-hub-shell .ai-setup-test-result i {
  font-size: 1.3rem;
}
.ai-hub-shell .ai-setup-test-result strong,
.ai-hub-shell .ai-setup-test-result small {
  display: block;
}
.ai-hub-shell .ai-section-states {
  margin-top: 1rem;
}
.ai-hub-shell .ai-management-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-bottom: 1rem;
}
.ai-hub-shell .ai-management-card,
.ai-hub-shell .ai-inline-form {
  border: 1px solid var(--ai-border);
  border-radius: 0.55rem;
  padding: 1rem;
}
.ai-hub-shell .ai-management-card h3,
.ai-hub-shell .ai-management-card h4,
.ai-hub-shell .ai-inline-form h3,
.ai-hub-shell .ai-inline-form h4 {
  margin-top: 0;
}
.ai-hub-shell .ai-management-card label,
.ai-hub-shell .ai-inline-form label {
  display: block;
  font-weight: 600;
  margin-top: 0.7rem;
}
.ai-hub-shell .ai-management-card .ai-system-field,
.ai-hub-shell .ai-inline-form .ai-system-field {
  margin-top: 0.7rem;
}
.ai-hub-shell .ai-management-card .ai-system-field label,
.ai-hub-shell .ai-inline-form .ai-system-field label {
  font-weight: 500;
  margin-top: 0;
}
.ai-hub-shell .ai-management-card input,
.ai-hub-shell .ai-management-card select,
.ai-hub-shell .ai-management-card textarea,
.ai-hub-shell .ai-inline-form input,
.ai-hub-shell .ai-inline-form select,
.ai-hub-shell .ai-inline-form textarea {
  max-width: 100%;
  width: 100%;
}
.ai-hub-shell .ai-management-card textarea,
.ai-hub-shell .ai-inline-form textarea {
  min-height: 5rem;
}
.ai-hub-shell .ai-inline-form,
.ai-hub-shell .ai-inline-fields {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.ai-hub-shell .ai-inline-form label,
.ai-hub-shell .ai-inline-fields label {
  flex: 1 1 180px;
}
.ai-hub-shell .ai-inline-form .ai-system-field,
.ai-hub-shell .ai-inline-fields .ai-system-field {
  flex: 1 1 180px;
  margin-bottom: 0 !important;
}
.ai-hub-shell .ai-check {
  align-items: center;
  display: flex !important;
  gap: 0.5rem;
}
.ai-hub-shell .ai-check input {
  width: auto;
}
.ai-hub-shell .ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.ai-hub-shell .ai-table-wrap {
  overflow-x: auto;
}
.ai-hub-shell .ai-table-wrap table {
  width: 100%;
}
.ai-hub-shell .ai-table-wrap th,
.ai-hub-shell .ai-table-wrap td {
  border-bottom: 1px solid var(--ai-border);
  padding: 0.55rem;
  text-align: left;
  vertical-align: top;
}
.ai-hub-shell .ai-help {
  color: var(--ai-muted);
  font-size: 0.85rem;
  font-weight: 400;
  margin: 0.4rem 0;
}
.ai-hub-shell .ai-info-callout {
  background: #eef6ff;
  border: 1px solid #a7c6e5;
  border-radius: 0.45rem;
  color: #28445e;
  margin: 1rem 0;
  padding: 0.85rem;
}
.ai-hub-shell .ai-detail-panel,
.ai-hub-shell .ai-result-list {
  max-height: 34rem;
  overflow: auto;
}
.ai-hub-shell .ai-message,
.ai-hub-shell .ai-result {
  border-top: 1px solid var(--ai-border);
  padding: 0.75rem 0;
}
.ai-hub-shell .ai-message-part {
  margin-top: 0.4rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.ai-hub-shell .ai-message-feedback {
  display: inline-block;
  margin-top: 0.75rem;
}
.ai-hub-shell select[multiple] {
  min-height: 8rem;
}
.ai-hub-shell option {
  padding: 0.25rem 0.35rem;
}
.ai-hub-shell .ai-json {
  background: var(--ai-surface-muted);
  border: 1px solid var(--ai-border);
  max-height: 20rem;
  overflow: auto;
  padding: 0.75rem;
  white-space: pre-wrap;
}
.ai-hub-shell .ai-metric-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  margin-top: 0.75rem;
}
.ai-hub-shell .ai-metric-grid > div {
  background: var(--ai-surface-muted);
  border-radius: 0.4rem;
  padding: 0.75rem;
}
.ai-hub-shell .ai-metric-grid small,
.ai-hub-shell .ai-metric-grid strong {
  display: block;
}
.ai-hub-shell .ai-metric-grid small {
  color: var(--ai-muted);
}
.ai-hub-shell .ai-status {
  border-radius: 0.3rem;
  display: none;
  margin-bottom: 1rem;
  padding: 0.75rem;
}
.ai-hub-shell .ai-status.show {
  display: block;
}
.ai-hub-shell .ai-status.success {
  background: #e7f6ec;
  color: #1d6434;
}
.ai-hub-shell .ai-status.error {
  background: #fdeaea;
  color: #8a1f1f;
}
.ai-hub-shell .ai-state {
  align-items: center;
  background: var(--ai-surface-muted);
  border: 1px dashed #bdc7d1;
  border-radius: 0.55rem;
  display: flex;
  gap: 0.85rem;
  min-height: 5rem;
  padding: 1rem;
}
.ai-hub-shell .ai-state[hidden] {
  display: none;
}
.ai-hub-shell .ai-state p {
  color: var(--ai-muted);
  margin: 0.2rem 0 0;
}
.ai-hub-shell .ai-state-error {
  background: #fff1f1;
  border-color: #d99797;
  color: #8a1f1f;
}
.ai-hub-shell .ai-state-status {
  background: #eef6ff;
  border-color: #91b8df;
}
.ai-hub-shell .ai-billing-filters {
  background: var(--ai-surface-muted);
  border: 1px solid var(--ai-border);
  border-radius: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
}
.ai-hub-shell .ai-billing-filters fieldset {
  border: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin: 0 0 0.75rem;
  padding: 0;
}
.ai-hub-shell .ai-billing-filters legend {
  font-size: 1rem;
  font-weight: 700;
  grid-column: 1/-1;
  margin-bottom: 0;
}
.ai-hub-shell .ai-billing-filters label {
  font-weight: 600;
  margin: 0;
}
.ai-hub-shell .ai-billing-filters input,
.ai-hub-shell .ai-billing-filters select {
  display: block;
  margin-top: 0.3rem;
  width: 100%;
}
.ai-hub-shell .ai-billing-filters .ai-system-field input,
.ai-hub-shell .ai-billing-filters .ai-system-field select {
  margin-top: 0;
}
.ai-hub-shell .ai-billing-totals,
.ai-hub-shell .ai-billing-charges {
  margin-bottom: 1rem;
}
.ai-hub-shell .ai-billing-charges {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.ai-hub-shell .ai-billing-charges > div {
  background: #eef6ff;
  border: 1px solid #b9d2ec;
  border-radius: 0.4rem;
  padding: 0.75rem;
}
.ai-hub-shell .ai-billing-charges small,
.ai-hub-shell .ai-billing-charges strong {
  display: block;
}
.ai-hub-shell .ai-budget-comparison {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.ai-hub-shell .ai-budget-comparison progress {
  accent-color: var(--ai-primary);
  max-width: 24rem;
  width: 100%;
}
.ai-hub-shell .ai-billing-trend {
  margin-bottom: 1rem;
}
.ai-hub-shell .ai-billing-trend [data-ai-billing-chart] {
  align-items: end;
  border-bottom: 1px solid var(--ai-border);
  display: flex;
  gap: 0.35rem;
  min-height: 12rem;
  overflow-x: auto;
  padding: 1rem 0.25rem 0;
}
.ai-hub-shell .ai-trend-bar {
  align-items: center;
  background: linear-gradient(to top, #8eb3df var(--ai-trend-size), #edf2f7 var(--ai-trend-size));
  border: 1px solid #aac1d9;
  border-radius: 0.3rem 0.3rem 0 0;
  display: flex;
  flex: 1 0 2.5rem;
  flex-direction: column;
  justify-content: space-between;
  min-height: 10rem;
  padding: 0.35rem 0.2rem;
}
.ai-hub-shell .ai-trend-bar span {
  font-size: 0.7rem;
  writing-mode: vertical-rl;
}
.ai-hub-shell .ai-billing-pagination {
  justify-content: flex-end;
}
.ai-hub-shell .ai-billing-management {
  border-top: 1px solid var(--ai-border);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}
.ai-hub-shell [data-ai-sell-rates] .btn + .btn {
  margin-left: 0.35rem;
}
.ai-hub-shell [data-ai-billing-requests] details {
  margin-top: 0.35rem;
}
.ai-hub-shell [data-ai-billing-requests] dl {
  display: grid;
  font-size: 0.8rem;
  gap: 0.15rem 0.45rem;
  grid-template-columns: auto 1fr;
  margin: 0.4rem 0 0;
}
.ai-hub-shell [data-ai-billing-requests] dt,
.ai-hub-shell [data-ai-billing-requests] dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.ai-hub-shell .ai-state-spinner {
  animation: ai-hub-spin 0.8s linear infinite;
  border: 3px solid #ccd7e2;
  border-radius: 50%;
  border-top-color: var(--ai-primary);
  height: 1.5rem;
  width: 1.5rem;
}

@keyframes ai-hub-spin {
  to {
    transform: rotate(360deg);
  }
}
.ai-improvement-hub {
  padding: 1.5rem;
}
.ai-improvement-hub .ai-hub-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.ai-improvement-hub .ai-hub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ai-improvement-hub .ai-hub-panel {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.5rem;
  display: none;
  padding: 1rem;
}
.ai-improvement-hub .ai-hub-panel.active {
  display: block;
}
.ai-improvement-hub .ai-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ai-improvement-hub .ai-card {
  border: 1px solid #e3e7eb;
  border-radius: 0.4rem;
  padding: 1rem;
}
.ai-improvement-hub label {
  display: block;
  font-weight: 600;
  margin-top: 0.65rem;
}
.ai-improvement-hub .ai-system-field > label {
  font-weight: 500;
  margin-top: 0;
}
.ai-improvement-hub input,
.ai-improvement-hub select,
.ai-improvement-hub textarea {
  max-width: 100%;
  width: 100%;
}
.ai-improvement-hub textarea {
  min-height: 6rem;
}
.ai-improvement-hub .ai-inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.ai-improvement-hub .ai-inline-options label {
  font-weight: 400;
}
.ai-improvement-hub .ai-inline-options input {
  width: auto;
}
.ai-improvement-hub .ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.ai-improvement-hub .ai-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}
.ai-improvement-hub table {
  width: 100%;
}
.ai-improvement-hub th,
.ai-improvement-hub td {
  border-bottom: 1px solid #e5e8eb;
  padding: 0.55rem;
  text-align: left;
  vertical-align: top;
}
.ai-improvement-hub .ai-status {
  border-radius: 0.3rem;
  display: none;
  margin-bottom: 1rem;
  padding: 0.75rem;
}
.ai-improvement-hub .ai-status.show {
  display: block;
}
.ai-improvement-hub .ai-status.success {
  background: #e7f6ec;
  color: #1d6434;
}
.ai-improvement-hub .ai-status.error {
  background: #fdeaea;
  color: #8a1f1f;
}
.ai-improvement-hub .ai-json,
.ai-improvement-hub .ai-compare {
  background: #f7f8fa;
  border: 1px solid #e0e4e8;
  max-height: 24rem;
  overflow: auto;
  padding: 0.75rem;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .ai-hub-shell {
    padding: 1rem;
  }
  .ai-hub-shell .ai-shell-nav-toggle {
    display: inline-flex;
    margin-bottom: 1rem;
  }
  .ai-hub-shell .ai-shell-layout {
    display: block;
  }
  .ai-hub-shell .ai-shell-navigation {
    display: none;
    margin-bottom: 1rem;
    position: static;
  }
  .ai-hub-shell .ai-shell-navigation.open {
    display: block;
  }
}
@media (max-width: 576px) {
  .ai-hub-shell {
    padding: 0.75rem;
  }
  .ai-hub-shell .ai-section-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .ai-hub-shell .ai-shell-nav-toggle {
    justify-content: center;
    width: 100%;
  }
  .ai-hub-shell .ai-shell-section {
    padding: 1rem;
  }
  .ai-hub-shell .ai-setup-intro {
    align-items: flex-start;
  }
  .ai-hub-shell .ai-setup-progress {
    grid-template-columns: repeat(5, auto);
  }
  .ai-hub-shell .ai-setup-progress li {
    font-size: 0;
  }
  .ai-hub-shell .ai-setup-progress li::after {
    min-width: 0.5rem;
  }
  .ai-hub-shell .ai-setup-step {
    padding: 1rem;
  }
  .ai-hub-shell .ai-setup-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .ai-hub-shell .ai-setup-actions .btn {
    justify-content: center;
    width: 100%;
  }
  .ai-improvement-hub {
    padding: 1rem;
  }
}
/* Force a true white card interior, regardless of Bootstrap vars */
#aiSummary .card {
  position: relative;
  z-index: 0;
  --bs-card-bg: #fff;
  background-color: #fff !important;
  border-radius: 12px;
  box-shadow: none;
  overflow: visible;
}

/* Ensure the content layer sits above any backgrounds */
#aiSummary .card > .card-body {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: inherit;
}

/*# sourceMappingURL=styles.css.map */
