/* 300 - Light */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
/* 400 - Regular */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
/* 500 - Medium */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
/* 600 - SemiBold */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
/* 700 - Bold */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
/* 800 - ExtraBold */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}


.composite-main-content {
	position:relative;
    background: #000;
    height: calc(100vh - 2rem);
    padding-top: 0.125rem;
    font-family: "Open Sans", sans-serif !important;
}

.d-flex {
    display: -webkit-box !important;
    display: -ms-flexbox!important;
    display: flex !important;
}
.justify-content-center {
  justify-content: center !important;
}
.align-items-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center!important;
    align-items: center !important;
}
.px-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}
.btn:focus-visible {
  outline: none;
  box-shadow: none;
  background: transparent;
}
button.waves-effect:focus:not(:focus-visible) {
    outline: 0;
}

#page-topbar {
  position: fixed;
  top: 3%;
  right: 0;
  left: 0;
  z-index: 9;
  background-color: var(--bs-header-bg);
  -webkit-box-shadow: 1px 0 20px rgba(0, 0, 0, 0.05);
  box-shadow: 1px 0 20px rgba(0, 0, 0, 0.05);
}

.composite-page-content {
  padding:0.625rem;
  background:#000;
  height: calc(100vh - 1.875rem);
}
select.form-select:focus, select.form-select:focus-visible {
    outline: none;
}
.submit-loan {
    padding: 0.5rem 1.25rem;
    position: absolute;
    right: 0.75rem;
    top: -1rem;
    opacity: 1 !important;
    font-size: 0.875rem;
}
.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.15rem !important;
  color: #ffffff;
}
.form-select,
input.form-control-new {
  padding: 0.35rem 0.5rem !important;
  font-size: 0.85rem !important;
  background-color: transparent;
}
.form-select,
input.form-control-new::placeholder {
 color:#b8bcc3;
}
.sectionStyle {
  position: relative;
  border-radius: 8px;
  padding: 0.625rem;
  min-height: 2.5rem;
}

