@import url(https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;700&display=swap);
/* @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"); */

 
html {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}


code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* ── AeonSelect.css ─────────────────────────────────────────────────────────
   Consistent styling for all migrated MUI Autocomplete components,
   matching the TemplateDropdown visual language used across the app.
   Apply via:
     <Autocomplete
       className="aeon-select"
       componentsProps={{ paper: { className: 'aeon-select-paper' } }}
     />
─────────────────────────────────────────────────────────────────────────── */

/* ── Root wrapper ──────────────────────────────────────────────────────────── */
.aeon-select {
  width: 100%;
}

/* ── Control (input box) — mirrors Bootstrap .form-select ─────────────────── */
.aeon-select .MuiOutlinedInput-root {
  border-radius: 0.375rem;
  background-color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: #212529;
  min-height: 38px;
  padding: 0 36px 0 0 !important;
}

.aeon-select .MuiOutlinedInput-root .MuiAutocomplete-input {
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem;
  line-height: 1.5;
}

.aeon-select .MuiOutlinedInput-root fieldset {
  border-color: #ced4da;
  border-radius: 0.375rem;
  border-width: 1px;
}

.aeon-select .MuiOutlinedInput-root:hover:not(.Mui-disabled) fieldset {
  border-color: #adb5bd;
}

.aeon-select .MuiOutlinedInput-root.Mui-focused fieldset {
  border-color: #0d6efd;
  border-color: var(--primaryColor, #0d6efd);
  border-width: 1px;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.aeon-select .MuiOutlinedInput-root.Mui-disabled {
  background-color: #e9ecef;
  opacity: 1;
}

.aeon-select .MuiOutlinedInput-root.Mui-disabled fieldset {
  border-color: #ced4da;
}

/* Chevron / clear button alignment */
.aeon-select .MuiAutocomplete-endAdornment {
  right: 6px;
}

/* ── Dropdown paper — mirrors .dropdown-menu-custom ──────────────────────── */
.aeon-select-paper {
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  background-color: #fafafa;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  margin-top: 2px;
  overflow: hidden;
}

/* ── Listbox container ───────────────────────────────────────────────────── */
.aeon-select-paper .MuiAutocomplete-listbox {
  padding: 4px 0;
  max-height: 420px;
}

/* ── Options — mirrors .dropdown-item-custom ─────────────────────────────── */
.aeon-select-paper .MuiAutocomplete-option {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  color: #212529;
  border-radius: 2px;
  margin: 0;
  padding: 6px 12px;
  min-height: 0;
  min-height: initial;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.aeon-select-paper .MuiAutocomplete-option:hover,
.aeon-select-paper .MuiAutocomplete-option.Mui-focused {
  background-color: #dbd5d5f3;
}

.aeon-select-paper .MuiAutocomplete-option[aria-selected="true"] {
  background-color: #dbd5d5c0;
}

.aeon-select-paper .MuiAutocomplete-option[aria-selected="true"].Mui-focused {
  background-color: #dbd5d5f3;
}

/* ── Disabled option (via getOptionDisabled) ─────────────────────────────── */
.aeon-select-paper .MuiAutocomplete-option.Mui-disabled,
.aeon-select-paper .MuiListItemButton-root.Mui-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ── Group headers (via groupBy) ──────────────────────────────────────────── */
.aeon-select-paper .MuiAutocomplete-groupLabel {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background-color: #fafafa;
  line-height: 2;
  top: 0;
}

/* ── No-options / Loading messages ──────────────────────────────────────── */
.aeon-select-paper .MuiAutocomplete-noOptions,
.aeon-select-paper .MuiAutocomplete-loading {
  font-family: inherit;
  font-size: 0.9rem;
  color: #6c757d;
  padding: 8px 12px;
}

/* ── Tall variant (height 55 px — used in LoanMetrics) ──────────────────── */
.aeon-select-lg .MuiOutlinedInput-root {
  min-height: 55px;
  height: 55px;
}

/* ── Compact variant (height 40 px — used in CaseStageHistory) ──────────── */
.aeon-select-sm .MuiOutlinedInput-root {
  min-height: 40px;
  height: 40px;
}

.background {
  display: flex;
  flex-direction: row;
  height: 100vh;
  background: #EDEDED;
}

.form_block {
  background: white;
  width:30vw;
  min-height:40vh;
  border-radius: 10px;
  padding:30px 50px;
  max-height: 80vh;
}

.submit_button {
  background-color:var(--primaryColor);
  color: white;
  border: none;
  border-radius: 8px;
  width: 100%;
}

.aeon {
  letter-spacing: 3px;
  font-weight: 700;
  color:var(--primaryColor);
}

.welcome_text{
  color: black;
}

.login_info {
  opacity: 59%;
  color: black;
}

.login_image{
  height: 50vh;
  width: 50vw;
}
.error_message {
  font-size: 12px;
  color: red;
  min-height: 20px;
}

.forgot_password{
  color: var(--primaryColor);
}
/* Add these CSS styles to your component's CSS or SCSS file */
.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px; /* Adjust this value to change the icon's position */
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1;
}
.password-toggle2 {
  position: absolute;
  right: 10px; /* Adjust the right distance from the input box */
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Center vertically */
  cursor: pointer;
}

.eye-icon {
  font-size: 20px; /* Adjust the font size as needed */
  color: #ff0000; 
  height: 20px;
  margin-right: 10px;
  width: auto;
}

.password-tooltip {
  cursor: pointer; 
  color: #007bff; 
  font-size: 18px; 
  margin-left: 5px; 
}

.tooltip-inner {
  background-color: #007bff; 
  color: #fff; 
  border-radius: 4px; 
  font-size: 14px;
  padding: 8px 12px;
}

.tooltip-arrow {
  color: #007bff; 
}

.eye-icon-reset-password{
  font-size: 20px; /* Adjust the font size as needed */
  color: #ff0000; 
  height: 20px;
  margin-right: 10px;
  width: auto;
  margin-bottom: 23px;

}
.tenant-logo {
  max-width: 100px; /* or whatever size you need */
  margin-bottom: 20px;
}
.tenant-img{
  position: absolute;
  width: auto;
  height: 80px;
  top: 10px;
  left: 50px;
  /* max-width: 80%; */
}
.access-code-input {
width:  100%;
height: 50px;
padding: 5px;
outline: none;
border-radius: 5px;
}
.nav_bar {
    background-color: var(--primaryColor);
    display: flex;
    flex-direction: row;
    height: 55px;
    width: 100%;
    position: relative;
    align-items: center;
    padding: 0px 20px 0px 20px !important;
    top: 0;
    left: 0;
    z-index: 1100;
}

.logo {
    color: white;
    font-size: 30px;
    padding: 5px;
    padding-top: 16px;
}

.nav_buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 55px;
    width: 100%;
}

.userData {
    margin: 0px 25px 0px 10px !important;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 8px 0px;
}

.menu_buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 5%;
    height: 55px;
    margin-left: auto;
}

.nav_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
}

.logo_image {
    width: 25px;
    filter: brightness(0) invert(1);
    margin: 0px 15px 0px 10px;
    cursor: pointer !important;
}

.nav-text {
    white-space: nowrap;
    font-size: 14px;
    margin: -5px 0px 0px 0px;
}

.tour_image {
    width: 22px;
    filter: brightness(0) invert(1);
    cursor: pointer;
    margin: 0px auto;
}

#notification_bell-alert {
    filter: invert(0%) sepia(0%) saturate(900%) hue-rotate(20deg) brightness(150%) contrast(100%);
}

#notification_bell {
    position: relative;
    display: inline-block;
}

.active {
    background-color: transparent;
    color: black;
}

.notactive {
    background-color: transparent;
    color: #4285f4;
}

.page {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

/* Styles for the dropdown menu */
.dropdown-menu {
    min-width: 180px;
    padding: 8px 0;
    border-radius: 4px;
    position: absolute;
    z-index: 1150;
}

.dropdown-menu li {
    list-style-type: none;
    padding: 10px 20px;
    cursor: pointer;
    color: rgb(0, 0, 0);
    font-weight: 700;
}

.dropdown-menu li:hover {
    border-radius: 5px;
    background-color: #5b727e80;
    color: white;
}

.hovered-button-navigation {
    background-color: var(--primaryColor);
    filter: brightness(80%);
    color: white;
}

/* ═══════════════════════════════════════════════════
   Responsive Navbar
═══════════════════════════════════════════════════ */

/* Logo section – desktop keeps 20vw */
.nav-logo-section {
  width: 20vw;
  flex-shrink: 0;
}

/* Tablet and below  (<992px)
   Only notification bell + hamburger remain in navbar.
   Title is absolutely centred. Dashboard/Writer/NewCase
   move into the SideNavBar "Header" section.          */
@media (max-width: 991.98px) {
  .nav-logo-section {
    width: auto;
  }

  /* Right group shrinks to fit only bell + hamburger */
  .menu_buttons {
    width: auto;
    margin-left: auto;
  }
}

/* Small mobile (<576px): tighten logo margin */
@media (max-width: 575.98px) {
  .nav-logo-section img.pointer {
    margin: 0 6px !important;
  }
}
.heading {
   color: black; 
   display: flex;
   flex-direction: column;
   justify-content: center; 
   margin-bottom: 1%; 
   margin-top: 0;
}
.heading_line{
   color: black; 
   display: flex;
   flex-direction: column;
   justify-content: center; 
   margin-bottom: 4%; 
   margin-top: 1%;

}
.small_btn{
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 12px;
    white-space: nowrap;
    background-color: #e9e5e5;
    color: var(--primaryColor);
}

#btn-alignment{
    margin: 0px;
}
.notifications_container{
    background-color:#ffffff;
    border-radius: 6px;
    height: 52vh;
    overflow-y: auto;
    &::-webkit-scrollbar { width: 6px; } 
    &::-webkit-scrollbar-track {background: #f0f0f0; } 
    &::-webkit-scrollbar-thumb { background-color: #5b727e; border-radius: 5px; border: 2px solid #5b727e; }
}
#New{
    height: 5px;
    width: 5px;
    border-radius: 25px;
    background-color: #00C49F !important;
    margin-top: 3.5%;
    margin-left: 2%;
    
}
#In_Progress{
    height: 5px;
    width: 5px;
    border-radius: 25px;
    background-color: #0088FE !important;
    margin-top: 3.5%;
    margin-left: 2%;
    
}
#In_Review{
    height: 5px;
    width: 5px;
    border-radius: 25px;
    background-color:rgba(248, 188, 58, 0.8)  !important;
    margin-top: 3.5%;
    margin-left: 2%;
    
}

.notification_description{
    color:black;
    margin-left: 3%;
    margin-bottom: 0px;
    padding: 1.5%;
}

