.mh-50px{
  max-height: 50px;
}

#global-search,
.global-search-dropdown .dropdown-item {
    cursor: pointer
}

.total-counts i {
    font-size: 54px;
}

.total-count-info {
    min-height: 100px;
}

.customer-status-icon {
    font-size: 30px;
}

#customers_list .customer-icon {
    color: #2c5cc2
}

#customers_list .customer-verified-icon {
    color: #00a340
}

#customers_list .customer-duplicate-icon {
    color: #8c4751
}

#customers_list .customer-pending-icon {
    color: #c78c42
}

#customers_list #datatable_length,
#customers_list #datatable_filter {
    display: none;
}

#options_menu,
#options_menu+.dropdown-menu>.dropdown-item,
.export.dropdown-menu>.dropdown-item {
    cursor: pointer
}

#customers_show .customer-avatar {
    width: 100px;
    height: 100px;
}

#customers_show .bg-gray {
    background-color: #e5e5e8;
}

#customers_show .text-gray {
    color: #e5e5e8;
}

.form-inline-edit input:not(:disabled) {
    border: 1px solid #e1e7e9 !important
}

.form-inline-edit textarea:not(:disabled) {
    border: 1px solid #e1e7e9 !important;
    outline: none;
}

.form-inline-edit select:disabled {
    background: none;
    border: none;
    padding-left: 2px;
    padding-top: 0;
    height: auto;
}

.form-inline-edit textarea:disabled {
    border: 0;
    resize:none;
}

.form-inline-edit input {
    outline: none;
    border: 1px solid transparent;
}

.form-inline-edit .table td {
  border: none;
}

.notification-item.unread {
    background-color: #F6F6FA;
}

.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 900px;
    margin: 20px auto;
    min-height: 500px;
}

.col-20p {
    flex: 0 0 20%;
    max-width: 20%;
}

.underwriting-stats div.icon-wrapper {
    padding: 0;
    margin: 0;
    position: absolute;
    right: 0;
    top: 5px;
}
.underwriting-card-text{
    max-width: 125px;
}

.underwriting-stats .contact:hover {
    display: block;
    margin-top: 0;
}
.underwriting-listing-table i.dt-cl-icon{
    font-size: 30px;
}
.app-customer-avatar{
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}
#customer_info input {
    outline: none;
    border: 1px solid transparent;
}
.w-40{
    width: 10rem;
}
.col-2.flex-17 {
    flex: 0 0 19.6666666667%;
    max-width: 19.666667%;
}
.danger-icon{
    color: #8C4751;
}
.success-icon{
    color: #00A340;
}
.magnific-search-icon{
 color: #444444;
}
.inverite-verification{
    COLOR: #505d69;
}
.cursor-progress, .cursor-progress * {
    cursor: progress!important;
}
.company-logo img {
    width: 200px;
    object-fit: contain;
}
.flex-1{
   -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}