.submitbox.d-flex {
    justify-content: right;
    margin-bottom: 0.375rem;
}
.submit-loan:focus {
    outline: none !important;
}
.composite-reset-btn:hover {
    background: linear-gradient(90deg, #2e5edf 0, rgb(51 127 243) 50%, #2e5edf 100%);
    color: #fff;
    transition: background-position 0.4s ease;
}
.webhd-simple {
  border-radius: 6px;
}
.form-control-new:focus {
  background-color: #141415;
  border-color: #2d3448;
}
.accordion-item-section {
  position: relative;
  margin-top: 0.5rem;
}
.accordion-button-custom {
  padding: 0;
  background: 0 0;
}
.accordion-button:focus {
  z-index: 3;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.file-submit {
      padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    position: absolute;
    right: 9.5rem;
    top: 0.7rem;
    min-width: 8.125rem;
}
.document-tab {
  min-width: 9.688rem;
  padding: 0.313rem;
  font-size: 0.85rem;
  background:#2c2c2c;
  border: 1px solid #3d3d3d !important;
  color: #d4e4f9;
  border-radius: 4px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.document-tab:hover {
    transform: scale(0.96);
}
.document-tab.nav-link.active {
  background: #162850;
  border: 1px solid #1b3a7f !important;
  color: #3476c8;
}
.accordion-button-custom::after {
    content: "";
    border: solid #5c9dff;
    border-width: 0 1.5px 1.5px 0;
    display: inline-block;
    padding: 0.188rem;
    transform: rotate(-45deg);
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
    position: relative;
    top: -1px;
}
.accordion-button:not(.collapsed)::after {
    content: "";
    transform: rotate(45deg);
}
.accordion-button,
.accordion-button:not(.collapsed) {
  background: 0 0;
  border: 0;
  box-shadow: none;
  color: #fff;
}
.row-number {
    color: #fff;
}
.refresh-button {
    font-size: 0.875rem;
    font-weight: 500;
    position: absolute;
    top: 0.7rem;
    right: 1rem;
    padding: 0.5rem 1.25rem !important;
}
.accordion-button-custom {
    display: inline-block;
    width: auto;
}
.party-row {
  display: grid;
 /*  grid-template-columns: 40px 1fr 1fr 1fr 1fr 40px; */
 grid-template-columns: 18.813rem 18.813rem 18.813rem 18.813rem 18.813rem 1fr;
  gap: 5.8px;
  align-items: center;
  margin-bottom: 0.125rem;
  padding-bottom: 0.125rem;
}
.delete-button > i {
  color: #ff8b8b;
  cursor: pointer;
} 
.section-content {
  overflow: auto;
  max-height: 4.5rem;
  margin-top:0.25rem;
} 
#documentMatrix {
  margin-top: 0.625rem;
}
.matrixhd {
  display: flex;
  width: 97%;
  justify-content: space-between;
  color: #fff;
 padding: 0px 0.375rem;
}
.submitbox>.btn {
    line-height: 1.2;
    font-size: 0.85rem;
}
.matrix-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 0.25rem;
  /* border-top: 1px dotted #595959; */
  padding-top: 0.375rem;
}
.matrix-data > h6 {
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.125rem;
  color:#b8bcc3;
  margin-top: 0;
  font-weight:bold;
}
.matrix-data > p {
  margin-bottom: 0;
}
.matrix-data > p {
  font-size: 0.85rem;
  color: #b8bcc3;
}
.matrix-data {
  border: 1px solid #2d3448;
  padding: 0.375rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.account-maxtrix{border-color:#505483;}
.account-maxtrix p{color: #6B76E6;}
.uploaded-matrix{border-color:#415f33;}
.uploaded-matrix p{color: #59A436;}
.required-matrix{border-color:#59291B;}
.required-matrix p{color: #F9913C;}
.shortfall-matrix{border-color:#4B3619;}
.shortfall-matrix p{color: #F7CA15;}
.matrix-tab-flex {
  display: flex;
  border: 1px solid #292d36;
  border-radius: 4px;
}
.matrix-tab-flex button.nav-link.active {
  background: #162850;
  border: 1px solid #1b3a7f;
  color: #3476c8;
}
.matrix-tab-flex button.nav-link {
  margin: 0.25rem;
  border-radius: 6px;
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 500;
  background: #070707;
  color: #3476c8;
  border: 1px solid #2d3448;
}
.notification-box {
  max-height: 16.25rem;
  overflow: auto;
}
.section-content::-webkit-scrollbar {
  width:0.375rem;
}
.section-content::-webkit-scrollbar-track {
  background: #2b2f38;
}
.section-content::-webkit-scrollbar-thumb {
  background: #2e5edf;
  cursor: pointer;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dashboard-title h5 {
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.dashboard-title p {
  color: #b0b8d1;
  margin: 0;
  font-size: 0.875rem;
}
.new-application-btn {
  background: linear-gradient(90deg, #2e5edf 0, rgb(51 127 243) 50%, #2e5edf 100% );
  border: none;
  color: #fff;
  font-weight: 500;
  border-radius: 4px;
  padding: 0.375rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  right: 0.938rem;
  top: 0.625rem;
  white-space: nowrap;
}
.composite-back-btn{
  font-weight: 500;
  border-radius: 4px;
  padding: 0.188rem 1.25rem;
  box-shadow: 1px -2px 0px #666666 !important;
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.composite-back-btn>i.fa.fa-long-arrow-left {
    font-size: 1.375rem;
}
.composite-back-btn:hover{
	transform: scale(0.96);
}
.new-application-btn i {
  font-size: 1.125rem;
}
.card-custom {
  border-radius: 12px;
  padding: 10.625rem 1.25rem;
  transition: 0.3s;
  border: 1px solid #292d36;
}
.card-custom:hover {
  background: rgba(255, 255, 255, 0.1);
}

button.download-btn {
    border: 0;
    background: linear-gradient(90deg, #2e5edf 0, rgb(51 127 243) 50%, #2e5edf 100%);
    border-radius: 4px;
    font-size: 0.72rem;
    align-items: center;
    padding-top: 0.25rem;
    margin-right: 0.375rem;
}

.form-control-new {
    display: block;
    width: 100%;
    /* padding: .47rem .75rem;
    font-size: .9rem; */
    font-weight: 400;
    color: #b8bcc3;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    border: 1px solid #2d3448;
    border-radius: 0.2rem;
    -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}
.form-select {
    display: block;
    width: 100%;
    font-weight: 400;
    color: #b8bcc3;
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 1rem 0.75rem;
    border: 1px solid #2d3448;
    border-radius: .25rem;
    -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}
.form-select option {
    background: #000000;
}
.me-1{
	margin-right:.25rem!important;
}
.mb-10{
	margin-bottom:0.625rem;
}
.mb-6{
	margin-bottom:0.375rem;
}
.d-block{
	display:block !important;
}
.p-0{
	padding:0 !important;
}
.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 0.25rem !important;
}
.gap-2 {
  gap: 0.5rem !important;
}
.gap-3 {
  gap: 1rem !important;
}
.gap-4 {
  gap: 1.5rem !important;
}
.gap-5 {
  gap: 3rem !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}
.nav-new {
    padding: 0.5rem 1rem;
    color: #6c757d;
    border: 1px solid #2d3448;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    background: #181818;
    border-radius: 4px;
}
.doc-submission {
    padding: 0.25rem;
}
.form-control-new::placeholder {
    color: #b8bcc3;
}
.btn:hover, .btn:focus, .btn.focus{
	outline: none;
}
/* Table */
.darkTable .document-tab,
.darkTable thead {
  background:#333333;
  color:#fff;
}
.darkTable .table > :not(caption) > * > * {
  padding: 0.4rem 0.5rem;
  font-size: 0.7rem;
  background: 0 0;
}
.top-table-part {
  background: #1d274c;
  padding: 0.5rem;
  color: #fff;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  display: flex;
  justify-content: space-between;
}
.darkTable td { border: 1px solid #333333;font-size: 0.8rem;}
.darkTable>thead>tr>th {border-bottom: 1px solid #2d3448; font-size: 0.75rem; font-weight:500; letter-spacing: 0.5px;}
.darkTable {color: #fff; margin-bottom: 0;}
.border-0{border: 0px !important;}
.pad-0{padding: 0 !important;}
.w-100{ width:100%;}
.composite-text-right{text-align: right;}
.composite-main-content input[type="file"]:focus, .composite-main-content input[type="radio"]:focus, input[type="checkbox"]:focus {
    outline: 0px auto -webkit-focus-ring-color;
    outline-offset: 0;
}
.conposite-clearTrailBtn{margin-right: 5.625rem;}
.matrix-tab-flex button.nav-link:hover {
    transform: scale(0.96);
}
.form-control-new:-webkit-autofill,
.form-control-new:-webkit-autofill:hover,
.form-control-new:-webkit-autofill:focus,
.form-control-new:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #070707 inset !important;
  -webkit-text-fill-color: #b8bcc3 !important;
  caret-color: #000; /* cursor color */
  transition: background-color 9999s ease-in-out 0s;
}
.maxtrixHistory-tab{margin-bottom: 0.313rem;}
.bg-transparent{
	background:transparent !important;
}

.form-select::-webkit-scrollbar {
  width: 0.375rem;
}

/* Track */
.form-select::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
/* Handle */
.form-select::-webkit-scrollbar-thumb {
  background: #888; 
}
@media (min-width:1024px){
	.row-new {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: calc(-1 * 0.5rem);
    margin-right: calc(-.5 * 0.5rem);
    margin-left: calc(-.5 * 0.5rem);
}
.row-new > * {
  flex-shrink: 0;
  padding-right: calc(0.5rem * 0.5);
  padding-left: calc(0.5rem * 0.5);
  margin-top: 0.5rem;
}
}

/*-----------New Screen --------*/

.darkTable .progress {
    height: 0.438rem;
    margin-bottom: 0.125rem;
}
.table-filter{display: flex;}
.new-application-tab {
    position: absolute;
    top: 0.5rem;
    right: 0.938rem;
}
.webBg-border {
    background: #162850;
     border: 1px solid #1b3a7f !important;
}
.card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 14px;
    margin-bottom: 0.25rem;
}
.stat-title {
    font-size: 1rem;
    margin-bottom: 0.313rem;
    color: #B8BCC3;
    font-weight: bold;
}
.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
.stat-sub {
    font-weight: 500;
}
.justify-content-between {
    justify-content: space-between;
}
.new-application-btn.nav-link.active{
    display: none;
}
.custom-cardbg{
	background: #0d0d0e;
}
.bg-value{
    background-color: #559739;
}
.text-value{
    color: #559739;
}
.bg-loanSize{
   background-color: #a79f0e;
}
.text-loanSize{
   color: #a79f0e;
}
.bg-activeStage{
    background-color: #11b3d5;
}
.text-activeStage{
    color: #11b3d5;
}
.actionbtn {
	cursor:pointer;
    text-align: center;
    display: inline-flex;
    background: #162850;
    padding: 1px 10px;
    color: #0f9cf3;
     border-radius: 20px;
}
.custom-text-info {
    color: #1fb3fb;
}
.ag-composite {
    margin-top: 0.375rem;
}
.ag-composite .ag-header-viewport {
    background: #333333;
    color: #FFFFFF ;
    font-size: 0.75rem;
    font-weight: 600;

}
.ag-composite .ag-row .ag-cell:first-child {
    border-left: 1px solid #242425;
}
.ag-composite .ag-row-even {
    background-color: #0d0d0e  !important;
    border-bottom: 1px solid #424242 !important;
}
.ag-composite .ag-row-odd {
    background-color: #1A1A1A !important;
    border-bottom: 1px solid #333333 !important;
}
.ag-composite .ag-cell-no-focus {
    border-right: 1px solid #333333 !important;
    color: #999999; 
}
.ag-composite .ag-header-cell {
    border-right: 1px solid #3e3e3e !important;
}
.ag-composite .ag-body {
    background-color: #111111 !important;
}
.composite-grid-sec .dropdown-menu {
    background-color: #1b1b1b !important;
}
.composite-grid-sec .grid-search, .composite-grid-sec .date-search, .composite-grid-sec .function-inputbox {
    background-color: #0b0b0b !important;
    border: #6f6d6d 1px solid !important;
}

/*-------2nd theme -------*/
.second-theme-main-container .composite-back-btn, .second-theme-main-container .submitbox>.btn {
    background:#1e1e1e;
    border: 1px solid #706c6c;
    color:#fff !important;
}
 .second-theme-inner .sectionStyle
 {
    background: #1e1e1e;
    border: 2px solid #706c6c;
    margin-bottom:0.938rem;
    padding: 0.5rem 0.625rem;
}
.second-theme-inner .second-theme-action-button {
    background: #1924b1 !important;
    border: 1px solid #7781ff !important;
    text-transform: uppercase;
    box-shadow: 1px -2px 0px #505cff !important;
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    overflow:hidden;
    border-radius:50px;
    z-index:9;
}
.second-theme-inner .second-theme-action-button:hover{
	transform: scale(0.96);
}
.second-theme-inner .second-theme-action-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
    transform: skewX(-20deg);
    opacity: 0;
}
/* Hover animation */
.second-theme-inner .second-theme-action-button:hover::before {
    animation: run-light-left 1s ease-out forwards;
    opacity: 1;
}

@keyframes run-light-left {
    0% { left: -100%; }
    100% { left: 100%; }
}
 .second-theme-inner .document-tab.nav-link.active,  .second-theme-inner .matrix-tab-flex button.nav-link.active {
    background: #1924b1 !important;
    color: #ffefef;
    border: #333333 !important;
    box-shadow: 1px -2px 0px #505cff;
}
 .second-theme-inner .second-theme-doc {
    margin-top: 0.625rem;
    display:block;
    
}
.second-theme-inner .matrix-tab-flex button.nav-link {
    background: transparent;
    /* border: transparent; */
    box-shadow: 1px -2px 0px #636363;
}
.second-theme-inner .matrix-tab-flex {
    background: #181818;
    border-bottom: 1px dotted gray;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}
.second-theme-inner .secondtheme-docSubmit>.webhd-position {
    top: -0.625rem;
}
.second-theme-inner .nav-new {
   border-top:0;
   border-left:0;
   border-right:0;
   border-bottom: 1px dotted #929292;
}
.second-theme-inner .secondtheme-docSubmit .document-tab {
    background: transparent;
    border-color: transparent !important;
}
.second-theme-inner .second-theme-doc .file-submit {
    margin-top: -1.688rem;
}
.second-theme-inner .second-theme-matrix .accordion-item-section{
	padding: 0.375rem 0.25rem;
    border: 1px solid #706c6c;
    border-radius: 6px;
}
.second-theme-inner #topSection .accordion-button-custom::after{
    content: "";
    border: solid #ffffff;
    border-width: 0 1.5px 1.5px 0;
    position: relative !important;
    right: 0px;
    top: -0.125rem;
}
.second-theme-inner .accordion-button-custom::after {
    content: "";
    border: solid #ffffff;
    border-width: 0 1.5px 1.5px 0;
    position: absolute;
    right: 0.625rem;
    top: 0.625rem;
}
.sec-theme-heading {
    overflow: hidden; 
    position: absolute;
    top: -1.4rem;
    display: flex;
    align-items: center;
    gap: 0 6px;
    background: #1924b1 !important;
    padding: 0 0.85rem 0.2rem 0 !important;
    border-radius: 4px;
    border: 1px solid #7781ff !important;
    white-space: nowrap;
    color: #fff !important;
    font-weight: bold;
    font-size: .9rem;
    text-transform: uppercase; 
    box-shadow: 1px -2px 0px #505cff !important;
    transform: scale(1);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sec-theme-heading span {
    margin-top: 2.5px !important;
}
.sec-theme-heading::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
    transform: skewX(-20deg);
    opacity: 0;
}

/* Hover animation */
.sec-theme-heading:hover::before {
    animation: run-heading 1s ease-out forwards;
    opacity: 1;
}

@keyframes run-heading {
    0% { left: -100%; }
    100% { left: 100%; }
}


.sec-theme-btn {
    width: 100%;
    overflow: hidden; 
    display: flex;
    align-items: center;
    gap: 0 6px;
    background:#3c3c3c !important;
    padding: 0.75rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #6c6c6c !important;
    white-space: nowrap;
    color: #fff !important;
    font-weight: bold;
    font-size: .85rem !important;
    text-transform: uppercase; 
   /*  box-shadow: 1px -2px 0px #a9a9a9 !important; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sec-theme-btn:hover{
   box-shadow: 1px 2px 0px #a9a9a9 !important;
}

.second-theme-inner .second-theme-doc-submission-hd {
    margin-top: 0.2rem;
    margin-bottom: 0.1rem;
}

.second-theme-inner .section-content {
    margin-top: 0.875rem;
}
.second-theme-inner .matrix-tab-flex button.nav-link {
    color: #aaaaaa;
}
.d-none{
	display:none;
}
.second-theme-icon i.d-none {
    display: inline;
}
.second-theme-inner .second-theme-matrix .matrix-row {
    padding: 0.375rem;
}
.second-theme-inner .second-theme-doc-submission-hd .document-tab{
    /* background: transparent;
    border: transparent !important; */
    box-shadow: 1px -2px 0px #636363;
    border-radius: 0 !important;
    margin-right: 0.25rem;
}
.status-complete {color: #28a745 !important;}
.status-incomplete { color: #dc3545;}
.complete-bg {border: 1px solid #082c08;}

.second-theme-inner {
    margin-top: 1rem;
}
.second-theme-inner .second-theme-matrix .matrix-tab-flex button.nav-link {
    padding: 0.375rem 0.75rem;
    border-radius: 0 !important;
}
.second-theme-inner .form-select, .second-theme-inner input.form-control-new {
   /*  height: 1.875rem; */
    border:1px solid rgb(232 232 232 / 69%);
}
.second-theme-inner .second-theme-margin-top{
	margin-top:0px;
}
.second-theme-inner .form-label {
    font-weight: 400;
}

.second-theme-inner .conposite-clearTrailBtn {
    margin-right: 6.438rem;
    top: -2.5rem !important;
    padding: 0.313rem 0.75rem !important
}
.matrix-history-section{
    padding: 0.5rem 0.625rem !important;
}
.second-theme-inner .matrix-history-section{
   margin-top:0.625rem;
   padding:0 !important;
}

.header-center .ag-header-cell-label, .cell-center{
    display: flex !important;
    align-items: center; 
    justify-content: start;    
    height: 100%;
}

.ag-composite {
    text-align: left !important;
}
/* Status */
.composite-status {
      display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0px 0.375rem;
    border-radius: 4px;
    height: 80%;
    width: fit-content;
    text-transform: capitalize;
    min-width: 6.9rem;
}
.composite-status-green {
    color: #22C55E;
    background: #122d28;
    border: 1px solid #307054;
}
.composite-status-white {
    background: #3c301f;
    color: #f1a744;
    border: 1px solid #785c37;
}
.composite-status-blue {
    color: #3B82F6;
    background: #102437;
    border: 1px solid #395a9b;
}
.composite-status-red {
    color: #ff6868;
    background: #2e0f14;
    border: 1px solid #7b1e23;
}
.composite-status-yellow {
    color: #EAB308;
    background: #322b0c;
    border: 1px solid #7e6a1c;
}
.composite-status-purple {
    color: #A855F7;
    background: #241036;
    border: 1px solid #7231a4;
}
.composite-status-dark-red {
    color: #c45959;
    background: #230f0f;
    border: 1px solid #7b1e1e;
}
.pending-bg {
    border-color: #7e3939;
}
.pending-bg p{
	color:#ff4c4c;
}
/* Scroll */
.documentScroll {
    overflow-y: auto; 
    scrollbar-width: thin;
    scrollbar-color:#9e9e9f #474747;
}
.documentScroll::-webkit-scrollbar {
    width: 0.25rem;
}
.documentScroll::-webkit-scrollbar-track {
    background: #706c6c;
}
.documentScroll::-webkit-scrollbar-thumb:hover {
    background: #a0a8ff;
}
/* Grid top part */
.composite-grid-sec .composite-child-grid-search, .composite-grid-sec .composite-child-calendar .gridheading-controls-mobil { align-items: center;}
.composite-grid-sec .composite-child-grid-search input {
    width: 11.25rem;
    border-radius: 6px;
    padding:0.375rem;
}
.composite-grid-sec .composite-child-calendar .filter_height {
    height: 1.813rem;
    width: 10.625rem;
    border-radius: 6px;
    font-size: 0.85rem;
}
.documentScroll {
    overflow-y: auto;
}

.composite-grid-sec .composite-child-calendar .function-inputbox {
    height: 1.75rem;
    font-size: 0.85rem;
}
.composite-grid-sec {
    border: 1px solid #333333;
    border-radius: 8px;
    margin-top: 0;
    padding:0;
}
.composite-grid-sec .gridheading-controls {
    top: 0.188rem;
    right: 1rem;
    display: flex;
    gap: 0 4px;
    align-items: center;
}
.composite-grid-sec .grid-paging-bg {
    padding: 0.2rem 0.625rem;
    background: #2f2f2f;
    margin: 0;
    margin-top:0.25rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    gap: 0 8px;
    align-items: center;  
}
.composite-grid-sec .composite-child-grid-search span {
    font-size: 0.875rem !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.composite-grid-sec .gridheading-controls label {
    font-size: 0.875rem;
    font-weight: 400;
}
.composit-back-button-position{
    gap: 0 0.625rem;
}
.composite-reset-btn
 {
    position: absolute;
    right: 0.938rem;
    top: 0px;
}
.loanId {
    color: #ffc708;
    border: 1px solid #ffdf70;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    line-height: 1rem;
}
.add-button {
  background: linear-gradient(90deg, #2e5edf 0, rgb(51 127 243) 50%, #2e5edf 100%);
  color: #fff;
  border: none;
  border-radius: 4px;
   padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: background-color 0.2s;
  position: absolute;
  right: 0.375rem;
  top: 0.25rem;
  z-index: 9;
  min-width: 5rem;
  align-items: center;
  justify-content: center;
}
.floating-button {
    overflow: hidden;
    background: #1924b1 !important;
    border: 0;
    color: #fff;
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 100px;
    position: absolute;
    z-index: 99;
    bottom: 0.75rem;
    right: 0.875rem;
    transform: scale(1);

    /* 3D + shadow depth */
    box-shadow: 0 -2px 0px #6a75ff;
    transform: perspective(500px) translateZ(0) rotateX(0deg);
    transition:  transform 0.35s ease, box-shadow 0.35s ease;
}
.floating-button i.fa.fa-plus{
	font-size:1.5rem;
}
/* Hover 3D effect */
.floating-button:hover {
    transform: perspective(500px) translateZ(10px) rotateX(5deg) scale(0.96);
    box-shadow: 0 2px 0px #6a75ff;
    transform: scale(0.9);
}
/* Light sweep shine */
.floating-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.35) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    opacity: 0;
    transition: 0.5s ease;
}

.floating-button:hover::before {
    left: 120%;
    opacity: 1;
}
.download-span{
	text-overflow: ellipsis;
    overflow: hidden;
}
.second-theme-doc-submission-tab #uploadFileInput {
   /*  line-height: 1.563rem; */
       padding: 0.28rem 0.5rem !important;
}
/* #tab-content-area-id {
    height: 25vh;
    overflow: auto;
} */

.composite-pagination {
  display: flex;
  list-style: none;
  gap: 3px;
}

.composite-pagination button,
.composite-pagination .dots {
  border: 0;
  background: #fff;
  color: #333;
  padding: 0.275rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
  min-width: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.composite-pagination button:hover {
  background: #1976d2;
  color: #fff;
}

.composite-pagination .active {
  background: #1976d2;
  color: #fff;
}

.composite-pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

.composite-pagination .dots {
  cursor: default;
  border: none;
}
/* Matrix New Designs */
.maxtrix-summary-row { display: grid; grid-template-columns: 9.375rem 1fr auto auto auto auto 1fr auto; gap: 1.25rem; align-items: center; padding: 0.25rem 1rem; background: #171717; border-radius: 4px; margin: auto; width: 100%; /* box-shadow: 0 3px 8px rgba(0,0,0,0.08); border: 1px solid #e8e8e8b0;*/ font-size: 0.875rem;}
.maxtrix-label { font-size: 0.688rem; text-transform: uppercase; color:#bbbbbb; margin-bottom: 0.25rem;}
.maxtrix-value { letter-spacing: 0.5px; color: #fff; }
.maxtrix-badge { display: inline-flex;  align-items: center; justify-content: center;  padding: 0.25rem 0.75rem;  font-size: 0.75rem;  border-radius: 20px;  border: 1px solid transparent; }
.maxtrix-badge-success { background: rgba(25,135,84,0.2); color: #198754; border-color: rgba(25,135,84,0.3);}
.maxtrix-badge-warning { background: rgba(255,193,7,0.2); color: #f0ad00; border-color: rgba(255,193,7,0.4);}
.maxtrix-badge-muted { background: #3c3c3c; color: #cacaca;}
.maxtrix-status-success { color: #34a36f;font-weight: 600;}
.maxtrix-progress-container { min-width: 6.25rem;}
.maxtrix-progress-top { display: flex;justify-content: space-between; margin-bottom: 0.375rem;}
.maxtrix-progress-bar-bg { width: 100%; height: 0.438rem; background: #e9ecef; border-radius: 10px; overflow: hidden;}
.maxtrix-progress-bar-fill {width: 100%; height: 100%; background: #34a36f;}
.maxtrix-btn-circle {width: 2.25rem; height: 2.25rem; border: none; border-radius: 50%; background: #2c2b2b; display: flex; align-items: center; justify-content: center; cursor: pointer;transition: background .2s;}
.maxtrix-btn-circle:hover {background: #4d4d4d;}
.maxtrix-ellipsis {font-size: 1.25rem; color: #e5e5e5;}
.status-pending { background: rgb(255 87 87 / 20%); color: #F44336; border-color: rgb(255 125 125 / 40%);
}
/* Matrix End New Designs */
#bottomSection {
    transition: height 0.25s ease, max-height 0.25s ease;
}
#tab-content-area-id::-webkit-scrollbar {
    width: 0.25rem;
}
#tab-content-area-id::-webkit-scrollbar-track{
    background: #706c6c;
}
 #tab-content-area-id::-webkit-scrollbar-thumb:hover{
    background: #a0a8ff;
}
.grid-numberof-item {
    color: #fff;
}
.composite-grid-page-count-select{
    min-width: 4.375rem;
    border-radius: 4px;
    margin-right: 0.625rem;
    padding: 0.1rem;
}
  .pulse {
    animation: pulseAnim 1.5s infinite;
  }
  @keyframes pulseAnim {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
 .ag-composite .ag-body-viewport {
    padding-bottom: 2.5rem !important;
}
.table-striped-dark>tbody>tr:nth-of-type(odd){
	background-color: #0d0d0e;
}
.table-striped-dark>tbody>tr:nth-of-type(even){
	background-color: #1a1a1a;
}
.composite-grid-sec>filterbar {
    position: relative;
    top: 2px;
}
.backToComposite-icon{
	cursor:pointer;
	cursor: pointer;
    padding: 0.5rem 0.75rem;
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
}
.backToComposite-icon:hover
 {
    transform: scale(1.5);
}
/* DropDown with Search */

.composite-custom-dropdown {
    position: relative;
    width: 100%;
    font-size: 0.875rem;
}
.composite-selected {
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid rgb(232 232 232 / 69%);
    display: flex;
    align-items: center;
    color: #b8bcc3;
    font-size: 0.85rem !important;
    padding: 0.35rem 0.5rem !important;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}
.composite-dropdown-panel {
   position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #e8e8e8b0;
    border-top: none;
    background: #000000;
    border-radius: 0 0 4px 4px;
    max-height: 13.75rem;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2000;
    color: #fff;
}
.composite-dropdown-panel::-webkit-scrollbar {
  width: 0.375rem;
}
.composite-dropdown-panel::-webkit-scrollbar-track {
  background: #2b2f38;
}
.composite-dropdown-panel::-webkit-scrollbar-thumb {
  background: #2e5edf;
  cursor: pointer;
}
.composite-dropdown-panel::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.composite-search-input {
    width: 100%;
    padding: 0.125rem 0.625rem;
    border: none;
    border-bottom: 1px solid #878585;
    outline: none;
    background: #3c3c3c;
    font-size: 0.85rem !important;
    color:#b8bcc3;
    position: sticky;
    top: 0;
}
 
.composite-search-input:focus {
    border-bottom-color: #007bff;
}
.composite-options-item {
   padding: 0.25rem 0.625rem;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.85rem !important;
    color:#b8bcc3;
}
.composite-options-item:hover {
    background: #333333;
}
/* End DropDown with Search */

@media (max-width:1540px){
	.second-theme-inner .form-select, .second-theme-inner input.form-control-new, .composite-selected {
   /*  height: 1.5rem !important; */
    padding: 0.2rem 0.5rem !important;
}
.second-theme-doc-submission-tab #uploadFileInput {
    padding: 0.1rem 0.5rem !important;
}
.sec-theme-heading{
	font-size: .8rem !important;
}
.loanId {
    padding:0.1rem 0.75rem !important;
}
.second-theme-inner .section-content { margin-top: 0.4rem !important; max-height: 4rem;}
.row-new > * { margin-top: 0.2rem;}
.second-theme-inner .sectionStyle{margin-bottom:0.4rem !important;}
.floating-button { width: 4.2rem; height: 4.2rem;}
.sec-theme-btn {padding: 0.375rem 0.75rem;}
.file-submit {padding: 0.25rem 0.75rem;}
.submit-loan { padding: 0.25rem 1.25rem;}
.add-button { padding: 0.25rem 0.75rem;}
.refresh-button { padding: 0.25rem 1.25rem !important;}
}


/* LIGHT THEME CODE */
#light-mode {
    background: #c1c1c1;
}

#light-mode .second-theme-inner .sectionStyle
 {
    background: #ffffff;
    border: 2px solid #ffffff;
}
#light-mode .sec-theme-btn {
    background: #e2e2e2 !important;
    border: 1px solid #d3d3d3 !important;
    color: #333 !important;
}
#light-mode .second-theme-inner #topSection .accordion-button-custom::after {
    border: solid #333;
        border-width: 0 1.5px 1.5px 0;
}
#light-mode .second-theme-inner .form-select, .second-theme-inner input.form-control-new {
    border: 1px solid #a9a9a9;
}
#light-mode .form-control-new:focus {
    background-color: #f0f0f0;
    border-color: #a9a9a9;
}
#light-mode .form-control-new::placeholder, #light-mode .form-select,
#light-mode input.form-control-new::placeholder  {
    color: #333;
}

#light-mode .form-label {
    color: #000000;
}
#light-mode .nav-new {
    color: #6c757d;
    background: #f2f2f2;
}
#light-mode .second-theme-inner .matrix-tab-flex {
    background: #f2f2f2;
}
#light-mode .form-select option {
    background: #ffffff;
}
#light-mode .sec-theme-heading {
    background: #ab6d00 !important;
    border: 1px solid #ffdca0 !important;
    color: #fff !important;
    box-shadow: 1px -2px 0px #ffdca0 !important;
}
#light-mode .second-theme-inner .second-theme-action-button {
    background: #ab6d00 !important;
    border: 1px solid #ffdca0 !important;
    box-shadow: 1px -2px 0px #ffdca0 !important;
}
#light-mode .second-theme-inner .document-tab.nav-link.active, #light-mode .second-theme-inner .matrix-tab-flex button.nav-link.active {
    background: #ab6d00 !important;
    color: #fff !important;
    border: 1px solid #ffdca0 !important;
    box-shadow: 1px -2px 0px #ffdca0 !important;
}
#light-mode .second-theme-inner .matrix-tab-flex button.nav-link {
    background: #2c2c2c;
    box-shadow: 1px -2px 0px #636363;
    border: 1px solid #636363;
    color: #fff !important;
}
#light-mode .composite-selected {
    border: 1px solid #a9a9a9;
    color:#333;
}
#light-mode .composite-dropdown-panel {
    border: 1px solid #e8e8e8b0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #000000;
}
#light-mode .composite-options-item {
    color: #333;
}
#light-mode .second-theme-inner .second-theme-matrix .accordion-item-section {
    border: 1px solid #dcdcdc;
    background: #f2f2f2;
}
#light-mode .matrixhd {
    color: #333;
}
#light-mode .maxtrix-summary-row {
    background: #ffffff;
}
#light-mode .maxtrix-label
 {
    color: #333;
}
#light-mode .maxtrix-btn-circle {
    background: #f3f3f3;
}
#light-mode .maxtrix-ellipsis
 {
    color: #777777;
}
#light-mode .second-theme-inner .accordion-button-custom::after {
    border: solid #333;
        border-width: 0 1.5px 1.5px 0;
}
#light-mode .composite-options-item:hover {
    background: #e8e8e8;
}
#light-mode .composite-search-input {
    border-bottom: 1px solid #b3b3b3;
    background: #aaa8a8;
    color: #333;
}
#light-mode .darkTable .document-tab, #light-mode .darkTable thead {
    background: #e2e2e2;
    color: #000000;
}
#light-mode .form-control-new:-webkit-autofill, #light-mode .form-control-new:-webkit-autofill:hover, #light-mode .form-control-new:-webkit-autofill:focus, #light-mode .form-control-new:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #f0f0f0 inset !important;
    -webkit-text-fill-color: #333 !important;
}
#light-mode .form-control-new {
    color: #333; 
}
#light-mode .composite-grid-sec {
    border: transparent;
    background: #fff;
}
/* grid with light background */