.description_card_true{
    display: flex;
    flex-direction: row;
    background-color: #e9edee;
    border-radius: 8px;
    

}
.description_card_false{
    display: flex;
    flex-direction: row;
    background-color:#ffffff;
    border-radius: 8px;
    

}
.pagination{
    color: black;
}
.notification-loader {
    margin-top: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .loader {
    border: 6px solid #f3f3f3;
    border-top: 2px solid  var(--primaryColor);
    border-radius: 50%;
    width: 40px;
    height: 40px;
  }
.driver-popover.driverjs-theme {
    background-color: var(--primaryColor) !important;
    color: #fff;
    min-width: 30% !important;
    min-height: 15% !important;
    border-radius: 10px;
  }
  
  .driver-popover.driverjs-theme .driver-popover-title {
    font-size: 20px;
  }
  
  .driver-popover.driverjs-theme .driver-popover-title,
  .driver-popover.driverjs-theme .driver-popover-description,
  .driver-popover.driverjs-theme .driver-popover-progress-text {
    color: #fff;
  }
  
  .driver-popover.driverjs-theme button {
    flex: 1 1;
    text-align: center;
    color: #000;
    text-shadow: none;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 10px;
  }
  
  .driver-popover.driverjs-theme button:hover {
    background-color: #fff;
    color: #000;
  }
  
  .driver-popover.driverjs-theme .driver-popover-navigation-btns {
    width: 50% !important;
    flex-grow: 0 !important;
  }
  
  .driver-popover.driverjs-theme .driver-popover-close-btn {
    color: #fff;
  }
  

  .driver-popover.driverjs-theme .driver-popover-arrow-side-left.driver-popover-arrow {
    border-left-color: grey;
  }
  
  .driver-popover.driverjs-theme .driver-popover-arrow-side-right.driver-popover-arrow {
    border-right-color: grey;
  }
  
  .driver-popover.driverjs-theme .driver-popover-arrow-side-top.driver-popover-arrow {
    border-top-color: grey;
  }
  
  .driver-popover.driverjs-theme .driver-popover-arrow-side-bottom.driver-popover-arrow {
    border-bottom-color: grey;
  }

  .custom-swal-icon{
    color:var(--primaryColor) !important; /* Change question icon color */
    border-color:var(--primaryColor) !important;
  }
.sidenav {
  width: clamp(260px, 22%, 380px); /* never narrower than 260px on any screen */
  position: fixed;
  z-index: 1050;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(232, 235, 241);
  box-shadow: 0 0 20px rgb(99, 99, 99);
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 20px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.highlighted:hover {
  border-radius: 5px;
  background-color: rgb(200, 208, 224);
  color: #ffff;
}

.module_headers {
  color: #7C7B84;
}

.sidenavscroll {
  overflow-y: auto;
  height: 78vh;
  overflow-x: hidden;
}

.sidenavscroll::-webkit-scrollbar {
  width: 6px;
}

.sidenavscroll::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.sidenavscroll::-webkit-scrollbar-thumb {
  background-color: #5b727e;
  border-radius: 5px;
  border: 2px solid #5b727e;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}

.bottom-links {
  margin-top: auto;
  padding-bottom: 1.5rem;
}

.bottom-links .nav-item {
  margin-top: 1rem;
}

.nav-item {
  padding: 10px 10px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}

.nav-item img {
  height: 17px;
  width: 17px;
  margin-right: 8px;
}

.nav-item span {
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.nav-item:hover span {
  color: #000;
}

.sidenav-header-icon {
  filter: brightness(0);
}

/* ═══════════════════════════════════════════════════
   Responsive SideNavBar
═══════════════════════════════════════════════════ */

/* Tablet: 768px – 991px */
@media (max-width: 991.98px) {
  .sidenav {
    width: clamp(280px, 42%, 360px);
  }
}

/* Mobile: < 768px  – full-height slide-in drawer */
@media (max-width: 767.98px) {
  .sidenav {
    width: min(85vw, 320px);
  }

  .sidenavscroll {
    height: calc(100vh - 180px);
  }

  .module_headers {
    font-size: 0.9rem !important; /* override Bootstrap fs-5 */
  }

  .nav-item {
    padding: 8px 6px;
  }
}

/* Small mobile: < 576px */
@media (max-width: 575.98px) {
  .sidenav {
    width: 90vw;
  }
}
* {
  font-family: 'Josefin Sans', sans-serif;
  padding: 0;
  margin: 0;
}

button {
  border: none;
  background-color: var(--primaryColor);
  color: white;
}

option {
  color: #000000;
  padding-top: 5px;
  padding-bottom: 5px;
}

.field_labels {
  color: #000000;
  font-size: 25px;
}

.form-check-input{
  cursor: pointer;
}

button:disabled {
  background-color: var(--primaryColor);
  opacity: 0.4;
  cursor: "default"
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

label{
  color: #000000;
}

.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}



@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
&::-webkit-scrollbar {
  width: 6px;
}

&::-webkit-scrollbar-track {
  background: #f0f0f0;
}

&::-webkit-scrollbar-thumb {
  background-color: var(--primaryColor);
  border-radius: 5px;
  border: 2px solid var(--primaryColor);
}

.scroll_bar{
  &::-webkit-scrollbar {
    width: 6px;
    height: 6px; 
  }

  &::-webkit-scrollbar-track {
    background: #f0f0f0;
  }

  &::-webkit-scrollbar-thumb {
    background-color: var(--primaryColor);
    border-radius: 5px;
    border: 2px solid var(--primaryColor);
  }
}

/* ── Records-per-page custom dropdown ── */
.ddl-select-wrapper {
  position: relative;
  display: inline-block;
}

.ddlSelectPage {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  color: white;
  padding: 2px 6px;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 44px;
  justify-content: center;
  line-height: 1.4;
}

.ddlSelectPage:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ddl-select-menu {
  position: absolute;
  bottom: calc(100% + 4px); /* open upward, clear of the button */
  left: 0;
  z-index: 1055;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  min-width: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ddl-select-option {
  padding: 5px 12px;
  cursor: pointer;
  color: #333;
  font-size: 0.85rem;
  -webkit-user-select: none;
          user-select: none;
}

.ddl-select-option:hover {
  background-color: #f0f4ff;
}

.ddl-select-option.active {
  background-color: var(--primaryColor);
  color: #fff;
  font-weight: 600;
}

.custom-legend {
  max-height: 150px; /* Set the max height for the legend container */
  overflow-y: auto; /* Enable vertical scrolling */
  padding: 10px;
  border: 1px solid #ccc;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.legend-color {
  width: 15px;
  height: 15px;
  margin-right: 10px;
  background-color: #000; /* Default color, can be overridden inline */
}


.MuiChartsLegend-root { 
  display: none; 
}

.def-color{
  color: #5b727e !important;
}
.def-bg{
  background-color: #5b727e !important;
}



.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.permission-denied-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #f8f8f8;
    text-align: center;
}

.permission-denied-container h2 {
    color: #ff0000;
    margin-bottom: 20px;
}

.permission-denied-container p {
    color: #333;
    margin-bottom: 20px;
}

.permission-denied-container button {
    background-color: var(--primaryColor);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.permission-denied-container button:hover {
    background-color: var(--primaryColor)
}

.ceb-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.ceb-title {
  color: #5b727e;
  color: var(--primaryColor, #5b727e);
  margin-bottom: 10px;
}

.ceb-message {
  margin-bottom: 20px;
  font-size: 16px;
  color: #333;
}

.ceb-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #5b727e;
  background-color: var(--primaryColor, #5b727e);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.ceb-button:hover {
  opacity: 0.9;
}

.new-header{
    background-color: var(--primaryColor);
    height: 40px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-button-wrapper {
    position: absolute;
    left: 20px; /* Adjust as needed */
    display: flex;
    align-items: center;
  }
  
  .header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  

#view_page{
    justify-content: space-between;
}

.new-container {
    height: 85vh;
    background-color: white;
    border-radius: 0 0 15px 15px;
    border: 1px solid #CFCFCF;
    padding: 30px
}

.action_items {
    display: flex;
    justify-content: center;
    height: 70px;
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
}

.upload-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    background-color: #f0f0f0;
    border: 1px solid #CFCFCF;
    border-radius: 8px;
    width: 100%;
}

.upload-btn span {
    display: inline-block;
    padding: 8px;
}

.choose-files-text {
    background-color: #f8f9fa;
    border-right: 5px solid #dbd8d8;
    color: black;
    border-radius: 5px 0 0 5px;
    width: 31%;
}

.file-count {
    background-color: white;
    color: black;
    border-radius: 0 5px 5px 0;  
    margin-left: -4px;
    width: 70%;
}

.upload-btn-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}
.file-upload{
margin-right: 5px;
overflow: hidden;
width: 100;
cursor: pointer;
font-size: 14px;
}
.custom-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .custom-table th, .custom-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  } 
  
  .child-row-cell {
    cursor: default;
    padding-left: 30px;
  }
  
  .scrollable-table-container {
    overflow: auto;
    max-height: 300px;
  }
  
  .table-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
  }
  
  .table-body {
    overflow-y: auto;
    max-height: 200px;
  }
  #tableHeadWriterDocs {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 20;
  }
  .staus_failed{
    background-color: rgba(255, 182, 182, 0.803);
    border-radius: 8px;
  }

  .div_message {
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border: 1px solid black;
    border-radius: 10px;
  }

  .custom-modal-body {
    max-height: 50vh;
    overflow-y: auto;
    padding: 20px;
  }
  
  .error-message-in-popup {
    font-size: 16px;
    font-weight: bold;
    color: red;
    margin-bottom: 10px;
  }
  
   .error-description {
    background-color: #f8f9fa; 
    border: 1px solid #ced4da; 
    border-radius: 12px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    padding: 20px; 
  }
  
  .error-description p {
    margin: 10px 0; 
    line-height: 1.5;
  }
  
  .error-description p:nth-child(even) {
    background-color: #ffffff; 
  }
  
  .error-description p:nth-child(odd) {
    background-color: #e9ecef; 
  }
  
  .error-description p:hover {
    background-color: #d4edda; 
    transition: background-color 0.3s ease; 
  }

  
  .tooltip-container {
    position: relative;
    display: inline-block;
  }
  
  .tooltip {
    visibility: hidden;
    width: 160px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .tooltip-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
  }
  .table-record{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100px;
  }

.custom-switch:focus {
  box-shadow:none !important;
  border-color: var(--primaryColor) !important;
}
.toggle-active {
  background-color: var(--primaryColor) !important;
  border-color: var(--primaryColor) !important;
  box-shadow: 0 0 0 0.75rem var(--primaryColorShadow) !important;
}
.custom-modal-backdrop{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
}


.custom-select-wrapper {
  position: relative;
  
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 420px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  background-color: #fafafa;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  z-index: 1050;
}

.dropdown-item-custom {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;         
  font-weight: 400;        
  line-height: 1;
  color: #212529;  
  border-radius: 2px;
  margin: 0;
  padding: 4px 12px;
  transition: background-color 0.15s ease-in-out,
              color 0.15s ease-in-out;
}

.dropdown-item-custom:hover {
  background-color: #dbd5d5f3;
}

.dropdown-item-custom.child:hover {
  background-color: #dbd5d5f3;
  cursor: pointer; 
}

.dropdown-item-custom.muted {
  font-size: 1.25rem; 
  font-weight: normal;
  padding-top: 10px;
  margin-left: 14px;
  opacity: 0.4;
}

.dropdown-item-custom.master {
  font-size: 1.25rem; 
  font-weight: normal;
  margin: 4px
}

.master-text {
  flex: 1 1;
}

.dropdown-item-custom.child {
  margin: 0;
  padding: 6px 8px 6px 40px;
  font-size: 1.05rem;  
  background-color: #fafafa;
  color: #555;
}

.toggle-icon {
  width: 14px;
  height: 14px;
  cursor: pointer;
  margin-left: 8px;
  background: transparent !important;
}

.toggle-icon-btn {
  width: 32px;
  height: 32px;
  margin-left: 4px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.toggle-icon-btn:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.toggle-icon-btn:focus-visible {
  outline: 2px solid var(--primaryColor);
  outline-offset: 2px;
}

.doc-set-list {
  list-style: none;
}

.doc-set-item {
  border: 1px solid #ccc;
}

.doc-set-icon {
  margin-right: 5px;
}

.file-list-container {
  overflow-x: auto;
}

.checkbox-pointer {
  cursor: pointer;
}

.checkbox-large {
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.form-flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-start;
}

.form-flex-grid > div {
  flex: 1 1 100%;
  box-sizing: border-box;
}

.form-flex-grid > div > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.form-flex-grid label {
  margin-bottom: 4px;
}

.form-flex-grid .upload-btn.subcase-control {
  height: 40px; /* Match standard MUI input height */
}

/* File list: horizontal scroll strip, does not affect grid row height */
.file-list-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;    /* prevents inline children from wrapping */
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

/* Override global .list-container so items never wrap and scroll works */
.file-list-wrapper .list-container {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  min-width: -webkit-max-content;
  min-width: max-content;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Ensure each chip stays on one line and doesn't squeeze */
.file-list-wrapper .list-items {
  flex: 0 0 auto;
  white-space: nowrap;
}

.file-list-wrapper::-webkit-scrollbar {
  height: 6px;
}

.file-list-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.file-list-wrapper::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.file-list-wrapper::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media (min-width: 992px) {
  .form-flex-grid > div {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(33.333% - 15px);
    max-width: calc(33.333% - 15px);
  }
}

.submit_btn{
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 5px;
    white-space: nowrap;
}
  .submit_btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .loader-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 100%;
    height: 100%;
  }
  
  .loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #5b727e;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
.table_btn{
    padding: 5px 12px;
    font-size: 16px;
    border-radius: 5px;
}
.cancel_btn{
  background-color: #fff;
  color: var(--primaryColor);
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 5px;
}
.scroll {
  margin: 0px;
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-track {
    background: #f0f0f0;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #5b727e;
    border-radius: 5px;
    border: 2px solid #5b727e;
  }
}
.pdfViewer{
  height: 70vh;
  overflow-y: auto;
  width: 100%;
  padding-left: 3%;
  text-align: center;
}
.pdfViewerLoader{
  width: 100%;
  flex-direction: column;
}

.text_black{
  color:#000000
}
.text_white {
  color: white
}
.bg_white{
  background-color: white;
}
.items-center{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.text_red{
  color: red;
}
.ai-sections{
  height: "40px";
  background-color: white;
  border-color: "#b5b3b3";
}
.ai_add_keys{
font-size: 15px;
color: blue;
cursor: pointer;
width: 80px;
}
.analytics{
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pointer{
  cursor: pointer;
}
.text_blue {
  color: var(--primaryColor);
}
.text-gray{
  color: gray;
}

#primaryBackGround{
  background-color: var(--primaryColor);
}
.width_25 {
  width: 25%;
}
.width_5 {
  width: 5%;
}
.width_90 {
  width: 90%;
}
.width_30 {
  width: 30%;
}
.width_20{
  width: 20%;
}
.productconfig{
  border: none;
  outline: none;
  box-shadow: none;
}
.delete_icon{
  border: none;
  background: none;
}
.add-table{
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
}

.donut-chart{
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}  

.donut{
 display: flex;
 justify-content: center;
 gap: 15px;
 margin-top: 10px;
}
.donut_label{
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-right: 5px;
}
.filter-color{
  background-color: #EDEDED !important;
}
.filter-tabs{
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.tooltipinfo{
position: absolute;
top: 40px;
right: 0px;
padding: 10px;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
width: 300px;
word-wrap: break-word;
z-index: 1;
}
.linechart{
height: 36vh;
width: auto;
max-height: 100%;
min-height: 30vh;
}
.pie-chart{
position: absolute;
top: 52%;
left: 39%;
transform: translate(-50%, -50%);
text-align: center;
font-size: 24px;
font-weight: bold;
}
.notifications{
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
z-index: 3000;
}
.notifications-dialog{
background-color: #fbf7f7;
border-radius: 8px;
max-width: 600px;
width: 90%;
}
.preview-lpip{
width: -webkit-fit-content;
width: fit-content;
white-space: nowrap;
text-align: left;
background-color: "rgba(128, 128, 128, 0.2)"
}
.sortIcon{
  height: 20px;
  width: 20px;
  margin-bottom: 4px;
  cursor: pointer;
}

.bg-contain {
  background-size: contain !important;
  vertical-align: middle;
}
.border-color{
  border: 1px solid  #CFCFCF;
}
.height_81vh{
  height: 81vh;
}
.page-content-height {
  height: calc(100vh - 55px);
}
.overflowX{
  overflow-x: hidden;
}
.v-barchart{
height: 35vh;
width: auto;
max-height: 100%;
min-height: 0;
}
.cursor_default{
  cursor: default;
}
.home-statistics{
  flex-grow: 1;
  text-align: center;
}
.grab{
  cursor: grab;
}
.color-555{
color: #555;
}
.color-333{
  color: #333;
  }
.fs_20{
  font-size: 20px;
}
.fs_24{
  font-size: 24px;
}
.h_20{
  height: 20px;
}
.w_20{
  width: 20px;
}
.p_11{
  padding: 11px;
}
.w_30{
  width: 30px;
}
.h_30{
  height: 30px;
}
.w_25{
  width: 25px;
}
.h_25{
  height: 25px;
}
.h_15{
  height: 15px;
}
.h_50{
  height: 50px;
}

.h_fit_content {
  height: -webkit-fit-content;
  height: fit-content;
}

.color_blue{
  color: blue;
}
.fw_500{
  font-weight: 500;
}
.w_40{
  width: 40px;
}
.h_40{
  height: 40px;
}
.w_25vw{
  width: 25vw;
}
.border_black{
  border: 1px solid black;
}
.w-auto{
  width: auto;
}
.h-auto{
  height: auto;
}
.width_50{
  width: 50%;
}
#msdoc-renderer{
  height: inherit;
}
#proxy-renderer{
  height: 100%;
}

.document-preview {
  height: 85vh;
  width: 90% !important;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
}

.swal2-container {
  z-index: 3100 !important;
}

.download-pdf-swal-popup {
  padding: 1.75em 1em 2em !important;
}

.download-pdf-swal-popup .swal2-close.download-pdf-swal-close {
  color: #6e7881 !important;
  font-size: 1.6em !important;
  background: transparent !important;
}

.download-pdf-swal-popup .swal2-close.download-pdf-swal-close:hover {
  color: var(--primaryColor) !important;
  background: transparent !important;
}

.checkbox-custom {
  width: 20px !important;
  height: 20px !important;
  cursor: pointer;
}
.swal-button{
    background-color: var(--primaryColor) !important;
  }
  .swal-wide{
    width:1850px !important;
}
.position {
  position: absolute;
}
.pdf_container {
  background-color: white;
  width: 50%;
  border: 1px black solid;
  border-radius: 15px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.pdf_container>p {
  color: var(--primaryColor);
}

.view_case_container {
  height: 86vh;
  background-color: white;
  border-radius: 0 0 15px 15px;
  border: 1px solid #cfcfcf;
}

.checklist_fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: calc(100% - 150px);
  margin: 0;
  overflow: auto;
  width: 100%;

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-track {
    background: #f0f0f0;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #5b727e;
    border-radius: 5px;
    border: 2px solid #5b727e;
  }
}

.fields_margin {
  margin: 0 auto;
}

.checklist_label {
  width: 53%;
  text-align: right;
  white-space: normal;
}

.checklist_label_small {
  width: 100%;
  text-align: left;
  white-space: normal;
  font-size: 14px;
}

.extraction_label,
.extraction_label_header {
  width: 85%;
  text-align: right;
  margin-right: 5%;
  white-space: normal;

}

.extraction_label_header {
  text-align: center;

}

embed {
  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-track {
    background: #f0f0f0;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #5b727e;
    border-radius: 5px;
    border: 2px solid #5b727e;
  }
}

.checklist_field,
.checklist_field_fixed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1%;
  padding-right: 10%;
}

.checklist_field_fixed {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 100;
  margin-top: None;
  border-bottom: black;
}

#position_sticky_top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.position_sticky_bottom {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  z-index: 100;
}

.green {
  width: 100%;
  color: black;
  border: #22ed92 solid 2px;
  border-radius: 4px;
  font-size: 85%;
  padding: 0.5%;
}

.blue {
  width: 100%;
  color: black;
  border: #8787ff solid 2px;
  border-radius: 4px;
  font-size: 85%;
  padding: 0.5%;
}

.red {
  width: 100%;
  color: black;
  border: #ff7373 solid 2px;
  border-radius: 4px;
  font-size: 85%;
  padding: 0.5%;
}

.default {
  width: 100%;
  color: black;
  border: #5b727e solid 2px;
  border-radius: 4px;
  font-size: 85%;
  padding: 0.5%;
}

.grey {
  width: 100%;
  color: black;
  border: rgb(154, 152, 152) solid 2px;
  border-radius: 4px;
  font-size: 85%;
  padding: 0.5%;
}

.comment_image {
  width: 18px;
  height: 42px;
  margin-left: 7px;
  cursor: pointer;

}

.form-heading {
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: flex-end;
}

.extracted-fields-heading {
  flex-grow: 11;
  margin: 0 auto;
  text-align: center;
}

.add-custom-field-button-container {
  margin-left: 10px;
  flex-grow: 1;
}

.add-custom-field-button {
  border-radius: 8px;
  width: 100px;
  height: 35px;
}

.add-custom-field-modal {
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 20px;
  width: 500px;
  height: 77%;
  margin: 0 55px 0 55px;
  text-align: center;
  overflow-y: auto;
  z-index: 0;
}

.preview-lpip-modal {
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 20px;
  width: 65%;
  height: 87%;
  margin: 0 55px 0 55px;
  text-align: center;
}

.filter-data-field-modal {
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 20px;
  width: 450px;
  margin: 0 55px 0 55px;
}

.filter-data-field-modal h2 {
  margin-bottom: 20px;
  font-size: 20px;
  color: #333;
  margin-top: 4%;
  text-align: center;
}

.add-custom-field-modal h2 {
  margin-bottom: 20px;
  font-size: 20px;
  color: #333;
  margin-top: 4%;
}

.preview-lpip-modal-title {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}

.form-group {
  margin-bottom: 10px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input[type="text"] {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.filter-modal-background {
  background-color: whitesmoke;
  border: black 1px solid;
  border-radius: 10px;
  padding: 8%;
  margin-bottom: 8%;
}

.custom-modal-overlay {
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-modal-overlay-corner {
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1200;
}

.custom-modal-overlay-corner-left {
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.error_msg {
  color: red;
  font-size: 12px;

  margin-bottom: 0px;
}

.upload_text {
  display: flex;
  align-items: center;
  font-size: larger;
  color: var(--primaryColor);
}

.flex_row {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.filter_form_check {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.background_white {
  background-color: white;
}

.deleted-item {
  color: rgb(231, 223, 223);

}

.not {
  color: #22ed92;
  background-color: #22ed92;
}

.custom-field-button {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
}

.custom-field-button:hover {
  color: #0056b3;
}

.pdf_search_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 0px 5px 5px 5px;
  justify-content: space-between;
  height: 50px;
}

.pdf_title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primaryColor);
  text-align: center;
  margin: 0 0 0 auto;
}

.search_input {
  display: flex;
  justify-content: flex-end;
  margin-right: 10px;
  width: 20vw;
}

.search_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 250px;
  padding: 2px 4px;
  border-radius: 5px;
  border: 1px solid #ccc;
  height: 30px;
}

.icons_container {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 4px;
}

.icon-style:hover,
.case-icon-style:hover {
  background-color: rgb(211, 213, 214);
}

.icon-style {
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  height: 16px;
  width: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px 2px;
}

.case-icon-style {
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 20%;
  height: 20px;
  width: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-container {
  width: 100%;
  display: flex;
  align-items: center;
  height: auto;
}

.text-link {
  margin-left: 30px;
  width: 10%;
  font-weight: bold;
  font-size: 18px;
}

.text-styles {
  font-weight: bold;
  font-size: 40px;
}

.reader-action-icons {
  height: 35px;
  background-color: var(--primaryColor);
  padding: 5px;
  color: white;
  margin: 4px 5px;
  border-radius: 5px;
  cursor: pointer;
}

.reader-action-icons-disabled {
  height: 35px;
  background-color: var(--primaryColor);
  padding: 5px;
  color: white;
  margin: 4px 5px;
  border-radius: 5px;
  opacity: 0.4;
  cursor: not-allowed !important;
  pointer-events: none;
}

.reader-action-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 5px;
  white-space: nowrap;
}

.copy-button {
  position: absolute;
  padding: 2px;
  color: var(--primaryColor);
  border-radius: 5px;
  font-size: 14px;
  z-index: 100;
  background-color: white;
  border: 1px solid #5b727e;
}

.copy-button:hover {
  background-color: var(--primaryColor);
  color: white;
}

.rdw-editor-toolbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.editor-modal {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.editor-container {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  max-width: 50vw;
  width: 40vw !important;
  height: 62vh;
}

.re-extraction-container {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  max-width: 50vw;
  width: 40vw !important;
}

.re-extraction-form-group {
  padding: 0 20px;
}

.rdw-image-wrapper,
.rdw-emoji-wrapper,
.rdw-remove-wrapper,
.rdw-embedded-wrapper,
.rdw-link-wrapper {
  display: none !important;
}

.overlay{
  position:fixed;
  top:0;
  left:0;
  background:rgba(0,0,0,0.7);
  height:100%;
  width:100%;
}
.wrap:before{
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}
.wrap{
  position:relative;
  text-align:center;
  color:white;
  font-family:'Josefin Sans', sans-serif;
  height:100%;
}
.center{
  display:inline-block;
  vertical-align:middle;
}
.document-loader{
  display:inline-block;
  min-width:200px;
  min-height:241px;
  position:relative;
  padding:5px;
  border-radius:4px;
  background: var(--primaryColor);
  animation:slideInOut 3s ease infinite;
}
.document-loader:before{
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-width: 5px;
  border-style: solid;
  border-color: #4c4c4c #4c4c4c rgba(255, 255, 255, .35) rgba(255, 255, 255, .35);
  border-bottom-left-radius: 4px;
}
.document-loader .heading{
  display:block;
  height:8px;
  background:#333;
  width:0px;
  margin-bottom:5px;
  margin-top:5px;
  animation: growHeading 3s linear infinite;
}
.document-loader .heading.short{
  animation: growHeadingShort 3s linear infinite;
}
.document-loader .heading:first-child{
  margin-top:0px;
}
.document-loader .line{
  display:block;
  margin:3px 0 3px 0;
  background:#eee;
  height:4px;
  width:0px;
  animation: growLine 3s linear infinite;
}
.document-loader .line.short{
  margin-bottom:6px;
  animation: growLineShort 3s linear infinite;
}

.accordion-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.accordion-header {
  cursor: pointer;
  padding: 10px;
  background-color: #E3E3E3;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.min-max-icon {
  cursor: pointer;
  height: 20px;
  width: 20px;
  margin-right: 10px;
}

.delete-document-icon {
  font-size: 20px;
  cursor: pointer;
  color: var(--primaryColor);
  margin-left: 8px;
}

.chat-section {
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-track {
    background: #f0f0f0;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #5b727e;
    border-radius: 5px;
    border: 2px solid #5b727e;
  }
}

.date-section {
  display: flex;
  flex-direction: row;
  font-size: 14px;
  color: gray;
  gap: 15px;
}

.comment-text {
  padding: 10px 20px;
  background-color: white;
  border-radius: 5px;
  min-width: 5%;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-comments-text {
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
}

#tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

#tooltip .tooltip-text {
  visibility: hidden;
  width: auto;
  background-color: white;
  border: 1px solid black;
  text-align: center;
  padding: 5px 10px;
  white-space: nowrap;
  position: absolute;
  z-index: 10;
  left: 20%;
  top: 100%;
  opacity: 0;
  transition: opacity 0.3s;
  font-weight: 300;
}

.document-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7px 0px;
  bottom: 0;
  position: -webkit-sticky;
  position: sticky;
  background-color: #e7e7e7;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
}

#tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

@keyframes slideInOut{
  0%{
    transform:translateX(-100%);
    opacity:0;
  }
  20%{
    transform:translateX(-5%);
    opacity:1;
  }
  80%{
    transform:translateX(5%);
    opacity:1;
  }
  100%{
    transform:translateX(100%);
    opacity: 0;
  }
}

@keyframes growHeading{
  0%{
    width:0px;
  }
  60%{
    width:0;
  }
  70%{
    width:150px;
  }
  100%{
    width:190px;
  }
}

@keyframes growHeadingShort{
  0%{
    width:0px;
  }
  30%{
    width:0;
  }
  40%{
    width:45px;
  }
  100%{
    width:65px;
  }
}

@keyframes growLine{
  0%{
    width:0px;
  }
  60%{
    width:0px;
  }
  80%{
    width:140px;
  }
  100%{
    width:180px;
  }
}

@keyframes growLineShort{
  0%{
    width:0;
  }
  50%{
    width:0;
  }
  60%{
    width:70px;
  }
  100%{
    width:75px;
  }
}
.signOffBtn{
  background-color: var(--primaryColor);
  border-radius: 5px;
  width: 100px;
  height: 40px;
  margin-left: 12px;
  margin-right: 0.3%;
}
.data-value{
border: #22ed92 solid 2px;
border-radius: 8px;
padding: 10px;
flex: 1 1;
width: 30vw;
}
#driver_extkey{
  width: -webkit-fit-content;
  width: fit-content;
  cursor: pointer;
  background: none;
  color: blue;
  text-decoration: underline;
  border: none;
  padding: 0px;
  font-size: inherit;
  margin-left: 0px;
}
.loanComments{
position: absolute;
top: 0;
right: 0;
transform: translate(30%, -30%);
background-color: #FFA500;
width: 18px;
height: 18px;
border-radius: 50%;
text-align: center;
line-height: 20px;
color: white;
font-weight: bold;
}
.addbtn{
border: none;
background: none;
color: #007BFF;
text-decoration: underline;
padding: 0px;
margin: 5px;
font-size: 14px;
cursor: pointer;
}


.subcase-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
  max-width: 600px;
  padding: 10px 0;
  box-sizing: border-box;
}