/* Button used to open the chat form - fixed at the bottom of the page */

  /* The popup chat - hidden by default */
  .chat-popup {
    /* display: none; */
    position: fixed;
    bottom: 0;
    right: 15px;
    /* border: 3px solid #f1f1f1; */
    z-index: 9;

  }


  /* Add styles to the form container */
  .form-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
  }

  /* Full-width textarea */
  .form-container textarea {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
    resize: none;
    min-height: 200px;
  }

  /* When the textarea gets focus, do something */
  .form-container textarea:focus {
    background-color: #ddd;
    outline: none;
  }

  /* Set a style for the submit/send button */
  .form-container .btn {
    background-color: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom:10px;
    opacity: 0.8;
  }

  /* Add a red background color to the cancel button */
  .form-container .cancel {
    background-color: red;
  }

  .open-chat-box{
    margin-bottom: 28px;
  }
  /* Add some hover effects to buttons */
  .form-container .btn:hover, .open-button:hover {
    opacity: 1;
  }
      .chat{
              margin-top: auto;
              margin-bottom: auto;
              height: 455px;
              width: 338px;
          }
          .card.chat-card{
              height: 500px;
              border-radius: 15px !important;
              background-color: rgba(0,0,0,0.4) !important;
          }
          .contacts_body{
              padding:  0.75rem 0 !important;
              overflow-y: auto;
              white-space: nowrap;
          }
          .msg_card_body{
              overflow-y: auto;
              background-color: #ffffff;
          }
          .card-header{
              border-radius: 15px 15px 0 0 !important;
              border-bottom: 0 !important;
          }
       .card-footer{
          border-radius: 0 0 15px 15px !important;
          background-color: #e4e6eb !important;
              border-top: 0 !important;
        padding: 0rem 0rem 3rem 0.25rem !important;
      }
          .container{
              align-content: center;
          }
          .search{
              border-radius: 15px 0 0 15px !important;
              background-color: rgba(0,0,0,0.3) !important;
              border:0 !important;
              color:white !important;
          }
          .search:focus{
               box-shadow:none !important;
             outline:0px !important;
          }
          .type_msg{
              background-color: #e4e6eb !important;
              border:0 !important;
              color:#050505 !important;
              height: 60px !important;
              overflow-y: auto;
          }
              .type_msg:focus{
               box-shadow:none !important;
             outline:0px !important;
          }
          .attach_btn{
      border-radius: 15px 0 0 15px !important;
      background-color: rgba(0,0,0,0.3) !important;
              border:0 !important;
              color: white !important;
              cursor: pointer;
          }
          .send_btn{
      border-radius: 0 15px 15px 0 !important;
      background-color: rgba(0,0,0,0.3) !important;
              border:0 !important;
              color: white !important;
              cursor: pointer;
          }
          .search_btn{
              border-radius: 0 15px 15px 0 !important;
              background-color: rgba(0,0,0,0.3) !important;
              border:0 !important;
              color: white !important;
              cursor: pointer;
          }
          .contacts{
              list-style: none;
              padding: 0;
          }
          .contacts li{
              width: 100% !important;
              padding: 5px 10px;
              margin-bottom: 15px !important;
          }
          .user_img{
              height: 70px;
              width: 70px;
              border:1.5px solid #f5f6fa;

          }
          .user_img_msg{
              height: 40px;
              width: 40px;
              border:1.5px solid #f5f6fa;

          }
      .img_cont{
              position: relative;
              height: 70px;
              width: 70px;
      }
      .img_cont_msg{
              height: 40px;
              width: 40px;
      }

      .user_info{
          margin-top: auto;
          margin-bottom: auto;
          margin-left: 15px;
      }
      .user_info span{
          font-size: 20px;
          color: white;
      }
      .user_info p{
      font-size: 10px;
      color: rgba(255,255,255,0.6);
      }

      .msg_cotainer{
          margin-top: auto;
          margin-bottom: auto;
          margin-left: 10px;
          /* border-radius: 25px; */
          color: #050505;
          background-color: #e4e6eb;
          padding: 10px;
          position: relative;
          min-width: 80%;
      }
      .msg_cotainer_send{
          margin-top: auto;
          margin-bottom: auto;
          margin-right: 10px;
          /* border-radius: 25px; */
          color: #ffffff;
          background-color: #0084ff;
          padding: 10px;
          position: relative;
          min-width: 80%;
      }
      .msg_time{
          position: absolute;
          left: 0;
          bottom: -15px;
          color: rgba(255,255,255,0.5);
          font-size: 10px;
      }
      .msg_time_send{
          position: absolute;
          right:0;
          bottom: -15px;
          color: rgba(255,255,255,0.5);
          font-size: 10px;
      }
      .msg_head{
          position: relative;
      }
      #action_menu_btn{
          position: absolute;
          right: 10px;
          top: 10px;
          color: white;
          cursor: pointer;
          font-size: 20px;
      }
      .action_menu{
          z-index: 1;
          position: absolute;
          padding: 15px 0;
          background-color: rgba(0,0,0,0.5);
          color: white;
          border-radius: 15px;
          top: 30px;
          right: 15px;
          display: none;
      }
      .action_menu ul{
          list-style: none;
          padding: 0;
      margin: 0;
      }
      .action_menu ul li{
          width: 100%;
          padding: 10px 15px;
          margin-bottom: 5px;
      }
      .action_menu ul li i{
          padding-right: 10px;

      }
      .action_menu ul li:hover{
          cursor: pointer;
          background-color: rgba(0,0,0,0.2);
      }
      @media(max-width: 576px){
      .contacts_card{
          margin-bottom: 15px !important;
      }
    }
    .fas fa-comments{
        color: black;
    }
    .open-chat-box{
        background-color: #ffffff;
    }