#light-mode .ag-composite .ag-header-viewport {
    background: #e8e8e8;
    color: #333;
}
#light-mode .ag-composite .ag-row-odd {
    background-color: #ececec !important;
    border-bottom: 1px solid #cdcdcd !important;
}
#light-mode .ag-composite .ag-row-even {
    background-color: #ffffff !important;
    border-bottom: 1px solid #d2d2d2 !important;
}

#light-mode .table-striped-dark>tbody>tr:nth-of-type(odd) {
   background-color: #fff;
    color: #333;
}
#light-mode .table-striped-dark>tbody>tr:nth-of-type(even){
	background-color: #ececec;
	color: #333;
}
#light-mode .darkTable td {
    border: 1px solid #dddddd;
}
#light-mode .darkTable>thead>tr>th {
    border-bottom: 1px solid #b1b1b1;
}

#light-mode .ag-composite .ag-row .ag-cell:first-child {
    border-left: 1px solid #d2d2d2;
}
#light-mode .ag-composite .ag-header-cell {
    border-right: 1px solid #d0d0d0 !important;
}
#light-mode .composite-grid-sec .grid-paging-bg {
    background: #757575;
}
#light-mode .ag-composite .ag-body {
    background-color: #ffffff !important;
}
#light-mode .ag-composite .ag-cell-no-focus {
    border-right: 1px solid #dddddd !important;
    color: #333;
}
#light-mode .composite-status-green {
    color: #c5ffdb;
    background: #0a9d40;
    border: 1px solid #0a9d40;
}
#light-mode .composite-status-blue {
    color: #98c0ff;
    background: #004c95;
    border: 1px solid #004c95;
}
#light-mode .composite-status-dark-red {
    color: #ffd2d2;
    background: #ce2424;
    border: 1px solid #ce2424;
}