.form-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.form-row label {
  width: 150px;
  font-size: 16px;
  font-weight: 500;
  flex-shrink: 0;
}

.input-box {
  height: 40px;
  width: 100%;
  max-width: 380px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.input-box:focus {
  outline: none;
  border-color: #3b82f6;
}

.templatedropdown {
  height: 40px;
  width: 250px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: white;
}

.checkbox {
  transform: scale(1.3);
  margin-left: 10px;
  cursor: pointer;
}

.upload-btn {
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #f8f8f8;
  cursor: pointer;
}

.btn-row {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.cancel-btn,
.submit-btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  cursor: pointer;
}

.submit-btn {
  background: #e8e8e8;
}

.subcasemodal-container2 {
  background-color: #fff;
  border-radius: 8px;
  padding: 24px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.subcasemodal-container2 .container-inside {
  flex: 1 1;
  overflow-y: auto;
  padding-right: 5px;
}

.new-analyser-content {
  max-height: 90vh;
  min-height: auto !important;
  height: auto;
  overflow: hidden;
}

/* Modal and Form responsive overrides */
@media (max-height: 850px) {
  .subcasemodal-container2 {
    max-height: 95vh;
    padding: 16px;
  }
  .new-analyser-content {
    max-height: 95vh;
  }
}

@media (max-width: 768px) {
  .subcasemodal-container2 {
    width: 95%;
    padding: 16px;
    max-height: 95vh;
  }
  
  .subcase-form {
    gap: 15px !important;
    padding: 10px 0 !important;
    width: 100% !important;
  }
  
  .form-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }
  
  .form-row label {
    width: 100% !important;
    font-size: 14px;
  }
  
  .input-box {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .subcase-field-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }

  .btn-container {
    margin-top: 24px !important;
  }
}

/* Clean Custom Dropdown Styles */
.custom-dropdown {
  position: relative;
  width: 250px;
}

.dropdown-box {
  height: 40px;
  width: 100%;
  padding: 8px 36px 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: #fff;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s;
  position: relative;
}

.dropdown-box:hover {
  border-color: #9ca3af;
}

.dropdown-box.open {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dropdown-box span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1;
}

.dropdown-box::after {
  content: '▼';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #6b7280;
  transition: transform 0.2s;
}

.dropdown-box.open::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: 240px;
  overflow-y: auto;
  z-index: 1000;
  animation: slideDown 0.15s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-list::-webkit-scrollbar {
  width: 8px;
}

.dropdown-list::-webkit-scrollbar-track {
  background: #f9fafb;
  border-radius: 4px;
}

.dropdown-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.dropdown-list::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.dropdown-item {
  padding: 10px 12px;
  cursor: pointer;
  transition: background-color 0.1s;
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background: #f3f4f6;
}

.dropdown-item.parent {
  font-weight: 500;
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
}

.dropdown-item.parent:hover {
  background: #f3f4f6;
}

.dropdown-item.child {
  padding-left: 36px;
  font-weight: 400;
  font-size: 15px;
  background: #fff;
}

.dropdown-item.child:hover {
  background: #f9fafb;
}

.dropdown-item.child::before {
  content: '└';
  position: absolute;
  left: 20px;
  color: #d1d5db;
  font-size: 12px;
}

.toggle-icon {
  margin-right: 8px;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  width: 20px;
  height: 20px;
  text-align: center;
  font-weight: bold;
  color: #374151;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s;
  background-color: #5b727e;
  color: white;
  border-radius: 50%;
}

.form-row .custom-dropdown {
  margin: 0;
  padding: 0;
}

.LoanAndSubcaseSelector.css-fzem9i-MuiAutocomplete-root{
  width: 15vw;
}
.delete_subcase{
  cursor: pointer;
}

.delete_subcase:hover {
  color: rgb(247, 107, 107);
  transition: color 0.2s ease-in-out;
}
.delete-icon-disabled{
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.pdf-page-number {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(45, 6, 117, 0.5);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 101;
  -webkit-user-select: none;
          user-select: none;
}

.changes-container {
  text-align: left;
  max-height: 300px;
  overflow: auto;
}

.change-item {
  margin-bottom: 10px;
}

.old-value {
  color: red;
}

.new-value {
  color: green;
}
/* Folder Group Header */
.subcase-folder-header {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #f1f3f5;
    cursor: pointer;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    font-size: 13px;
    transition: background-color 0.2s ease;
}

.subcase-folder-header:hover {
    background-color: #e9ecef;
}

/* Icons inside the header */
.subcase-folder-icon {
    margin-right: 10px;
    font-size: 18px !important;
    color: var(--primaryColor);
}

.subcase-folder-label {
    flex-grow: 1;
}

.subcase-arrow-icon {
    font-size: 20px !important;
    color: #6c757d;
}


.subcase-option-item {
    padding-left: 40px !important; 
    border-bottom: 1px solid #f8f9fa;
    height: 40px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subcase-option-item:hover {
    background-color: rgba(0, 0, 0, 0.04) !important;
}

.subcase-option-label {
    color: #333;
}

.subcase-option-actions {
  display: flex;
  align-items: center;
  padding-right: 8px;
  min-width: 100px;
  justify-content: flex-end;
}

.MuiAutocomplete-groupUl {
  padding: 0 !important;
}

.checklist-popup-container {
  text-align: left;
}

.checklist-overview-container {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 5px;
}

.checklist-section-box {
  margin-bottom: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px;
}

.checklist-section-header {
  margin: 0 0 10px 0;
  color: var(--primaryColor);
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

.checklist-entry-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
  padding: 3px;
  border-radius: 2px;
  background: transparent;
}

.checklist-entry-row.modified {
  background: #fffceb;
}

.checklist-entry-content {
  flex-grow: 1;
}

.checklist-entry-label {
  font-size: 11px;
}

.checklist-entry-old-value {
  color: #666;
  font-size: 11px;
}

.checklist-entry-value {
  font-size: 13px;
}

.checklist-entry-value.modified {
  font-weight: bold;
  color: #d97706;
}

.checklist-checkbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.store-ai-context-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checklist-group-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  padding: 5px;
  border: 1px dashed #ccc;
  border-radius: 2px;
  background: #f9f9f9;
}

.checklist-group-row.modified {
  background: #fffceb;
}

.checklist-group-row-content {
  flex-grow: 1;
  font-size: 12px;
}

.checklist-modified-tag {
  color: #d97706;
  font-weight: bold;
}

.checklist-no-data {
  color: #999;
}

/* Updation Single-Row Toolbar Styles */
.updation-single-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
  width: 100%;
}

.toolbar-group-left,
.toolbar-group-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Premium Buttons & Controls */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.btn-premium-primary {
  background-color: var(--primaryColor);
  color: #ffffff;
  border: 1px solid var(--primaryColor);
}

.btn-premium-primary:hover {
  filter: brightness(0.9);
}

.btn-premium-primary:active {
  transform: scale(0.98);
}

.btn-premium-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-premium-secondary {
  background-color: transparent;
  color: var(--primaryColor);
  border: 1px solid var(--primaryColor);
}

.btn-premium-secondary:hover {
  background-color: rgba(74, 144, 217, 0.08);
  filter: brightness(0.95);
}

.btn-premium-secondary:active {
  transform: scale(0.98);
}

.btn-premium-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.updation-template-badge {
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 0 12px;
  height: 38px;
  border-radius: 6px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.updation-template-badge .badge-title {
  color: #6b7280;
  font-weight: 500;
}

.updation-template-badge .badge-value {
  color: #111827;
  font-weight: 600;
}

.updation-template-badge .badge-link {
  background: none;
  border: none;
  color: var(--primaryColor);
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.updation-template-badge .badge-link:hover {
  filter: brightness(0.8);
}

.toolbar-icon-btn {
  background-color: transparent;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.toolbar-icon-btn:hover {
  background-color: #f3f4f6;
}

.toolbar-icon-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.toolbar-icon-btn img {
  width: 20px;
  height: 20px;
}

/* Sidebar Layout & Aesthetics */
.folders-sidebar {
  width: 280px;
  flex-shrink: 0;
  border-right: 1px solid #e5e7eb;
  background-color: #f9fafb;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
  animation: slideInSidebar 0.3s ease-out;
  transition: all 0.3s ease-in-out;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

@keyframes slideInSidebar {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 280px;
    opacity: 1;
  }
}

.sidebar-section-title {
  padding: 16px 20px 8px 20px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #9ca3af;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 8px;
}

/* Sidebar Folders & Item Rows */
.sidebar-folder-item {
  display: flex;
  flex-direction: column;
}

.sidebar-folder-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  font-weight: 600;
  color: #374151;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-folder-header:hover {
  background-color: #f3f4f6;
  color: var(--primaryColor);
}

.sidebar-folder-header.subfolder-header {
  padding-left: 36px;
  font-weight: 500;
  font-size: 13.5px;
  color: #4b5563;
}

.sidebar-folder-header .folder-icon {
  margin-right: 10px;
  color: #9ca3af;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
}

.sidebar-folder-header .folder-icon-secondary {
  margin-right: 8px;
  color: #cbd5e1;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
}

.sidebar-folder-header .folder-name,
.sidebar-folder-header .folder-name-secondary {
  flex-grow: 1;
}

.sidebar-folder-header svg {
  color: #9ca3af;
}

/* Sidebar Subfolder & Item Lists */
.sidebar-subfolder-list {
  display: flex;
  flex-direction: column;
}

.sidebar-items-list {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
}

.sidebar-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 8px 52px;
  cursor: pointer;
  font-size: 13px;
  color: #4b5563;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-item-row:hover {
  background-color: #f1f5f9;
  color: var(--primaryColor);
}

.sidebar-item-row.selected {
  background-color: #e0f2fe;
  color: var(--primaryColor);
  font-weight: 600;
  border-left-color: var(--primaryColor);
}

.sidebar-item-row .item-label {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-item-row .item-actions-wrapper {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.sidebar-item-row .processing-spinner {
  color: var(--primaryColor);
  margin-left: 8px;
}

/* Toolbar Sidebar Toggle Button Active State */
.toolbar-icon-btn.active {
  background-color: #e0f2fe;
}


/* Premium Dropdown Menu Icons */
.menu-item-icon {
  width: 20px;
  height: 20px;
  background-color: var(--primaryColor);
  margin-right: 12px;
  display: inline-block;
  flex-shrink: 0;
}

.menu-icon-upload {
  mask: url(/static/media/upload-doc.ad404deafd15932d96b4.svg) no-repeat center / contain;
  -webkit-mask: url(/static/media/upload-doc.ad404deafd15932d96b4.svg) no-repeat center / contain;
}

.menu-icon-subcase {
  mask: url(/static/media/folder-plus.1e26268172ebb0e96194.svg) no-repeat center / contain;
  -webkit-mask: url(/static/media/folder-plus.1e26268172ebb0e96194.svg) no-repeat center / contain;
}

.menu-icon-analyzer {
  mask: url(/static/media/analyzer.d37e727480f9e6f24f3b.svg) no-repeat center / contain;
  -webkit-mask: url(/static/media/analyzer.d37e727480f9e6f24f3b.svg) no-repeat center / contain;
}

.menu-icon-import-comment {
  mask: url(/static/media/chat-conversationsvg.54f5b1811bd896fafd25.svg) no-repeat center / contain;
  -webkit-mask: url(/static/media/chat-conversationsvg.54f5b1811bd896fafd25.svg) no-repeat center / contain;
}

.menu-icon-re-extract {
  mask: url(/static/media/refresh.e59460a601619dc36e46.svg) no-repeat center / contain;
  -webkit-mask: url(/static/media/refresh.e59460a601619dc36e46.svg) no-repeat center / contain;
}

.menu-icon-add-fields {
  mask: url(/static/media/add_fields.03a6f8f6391dc4fc0086.svg) no-repeat center / contain;
  -webkit-mask: url(/static/media/add_fields.03a6f8f6391dc4fc0086.svg) no-repeat center / contain;
}

.menu-icon-download {
  mask: url(/static/media/downloadFile.ac46383069de977df6e0.svg) no-repeat center / contain;
  -webkit-mask: url(/static/media/downloadFile.ac46383069de977df6e0.svg) no-repeat center / contain;
}

.menu-icon-generate-lp {
  mask: url(/static/media/generate_LP.804b4a704d2fefdce515.svg) no-repeat center / contain;
  -webkit-mask: url(/static/media/generate_LP.804b4a704d2fefdce515.svg) no-repeat center / contain;
}

.menu-icon-generate-docs {
  mask: url(/static/media/generate_docs.c26335b27dad09238c87.svg) no-repeat center / contain;
  -webkit-mask: url(/static/media/generate_docs.c26335b27dad09238c87.svg) no-repeat center / contain;
}

.sidebar-toggle-btn {
  background-color: var(--primaryColor) !important;
  color: white !important;
  border: none !important;
  border-radius: 5px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin-right: 8px !important;
  transition: opacity 0.2s ease !important;
}

.sidebar-toggle-btn:hover {
  opacity: 0.9 !important;
  background-color: var(--primaryColor) !important;
}

.sidebar-toggle-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.sidebar-toggle-icon-svg {
  color: white !important;
}

.analyzer-menu-trigger-btn {
  color: var(--primaryColor) !important;
  padding: 4px !important;
}

.analyzer-menu-action-icon {
  margin-right: 8px;
  color: var(--primaryColor);
}


.product-configuration-container {
    height: 86vh;
    background-color: white;
    border-radius: 0 0 15px 15px;
    border: 1px solid #CFCFCF;
    overflow-y: auto;
    padding-bottom: 20px;
}
.product-configuration-right {
    background-color: white;
    margin:0px 20px;
    overflow-y: auto;
    border:1px solid #cdcdcd;
    border-radius: 5px;
    height: 65vh;
}
.meta-header{
    background-color: var(--primaryColor);
    height: 40px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


#nav-buttons {
    color: white;
    border: none;
    background-color: transparent;
    padding:5px 0px 5px  30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.active-button {
    color: rebeccapurple;
}

.active-button::after {
    content: "";
    display: block;
    border-bottom: 2px solid white;
    margin-top: 0;
}

select {
    width: 100%;
    height: 46px;
}

form {
    position: -webkit-sticky;
    position: sticky;
}

.main-container {
    padding: 0 5%
}

.icons {
    color: var(--primaryColor);
    padding: 2px;
    background-color: inherit;

}
.pc-inputs{
    width: 40%;
    border: 2px solid rgb(238, 241, 238);
    border-radius: 8px;
}
.tracklist-columns{
    scrollbar-width: none;
    height: '220px';
    border-radius: 4px;
    padding-left: 12px;
    padding-right: 12px;
}
.tracklist-input-field{
    display: flex;
    justify-content: space-between;
    scrollbar-width: none;
}

.tracklist-container{
    width: 100%;
    margin-left: 10px ;
    border-radius: 8px;
    border: 2px solid rgb(242, 234, 242);
}

.product_configuration_fields {
    width: 100%;
    justify-content: flex-start;
    padding: 15px 20px;
    display: flex;
    flex-direction: row;
}
.tracklist-header{
    display: flex;
    justify-content: space-between;
    padding: 20px;
    padding-bottom: 5   px;
}
.tracklist-input{
    margin-left: 15px;
    margin-right: 10px;
}

.upload-templates-container {
    display: flex;
    justify-content: space-between;
}

.upload-templates-left {
    width: 40%;
    padding: 20px;
}

.pc-input{

    margin-left: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 90%;
}

.upload-templates-right {
    width: 70%;
    margin: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    display:flex;
    align-items: center;
    justify-content: center; 
}

#download_icon_size {
    font-size: 30px;
    margin-left: 10px;
}

#input_styles {
    width: 100%;
    border: none;
    outline: none;
    box-shadow: none;
}
.btn-save-pop-up{
    background-color: var(--primaryColor);
    color: white;
    border-radius: 10px;
    border: none;
    padding: 10px 20px;
    margin-right: 10px;
}
.hover-effect {
    color: rgb(1, 1, 1); 
    background-color: white; 
    font-family: 'Josefin Sans', sans-serif;
    
  }
  .hover-effect:hover {
    color: white ;
    font-family: 'Josefin Sans', sans-serif;
    background-color: var(--primaryColor); 

  }
  .swal2-input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
.swal2-input:focus {
    border-color: black;
    box-shadow: none;
    outline: none;
} 
.tracklist{
gap: 16px;
margin-top: 5px;
border-radius: 4px;
}

.extractSections{
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.section-size{
    width: 40px;
    height: 44%;
}

/* CustomSelect.css */

/* Style for custom option */
.custom-option {
    padding: 10px;
    cursor: pointer;
  }
  
  .custom-option--focused {
    background-color: #e0e0e0;
  }
  
  /* Ensure the dropdown menu has a scroll bar */
  .react-select__menu {
    max-height: 200px; /* Adjust as necessary */
    overflow-y: auto;
  }
  
  /* App.css */

.custom-option-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  cursor: pointer;
}

.custom-option-text {
  flex-grow: 1;
}



.modal_content_background {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.modal_content {
    text-align: center;
    background-color: white;
    position: absolute;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 90%;
}

.modal_title {
    font-size: 1.5rem;
    margin-bottom: 0;
    margin-top: 3%;
    font-weight: bold;
}

.modal_textarea_container {
    height: 15%;
    margin: 0 9% 5% 9%;

}

#modal_textarea {
    height: 100%;
    width: 100%;
    color: black;
    border-radius: 15px;
}

.prev_comments {
    height: 55%;
    margin: 0 6% 5% 7%;
    overflow-y: auto;

&::-webkit-scrollbar {
    width: 6px;
}

&::-webkit-scrollbar-track {
    background: #f0f0f0;
}

&::-webkit-scrollbar-thumb {
    background-color: #5b727e;
    border-radius: 5px;
    border: 2px solid #5b727e;
    }
}

.modal_buttons {
    padding: 3%;
    border-radius: 8px;
    width: 32%;
    margin: 1%;
}

.modal_button_container {
    margin: 0 8% 5% 8%;
    flex-direction: row;
    justify-content: space-around;
    
}

.comment_container {
    text-align: start;
}

.formatted_date {
    font-size: 13px;
}

.comment_value_container {
    border: 1px black solid;
    border-radius: 5px;
    padding: 5px 0 0 5px;
}

.comment_value {
    font-size: 15px;
}

.no_comments {
    margin-top: 25%;
    font-size: 20px;
    margin-bottom: 25%;
}

.field_name {
    margin-top: 3%;
}
.modal_header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 10px;
}

.update_fields {
    justify-content: flex-start;
    display: contents;
}

.update_fields input {
    padding: 15px;
}
#driver_commentbox{
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    width: 90%;
}

#comment-modal{
    position: fixed;
    top:0%;
    left: 0%;
    right: 0%;
    bottom: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2500;
    background-color: rgba(0, 0, 0, 0.5);
}
.head-div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comments_color{
    color: #547293;
}
.comment_msg{
    max-height: 300px;
    overflow-y: auto;
}
.chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primaryColor);
    color: white;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    z-index: 50;
  }
  
  .chat-window {
    position: fixed;
    bottom: 80px; /* Adjust as needed */
    right: 20px;
    width: var(--chat-window-width);
    min-height: var(--chat-window-height);
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    max-width: 50vw; /* Ensure the width doesn't exceed 90% of viewport width */
    max-height: 80vh; /* Ensure the height doesn't exceed 90% of viewport height */
    z-index: 10;
  }
  
  .chat-window.show {
    display: block;
  }
  
  .chat-header {
    background-color: var(--primaryColor);
    color: white;
    padding: 10px;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: flex;
  }
  
  .chat-body {
    padding: 10px;
    max-height: var(--chat-body-max-height);
    overflow-y: auto;
  }
  
  .input-container {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    width: 100%;
  }
  
  .input {
    flex: 1 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 5px;
  }
  .button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }
  
  .typing-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }
  
  .typing-bubble div {
    width: 8px;
    height: 8px;
    margin: 0 2px;
    background-color: var(--primaryColor);
    border-radius: 50%;
    animation: bubble-animation 1.2s infinite;
  }
  
  .typing-bubble div:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .typing-bubble div:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  @keyframes bubble-animation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
  }
 
  .chat-message-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 10px;
}