/* Add class for zoom in/out SHOW LOAN APPLICATION icons */
.zoom-icon:hover {
    -ms-transform: scale(1.2); /* IE 9 */
    -webkit-transform: scale(1.2); /* Safari 3-8 */
    transform: scale(1.2);
}
.text-color{
    color : #505d69;
}

.text-height-1 {
  line-height: 1!important;
}

.text-height-1-2 {
  line-height: 1.2!important;
}

.text-height-1-5 {
  line-height: 1.5!important;
}

.dt-button-collection{
  left: 0!important
}

.absolute-top-right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.radius-0{
    border-radius: 0  !important;
}
.portfolio-1-bg{
    background-color: #5664d2 !important ;
}
.portfolio-1-hbg{
    background-color: #5664d2;
}
.portfolio-2-bg{
    background-color: #4aa3ff !important;
}
.portfolio-2-hbg{
    background-color: #4aa3ff;
}
.portfolio-3-bg{
    background-color: #fcb92c !important;
}
.portfolio-3-hbg{
    background-color: #fcb92c;
}

.opacity-100{
  opacity: 1!important;
}

.opacity-75{
  opacity: .75!important;
}

.opacity-50{
  opacity: .5!important;
}

.opacity-25{
  opacity: .25!important;
}

.opacity-0{
  opacity: 0!important;
}

.badge-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 55px solid #888;
    border-top-color: rgba(0, 0, 0, 0.3);
    border-left: 55px solid transparent;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}
.badge-corner span {
  position: absolute;
  top: -42px;
  left: -34px;
  -ms-transform:rotate(30deg); /* IE 9 */
	-o-transform: rotate(360deg);  /* Opera 10.5 */
	-webkit-transform:rotate(46deg); /* Safari and Chrome */
	transform:rotate(46deg);
  font-size: 0.9em;
  color: #fff;
}

.badge-corner-info {
    border-top-color: #4aa3ff!important;
}

table.table.datatable td{
  position: relative;
}

table.table.datatable .badge-corner {
    border-top: 35px solid #888;
    border-left: 35px solid transparent;
}

table.table.datatable .badge-corner span{
  top: -27px;
  left: -22px;
  font-size: 0.6em;
}
#paymentInfo{
    padding-bottom: 60px;
}
#dt-table th::before, #dt-table th::after{
    display: none;
}
#dt-table th {
    position: relative;
}
#dt-table th i {
	float: right;
	cursor: pointer;
	padding: 5px 13px;
	position: absolute;
	z-index: 9;
	right: 10px;
	top: 8px;
}
#dt-table th input {
    display: none;
}
#dt-table th small {
    display: block;
}