#light-mode .composite-status-purple {
    color: #A855F7;
    background: #e0cbff;
    border: 1px solid #d194ff;
}
#light-mode .actionbtn {
    background: #bcbcbc;
    color: #000000;
}
#light-mode .composite-grid-sec .composite-child-grid-search span {
    color: #333 !important;
}
#light-mode .composite-grid-sec .grid-search, #light-mode .composite-grid-sec .date-search, #light-mode .composite-grid-sec .function-inputbox {
    background-color: #fff !important;
    border: #c5c5c5 1px solid !important;
}
#light-mode .tabl-icons>i{ color: #333 !important;}
#light-mode .floating-button {
    background: #ab6d00 !important;
    box-shadow: 0 -2px 0px #ffdca0;
}
#light-mode .floating-button:hover {
   box-shadow: 0 -2px 0px #ffdca0;
}
#light-mode .composite-pagination .active {
    background: #ab6d00;
}
#light-mode .grid-search, #light-mode .function-inputbox, #light-mode .date-search, #light-mode .grid-search::placeholder {
	color:#333 !important;
}
#light-mode .ag-blue .ag-header {
    border-bottom: 1px solid #bfbfbf;
}
#light-mode .ag-cell {
    color: #000000;
}
#light-mode .download-link {
    color: #0066ff !important;
}
.mdi-arrange-send-backward
 {
    font-size: 42px;
    position: relative;
    top: -3px;
}
#dark-light-mode-chanegs {
    position: absolute;
    top: -1.8rem;
    z-index: 9999;
    right: 4rem;
    font-size: 1.1rem;
    cursor: pointer;
}
#dark-light-mode-chanegs i{
	 transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	  transform: scale(1);
}
#dark-light-mode-chanegs i:hover{
	  transform: scale(1.2);
}
#dark-light-mode-chanegs i.fa.fa-moon-o{
    color: #ffffff;
}
#dark-light-mode-chanegs i.fa.fa-sun-o{
    color: #ffc41e;
}