.chat-bubble-wrapper {
  flex: 1 1;
  min-width: 0;
}

.checklist-action-wrapper {
  flex-shrink: 0;
  margin-top: 3px;
  display: flex;
  align-items: flex-start;
}
.checklist-icon-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #4a90e2;
  background: transparent;
  color: #4a90e2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}
.checklist-icon-btn:hover:not(:disabled) {
  background-color: #4a90e2;
  color: #fff;
}

.checklist-icon-btn:disabled {
  cursor: default;
  opacity: 0.6;
}


.checklist-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 12px;
  background-color: #e6f9ee;
  border: 1px solid #28a745;
  color: #28a745;
  font-size: 11px;
  white-space: nowrap;
  font-weight: 500;
}

.checklist-spinner {
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.notes-container {
  position: absolute;
  width: 600px;
  min-height: 0;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.8);
  padding-top: 0px;
  transition: transform 0.5s ease-out, opacity 0.3s ease-out;
  box-shadow:  6px 6px 14px #666666,
  -0px -0px 0px #ffffff;
}

.notes-container.visible {
  opacity: 1;
  transform: scale(1); /* Zoom in effect */
}

.notes-container.closing {
  opacity: 0;
  transform: scale(0.8); /* Zoom out effect */
}

.expand-animation {
  transition: transform 0.5s ease-out, opacity 0.3s ease-out;
}

.drag-handle {
  cursor: move;
  position: -webkit-sticky;
  position: sticky;
  text-align: center;
  padding-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}

.checklist-header {
  display: grid;
  grid-template-columns: 4fr 1fr 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 4fr 1fr 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.checklist-item span {
  overflow: hidden;
}

.delete-button {
  padding: 4px 8px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.delete-button.active {
  background-color: #4caf50;
}

.checklist-item.strike-through span {
  text-decoration: line-through;
  color: grey;
}

.na-button {
  padding: 5px 10px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.na-button.active {
  background-color: #28a745;
}

.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #547293;
}

input:checked + .slider:before {
  transform: translateX(14px);
}
.comment-button {
  position: relative;
  display: inline-block;
}

.comment-indicator {
  position: absolute;
  top: -5px;
  right: -5px; 
  min-height: 16px; 
  min-width: 16px; 
  padding: 2px 5px; 
  background-color: red;
  color: white; 
  border-radius: 50%;
  font-size: 10px; 
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid white; 
}

#tracklist-content{
height:50vh;
overflow-y: auto;
padding-top: 10px;

&::-webkit-scrollbar {
  width: 6px;
}

&::-webkit-scrollbar-track {
  background: #f0f0f0;
}

&::-webkit-scrollbar-thumb {
  background-color: var(--primaryColor);
  border-radius: 5px;
  border: 2px solid var(--primaryColor);
}
}
.close-icon{
background-color: #ccc;
color: #333;
}
.comments-popup{
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
z-index: 999;
}
.comments-title{
background-color: #fff;
border-radius: 8px;
padding: 20px;
max-width: 600px;
width: 90%;
}

/* ToggleGlobal.css - dynamic knob travel and adaptable height/width */

.toggle-container {
  --toggle-width: 5.5rem;   /* default, override via style */
  --toggle-height: 1.9rem; /* pill height (you can override by passing style --toggle-height) */
  --toggle-gap: 2px;       /* inset for knob */
  display: inline-block;
  position: relative;
  width: var(--toggle-width);  
  height: var(--toggle-height);
  margin: 0 0.5rem;
  min-width: calc(var(--toggle-height) * 2); 
  box-sizing: border-box;
}
/* hide native checkbox */
.toggle-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.toggle-label {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #dabbbb;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: background .22s ease;
}

/* knob size derived from height minus gaps */
.toggle-label::before {
  content: "";
  position: absolute;
  top: var(--toggle-gap);
  left: var(--toggle-gap);
  width: calc(var(--toggle-height) - 2 * var(--toggle-gap));
  height: calc(var(--toggle-height) - 2 * var(--toggle-gap));
  border-radius: 50%;
  background: #fff;
  transition: transform .22s cubic-bezier(.2,.9,.3,1);
  z-index: 3;
  will-change: transform;
}

.toggle-label::after {
  content: attr(data-off);
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  z-index: 2;
  transition: left .22s ease, right .22s ease, content .12s;
  pointer-events: none;
}

/* CHECKED (ON) state: background color and text move */
.toggle-input:checked + .toggle-label {
  background: #4caf50;
}

.toggle-input:checked + .toggle-label::after {
  content: attr(data-on);
  left: 0.6rem;
  right: auto;
}

.toggle-input:checked + .toggle-label::before {
  transform: translateX(
    calc(var(--toggle-width) - var(--toggle-height) - (10*var(--toggle-gap)))
  );
}

/* focus ring for keyboard users */
.toggle-input:focus + .toggle-label {
  outline: none;
  box-shadow: 0 0 0 4px rgba(66,133,244,0.12);
}

.toggle-input:disabled + .toggle-label {
  opacity: 0.6;
  cursor: not-allowed;
}

.custom-select-wrapper {
  position: relative;
  flex: 1 1;
  max-width: 100%;
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
  background-color: #fafafa;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  z-index: 1050;
}

.dropdown-item-custom {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: #212529;
}

.dropdown-item-custom:hover {
  background-color: #dbd5d5f3;
}

.dropdown-item-custom.child:hover {
  background-color: #dbd5d5f3;
  cursor: pointer; 
}

.dropdown-item-custom.muted {
  font-size: 1.25rem;
  margin-left: 14px;
  opacity: 0.4;
}

.dropdown-item-custom.master {
  font-size: 1.25rem;
}

.dropdown-item-custom.child {
  padding: 6px 8px 6px 40px;
  font-size: 1.05rem;
  color: #555;
}

.dropdown-search {
  width: 100%;
  border: none;
  outline: none;
  padding: 8px 12px;
  font-size: 14px;
  background: transparent;
  border-bottom: 1px solid #e0e0e0;
}

.dropdown-search::placeholder {
  color: #999;
}

.dropdown-search:focus {
  outline: none;
  box-shadow: none;
}

.toggle-icon {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.choose-files-text {
  white-space: nowrap;
  font-weight: 600;

}

.selected-files-text {
  width: 70%;
  color: black;
}


.file-input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
}

.file-info {
  margin-left: 5px;
  font-size: 14px;
  color: gray;
}

.upload-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1;
}


.list-container {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; 
  flex-direction: row;
  flex-wrap: nowrap; 
  gap: 8px;
}

.list-items {
  flex: 0 0 auto; 
  background: #f2f4f7;
  border: 1px solid #dfe3e8; 
  padding: 6px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.list-items-name {
  max-width: 150px;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* .file-list-wrapper {
  overflow-x: auto;
  margin-top: 10px;
}

.list-container {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}

.list-items {
  background: #f2f4f7;
  padding: 5px 8px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.list-items-name {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
} */

.file-icon {
  font-size: 12px;
}

.file-remove-btn {
  font-size: 10px;
}

.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}




.subcase-field-wrapper {
  display: flex;
  flex-direction: column;
}


.subcase-label {
  font-size: 14px;
  font-weight: 500;
}


.input-box {
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.input-box:focus {
  border-color: var(--primaryColor);
}

.input-error {
  border-color: red;
}

.error-message {
  margin-top: 4px;
  font-size: 12px;
  color: red;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.form-row label {
  width: 160px;
  flex-shrink: 0;
  font-weight: 500;
}

.subcase-control {
  height: 44px;
  font-size: 1rem;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  background-color: #fff;
}
.subcase-field-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.custom-select-wrapper .subcase-control {
  cursor: pointer;
  position: relative;
  justify-content: space-between;
}

/* ─── New Subcase modal v2 (icon-badge layout) ─── */
.subcase-modal-overlay {
  align-items: flex-start !important;
  padding-top: 76px;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.subcase-modal-v2 {
  position: relative;
  padding: 28px 40px !important;
  max-height: calc(100vh - 100px) !important;
}

.subcase-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.subcase-close-btn:hover {
  background: #f1f5f9;
  color: #1f2937;
}

.subcase-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.subcase-header-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.subcase-header-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #eef1f4;
  color: #475569;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subcase-modal-header h2#add-title {
  font-size: 22px;
  margin: 0;
  color: #1f2937;
}

.subcase-header-divider {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 140px;
  margin-top: 10px;
}

.subcase-header-divider span {
  flex: 1 1;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
}

.subcase-header-divider-active {
  flex: 1.4 1 !important;
  background: #5b727e !important;
  background: var(--primaryColor, #5b727e) !important;
}

.subcase-body {
  margin-top: 20px;
  width: 100%;
}

.subcase-form-v2 {
  max-width: 100% !important;
  gap: 22px !important;
}

.subcase-field-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  margin-top: 0 !important;
}

.subcase-field-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #eef1f4;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-top: 2px;
}

.subcase-field-icon img {
  width: 18px;
  height: 18px;
}

.subcase-field-body {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.subcase-field-body label {
  width: auto;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 6px;
}

.subcase-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.subcase-toggle-label {
  margin-bottom: 0 !important;
}

.subcase-toggle-field-row .subcase-field-icon {
  margin-top: 0;
}

.subcase-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 8px !important;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.subcase-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .subcase-modal-overlay {
    padding-top: 64px;
  }

  .subcase-modal-v2 {
    padding: 24px 18px !important;
  }

  .subcase-field-row {
    gap: 10px;
  }

  .subcase-field-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .subcase-field-icon img {
    width: 15px;
    height: 15px;
  }

  .subcase-footer .submit_btn {
    flex: 1 1;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .subcase-modal-header h2#add-title {
    font-size: 19px;
  }

  .subcase-header-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .subcase-field-row {
    gap: 8px;
  }

  .subcase-toggle-row {
    flex-wrap: wrap;
  }
}
.zoom-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.zoom-btn {
  cursor: pointer;
  width: 28px;
  height: 28px;
  padding: 2px;
  margin-left: 1px;
  transition: all 0.2s;
  color: var(--primaryColor);
}

.zoom-btn-primary {
  background-color: var(--primaryColor);
  padding: 5px;
}

.zoom-btn:hover {
  opacity: 0.8;
}
/* Analyser Upload Zone Styling */
.analyser-upload-zone {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #f9fafb;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-top: 5px;
}

.analyser-upload-zone:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

.analyser-upload-zone.drag-active {
  border-color: #3b82f6;
  background-color: #eff6ff;
  border-width: 2px;
}

.upload-cloud-icon {
  font-size: 32px;
  color: #6b7280;
  margin-bottom: 8px;
}

.upload-text-main {
  margin: 0;
  font-size: 15px;
  color: #1f2937;
  font-weight: 600;
}

.upload-text-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.summary-doc-left {
  min-width: 0;
}

.summary-doc-description {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.summary-doc-description::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}



/* Custom scrollbar for Webkit browsers */
.file-list-wrapper::-webkit-scrollbar {
  height: 8px;
}

.file-list-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.file-list-wrapper::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.file-list-wrapper::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.list-container {
  display: inline-flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  height: 100%;
  align-items: center;
}

.list-items {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  min-width: 180px;
  max-width: 250px;
  height: 50px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.list-items:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.list-items-name {
  font-size: 13px;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1;
  font-weight: 500;
}

.file-remove-btn {
  font-size: 10px;
  padding: 4px;
  margin-left: 8px;
  opacity: 0.6;
  color: #ef4444;
}

.file-remove-btn:hover {
  opacity: 1;
}
.file-list-wrapper-horizontal {
  width: 100%;
  overflow-x: auto; 
  overflow-y: hidden;
  margin-bottom: 15px;
  padding: 5px 0; 
  scrollbar-width: thin;
}

.list-container-horizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; 
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.file-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: #334155;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.file-chip-name {
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 8px;
}

.btn-close-small {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: #94a3b8;
  font-size: 1.1rem;
}

.btn-close-small:hover {
  color: #ef4444;
}

.file-list-wrapper-horizontal::-webkit-scrollbar {
  height: 6px;
}
.file-list-wrapper-horizontal::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.textarea-sm {
  height: 60px;
  resize: vertical; 
}


.form-row label {
  display: block;
  margin-bottom: 0.5rem;
}
.mh-0 {
  min-height: 0 !important;
}

/* ─── Document action three-dots dropdown (mobile / tablet) ─── */
.doc-action-menu-btn {
  padding: 0.3rem 0.6rem;
}

.doc-action-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 1050;
  min-width: 160px;
  overflow: hidden;
  animation: doc-dropdown-fade 0.15s ease;
}

@keyframes doc-dropdown-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.doc-action-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.55rem 1rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 0.875rem;
  color: #333;
  cursor: pointer;
  transition: background 0.15s ease;
}

.doc-action-item:hover:not(:disabled) {
  background: #f8f9fa;
}

.doc-action-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.doc-action-item--danger {
  color: #dc3545;
}

.doc-action-item--danger:hover:not(:disabled) {
  background: #fff5f5;
}

/* ─── New Analyser modal v2 (icon-badge layout) ─── */
.analyser-modal-overlay {
  align-items: flex-start !important;
  padding-top: 76px;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.analyser-modal-v2 {
  position: relative;
  padding: 22px 32px !important;
  max-height: calc(100vh - 100px) !important;
  max-width: 760px;
}

.analyser-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.analyser-close-btn:hover {
  background: #f1f5f9;
  color: #1f2937;
}

.analyser-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.analyser-header-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.analyser-header-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #eef1f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analyser-header-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.analyser-modal-header h2#add-title {
  font-size: 22px;
  margin: 0;
  color: #1f2937;
}

.analyser-header-divider {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 140px;
  margin-top: 10px;
}

.analyser-header-divider span {
  flex: 1 1;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
}

.analyser-header-divider-active {
  flex: 1.4 1 !important;
  background: #5b727e !important;
  background: var(--primaryColor, #5b727e) !important;
}

.analyser-body {
  margin-top: 14px;
  width: 100%;
}

.analyser-form {
  max-width: 100% !important;
  gap: 14px !important;
}

.analyser-fields-grid {
  display: grid;
  grid-column-gap: 24px;
  column-gap: 24px;
  grid-row-gap: 14px;
  row-gap: 14px;
}

.analyser-field-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.analyser-field-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #eef1f4;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-top: 2px;
}

.analyser-field-icon img {
  width: 16px;
  height: 16px;
}

.analyser-field-body {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.analyser-field-body label {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
  font-size: 14px;
}

.analyser-field-body .subcase-control {
  width: 100%;
  max-width: 100%;
}

.analyser-field-body .textarea-sm {
  height: 42px;
}

.analyser-field-hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
}

.analyser-upload-zone {
  margin-left: 48px;
  width: calc(100% - 48px);
  padding: 16px 20px;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
}

.analyser-upload-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  opacity: 0.7;
}