.friend-drawer--onhover.active{
    background: rgb(190 226 245);
}
.circle-edge-score{
    width: 150px;
    height: 150px;
    background-color: #5664d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 31px;
    font-weight: bold;
}
/* ---------------------------------------------------------------------------
   FCRM-3448 — `.text-muted` failed WCAG AA on EVERY background in this theme.

   The theme ships `.text-muted { color: #74788d !important; }`. Measured
   against the shipped CSS on 2026-10-11, that grey never reaches the 4.5:1 AA
   floor for normal text:

     alert-danger    #ffd8df   3.35:1
     alert-secondary #e3e4e8   3.43:1
     alert-warning   #fef1d5   3.90:1
     body            #f8f8fb   4.12:1
     alert-light     #fcfcfd   4.25:1
     plain white     #ffffff   4.36:1

   So the alerts were never the problem — the class was. They are simply where
   it failed worst. 894 occurrences across 189 views, which is why this is one
   declaration rather than 894 markup edits: at that scale, hand-editing risks
   dropping de-emphasis where it was carrying meaning, and misses every view
   nobody thought to check.

   #595d6b measures 5.04:1 against the WORST of those backgrounds and stays in
   the same blue-grey family as #74788d, so the design intent survives — it
   just stops failing. (#495057, Bootstrap's gray-700, reaches 6.28:1 but reads
   noticeably darker.)

   ⚠️ `!important` is REQUIRED, not copied by habit. The theme's own rule carries
   it, so without it this would lose to `.text-muted` from bootstrap.min.css and
   change nothing at all. This file is the last stylesheet loaded (see
   layouts/head.blade.php), which is why the override belongs here and not in
   the vendored theme build — editing bootstrap.min.css would be reverted by the
   next theme update.

   📍 These ratios are for NORMAL text, which is the right bar: essentially every
   one of these sites sits inside a <small> (~10.5px against the 14px base), so
   the 3.0:1 large-text exemption does not apply anywhere it matters.

   ---------------------------------------------------------------------------
   FCRM-3448 follow-up — the override above BROKE DARK MODE, so it is now
   scoped by mode. Both rules are required; neither works alone.

   ⚠️ CORRECTED 2026-10-19. This block previously opened "The theme has a
   live dark mode", which was wrong in the way that matters: the MECHANISM is
   live, the CONTROL is not reachable.

   Every component is present and would work — layouts/right-sidebar.blade.php
   carries a `#dark-mode-switch`, master.blade.php includes that panel on every
   authenticated page (line 54), and app.js swaps the `href` of
   `#bootstrap-style` and `#app-style`. But the only thing that OPENS that
   panel is a `.right-bar-toggle` button in layouts/topbar.blade.php, and it
   has been inside an HTML comment since commit 0793694f, 2021-11-29. It is
   the sole `right-bar-toggle` reference outside the panel itself, and app.js
   persists no theme choice in localStorage or a cookie, so the mode cannot be
   reached or carried over by any other route.

   ⇒ **No user can currently turn dark mode on.** The light-mode rule below is
   the half that is actually load-bearing, and it is the half that matters —
   the WCAG AA failure this ticket fixes was against light backgrounds.

   The dark-mode rule stays anyway, for two reasons that are not sentiment:

     1. custom.css is loaded last and unconditionally, so an UNSCOPED rule here
        would win in dark mode too. The scoping is what stops this file
        reaching into a theme it was never measured against.
     2. The panel is still fully wired. Uncommenting one button in topbar.php
        makes dark mode live again that same deploy — at which point an
        unscoped rule would ship a 2.15:1 contrast failure with nothing to
        catch it.

   📍 The lesson recorded rather than the fix: the original sentence was
   inferred from the markup existing, not from checking whether a user could
   reach it. "The parts are present" and "a user can do this" are different
   claims. MutedTextMeetsContrastFloorTest asserts both rules regardless, so
   the guard does not depend on which is reachable.

   Measured 2026-10-17 against bootstrap-dark.css (.card background #252b3b,
   body #1d222e at line 71):

     value       on card #252b3b   on body #1d222e
     #919bae       5.04:1  pass      5.68:1  pass     <- the dark theme's own
     #595d6b       2.15:1  FAIL      2.43:1  FAIL     <- what we forced on it

   So the single global value took dark mode from passing to failing WORSE
   than the light-mode problem it was fixing (3.35-4.36:1).

   🔴 No single colour can serve both modes. This is arithmetic, not taste —
   to clear 4.5:1 the luminance windows are:

     light ceiling (pass on #ffd8df)   L <= 0.1293   <- binding
     dark  floor   (pass on #252b3b)   L >= 0.2847

   They do not overlap. Any value dark enough for alert-danger is far too dark
   for a #252b3b card, so retuning the hex CANNOT work and nobody should spend
   time trying. The fix has to be structural.

   The `data-layout-mode` attribute these selectors key on does not come from
   the theme — it has none, and there is no body class marking the mode either.
   custom.js sets it by watching `#bootstrap-style`'s href, which is the actual
   source of truth for which stylesheet is applied. See the FCRM-3448 block
   there.

   ⚠️ The ABSENT case resolves to light on purpose. If the attribute is never
   set, `:not([data-layout-mode="dark"])` still matches, so light mode keeps
   its fix. That is the safe default because dark mode is itself JS-driven —
   if the script did not run, there is no dark mode to be wrong about, so the
   marker and the mode share one point of failure and cannot disagree.
   --------------------------------------------------------------------------- */
body:not([data-layout-mode="dark"]) .text-muted {
    color: #595d6b !important;
}

body[data-layout-mode="dark"] .text-muted {
    color: #919bae !important;
}