.analyser-upload-formats {
  margin: 4px 0 0;
  font-size: 11.5px;
  color: #94a3b8;
}

.analyser-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.analyser-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .analyser-modal-overlay {
    padding-top: 64px;
  }

  .analyser-modal-v2 {
    padding: 20px 16px !important;
  }

  .analyser-field-row {
    gap: 10px;
  }

  .analyser-field-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .analyser-field-icon img {
    width: 15px;
    height: 15px;
  }

  .analyser-upload-zone {
    margin-left: 0;
    width: 100%;
    padding: 18px 12px;
  }

  .analyser-footer .submit_btn {
    flex: 1 1;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .analyser-modal-header h2#add-title {
    font-size: 19px;
  }

  .analyser-header-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .analyser-header-icon img {
    width: 18px;
    height: 18px;
  }

  .analyser-field-row {
    gap: 8px;
  }
}
.not-found-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
  }
  
  .top-section {
    flex: 1 1;
    color: var(--primaryColor);
    background-color: white; 
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  
  .bottom-section {
    flex: 1 1;
    background-color: #d8d4d4; 
    display: flex;
    flex-direction: column; 
    align-items: center;
  }
  .subtext {
    font-size: 24px;
    color: #333; 
  }
  
  .button1 {
    font-size: 14px;
    padding: 7px 20px;
    color: #fff; 
    cursor: pointer;
    border-radius: 20px;
    margin-top: 10px; 
  }
  
.form_div {
  width: 30%;
}

.header_div {
  display: flex;
  justify-content: center;
}

.container_div {
  height: 100vh;
  background-color: yellow;
}

.preview_div {
  width: 60%;
  background-color: antiquewhite;
  height: 70vh;
}

.key_meta_data {
  display: flex;
  justify-content: center;
  border-radius: 25px 25px 0 0;
  align-items: center;
  background-color: var(--primaryColor);
  height: 40px;
}

.key_case_container {
  border: 1px solid  #CFCFCF;
  height: 100%;
  border-radius: 0 0 25px 25px;
  display: flex;
  flex-direction: row;
}

.details_container{
  height: 100%;
  border-right: 1px solid #5b727e;
  width: 30%;
}

.template_container{
  height: 100%;
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.table_format{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.template_form{
  border: 1px solid black;
  max-height: 75vh;
  width: 90%;
  overflow-y: auto;
  padding: 0% 0 0 6%;
  border-radius: 25px;

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-track {
    background: #f0f0f0;
    margin: 15px 0 18px 0;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #5b727e;
    border-radius: 5px;
    border: 2px solid #5b727e;
  }

}

.stickey_bottom{
  position:-webkit-sticky;
  position:sticky; bottom:0;
}

.button_container{
  background-color: white;
}
.custom-bordered-table-data td {
    padding: 10px;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
  }
  .add-key{
    border-radius: 15px;
  }
  /* Styles for the table */
.custom-bordered-table-data {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 0px;
}

.custom-bordered-table-data th,
.custom-bordered-table-data td {
  padding: 10px; /* Adjust padding as needed */
  text-align: left;
}

.custom-bordered-table-data th {
  background-color: #f2f2f2;
  border-bottom: 2px solid #ddd;
}

/* Style for hover effect on table rows */
.custom-bordered-table-data tbody tr:hover {
  background-color: #f5f5f5;
  cursor: pointer;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* Add this CSS in your styles or CSS file */
.child-row-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.child-row-content.open {
  opacity: 1;
  max-height: 500px; /* Set an appropriate height or 'auto' based on your content */
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.enable_btn {
  background-color: #51ce6e;
}

.disable_btn {
  background-color: #f65a69;
}

.bg-color{
  background-color: #f5f5f5;
}
.sample-key{
margin-left: 10px;
background: none;
color: blue;
text-decoration: underline;
border: none;
padding: 0px;
font-size: inherit;
font-family: inherit;
}
.writer_templates{
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 100px;
}

.looping-badge {
  background-color: #e6f0fa;
  color: #0056b3;
  border: 1px solid #b3d1ff;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  -webkit-user-select: none;
          user-select: none;
}
.profile-edit {
    width: 100%;
    padding: 1.5% 5%;
    height: 90vh;
}

.master {
    margin: 20px 20px 0px 20px;
    border: var(--primaryColor);
}

.meta_data {
    background-color: var(--primaryColor);
    height: 40px;
    padding: 0px 10px;
    border-radius: 25px 25px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case_form {
    height: 85vh;
    background-color: white;
    border-radius: 0 0 15px 15px;
    border: 1px solid #CFCFCF;
}


.profile-edit h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: black;
    margin-top: 14px;
}

.form-group {
    margin: 1.5%;
}

.name-fields, .address-fields, .email-role  {
    display: flex;
    justify-content: space-between;
}


.form-group-half {
    width: 48%;
}

.form-group-half label,
.form-group-half input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}



.email-role label,
.email-role input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.form-group label,
.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.form-group input {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn-save {
    padding: 8px 12px;
    margin: 10px 0px 10px 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}



.read-only input {
    background-color: #dbdfe18b;
    color: var(--primaryColor);
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 4px;
}

.btn-primary {
    color: orange;
}


.password-modal-overlay-corner {
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    display: flex;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.password-field-modal {
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px 20px;
    width: 500px;
    height: 50%;
    margin: 0;
    text-align: center;
}
.confirm-password{
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
cursor: pointer;
background:none;
}


@media (max-width: 768px) {
   
    #email{
        padding: 6px;
        width: 100%;
    }
}


@media (max-width:576px){
    .name-fields,
    .email-role, .address-fields {
        flex-direction: column;
    }
    .form-group-half {
        width: 100%;
    }
    textarea{
        height: 6em;
    }
    #contactNumber{
        width: 100%;
    }
    
 
}
.excel-preview table {
  border-collapse: collapse;
  overflow-y: auto;

}

.excel-preview th,
.excel-preview td {
  border-right: 1px solid #ddd;
  padding: 8px;
  text-align: left;

}

.excel-preview td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  color: black;
}

.excel-preview th {
  background-color: #f2f2f2;
}

.excel-preview th:first-child,
.excel-preview td:first-child {
  border-left: none;
}

.excel-preview th:last-child,
.excel-preview td:last-child {
  border-right: none;
}

.table-input {
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: transparent;
}



th.sticky-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: var(--primaryColor);
  color: white;
  margin-top: 0;
  border: "1px solid black"
}

.edit-button {
  position: relative;
  margin: 1% 0%;
  bottom: 0;
  align-items: center;

}

/* Example CSS */
.guide-container {
  position: relative;
  display: inline-block;
}

.guide-icon {
  cursor: pointer;
}

.guide-tooltip {
  visibility: hidden;
  width: 200px;
  background-color: #fff;
  color: #000;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
}

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

.guide-tooltip p {
  margin: 5px 0;
}

.guide-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #ccc transparent transparent transparent;
}

.pc-table-input {
  border: 1px solid #ddd;
  height: 30px;
  margin: 0px 10px 0px 5px;
  border-radius: 5px;
}

#pc-td-border{
border: 1px solid #ddd;
height: 30px
}

#pc-td-inputs{
border: none;
outline: none;
box-shadow: none;
height: 30px;
}


.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
}

.upload-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    background-color: #f0f0f0;
    border: 1px solid #CFCFCF;
    border-radius: 8px;
    width: 100%;
}

.upload-btn span {
    display: inline-block;
    padding: 8px;
}

.choose-files-text {
    background-color: #f8f9fa;
    border-right: 5px solid #dbd8d8;
    color: black;
    border-radius: 5px 0 0 5px;
    width: 31%;
}

.file-count {
    background-color: white;
    color: black;
    border-radius: 0 5px 5px 0;
    margin-left: -4px;
    width: 70%;
}

.upload-template-card{
  border: 1px solid #ddd;
  width: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 5px;
  height: 95%;
  }
  .card-remove{
    display: flex;
    flex-direction: column;
  }

.writer-scroll {
    border: 1px solid #ddd;
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
}

.writer-scroll::-webkit-scrollbar {
    width: 6px;
}

.writer-scroll::-webkit-scrollbar-track {
    background: #f0f0f0;
    margin: 15px 0 18px 0;
}

.writer-scroll::-webkit-scrollbar-thumb {
    background-color: #5b727e;
    border-radius: 5px;
    border: 1px solid #5b727e;
}

 .screen-title {
    margin: 10px;
    color: white;
    font-weight: bold;
    border: none;
    background-color: transparent;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 20px;
  }

  .selectedFile {
    width: 55%;
    padding: 1%;
    margin: 0;
    background-color: white;
    border-radius: 10px;
  }

  .templates-container{
    height: 85vh;
    border: 1px solid  #CFCFCF;
    display: flex;
    flex-direction: row
  }

.looping-checkbox {
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
}

.form-group-w80 {
    width: 80% !important;
}

 
.generate_container{
  display: grid;
  grid-template-columns: 78% 22%;
}

.generate_button{
    padding: 8px;
    height: 50%;
    border-radius: 8px;
}

.register-tenant-container {
    display: flex;
    height: 94vh;
    background: white;
    background: linear-gradient(135deg, #ffffff 20%,var(--primaryColor)  60%);
    
  }
  
  .register-tenant-content {
    flex: 1 1;
    padding: 40px;
    

    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #333;
    text-align: left;
  }
  
  .register-tenant-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    
  }
  
  .register-tenant-content p {
    font-size: 18px;
  }
  
  .register-tenant-form {
    flex: 1 1;
    padding: 10px 30px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    max-width: 800px;
  }
  
  
  
  .form-group {
    margin-bottom: 10px;
  }
  
  .form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
  }
  
  .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
  }
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
  }
  
  .error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
  }
  
  
  .file-item span {
    margin-right: 10px;
  }
  
  .file-item button {
    padding: 5px 10px;
    border: none;
    background: #ff4d4d;
    color: white;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .register-tenant-form button {
    width: 100%;
    padding: 8px;
    font-size: 18px;
    border-radius: 5px;
  }
  
  .billing-address-container {
    display: flex;
    align-items: center;

  }
  
  .billing-address-container label {
    margin-right: 10px;
    white-space: nowrap;
  }
  
  .billing-address-container input[type="checkbox"] {
    margin: 0 5px 0 0;
  }
  
  .billing-address-container span {
    font-size: 0.9em;
    white-space: nowrap;
  }
  
  .form-row {
    display: flex;
    gap: 15px;
    width: 100%;
  }
  
  .domain-group .domain-input {
    display: flex;
    align-items: center;
  }
  
  .file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }
  
  .form-group .full-width {
    width: 100%;
  }

  
  .form-group.domain-group input[type="text"] {
    flex: 1 1;
  }
  
.form-enable{
  margin-top: 40px;
}

  @media (max-width:1024px){
    .generate_container{
      display: grid;
      grid-template-columns: 72% 28%;
  }
  }

  @media (max-width:992px){
    .generate_container{
      display: grid;
      grid-template-columns: 70% 30%;
  }
  }


  @media (max-width:767px){
    .generate_container{
      display: grid;
      grid-template-columns: 78% 22%;
  }
  .case_form{
    height:auto
  }
  .form-switch{
    margin-top: 0px;
  }

  }

  @media (max-width:568px){
    .generate_container{
      display: grid;
      grid-template-columns: 65% 35%;
  }
  }


  @media (max-width:425px){
    .generate_container{
      display: grid;
      grid-template-columns: 80% 20%;
      align-items: center;
  }
    .password-generate{
      font-size: 0; /* Hide text */
      background: url(/static/media/password-generate.e26f50f20983cbf030fd.svg) no-repeat center;
      background-size: 20px 20px;
      background-color:  var(--primaryColor); /* Light Navy Blue */
      width: 85%; /* Set width for icon */
      height: 85%; /* Set height for icon */
      display: inline-block;
   }
   #flexSwitchCheckDefault{
    width:50px;
   }
  }
.file-name-row {
    height: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F5F5;
    margin-bottom: 10px;
    border-radius: 20px;
    margin-right: 5%;
}

.file-name {
    flex: 1 1;
    padding-left: 20px;
}

.file-icon {
    width: 30px;
    height: auto;
    margin-right: 10px;
    cursor: pointer;
}

.back-icon {
    margin-top: 1%;
    margin-right: 1%;
    cursor: pointer;
}
#icon_size{
    font-size: 1.25rem !important;
}

.file-name-row.selected {
    background-color: #cacdce;
}


.subcase-table {
  table-layout: fixed;
}

.subcase-table thead {
  position: -webkit-sticky;
  position: sticky;
  top: 40px;
  z-index: 19;
}

.subcase-expand-col {
  width: 40px;
}

.subcase-docs-cell {
  padding: 16px 24px;
}

.subcase-docs-table {
  table-layout: fixed;
}

.subcase-docs-table thead {
  position: -webkit-sticky;
  position: sticky;
  top: 40px;
  z-index: 19;
}

.no-subcases-message {
  padding: 12px 0;
}

.table-container-open {
  height: 68vh;
}

.table-container-closed {
  height: 32vh;
}

.icons-container {
  gap: 12px;
}

@media (max-width: 768px) {
  .icons-container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 8px;
  }

  .case-search-wrapper {
    width: 100%;
  }
}
.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
}

.upload-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  background-color: #f0f0f0;
  border: 1px solid #CFCFCF;
  border-radius: 8px;
  width: 100%;
}

.upload-btn span {
  display: inline-block;
  padding: 8px;
}

.choose-files-text {
  background-color: #f8f9fa;
  border-right: 5px solid #dbd8d8;
  color: black;
  border-radius: 5px 0 0 5px;
  width: 31%;
}

.file-count {
  background-color: white;
  color: black;
  border-radius: 0 5px 5px 0;
  margin-left: -4px;
  width: 70%;
}

.my-table {
    border-collapse: collapse;
    width: 96%;
    margin: 20px 15px 15px 15px;
  }
  
  .my-table th, .my-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    overflow-x: hidden;
  }

  #table_checkbox_column{
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    width: 20%;
  }

  .table_radio_column {
    width: 5%
  }

  #templatename_description_columns{
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    width: 40%;

  }
  
  .my-table th {
    background-color: #f2f2f2;
    top: 0;
    position: -webkit-sticky;
    position: sticky;
  }

  
  .my-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  .my-table tbody tr:hover {
    background-color: #ddd;
  }
  .table-container{
    position: -webkit-sticky;
    position: sticky;   
    display: block;   
    overflow: auto;
  }
  .table_container_maxheight{
    position: -webkit-sticky;
    position: sticky;
    overflow-y: auto; 
    
    display: block;
   
    overflow-x: hidden;

    height: 65%;
  }
  .table_container_minheight{
    position: -webkit-sticky;
    position: sticky;
    max-height:32%;
    overflow-y: auto; 
    
    display: block;
   
    overflow-x: hidden;
  
  }


.looping-badge {
  background-color: #e6f0fa;
  color: #0056b3;
  border: 1px solid #b3d1ff;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  -webkit-user-select: none;
          user-select: none;
}
.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
}

.toggle-switch--full-width {
  width: 100%;
  justify-content: space-between;
}

.toggle-switch--disabled {
  opacity: 0.6;
}

.toggle-segment {
  border: 1px solid #d0d0d0;
  background: #f5f5f5;
  color: #333;
  padding: 9px 18px;
  font-size: 15px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.toggle-segment--active {
  background-color: var(--primaryColor);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.toggle-segment:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .toggle-switch {
    flex-wrap: wrap;
  }
}


.libray-modal {
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }

.libray-modal-corner {
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .library-field-modal h2 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
  }

  .library-field-modal{
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 20px;
    width: 65%;
    height: 95%;
    margin: 0 55px 0 55px;
    text-align: center;
  }

  .library-field-modal-corner{
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 20px;
    width: 85%;
    height: 95%;
    margin: 0 55px 0 55px;
    text-align: center;
  }

  .libraryDetails {
    background: white;
    width: 100%;
  }

  .libraryLabels{
    width: -webkit-fit-content;
    width: fit-content;
  }
  
  .libraryLabelValues{
    font-weight: normal;
    margin-left: 10px;
  }
  
  .librarySubTitle{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .libraryDocuments {
    height: 80%
  }

.add_bank_modal{
    background-color: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top:0;
    left: 0;  
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add_bank_modal_container{
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
}


.add_bank_modal_content {
    border: 1px solid #ddd;
}

.search-container {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding:10px 0px
}

.lf-table-container {
    height: 85vh;
    border: 1px solid #CFCFCF;
    overflow: auto;
}

#lf-table-head {
    background-color: var(--primaryColor);
    color: white;
}

.modal-container {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-container2 {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
    width: 80%;
    min-height: 300px;
}

.container-inside {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#add-title {
    color: var(--primaryColor);
    font-size: 24px;
    margin: 0;
}

.modal-form {
    width: 100%;
    min-height: 30vh;
    border: 1px solid #ddd;
    padding: 10px 10px;
    border-radius: 10px;
}

#selected-files {
    width: 100%;
    padding: 0px;
    display: flex;
}

.list-container {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 5px; /* Optional spacing between items */
    margin-top: 5px;
}

.list-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 0 48%; /* Adjusts to 2 items per row, leaving some gap */
    max-width: 48%; /* Ensures consistent width for items */
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.list-items-name {
    margin-right: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100;
    cursor: pointer;
    font-size: 14px;
}

.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}
.box-container {
    height: 85vh;
    width: 100%;
    border: 1px solid #CFCFCF;
    padding: 20px;
}

.back-btn-container {
    display: flex;
    align-items: center;
    margin-left: 10px;
    color: #0d6efd;
    width: 4%;
}

#btn-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#btn-text {
    cursor: pointer;
    text-decoration: underline;
}

.lf-view-box {
    height: 77vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 5px 10px;
}

.container-left {
    width: 40%;
    padding: 20px;
    border: 1px solid #CFCFCF;
    border-radius: 10px;
    margin-right: 2%;
}

.view-files-list {
    width: 100%;
    height: 95%;
    overflow-y: auto;
}

.view-file-names {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 40px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    justify-content: space-between;
    padding: 0px 10px;
    align-items: center;
}

.file_name {
    max-width: 90%;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
}

.view-doc-container {
    background-color: #F9F6F6;
    height: 75vh;
    width: 60%;
    padding: 1%;
    border-radius: 10px;
    border: 1px solid #CFCFCF;
}

.no-data-text {
    width: 100%;
    text-align: center;
}
.custom-table-container .table tbody tr {
    transition: height 0.3s ease, width 0.3s ease;
    height: 60px;
}

.custom-table-container .table tbody tr.editing {
    height: 60px;
}

.custom-table-container .table tbody tr td {
    vertical-align: middle;
}

.custom-table-container .select-container {
    display: flex;
    align-items: center;
}

.custom-table-container .table th,
.custom-table-container .table td {
    white-space: nowrap;
}

.email-column {
    width: 150px;
}

.role-column {
    width: 150px;
}

.status-column {
    width: 150px;
}

.verified-column {
    width: 80px;
}

.actions-column {
    width: 80px;
}


.loan-case-assign-modal-overlay {
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loan-case-assign-modal {
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    width: 500px;
    max-width: 90%;
    height: auto;
    margin: 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.dropdown-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.dropdown-item label {
    margin-bottom: 5px;
    font-weight: bold;
    width: 120px;  /* Fixed width for labels */
}

.dropdown-item select {
    width: calc(100% - 130px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    align-self: flex-start;
}


.App1 {
  display: flex;
  justify-content: space-between;
  height: 91vh;
  text-align: center;
}

.left-card, .right-card {
  border: 1px solid #ddd;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  padding: 20px;
  overflow: hidden;
  border-radius: 10px;
}

.left-card {
  width: 30%;
}

.btn-containers {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.btn-containers button:hover {
  background-color: #79899a;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.right-card {
  width: 70%;
  display: flex;
  flex-direction: column;
}

.description-card {
  height: 25%;
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 20px;
  overflow-y: auto;
  border-radius: 20px;
}

.video-container {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guidescroll{
  overflow-y: auto;
    &::-webkit-scrollbar { width: 6px; } 
    &::-webkit-scrollbar-track {background: #f0f0f0; } 
    &::-webkit-scrollbar-thumb { background-color: #5b727e; border-radius: 5px; border: 2px solid #5b727e; }
}

video {
  width: 100%;
  height: auto;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
  padding: 5px;
}

.close-button:hover {
  color: #ccc;
}

.dimmed {
  opacity: 0.8;
}

button.active {
  background-color: #99c5dd;
  color: white;
  font-weight: bold;
}
.tenant-container {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 20px;
}

.profile-pic {
    /* position: absolute;
    top: 20px;
    right: 20px; */
    color: transparent;
    transition: all .3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-pic input {
    display: none;
}

.profile-pic span {
    display: inline-flex;
    padding: .2em;
    height: 2em;
}

.title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #222;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.info-sections {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.section {
    margin-bottom: 10px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #ddd;
    flex: 1 1;
}

.subTitle {
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.label {
    font-weight: bold;
    display: inline-block;
    width: 200px;
    color: #555;
    font-size: 16px;
}

.value {
    display: inline-block;
    color: #666;
    font-size: 16px;
}

.tenant-address{
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #bbb;
    font-size: 16px;
    width: 100%;
    max-width: 400px;
    transition: border-color 0.3s ease-in-out;
    resize: vertical;
}

textarea:hover {
    border-color: #888;
}

.list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.listItem {
    margin: 10px;
    display: flex;
    align-items: center;
}

.dropdown {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #bbb;
    margin-left: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease-in-out;
}

.dropdown:hover {
    border-color: #888;
}

.button + .button {
    margin-left: 12px;
}

input[type="file"] {
    margin-left: 10px;
}

.button-group {
    text-align: center;
    margin-top: 20px;
}

.profile-pic img {
    object-fit: contain;
    height: 60px;
    box-shadow: 0 0 10px 0 rgba(255, 255, 255, .35);
    border-radius: 0;
    z-index: 0;
}

.tenant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.inputs-section {
  width: 98%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/* Subtemplate Order Modal */
.subtemplate-order-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}
.subtemplate-order-modal {
  background: #fff;
  border-radius: 8px;
  width: 38%;
  max-width: 95vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.subtemplate-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #e0e0e0;
}
.subtemplate-order-close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #555;
}
.subtemplate-order-close-icon {
  width: 22px;
  height: 22px;
}
.subtemplate-order-body {
  flex: 1 1;
  overflow-y: auto;
  padding: 12px 18px;
}
.subtemplate-order-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.subtemplate-order-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: #f5f7fa;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  transition: background 0.15s;
  box-sizing: border-box;
  width: 100%;
}
.subtemplate-order-item--dragging {
  background: #dfe6ed;
  border-color: #4a90d9;
  border-color: var(--primaryColor, #4a90d9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.subtemplate-order-drag-handle {
  cursor: grab;
  color: #999;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10%;
  flex-shrink: 0;
}
.subtemplate-order-name {
  width: 80%;
  font-size: 14px;
  color: #222;
  word-break: break-word;
  padding-right: 8px;
}
.subtemplate-order-input {
  width: 10%;
  flex-shrink: 0;
  text-align: center;
  font-size: 14px;
  height: 34px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
  padding: 4px 6px;
  outline: none;
}
.subtemplate-order-input:focus {
  border-color: #4a90d9;
  border-color: var(--primaryColor, #4a90d9);
  box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.2);
}
.subtemplate-order-footer {
  display: flex;
  justify-content: flex-end;
  padding: 12px 18px;
  border-top: 1px solid #e0e0e0;
}



.section-inputs {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.template-input {
  margin-right: 1%;
  max-width: 25%;
  width: 50%;
}

.template-input-child {
  margin-right: 10px;
  width: 50%;
}

/*This is the main flexbox layout container.
   It has a fixed height and controls the position of its children. */
.template-container {
  height: 86vh;
  background-color: white;
  border-radius: 0 0 15px 15px;
  border: 1px solid #CFCFCF;
  padding: 20px 0px 10px 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.template-box {
  width: 100%;
  height: 88%;
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-radius: 5px;
}

.pdf-box {
  width: 100%;
  height: 100%;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  transform: scale(0.1);
  transition: transform 0.2s linear;

}
.pdf-section{
  width: 0;
  transition: width 0.2s linear;
}
.pdf-section-open{
  height: 100%;
  display: flex;
  justify-content: center;
  flex: 1 1;
  border:1px solid #CFCFCF;
  box-shadow:0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-left: 1%;
  border-radius: 5px;
}
.pdf-section-close{
  height: 100%;
  display: flex;
  justify-content: end;
  flex: 1 1;
}

.pdf-content {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: auto;
  flex: 1 1;
  background-color: #f0f0f0; 
}

.tab-container,.chat-container{
  height: 100%;
  width: 98%;
  display: flex;
  flex-direction: column;
  border:1px solid #CFCFCF;
  border-radius: 5px;
  box-shadow:0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 10px;
  overflow: hidden;
}
.chat-container{
  padding: 0;
}
.tab-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.toggle-switch-wrapper {
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 8px;
}
.left-button{
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.right-button{
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.tab-button,.tab-group-button {
  background-color: white;
  color: var(--primaryColor);
  cursor: pointer;
  border: 1px solid var(--primaryColor);
  font-weight: bold;
}
.tab-group-button{
    height: 100%;
    flex: 1 1;                
    text-align: center;
    border: none;
    background-color: #bcc2c5;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    color: var(--primaryColor);
}
.tab-button.active {
  background-color: var(--primaryColor);
  color: white;
}
.tab-group-button-active{
  background-color: #ffffff !important;
  border-top-left-radius:5px;
  border-top-right-radius: 5px;
  box-shadow: 
    0 -1px 0 #5b727e,
    -1px 0 0 #5b727e,
    1px 0 0 #5b727e; 
  z-index: 2;
}
/* This is now the scrollable area.
   It grows to fill the remaining space and handles its own overflow. */
.tab-content {
  flex-grow: 1; 
  overflow-y: auto; 
  min-height: 0;
}

.field-message {
  color: red;
  font-size: 14px;
  margin-top: 4px;
  height: 20px;
  align-self: flex-start;
}

.tab-box {
  position: relative;
  background-color: white;
  width: 100%;
 }
.tab-groups{
  width: 44%;
  height:80%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background-color:#bcc2c5 ;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}
.tab-chat {
  position: relative;
  width: 100%;
  height: 98%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 -2px 5px rgba(0, 0, 0, 0.1);

}

.tabs-inner-container {
  padding-top: 15px;
}

.question-container {
  width: 100%;
  padding: 20px 10px 10px 10px;
  background-color: #fff;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.question-inner-container{
  height: -webkit-fit-content;
  height: fit-content;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content:space-between;
}
.disabled-label {
  color: #6c757d;
  opacity: 0.65;
  pointer-events: none;
  cursor: not-allowed;
}


#tab-input-box {
  width: 95%;
  height: 40px;

}

.arrow-container {
  position: absolute;
  right: 10px;
  transform: translateY(-50%);
}

.arrow-container-chat {
  position: absolute;
  right: 10px;
  top: 55%;
  transform: translateY(-50%);
  cursor: pointer;
  padding-top: 5px;
}


#arrow-icon {
  font-size: 25px;
  color: var(--primaryColor);
  cursor: pointer;
}

.drag-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.edit-input {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.section-edit-input {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}


.input-icon-container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}


.chackbox-content {
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mandate-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 5px;
  font-size: 20px;
  color: var(--primaryColor);
  cursor: pointer;
}

.pdf-title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 7px;
}

.template-search {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  padding: 10px 0px;
}

#template-table-container {
  height: 81vh;
  border: 1px solid #CFCFCF;
  overflow-x: auto;
  width: 100%;
  text-align: center;
}

.dragabble-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 15px 15px 10px 5px;
}

.dragabble_section_field {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  border-left: 4px solid white;
}

.drag-icon {
  font-size: 25px;
  color: var(--primaryColor);
  margin-top: -10px;
}


.add-icon:hover {
  background-color: rgb(211, 213, 214);
}

.add-icon,
.added-icon {
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  padding: 5px;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  color: var(--primaryColor);
}

.notes-section {
  width: 100%;
  height: 95%;
  display: flex;
  flex-direction: column;
}

.tracklist-title {
  text-align: center;
  padding-top: 5px;
  margin-bottom: 0px;
  
}
.tracklist-open{
  width: 40%;
  height: 75%;
  border: 1px solid black;
  border-radius: 5px;
  overflow: hidden;
}
.ai-bot{
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid #DEDEDE;
}

.empty-line {
  border: 1px solid var(--primaryColor);
  margin-top: 0px;
  margin-bottom: 10px;
}

.add-section {
  display: flex;
  width: 100%;
  gap: 10px;
}

.items-section {
  display: flex;
  gap: 6px;
  margin: 10px 0px;
  overflow-y: auto;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}

.tracklist-rows {
  display: flex;
  align-items: center;
  height: 40px;
  background-color: #eee;
  width: calc(50% - 3px);
}

.tracklist-inputs {
  border: none;
  outline: none;
  width: 100%;
  height: 40px;
  background-color: #eee;
  padding: 0px 10px;
}

.button-section {
  margin-top: auto;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.file-section {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  flex: 1 1;
  min-height: 0;
}

.pdf-loading-placeholder {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--primaryColor);
  min-height: 200px;
}

.pdf-loading-placeholder-text {
  font-size: 12px;
  opacity: 0.8;
}

.bix-cancel {
  cursor: pointer;
  width: 25px;
  height: 25px;
  color: #aaa;
}

.position-icon {
  height: 20px;
  width: 20px;
  margin: 0 auto;
}


.form-close {
  width: 100%;
  height: 10%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.full-view-overlay {
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h_75{
  height: 100%;
}
.preview-modal {
  border-radius: 8px;
  padding: 8px 20px;
  width: 90%;
  height: 90%;
  overflow-y: auto;
  margin: 0 55px 0 55px;
}

.custom_filed_open{
  width: 30%;
  height: 70%;
  border-radius: 5px;
  overflow-y: auto;
  border: none;
}

.custom_deal_open{
  width: 25%;
  height: -webkit-fit-content;
  height: fit-content;
  border-radius: 5px;
  overflow-y: auto;
  border: none;
}
.condition{
  margin-left: 5px;

}
.info-icon:hover i {
  color: #007bff; 
}

.tooltip-box::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #343a40 transparent transparent transparent; 
}

.tooltip-box {
  position: absolute;
  top: 50%;
  transform: translate(-100%, -50%);
  background: #ffffff;
  color: #343a40;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 100;
  border: 1px solid #ced4da;
  min-width: 200px;
}
.tab-section{
  padding: 0;
  margin:0;
  height: 90%;
  display: flex;
  justify-content: center;
  flex: 1 1;
  box-shadow:0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-top: 10px;
  border-radius: 5px;
}

.tab-shutter{
  width: -webkit-fit-content;
  width: fit-content;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.tab-shutter button{
  height: 44px;
  width: 44px;
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: var(--primaryColor);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab-shutter button i{
  font-size: 1.5rem;
}
.chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primaryColor);
  color: white;
  border-radius: 50%;
  padding: 15px;
  z-index: 50;
}
.chat-body{
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex: 1 1 auto;
  gap: 5px;
}
.chat-footer{
  width: 100%;
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 10px 20px 10px 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 -2px 5px rgba(0, 0, 0, 0.1);
}
.switch-tab:hover{
  color: #5b727e;
  background-color: white;
  border-radius: 100%;
  transform: scale(1.2);
}
.tab-container-header{
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-shrink: 0;
}
.tab-box-maximized{
  width:80vw;
  height: 90%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%) ;
  z-index: 2000;
}
.icon{
  background: none;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.top-input-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  width: 100%;  
}

.flex-item {
  flex: 1 1;
}

.sections-entities-container {
  display: flex;
  flex: 2 1;
  border-radius: 0.375rem;
}

.sections-entities-container > .question-container {
  flex: 1 1;
}

.sections-entities-container .form-control {
  border: none;
  box-shadow: none;
  outline: none; 
}

.form-header-wrapper {
  background-color:  #d7f5d5; 
  border-radius: 6px;
 
}

.section-header-wrapper {
  background-color: 	#bdf4fc; 
  border-radius: 6px;
}

.entity-header-wrapper {
  background-color: #e9cff6;
  border-radius: 6px;

}

.form-header-wrapper,
.section-header-wrapper,
.entity-header-wrapper {
  color: white;
}
.form-header-wrapper .form-control,
.section-header-wrapper .form-control,
.entity-header-wrapper .form-control {
  background-color: white;
  color: #333;
  border-radius: 4px;
}
.form-header-wrapper .form-control::placeholder,
.section-header-wrapper .form-control::placeholder,
.entity-header-wrapper .form-control::placeholder {
  color: #888;
  opacity: 1;
}
.form-header-wrapper .bi-plus-circle-fill,
.section-header-wrapper .bi-plus-circle-fill,
.entity-header-wrapper .bi-plus-circle-fill {
  color: white;
  font-size: 28px; 
}
.form-header-wrapper .question-inner-container,
.section-header-wrapper .question-inner-container,
.entity-header-wrapper .question-inner-container,
.form-header-wrapper .question-container,
.section-header-wrapper .question-container,
.entity-header-wrapper .question-container {
  background-color: transparent;
  box-shadow: none;
  border: none;
}
.draggable-item-card {
  background-color: #f7f8fa; 
  border: 1px solid #e0e0e0;
  margin:0px,0px,10px,0px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.form-field-card {
  background-color: #d7f5d5 !important;
}
.section-card {
  background-color: #bdf4fc !important;
}
.entity-card {
  background-color: #e9cff6 !important; 
}

.edit-input {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* spacing between rows */
}
.input-row {
  display: flex;
  align-items: center;
}
.main-input,
.secondary-input {
  flex: 1 1;
}
.add-secondary-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  margin-left: 6px;
}
.edit-input .d-flex {
  display: flex;
  align-items: center;
}

.edit-input input.form-control {
  flex: 1 1; /* make inputs stretch nicely */
}

.edit-input button {
  flex-shrink: 0;
  margin-left: 6px;
}
.secondary-prompt-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 16px;
  opacity: 0.85;
}

.secondary-prompt-label {
  font-size: 2.5rem;
  color: #6c757d;
  margin-right: 4px;
  margin-bottom: 4px;
}
.remove-secondary-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  margin-left: 6px;
}

.expand-icon {
    width: 14px;
    height: 14px;
    cursor: pointer;
    padding: 3px;
}

.expand-icon-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: -6px; /* keep alignment similar to old icon */
}

.expand-icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.expand-icon-btn:focus-visible {
    outline: 2px solid var(--primaryColor);
    outline-offset: 2px;
}

.expand-icon-placeholder {
    width: 32px;
    height: 32px;
    display: inline-block;
}

.template-name-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.template-name-text {
    font-size: 1rem;
    font-weight: 500;
}

.sub-row.disabled-row,
.master-row.disabled-row {
    cursor: not-allowed !important;
}

.sub-disabled-action {
    cursor: not-allowed !important;
}

.sub-cell {
    padding-left: 30px !important;
}

.sub-template-btn {
    font-size: 0.90rem !important;
    padding: 4px 10px !important;
    height: 28px !important;
    line-height: 20px !important;
    border-radius: 5px !important;
}

.add-icon-enabled {
    width: 24px;
    height: 24px;
    cursor: pointer;
    opacity: 1 !important;
}

.add-icon-disabled {
    width: 24px;
    height: 24px;
    opacity: 0 !important;
    cursor: not-allowed;
    visibility: hidden;
}

.custom-bordered-table-data tbody tr.master-row {
    background-color: #f2f2f2 !important;
}

.custom-bordered-table-data tbody tr.sub-row {
    background-color: #ffffff !important;
}

/* Match Laser Pro & Field Type dropdowns to standard Bootstrap form-control */
.aeon-select-inline .MuiOutlinedInput-root {
  min-height: 38px !important;
  padding: 0 9px !important;
  border-radius: 0.35rem !important;
  background-color: #fff !important;
}

.aeon-select-inline .MuiOutlinedInput-notchedOutline {
  border: 1px solid #ced4da !important;
}

.aeon-select-inline .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: #ced4da !important;
}

.aeon-select-inline .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #86b7fe !important;
  border-width: 1px !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.aeon-select-inline .MuiInputBase-input {
  padding: 6.5px 12px !important; 
  font-size: 1rem !important;
  color: #212529 !important;
}

.aeon-select-inline .MuiAutocomplete-endAdornment {
  top: calc(50%) !important;
}



.attachmentAnalyzerDialog .MuiDialog-container {
  align-items: center;
}

.attachmentAnalyzerPaper {
  width: min(1100px, 92vw);
  max-height: 80vh;
  overflow: hidden;
  padding: 18px 18px 14px 18px;
  border-radius: 12px;
  margin: 0 auto;
}

.attachmentAnalyzerBackdrop {
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.attachmentAnalyzerTitle {
  font-size: 20px;
}

.attachmentAnalyzerSubtitle {
  font-size: 13px;
}

.attachmentAnalyzerTableScroll {
  max-height: 58vh;
  overflow-y: auto;
}

.attachmentAnalyzerThead {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.attachmentAnalyzerTh {
  font-weight: 600;
}

.attachmentAnalyzerThAttachmentType {
  width: 35%;
}

.attachmentAnalyzerThMainCase {
  width: 8%;
}

.attachmentAnalyzerThFolder {
  width: 17%;
}

.attachmentAnalyzerThSubTemplate {
  width: 30%;
}

.attachmentAnalyzerThFallback {
  width: 6%;
  font-size: 12px;
}

.attachmentAnalyzerThActions {
  width: 4%;
}

.multiPartStagesDialog .MuiDialog-container {
  align-items: center;
}

.multiPartStagesPaper {
  width: min(1100px, 92vw);
  max-height: 85vh;
  overflow: hidden;
  padding: 18px 18px 14px 18px;
  border-radius: 12px;
  margin: 0 auto;
}

.multiPartStagesBackdrop {
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.multiPartStagesTitle {
  font-size: 20px;
}

.multiPartStagesSubtitle {
  font-size: 13px;
}

.multiPartStagesScroll {
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 4px;
}

.multiPartStageBlock {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 14px;
  background-color: #fafafa;
}

.multiPartStageHeader {
  background-color: var(--primaryColor);
  border-radius: 6px;
  padding: 8px 12px;
  margin: -12px -14px 12px -14px;
  border-bottom: none;
}

.multiPartStageLabel {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}

.multiPartDeleteStageBtn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 4px;
  padding: 3px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}

.multiPartDeleteStageBtn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.multiPartAddRowBtn {
  background: transparent;
  border: 1px solid var(--primaryColor);
  color: var(--primaryColor);
  border-radius: 4px;
  padding: 3px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}

.multiPartAddRowBtn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.multiPartCaseSetDocLabel {
  font-weight: 500;
  color: #333;
  padding-left: 4px;
}

.multiPartStagesTable {
  background-color: #fff;
}

.multiPartStagesThead {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1;
}

.multiPartStagesTh {
  font-weight: 600;
  white-space: nowrap;
}

.multiPartStagesThActions {
  width: 40px;
}

.multiPartStagesFooter {
  border-top: 1px solid #e8e8e8;
}

.mpErr {
  color: #dc3545;
  font-size: 11px;
  margin-top: 4px;
  text-align: left;
}


.custom-offcanvas {
    max-width: 300px; /* Adjust width as per requirement */
  width: 80%; /* Ensure responsiveness */
  position: absolute !important;
  right: 0;
  top: 0;
  height: 100%;
  background: white;
  box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.1);
  border-left: 1px solid #ddd;
}


.tab-group-button{
    text-align: center;
    border: none;
    background-color: #bcc2c5;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    color: var(--primaryColor);
}

.componentSection {
  flex-grow: 1; /* Takes the remaining height */
  width: 100%;
  overflow-y: auto; /* Enables scrolling if needed */
  padding: 15px; /* Optional padding */
}


#text_black {
    color: black;
}

#active_tab {
    border-bottom: 2px solid #007bff;
}
.drag-handle-btn {
    width: 100%;
    cursor: move;
    display: flex;
    justify-content: center;
    
  }
.drag-icon-vertical{
    transform: rotate(90deg) !important;
  }

.custom-layout{
    height: 100%;
    width: 100%;
    display: flex;
}

.titleMenuSection{
    width: 18%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;   
}

.contentSection{
    overflow-y: auto;
    width:82%;
}


.menuItem {
    background: #ffffff;
    padding: 12px 15px;
    margin-bottom: 20px; /* Space between items */
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    color: #333;
}

  /* Hover effect */
  .menuItem:hover {
      background: var(--primaryColor);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0, 123, 255, 0.3);
}


.menuItemActive{
    background: var(--primaryColor);
    color: #fff;
    transform: scale(1.05);
    
}

.details{
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Space between items */
    border-radius: 8px;
    width:100%;
    height: -webkit-fit-content;
    height: fit-content;
  }

  .details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr)); /* Max 2 per row */
    grid-gap: 15px;
    gap: 15px; /* Space between cards */
  }
  
  @media (max-width: 768px) {
    .details-grid {
      grid-template-columns: repeat(1, minmax(250px, 1fr)); /* 1 per row on smaller screens */
    }
  }
  
  .email-editor-container {
    background-color: #fff;
    border-radius: 8px;
    max-width: 50vw;
    width: 100% !important;
    height: 62vh;
  }

  .details-card {
    background: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: center;
  }
.roles-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.role-card {
  width: 260px;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  background: white;
  text-align: center;
}

.add-card {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  color: black;
  font-weight: 500;
}

.role-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.role-field {
  margin-top: 10px;
  text-align: left;
}

.role-field input {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid lightgray;
}
.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 12px;
}

.card-actions {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
}

.card-icon {
  cursor: pointer;
  font-size: 1.2rem;
  color: #555;
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}

.card-icon:hover {
  transform: scale(1.1);
}

.edit-icon:hover {
  color: #007bff;
}


.status-input {
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.input-disabled {
  background-color: #f8f9fa;
  border: 1px solid transparent;
  color: #666;
  cursor: default;
}

.input-editing {
  background-color: #ffffff;
  border: 1px solid #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
  color: #000;
}

.field-label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: #333;
}

.no-roles-msg {
    padding: 20px;
    color: #888;
}

.actions-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.role-name-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid #007bff;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  width: 80%;
  outline: none;
  padding: 2px 0;
}

.role-name-input::placeholder {
  color: #bbb;
  font-weight: normal;
  font-style: italic;
}

.stage-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #333;
  flex: 1 1;
}


.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 15px;
}

.card-actions {
  display: flex;
}

.card-icon {
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.save-icon { color: #28a745; }
.edit-icon:hover { color: #007bff; }

.status-input {
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  outline: none;
}

.input-disabled {
  background-color: #f8f9fa;
  border: 1px solid transparent;
}

.input-editing {
  background-color: #fff;
  border: 1px solid #007bff;
}
.roles-page-container {
  padding: 10px;
  font-family: 'Inter', sans-serif;
}

.roles-top-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}


.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.role-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.add-card-ui {
  border: 2px dashed #cbd5e0;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.add-card-ui:hover {
  background-color: #f7fafc;
  border-color: #48bb78;
}

.role-name-display {
  text-align: center;
  margin: 0 0 15px 0;
  color: #1a202c;
  font-weight: 400;
}
.field-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.display-title {
  font-size: 0.85rem;        
  text-align: left;          
  margin: 0 0 0px 0;        
  width: 100%;               
  color: #555;              
  font-weight: 500;
}
/* --- INPUTS --- */
.role-input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  margin-top: 5px;
  box-sizing: border-box;
}

.role-input.readonly {
  background-color: #edf2f7;
  color: #718096;
  border-color: transparent;
}

.role-input.editable {
  border-color: #48bb78;
}

.role-input.error {
  border-color: #f56565 !important;
}

.error-msg {
  color: #f56565;
  font-size: 11px;
}


.footer-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.save-btn{
  padding: 10px 30px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background-color: #5a717a;
  color: white;
}

.btn-save.disabled {
  background-color: #a0aec0;
  cursor: not-allowed;
  opacity: 0.7;
}

.roles-mgmt-container {
    padding: 20px;
    background: #fdfdfd;
    min-height: 100vh;
}

.roles-nav-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.edit-mode-btn {
    background: #6c757d;
    color: white;
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.roles-flex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 20px;
    gap: 20px;
    align-items: stretch;
}

.role-item-card {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.internal-role-name {
    text-align: center;
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 15px 0;
}

.card-section {
    margin-bottom: 15px;
}

.section-lbl {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
}

/* ROW: Title + Default */
.title-default-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.title-box {
    flex: 2 1;
    padding: 6px 10px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    background: #f4f7f9;
}

.title-box.locked { background: #f9f9f9; border-color: transparent; font-weight: 500;}

.default-dropdown-wrapper {
    flex: 1 1;
    position: relative;
}

.default-select {
    width: 100%;
    -webkit-appearance: none;
            appearance: none;
    padding: 6px 25px 6px 10px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    background: #f4f7f9;
    font-size: 0.85rem;
    cursor: pointer;
}

.add-screen-container {
    position: relative;
    margin-bottom: 10px;
}

.assigned-screens-tray {
    display: flex;
    flex-wrap: wrap; 
    gap: 6px;
    max-height: 120px; 
    overflow-y: auto;
    padding-top: 5px;
}

.assigned-screens-tray.tray-expanded {
    max-height: 170px; 
}
.screen-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #eff4f9;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #444;
    border: 1px solid #d1dbe5;
    position: relative;
}

.pill-default {
    background: #ecf5ff;
    border-color: #409eff;
}

.default-tag {
    font-size: 0.6rem;
    color: #409eff;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 4px;
}

.pill-close {
    cursor: pointer;
    color: #f56c6c;
    font-size: 0.9rem;
}


.add-placeholder {
    border: 1px dashed #c0ccda;
    background: transparent;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    min-height: 200px;
}

.add-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #909399;
    gap: 10px;
}

.bottom-action-bar.center-footer {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1000;
}

.btn-save, .btn-cancel, .edit-mode-btn {
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 600;
}

.btn-save:disabled, .btn-cancel:disabled, .edit-mode-btn:disabled {
    background-color: #e0e0e0 !important;
    color: #a0a0a0 !important;
    border-color: #d0d0d0 !important;
    cursor: not-allowed;
    opacity: 0.7;
}


.disabled-add {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none; 
    background-color: #f5f5f5;
}

.roles-mgmt-container {
    padding-bottom: 100px;
}
.title-box.err {
    border-color: #f56c6c !important; 
    background-color: #fff5f5; 
}

.error-text-msg {
    color: #f56c6c;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 4px;
    display: block; 
    animation: fadeIn 0.3s ease;
}
.my-swal-confirm-button {
    background-color: #5a717a !important;
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    margin: 10px;
    cursor: pointer;
    font-weight: 600;
}

/* --- Screen Categorization Styles --- */
.screen-category-group {
    width: 100%;
    margin-top: 10px;
}

.category-header {
    font-size: 0.7rem;
    font-weight: 700;
    color: #5a717a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 2px;
    opacity: 0.8;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.uncategorized-pills {
    margin-top: 5px;
}

/* --- Checkbox Styles --- */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    -webkit-user-select: none;
            user-select: none;
    margin-top: 5px;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5a717a;
}

.checkbox-label {
    font-size: 0.85rem;
    color: #444;
    font-weight: 500;
}

.status-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.status-card {
  border: 1px solid #ddd;
  padding: 18px;
  border-radius: 10px;
  background: white;
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.edit-icon {
  cursor: pointer;
  color: gray;
}

.role-select {
  margin-top: 10px;
}

.role-item {
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.add-stage-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.add-stage-btn {
  background-color: #4b6274;
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.add-stage-btn:hover {
  opacity: 0.9;
}
.row-fields {
  display: flex;
  gap: 20px;
  margin: 10px 0;
}

.field-box {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.status-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 400;
}
.actions-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 25px 0;
}

.cancel-btn,
.submit-btn {
  padding: 10px 25px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
}

.cancel-btn {
  background: #ccc;
  color: #333;
}

.submit-btn {
  background: var(--primaryColor);
  color: white;
}
.stage-title {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}
.add-stage-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.add-stage-btn {
  background: var(--primaryColor);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
}
/* Buttons */
.actions-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.cancel-btn,
.submit-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  background: var(--primaryColor);
  color: white;
  cursor: pointer;
}

.cancel-btn:hover,
.submit-btn:hover {
  opacity: 0.85;
}
/* Icon positioning */
.card-icon {
  position: absolute;
  right: 0;
  cursor: pointer;
}

.remove-icon {
  color: black;
  font-size:25px;
  font-weight: bold;
}

.edit-icon {
  color: #444;
  font-size: 20px;
}
.stage-top {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.stage-title {
  font-weight: bold;
  font-size: 18px;
}

.dropdown-disabled {
  background-color: #f3f3f3 !important;
  color: #888 !important;
  border: 1px solid #d0d0d0 !important;
  cursor: not-allowed !important;
}

.dropdown-disabled option {
  color: #888;
}

/* Header area already sits on top */
.new-header{
    background-color: var(--primaryColor);
    height: 40px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* The area beneath the header that holds the 3 panels */
.compare-modal-overlay {
  background: #f8f9fa;
  display: flex;
  justify-content: center;
  overflow: hidden;
  height: calc(100vh - 127px);
}


/* 3-panel container */
.compare-modal-container {
  display: flex;
  flex: 1 1;
  height: 100%;
  width: 100%;
}


/* Left PDF pane */
.compare-left {
  flex: 1 1;
  overflow: hidden; /* Prevent parent scroll */
  background: white;
  display: flex;
  flex-direction: column;
  height: 99%;
  margin: 10px;
  border: 1px solid black;
  border-radius: 15px;
}


/* Right PDF pane */
.compare-right {
  flex: 1 1;
  overflow: hidden; /* Prevent parent scroll */
  background: white;
  display: flex;
  flex-direction: column;
  height: 99%;
  margin: 10px;
  border: 1px solid black;
  border-radius: 15px;  
}



/* Diff panel */
.compare-diff {
  flex: 1 1;
  overflow: hidden; /* Prevent container scroll */
  display: flex;
  flex-direction: column;
  height: 99%;
  margin: 10px;
  border: 1px solid black;
  border-radius: 15px;
  margin-bottom: 0px;
}

#pdfEmbed {
  width: 100% !important;
  height: 100% !important;
  background-color: rgb(2, 2, 2) !important;
  border: none;
  
}

.hide-scrollbar {
  overflow-y: auto;          /* scrolling should still work */
  overflow-x: hidden;
}

/* Chrome, Safari */
.hide-scrollbar::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

/* Firefox */
.hide-scrollbar {
  scrollbar-width: none;     /* hides scrollbar */
}

.pdf_title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primaryColor);
  text-align: center;
  margin: 5px 0;
}

.diff-container{
  display: grid;
  grid-template-columns: 18% 60% 12%;
  grid-gap: 15px;
  gap: 15px;
}

.discrepancy-container{
  height: 99%;
  display: flex;
  flex-direction: column;
  
}

.discrepancy-content {
  overflow-y: auto;
  flex: 1 1;
  padding: 15px;
}


.compare-pdf-container {
  background-color: white;
  margin: 10px;
  overflow: hidden; /* Prevent this container from scrolling */
  flex: 1 1; 
  display: flex;
  flex-direction: column;
  height: auto; 
}

/* Ensure the inner viewer takes full height/width of container */
.compare-pdf-container .pdfViewer {
    width: 100% !important;
    height: 100% !important;
    border: none !important; 
    border-radius: 0 !important;
    overflow-y: auto; /* Enable scrolling on the viewer itself */
}

.pdf-header {
  display: grid;
  grid-template-columns: 80% 20%;
  align-items: center;
  padding: 8px 16px;

}

.zoom-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.zoom-btn {
  cursor: pointer;
  width: 25px;
  height: 25px;
  padding: 4px;
  margin-left: 1px;
  transition: all 0.2s;
  color: var(--primaryColor);
}

.zoom-btn-primary {
  background-color: var(--primaryColor);
  padding: 5px;
}

.zoom-btn:hover {
  opacity: 0.8;
}

.no-differences-message {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--primaryColor);
}

.discrepancy-badge {
  font-size: 0.6rem;
  background-color: #fd7e14;
}

.custom-loader {
  color: var(--primaryColor) !important;
}

.group-label {
  font-size: 0.85rem;
  min-width: 60px;
}
.compare-comments{
  width: 25px;
  height: 25px;
}
.prompts-container {
  padding: 20px;
  background-color: #f8f9fa;
  height: calc(100vh - 65px);
  overflow: hidden;
}

.prompts-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.prompts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.prompts-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.add-prompt-btn {
  background-color: #5b727e;
  background-color: var(--primaryColor, #5b727e);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.add-prompt-btn:hover {
  opacity: 0.9;
}

.prompts-table-wrapper {
  overflow-x: auto;
}

.prompts-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.prompts-table th, .prompts-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.prompts-table th {
  background-color: #fbfbfb;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.prompts-table tr:hover {
  background-color: #fafafa;
}

.prompt-name {
  font-weight: 600;
  color: #333;
}

.prompt-text-preview {
  color: #666;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-active {
  background-color: #e6f4ea;
  color: #1e7e34;
}

.status-inactive {
  background-color: #f1f3f4;
  color: #5f6368;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.action-btn:hover {
  background-color: #f0f0f0;
}

.action-btn:disabled {
  cursor: not-allowed;
  background: none;
  box-shadow: none;
}

.prompt-row-generating {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: rgba(0, 0, 0, 0.04);
}

.prompt-row-generating td,
.prompt-row-generating td * {
  cursor: not-allowed;
}

.action-btn img {
  width: 18px;
  height: 18px;
}

/* ── Prompt dual-panel modal ── */
.prompt-dual-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  width: 96vw;
  max-width: 96vw;
  height: 65vh;
  max-height: 95vh;
  overflow-y: auto;
  padding: 4px;
}

.prompt-generator-panel,
.prompt-form-panel {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

/* Input row: text input + generate button inline */
.generator-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.generator-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Preview toggle icon button beside Generated Prompt label ── */
.btn-icon-preview {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  color: #5b727e;
  color: var(--primaryColor, #5b727e);
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.btn-icon-preview:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-icon-preview:hover:not(:disabled) {
  opacity: 0.7;
}

/* Generated text area — fixed height so the modal stays within max-height */
.generated-prompt-output {
  height: 220px;
  min-height: 120px;
  resize: vertical;
}

/* Prompt text area in the form panel matches generator height */
.prompt-text-area {
  flex: 1 1;
  min-height: 0;
  height: 100%;
  resize: none;
}



/* ── Transfer arrow column ── */
.prompt-transfer-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  flex-shrink: 0;
}

.prompt-transfer-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #5b727e;
  background: var(--primaryColor, #5b727e);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.15s;
  padding: 0;
}

.prompt-transfer-btn:hover:not(:disabled) {
  opacity: 0.85;
  transform: scale(1.08);
}

.prompt-transfer-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.prompt-transfer-icon {
  font-size: 1.5rem;
  line-height: 1;
}

/* ── Responsive: stack vertically on narrow screens ── */
@media (max-width: 900px) {
  .prompt-dual-wrapper {
    flex-direction: column;
    align-items: center;
    width: 94vw;
    max-height: 92vh;
  }

  .prompt-generator-panel,
  .prompt-form-panel {
    width: 100%;
    min-width: 0;
    min-width: initial;
    height: auto;
  }

  .prompt-transfer-col {
    padding-top: 0;
    width: 100%;
    justify-content: center;
  }

  .prompt-transfer-btn {
    transform: rotate(90deg);
  }

  .prompt-transfer-btn:hover:not(:disabled) {
    transform: rotate(90deg) scale(1.08);
  }
}

/* ── Generator-only single panel modal ── */
.generator-only-wrapper {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  width: 52vw;
  max-width: 720px;
  min-width: 360px;
  max-height: 88vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ── Add-prompt-only single panel modal ── */
.add-prompt-only-wrapper {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  width: 52vw;
  max-width: 720px;
  min-width: 360px;
  height: 68vh;
  display: flex;
  flex-direction: column;
}

/* ── Generator save popup overlay (inside generator modal) ── */
.generator-save-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.generator-save-popup {
  background: #fff;
  border-radius: 8px;
  padding: 28px 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
  .generator-only-wrapper,
  .add-prompt-only-wrapper {
    width: 94vw;
    min-width: 0;
    min-width: initial;
    max-height: 92vh;
  }
}

/* ── Step Carousel Styles ── */
.carousel-nav-btn {
  background: #f1f3f4;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #5f6368;
  transition: background-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.carousel-nav-btn:hover:not(:disabled) {
  background-color: #e8eaed;
  color: #202124;
}

.carousel-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.carousel-dot:hover {
  transform: scale(1.2);
}

.carousel-dot.active {
  background-color: #0d6efd;
  transform: scale(1.2);
}

.generator-description-textarea {
  min-height: 150px;
}


.summarization-upload-input {
  z-index: 2;
}

.summarization-upload-area {
  height: 80px;
}

.summarization-upload-title {
  font-size: 0.9rem;
}

.summarization-upload-text {
  font-size: 0.7rem;
}

.summarization-description-field {
  font-size: 0.875rem;
}

.summarization-select-prompt {
  padding: 0.4rem;
  font-size: 0.875rem;
}

.summarization-context-field {
  padding: 0.4rem;
  font-size: 0.875rem;
}

.summarization-generate-btn {
  padding: 0.4rem;
  font-size: 0.9rem;
}

.summarization-file-name {
  font-size: 0.8rem;
}

.summarization-file-remove-btn {
  font-size: 0.65rem;
}

/* ═══════════════════════════════════════════════════
   Document Summarization – Responsive Layout
═══════════════════════════════════════════════════ */

/* Page outer shell – fills viewport below the app header */
.doc-sum-container {
  padding: 1rem 1.5rem 0;
  height: calc(100vh - 65px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: padding 0.3s ease;
}

/* Inner page – fills remaining height */
.doc-sum-page {
  flex: 1 1;
  min-height: 0;
  overflow: hidden;
}

/* Row holding sidebar + main */
.doc-sum-row {
  height: 100%;
}

/* ─── Sidebar ─── */
.doc-sum-sidebar {
  background: #f8f9fa;
  border-right: 1px solid #dee2e6;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  transition: max-height 0.35s ease;
}

/* ─── Main scrollable content ─── */
.doc-sum-main {
  height: 100%;
  overflow-y: auto;
  padding: 1.25rem 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: padding 0.3s ease;
}

.doc-sum-main::-webkit-scrollbar {
  display: none;
}

/* ─── Loading overlay – replaces inline style ─── */
.doc-loading-state {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.doc-loading-state.doc-loading-active {
  opacity: 0.5;
  pointer-events: none;
}

/* ─── Folder title row ─── */
.folder-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.folder-section-title {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.2;
}

/* ═══════════════════════════════════════════════════
   Tablet  768px – 991px
═══════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 991.98px) {
  .doc-sum-container {
    padding: 0.75rem 1rem 0;
  }

  .doc-sum-main {
    padding: 1rem 1.5rem;
  }

  .doc-sum-sidebar .list-group button {
    font-size: 0.82rem;
    padding: 0.4rem 0.6rem;
  }
}

/* ═══════════════════════════════════════════════════
   Mobile  < 768px
═══════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  /* Natural document flow – no fixed height */
  .doc-sum-container {
    height: auto;
    overflow: visible;
    padding: 0;
  }

  .doc-sum-page {
    overflow: visible;
  }

  .doc-sum-row {
    height: auto;
  }

  /* Sidebar becomes a horizontal scroll strip */
  .doc-sum-sidebar {
    height: auto;
    border-right: none;
    border-bottom: 1px solid #dee2e6;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .doc-sum-sidebar::-webkit-scrollbar {
    display: none;
  }

  /* Hide "Folders" heading – the strip is self-explanatory */
  .doc-sum-sidebar .p-3.border-bottom.bg-white {
    display: none;
  }

  /* Folder buttons become a horizontal scrollable row */
  .doc-sum-sidebar .list-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    padding: 0.4rem 0.75rem;
    gap: 0.4rem;
  }

  .doc-sum-sidebar .list-group button {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
  }

  /* Main area: natural scroll */
  .doc-sum-main {
    height: auto;
    overflow-y: visible;
    padding: 0.75rem;
  }

  .folder-section-title {
    font-size: 0.95rem;
  }

  .summarization-upload-area {
    height: 65px;
  }

  /* Generate button full-width on mobile */
  .summarization-generate-btn {
    width: 100%;
  }

  /* Pagination: stack vertically on mobile */
  .doc-sum-main .pagination-container {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
  }

  .doc-sum-main .pagination-container .width_30 {
    width: 100%;
    flex-wrap: wrap;
  }

  .doc-sum-main .pagination-container .pagination {
    width: 100%;
    justify-content: flex-start;
    padding-top: 0;
    height: auto;
    flex-wrap: wrap;
    margin: 0;
  }
}

/* ═══════════════════════════════════════════════════
   Small mobile  < 576px
═══════════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  .doc-sum-main {
    padding: 0.5rem;
  }

  .folder-section-title {
    font-size: 0.88rem;
  }

  /* Document action buttons: allow wrapping */
  .doc-sum-main .list-group-item.d-flex {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .doc-sum-main .pagination-container {
    padding: 0.6rem;
  }

  .doc-sum-main .pagination-container .pagination {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════
   Pagination – base scoped overrides (all breakpoints)
   Counters Table.css fixed height, padding-top, no-wrap
═══════════════════════════════════════════════════ */
.doc-sum-main .pagination-container {
  height: auto;
  min-height: 2.5rem;
  padding: 0.4rem 1rem;
  flex-wrap: nowrap;       /* keep records + pages side-by-side on md+ */
  gap: 0.5rem;
  border-radius: 6px;
  align-items: center;
  position: relative;      /* proper stacking context for select dropdown */
}

/* Left block: records-per-page select + total count */
.doc-sum-main .pagination-container .width_30 {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

/* Override Table.css fixed height & padding-top on .pagination */
.doc-sum-main .pagination-container .pagination {
  height: auto;
  padding-top: 0;
  margin: 0;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Tablet 768–991px */
@media (min-width: 768px) and (max-width: 991.98px) {
  .doc-sum-main .pagination-container {
    padding: 0.4rem 0.75rem;
    gap: 0.4rem;
  }
}

.doc-chat-container {
    height: 100vh !important;
    max-height: 94vh !important;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    box-sizing: border-box;
    background-color: #fff;
}

.doc-chat-wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-grow: 1;
    min-height: 0;
}

.new-header {
    background-color: var(--primaryColor);
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.doc-chat-main {
    flex-grow: 1;
    min-height: 0;
    overflow: hidden !important;
}

.chat-panel {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0,0,0,0.05);
}

.pdf-panel-header, .chat-panel-header {
    flex-shrink: 0;
    min-height: 40px;
}

.pdf-content-area {
    background-color: #f0f0f0;
}

.pdf-viewer-wrapper {
    background: #fff;
    min-height: 100%;
    display: flex;
    justify-content: center;
}

.chat-messages::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.message-bubble {
    font-size: 0.95rem;
    line-height: 1.6;
    word-wrap: break-word;
    max-width: 85%;
}

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

.chat-input-container {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    flex-shrink: 0;
}

.chat-input-textarea {
    resize: none !important;
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}

.chat-send-btn {
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.model-select-dropdown {
    width: auto !important;
    padding-right: 30px !important;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: #adb5bd;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

.model-selector select {
    cursor: pointer;
    font-weight: 500;
}

.pdf-viewer-wrapper {
    background: #fff;
}

.selectionContainer {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    align-items: center;
}

.graphContainer{
    background-color: whitesmoke;
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    height: 70vh;
    align-items: center;
    border-radius: 5px;
    border: 1px solid #cfcfcf;
}

.analyticsToggleSwitch {
    height: -webkit-max-content;
    height: max-content; 
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .analyticsToggleSwitch {
        width: 15%;
    }
}


.negative_top_margin {
  margin-top: -10px;
}
.metric_top_margin {
  margin-top: 15px;
}

.metric_margin_left {
  margin-left: 25px;
}


.metric_margin_right {
  margin-right: 25px;
}

.metric_inner_margin {
  margin-right: 15px;
}

.metric_min_height {
  min-height: 100px;
}

.metric_border {
  border-radius: 8px;
}

.metric_box_shadow {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    box-sizing: border-box;
}

.metric_header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 8px;
    margin-left: 2%;
    margin-right: 2%;
  }
  
  .metric_header > div {
    flex: 1 1;
  }

@media (max-width: 1200px) {
  .metric_summary > div {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(50% - 10px);
  }
}

@media (max-width: 576px) {
  .metric_summary > div {
    flex: 1 1 100%;
  }
}

.metric_summary{
  display: flex;
  flex-direction: row;
}

.metric_summary_loan{
  min-width: 50%;
  width: 50%;
}

#loanHeader{
  padding: 15px;
  margin: 0% !important;
}
.previous-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  height: -webkit-fit-content;
  height: fit-content;
}
.norecords{
  height: 300px;
  width: 100%;
}


.csh-card {
  min-height: 400px;
}

.csh-select-wrapper {
  min-width: 400px;
}

.csh-index-col {
  width: 40px;
}

.csh-chart-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}

.csh-slide-container {
  position: relative;
  overflow: hidden;
}

.csh-slide-track {
  /* structural wrapper */
}

.csh-slide {
  width: 100%;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Default: chart (first slide) in flow, table (second slide) out of flow */
.csh-slide-track:not(.csh-slide-track--table) .csh-slide:first-child {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.csh-slide-track:not(.csh-slide-track--table) .csh-slide:last-child {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* Table mode: table (second slide) in flow, chart (first slide) out of flow */
.csh-slide-track--table .csh-slide:first-child {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.csh-slide-track--table .csh-slide:last-child {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.csh-toggle-label {
  font-size: 0.8rem;
}

.csh-avg-toggle {
  width: 40px;
  cursor: pointer;
}

#table_heading {
    background-color: var(--primaryColor);
    color: white;
    text-wrap: nowrap;
    max-width:150px !important;
}

#tableResponsive{
    display: block;
    height: 50px;
    overflow: auto;
}

#table-rows{
    text-wrap: nowrap;
    max-width: 150px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;   
    height: 2rem;
  }  
  .pagination li {
    margin: 0 3px;
    color: #fff;
  }  
  .pagination a {
    cursor: pointer;
    padding: 5px 3px;
    text-decoration: none;
    color: #fff;
  }  
  .pagination .active a {
    background-color: #007bff;
    color: #fff;
  }
.pagination-container {
    height: 2.5rem;
    background-color: var(--primaryColor);
    border-radius: 0px 0px 5px 5px;
   margin-bottom: 10px;
   align-items:center;
   display: flex;
   justify-content:space-between;
   padding: 0px 20px
}
.status{
    border-radius: 8px;
    text-align: center;
    color: black;
}
.New{
    background-color: #00C49F;
}
.In_Progress{
    background-color: rgba(0, 136, 254,0.7);
}
.In_Review{
    background-color: rgba(248, 188, 58, 0.8);
}
.In_Revision{
    background-color: rgb(124, 201, 227);
}
.Sign_Off{
    background-color: rgb(232, 237, 96);
}
.Doc_Upload{
    background-color: rgb(200, 206, 42);
}

.Doc_Review{
    background-color: rgba(248, 188, 58, 0.8);
}

.Doc_Revision {
    background-color: rgb(124, 201, 227);
}

.Attorney_Reviewed {
    background-color: rgb(255, 165, 165, 0.5);
}

.LPP_Reviewed {
    background-color: rgba(255, 165, 165,  0.5);
}


.Attorney_Approved, .LPP_Approved, .Approved, .Delivered {
    background-color: rgba(174, 255, 136, 0.3);
}

.Delivered{
    background-color: rgba(174, 255, 136, 1);
}

.Extracting{
    background-color: rgb(255, 165, 165);
    cursor: not-allowed; 
    color: #999;
}
.Extraction_Stopped{
    background-color: rgba(255, 182, 182, 0.803);
}
.bankerDashBoard{
    width:10% !important;
}
.Pending{
    background-color: #9af59f;
}

.LPIP_Generating{
    background-color: #6690de;

}
.sortColoumn {
    height:'100px';
    width : '20px';
    margin-bottom:'4px';
}
#tableHead {
    border-radius: 5px 5px 0px 0px;
    color: white;
}




th {
    top: 0;
    position: -webkit-sticky;
    position: sticky;
    
    color: black;
 }

.not-clickable {
    cursor: not-allowed; 
    color: #999;
  } 

@keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}

.progress.active .progress-bar,
.progress-bar.active {
    animation: progress-bar-stripes 1s linear infinite;
}

.progress-striped .progress-bar,
.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}

.generatedoc_btn{
    padding: 4px 6px;
    border-radius: 5px;
}

.td_buttons{
    background: none;
    border: none;
    padding: 0;
    color: black;
}


.Stage_1{
    background-color: #00C49F;
}
.Stage_2{
    background-color: rgba(0, 136, 254,0.7);
}
.Stage_3{
    background-color: rgba(248, 188, 58, 0.8);
}
.Stage_4{
    background-color: rgb(124, 201, 227);
}
.Stage_5{
    background-color: rgb(232, 237, 96);
}
.Stage_6{
    background-color: rgb(200, 206, 42);
}

.Stage_7{
    background-color: rgba(248, 188, 58, 0.8);
}

.Stage_10 {
    background-color: rgb(124, 201, 227);
}

.Stage_8 {
    background-color: rgba(223, 130, 239, 0.5);
}

.Stage_9 {
    background-color: rgba(255, 165, 165,  0.5);
}


.Stage_11 {
    background-color: rgba(174, 255, 136, 0.3);
}

.Stage_12{
    background-color: rgba(174, 255, 136, 1);
}


.update-modal-background {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
   
  }
  
  .update-modal-content {
    background-color: #fff;
    width: 80%; /* Adjust the width as needed */
    max-width: 500px; /* Set a maximum width */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Styles for the modal header */
  .update-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  .update-modal-header h2   {
  margin: 0;
  color: #111 !important;
  flex-grow: 1;
  text-align: center;
  }
  .update-modal-body {
    display: flex;
    flex-direction: column;
  }
  
  label {
    margin-bottom: 5px;
    font-weight: bold;
  }
  .input-label {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #111 !important;
  }
  select {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #111 !important;
  }
  option{
    color: #111 !important;
  }
  .update-modal-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  .button {
    padding: 8px 16px;
    align-items: center;
    flex-shrink: 0;
    width: 100px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    background: var(--primaryColor);
    display: block; 
    margin: 0 auto;
  }  
.update-modal-content {
  max-height: 85vh; 
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.update-modal-body {
  flex: 1 1; 
  overflow-y: auto;
  padding: 20px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.update-modal-body::-webkit-scrollbar {
  width: 6px;
}

.update-modal-body::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}
.row-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 0px;
  align-items: center;
}

.icons-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

.icon-styles {
  font-size: 20px;
  width: 35px;
  height: 35px;
  padding: 5px;
  margin-right: 8px;
  border-radius: 5px;
}

.writer-action-icons {
  height: 22px;
  background-color: var(--primaryColor);
  padding: 5px;
  border-radius: 5px;
}

.statistics-box{
width: 100%;
height: 100%;
border: 1px;
box-shadow: 0px 0px 5px rgba(222, 214, 214, 0.5);
border-radius: 10px;
padding: 10px;
}

.graph_image {
  overflow-y: auto;
}

.piechart_image {
  overflow-y: auto;
}

.header-cell {
  border-bottom: 1px solid black;
}

.header-cell:last-child {
  border-bottom: none;
}

.spinner {
  position: relative;
  width: 50px;
  height: 50px;
}

.spinner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loan-statistics{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 5px;
  cursor: pointer;
}
.statistics{
  border: 1px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 10px;
}
.checkbox-list {
  display: flex;
  flex-direction: column;
}

.checkbox-item {
  margin-bottom: 8px;
}


.internal-div-filter{
  background-color: white;
  min-height: 29vh;
  overflow-y: 'auto' !important;
  
}

.foot-modal {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);
  background-color: '#EDEDED' !important;
  border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
  border-bottom-right-radius: var(--bs-modal-inner-border-radius);
  border-bottom-left-radius: var(--bs-modal-inner-border-radius);
}
.model-background-color{
  background-color: '#EDEDED' !important;
}

label {
  display: flex;
  align-items: center;
  font-size: 16px;
}
