.del-btn-jst{
	margin-top:-10px;
	padding-right: 0px !important; 
}
.drg-mn-top {
	margin-top:5px;
}
.nm-padding-sm{
	margin-top:-10px;
}
.nm-padding{
	margin-top:-18px;
}
.m-div .select2-container {
    width: 250px !important;
}
.ElementsApp, .ElementsApp .InputElement {
    color: #31325F;
    font-size: 15px;
}

.InputContainer .InputElement {
    position: absolute;
    top: 0;
}
.ElementsApp input {
    -webkit-animation: native-autofill-out 1ms;
}
.ElementsApp input {
    background-color: transparent;
    border: none;
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 1em;
    line-height: 1.2em;
    height: 1.2em;
}
.InputContainer {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}
.ElementsApp, .ElementsApp .InputElement {
    color: #31325F;
    font-size: 15px;
}

.ElementsApp {
    font-size: 14px;
    line-height: 1.2em;
    height: 1.2em;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.CardBrandIcon-container {
    height: 100%;
    position: absolute;
    top: 0;
    text-align: center;
    width: 1.5em;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}
.ElementsApp>* {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}
.ElementsApp, .ElementsApp .InputElement {
    color: #31325F;
    font-size: 15px;
}
.border-color-success {
    border-color: #0cc485 !important;
}
.text-color-success {
    color: #0cc485 !important;
}


.nk-order-ovwg-data.buy {
    border-color: #8ff0d6;
}
.nk-order-ovwg-data {
    padding: 0.75rem 1.25rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 4px;
}
.nk-order-ovwg-data.sell {
    border-color: #b2bbff;
}
.nk-order-ovwg-data {
    padding: 0.75rem 1.25rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 4px;
}
.nk-order-ovwg-data.buy .amount, .nk-order-ovwg-data.buy .title .icon {
    color: #1ee0ac;
}
.nk-order-ovwg-data .amount {
    font-size: 1.5rem;
    font-weight: 700;
}
.nk-order-ovwg-data .info {
    font-size: 12px;
    color: #8094ae;
    margin-bottom: 0.25rem;
}
.nk-order-ovwg-data .title {
    font-size: 14px;
    line-height: 1.3;
    color: #8094ae;
    font-weight: 500;
}
.card-bordered {
    border: 1px solid #dbdfea;
}
.card-title-group .card-title {
    margin-bottom: 0;
}
.card-inner-group .card-inner:not(:last-child) {
    border-bottom: 1px solid #dbdfea;
}
.card-inner-group .card-inner:not(:last-child) {
    border-bottom: 1px solid #dbdfea;
}
.nk-wg-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nk-wg-action-content {
    position: relative;
    padding-left: 2rem;
    padding-right: 1rem;
	max-width: 90% !important;
}
.nk-wg-action-content .icon {
    font-size: 1.5rem;
    left: 0;
    position: absolute;
    color: #8094ae;
}
.nk-wg-action-content .title {
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 0.25rem;
}
.nk-wg-action-content p {
    color: #8094ae;
    font-size: 13px;
    line-height: 1.25rem;
}
.nk-wg-action-content p strong {
    color: #6576ff;
}
.nk-wg-action-content p strong {
    color: #6576ff;
}
@media (min-width: 576px){
.card-inner {
    padding: 1.5rem;
}
}
.nk-order-ovwg-data .title .icon {
    font-size: 1rem;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: #f5f6fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}
.btn-trigger {
  position: relative;
  z-index: 1;
  color: #526484;
}
.btn-trigger:focus {
  box-shadow: none;
}
.btn-trigger:before {
  position: absolute;
  z-index: -1;
  height: 20px;
  width: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  content: "";
  background-color: #e5e9f2;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s;
}
.is-dark .btn-trigger:before {
  background-color: #1f275c;
}
.show > .btn-trigger:before {
  opacity: 1;
  height: 120%;
  width: 120%;
}
.btn-trigger:hover:before, .btn-trigger:focus:before, .btn-trigger.active:not(.revarse):before {
  opacity: 1;
  height: 120%;
  width: 120%;
}
.btn-trigger.active:hover:before {
  background-color: #dbdfea;
}
a:hover .btn-trigger:before {
  opacity: 1;
  height: 120%;
  width: 120%;
}
#buddypress div.messages-options-nav {
    top: 0px!important;
}
#tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: transparent;
    border-color: transparent transparent #f3f3f3;
    border-bottom: 2px solid !important;
    color: #181c32;
    /*font-weight:600;
    font-size: 1.25rem;*/
}
#tabs .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    color: #181c32;
    font-weight: 600;
    font-size: 1.25rem;
	text-align: left;
	background-color: transparent !important;
    border-radius: 0rem !important;
}
#tabs .tab-content {
    border-left: 0 !important;
	width: 100%;
}
#tabs ul.nav-tabs li a.active:after,#tabs ul.nav-tabs li a.active:before {
	display:none !important;
}
#tabs ul.nav-tabs li+li {
    border: 0px !important;
}

.presence-icon-badge {
    margin-left: -31px;
    position: absolute;
    margin-top: 19px;
    height: 11px !important;
    width: 11px !important;
}
.online-icon-badge {
  background: #34bf49 !important;
}
.offline-icon-badge {
  background: #ff8800 !important;
}


.note-fontname {
  display:none !important;
}
.note-modal-footer {
  display:none !important;
}
.svg_big_tab_icons_i {
	height: 2.5rem!important;
    width: 2.5rem!important;
    font-size: 22px !important;
    padding-top: 15px;
}
.aside-dark .menu .menu-item .menu-link .menu-icon i {
    font-size: 18px !important;
}

.page-item.active .page-link {
    border: none !important;
}
.link-disabled{
    cursor: default;
    pointer-events: none;        
    text-decoration: none;
    color: grey;
}
#enable_commission_share_div .select2-container {
	width:338px !important;
}
#review #tabs .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    color: #181c32;
    font-weight: 600;
    font-size: 1.1rem !important;
    text-align: left;
    background-color: #f0f0f0 !important;
    border-radius: 0rem !important;
    margin-right: 4px;
    border-radius: 6px !important;
}
.currency_symbol_sign_czk{
  padding-right: 8px;
}
.currency_symbol_sign_usd,.currency_symbol_sign_gbp,.currency_symbol_sign_eur,.currency_symbol_sign_aud,.currency_symbol_sign_jpy,.currency_symbol_sign_sek,
.currency_symbol_sign_cad,.currency_symbol_sign_chf,.currency_symbol_sign_cgd,.currency_symbol_sign_zar,.currency_symbol_sign_ {
  padding-right: 1px;
}
.ui-datepicker.ui-widget-content{
    width: 260px !important;
}
.ui-datepicker .ui-state-default, .ui-datepicker.ui-widget-content .ui-state-default, .ui-datepicker .ui-widget-header .ui-state-default {
    border: none !important;
    background: transparent !important;
    color: #777 !important;
}
.nbs_sheet .bootstrap-select .dropdown-toggle .filter-option-inner-inner {
    overflow: visible !important;
}
.bg-grey-pie-color{
    background-color: #C0C7E4 !important;
}
.wp-die-message a{
  display:none !important;
}
.hide-field {
  display:none !important;
}
.product-name a{
  pointer-events: none !important;
  cursor: default !important;
  text-decoration: none !important;
  color: #333 !important;
}
.cross-sells {
  display:none !important;
}
.btns-clr {
  padding: 6px 12px !important;
  font-size: 12px !important;
}
div.mce-edit-area {
  border-right: 1px solid #cacaca !important;
}
.td-padding-0 {
 padding-left:0px !important;
}
.cart_icon_sz{
  font-size: 40px !important;
}
.cart_row_back {
  background: #f9f9f9;
  padding: 20px;
}

.mini-stat-icon {
    width: 60px;
    height: 60px;
    display: inline-block;
    line-height: 60px;
    text-align: center;
    font-size: 30px;
    border-radius: 50%;
    color: #fff;
}
.me-0 {
    margin-right: 0!important;
}
.float-end {
    float: right!important;
}
.mini-stat-info {
    font-size: 12px;
    padding-top: 2px;
}
.mini-stat-info span {
    display: block;
    font-size: 15px;
    font-weight: 600;
}
.bg-purple {
    background-color: #6d60b0!important;
}
.bg-blue-grey {
    background-color: #90a4ae!important;
}
.bg-brown {
    background-color: #8d6e63!important;
}
.bg-teal {
    background-color: #009688!important;
}


@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) {
  .tab4 .tab-content {
    width: 73% !important;
  } 
  .tab4 .item-navigation {
    width: 27% !important;
  }
  #kt_header_menu_mobile_toggle {
	display:none !important;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:landscape) {
  .tab4 .tab-content {
    width: 73% !important;
  }
  .tab4 .item-navigation {
    width: 27% !important;
  }
  #kt_header_menu_mobile_toggle {
	display:none !important;
  }
}

@media only screen and (min-device-width: 1025px) and (max-device-width: 1366px) and (orientation:landscape) {
  .tab4 .tab-content {
    width: 80% !important;
  }
  .tab4 .item-navigation {
    width: 20% !important;
  }
  #kt_header_menu_mobile_toggle {
	display:none !important;
  }
}

@media only screen and (min-device-width: 1025px) and (max-device-width: 1366px) and (orientation:portrait) {
  .tab4 .tab-content {
    width: 72% !important;
  }
  .tab4 .item-navigation {
    width: 28% !important;
  }
  #kt_header_menu_mobile_toggle {
	display:none !important;
  }
}

@media screen and (max-width: 1200px) {
  #form-vertical .wizard>.content {
    width: 65% !important;
  }
}

#wp-custom_editor-media-buttons {
   display:none !important;
}
.mce-floatpanel {
  /*left: 1050.1px !important;*/
}

#mceu_70 {
  /*left:0px !important;*/
}
.select2-container .select2-selection--single {
    height: 43px !important;
}
.mce-content-body h1 {
    font-size:150px !important;
}
div.mce-toolbar-grp {
    border-bottom:0 !important;
    background:#fff !important;
}
.mce-top-part::before {
    box-shadow: none !important; 
}
.mce-top-part {
    border-bottom: 1px solid #f5f5f5 !important;
}
.quicktags-toolbar {
    padding: 5px !important;
    border-bottom: 1px solid #f5f5f5 !important;
    background: #ffff !important;
}
.wfd-menu {
	margin-right:20px !important;
}

#sign-form th, #sign-form td {
  font-size:13px !important;
  border: 1px solid #f9f9f9;
  border-collapse: collapse;
  padding: 8px;
  text-align: left;
}

#sign-form table {
  width:100% !important;
}
/*table.dataTable {
    width: 100% !important;
    margin: 0 !important;
    min-height: 400px !important;
}*/

.verification-section {
    border: 2px solid #eff2f5;
    border-radius: 7px;
    padding: 22px;
}


        /* Container for the custom dropdown */
        .dropdown {
            position: relative;
            display: inline-block;
            /*width: 200px;*/
            cursor: pointer;
        }

        /* The selected item that appears on top */
        .dropdown .selected {
            padding: 6px;
            border: 1px solid #ccc;
            background-color: #f9f9f9;
            display: flex;
            align-items: center;
			margin-left: 33px;
        }

        /* Dropdown list */
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
            z-index: 1;
            width: 100%;
            max-height: 200px;
            overflow-y: auto;
			margin-left: 33px;
        }

        /* Show dropdown when .show class is added */
        .dropdown-content.show {
            display: block;
        }

        /* Dropdown item */
        .dropdown-content div {
            padding: 10px;
            display: flex;
            align-items: center;
            cursor: pointer;
        }

        /* Add a hover effect for dropdown items */
        .dropdown-content div:hover {
            background-color: #ddd;
        }

        /* Flag icon styling */
        .flag {
            width: 20px;
            height: 15px;
            margin-right: 10px;
            display: inline-block;
        }
		
.dropdown-content {
    display: none;
}

.dropdown-content.show {
    display: block;
}
.selectpicker + .dropdown-toggle {
  pointer-events: none;
}

.badge-info-n {
  color:#fff !important;
  background-color: #7239ea;	
}

.val-error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.data-capture-form-style {
	border: 1px solid #f2f2f2;
    padding: 20px;
    border-radius: 4px;
    margin-top: 35px;
	background: #f9f9f9;
}

.repeater-entry-section {
	border-radius: 1px solid #ddd;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
}

.advice-memos ul {
    margin-left: 0px !important;
}

#language_fl .dropdown .selected {
    padding: 6px;
    border: none !important;
    background-color: transparent !important;
    display: flex;
    align-items: center;
    /*margin-left: 95px !important;*/
}
.dashboard_task_view {   
    width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
	color: #333;
}
#calendarView .bg-info {
    background-color: #198754 !important;
}
#upcomingView .bg-info {
    background-color: #ffbf00 !important;
}
#overdueView .bg-info {
    background-color: red !important;
}
#language_fl .dropdown {
    width: 58px !important;
}
#language_fl .dropdown-content {
    width: 112px;
}
.tab4 .item-navigation {
    width: 20% !important;
}
.tab4 ul.nav-tabs {
    max-width: 190px !important;
}




.notice-modern {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(90deg, #fff9e6 0%, #fefcf5 100%);
    border-left: 4px solid #f5c237;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
  }

  /* Glowing circle accent */
  .notice-modern::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(245,194,55,0.2);
    border-radius: 50%;
    top: -30px;
    right: -40px;
    filter: blur(30px);
  }

  .notice-modern .notice-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: #f5c237;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
    z-index: 1;
  }

  .notice-modern .notice-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: #fff;
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.1); }
  }

  .notice-modern .notice-content {
    margin-left: 1rem;
    z-index: 1;
  }

  .notice-modern .notice-content h4 {
    margin: 0 0 0.25rem;
    font-size: 1.125rem;
    color: #333;
    font-weight: 600;
  }

  .notice-modern .notice-content p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .notice-modern .notice-content a {
    color: #d18d00;
    font-weight: 500;
    text-decoration: none;
  }
  .notice-modern .notice-content a:hover {
    text-decoration: underline;
  }
  
.error-highlight .form-label-span {
	color: #555;
}
.error-highlight .svg-icon.svg-icon-danger {
    margin-bottom: -10px !important;
}
.section-error {
	border: none !important;
}
/*#main-tabs-container { opacity: 0; transition: opacity .2s; }*/
  /* hide tabs until JS picks the right one */
  
#uploadIdentityModal .modal-content {
    border-radius: 1rem;
  }
  #uploadIdentityModal .modal-header {
    background: rgba(248, 249, 250, 0.9);
  }
  #uploadIdentityModal .form-floating > .form-control {
    height: calc(3rem + 2px);
    padding-top: 2.7rem;
  }
  
  .error-highlight label, .error-highlight p {
	color: #333 !important;  
  }
  
   /* container now fluid (no max-width) */
    .customTabs {
      border: 1px solid #e2e2e2;
      width: 100%;
      overflow: hidden;
    }

    /* nav bar with light gray bg so it shows on white */
    .customTabs-nav {
      display: flex;
      position: relative;
      background: #f7f8fa;
      border-bottom: 1px solid #e2e2e2;
    }
    .customTabs-nav li {
      list-style: none;
      flex: 1;
      text-align: center;
    }
    .customTabs-nav a {
      display: block;
      padding: 14px 0;
      text-decoration: none;
      color: #555;
      font-weight: 500;
      transition: color .3s;
	  font-size: 16px;
    }
    .customTabs-nav a:hover {
      /*color: #0056b3;*/
    }
    .customTabs-nav a.active {
      /*color: #004085;*/
      font-weight: 600;
    }

    /* a bit thicker, darker indicator */
    .customTabs-indicator {
      position: absolute;
      bottom: 0;
      height: 4px;
      background: #004085;
      transition: left .3s, width .3s;
    }

    /* content panes */
    .customTabs-content > .customTabs-pane {
      display: none;
      padding: 24px;
      line-height: 1.6;
      background: #fff;
    }
    .customTabs-content > .customTabs-pane.active {
      display: block;
    }

    /* optional: style headings inside panes */
    .customTabs-content h3 {
      margin-bottom: 1rem;
      font-size: 1.25rem;
      color: #004085;
    }
	
	.notice.border-warning.notice {
       border-color: transparent !important;
}
.notice.bg-light-warning.notice {
    /* background-color: #fff8dd !important; */
    display: flex !important;
    align-items: center;
    padding: 1.25rem 1.5rem !important;
    border-radius: 0.75rem !important;
    background: linear-gradient(90deg, #fff9e6 0%, #fefcf5 100%);
    border-left: 5px solid #f5c237 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}
.notice.bg-light-warning.svg-icon.svg-icon-2tx svg .notice {
    height: 2.75rem !important;
    width: 2.75rem !important;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: #f5c237;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
    z-index: 1;
    color: #fff;
    fill: currentColor;
}
.notice.bg-light-warning::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(245, 194, 55, 0.2);
    border-radius: 50%;
    top: -30px;
    right: -40px;
    filter: blur(30px);
}


/* Success Notice */
.notice.border-success.notice {
    border-color: transparent !important;
}

.notice.bg-light-success.notice {
    display: flex !important;
    align-items: center;
    padding: 1.25rem 1.5rem !important;
    border-radius: 0.75rem !important;
    background: linear-gradient(90deg, #dcf5e7 0%, #f5fffa 100%);
    border-left: 5px solid #37c237 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.notice.bg-light-success.svg-icon.svg-icon-2tx svg .notice {
    height: 3rem !important;
    width: 3rem !important;
    flex-shrink: 0;
    background: #37c237;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
    z-index: 1;
    color: #fff;
    fill: currentColor;
}

.notice.bg-light-success::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(55, 194, 55, 0.2);
    border-radius: 50%;
    top: -30px;
    right: -40px;
    filter: blur(30px);
}

    .customTabs-content .table thead th {
      background-color: #343a40;
      color: #fff;
      border-bottom: none;
      font-weight: 500;
    }

    .customTabs-content tbody tr:hover {
      background-color: #e9ecef;
    }
	.customTabs-content .total-div {
      background: #f8f9fa;
      padding: 1rem;
      border-radius: .5rem;
      text-align: right;
    }
    .customTabs-content .fst-italic {
      font-style: italic !important;
    }

@media (max-width: 767px) {
  .progress,
  .progress-bar {
    display: none !important;
  }

  .flex-lg-row-auto.w-58 {
    display: none !important;
  }
}

 /* Toggle switch */
    .new-checkbox .checkbox-group {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .new-checkbox .switch {
      position: relative;
      display: inline-block;
      width: 43px;
      height: 25px;
    }
    .new-checkbox .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    .new-checkbox .slider {
      position: absolute;
      inset: 0;
      background-color: #ccc;
      border-radius: 1.25rem;
      transition: background 0.3s;
    }
    .new-checkbox .slider::before {
      content: "";
      position: absolute;
      width: 19px;
      height: 19px;
      left: 4px;
      top: 3px;
      background: #fff;
      border-radius: 50%;
      transition: transform 0.3s;
    }
    .new-checkbox .switch input:checked + .slider {
      background-color: #ff7a00;
    }
    .new-checkbox .switch input:checked + .slider::before {
      transform: translateX(1.25rem);
    }
    .new-checkbox .checkbox-label {
      font-size: 14px;
    }
	
.logout-btn {
    display: block;
    width: 140px;
    padding: 4px 21px;
    border-radius: 30px;
    font-size: 0.95rem;
    /* font-weight: 600; */
    text-align: center;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}
.logout-btn:hover {
  transform: translateY(-2px);
}
.support-link {
  color: #4e73df;
  text-decoration: none;
  font-weight: 500;
}
.support-link:hover {
  text-decoration: underline;
}

.card-errors-section {
  display: none;                
  background: #ffe5e5;             
  color: #922;                  
  border-left: 4px solid #f66;   
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.card-errors-section ul {
  margin: 0;
  padding-left: 1.25rem;
}
.card-errors-section li {
  margin-bottom: 0.25rem;
}

.card-errors-section-submit {
  background: #ffe5e5;             
  color: #922;                 
  border-left: 4px solid #f66; 
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.card-errors-section-submit ul {
  margin: 0;
  padding-left: 1.25rem;
}
.card-errors-section-submit li {
  margin-bottom: 0.25rem;
}
.btn-gradient {
  background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.375rem 1rem;
  transition: box-shadow 0.2s, transform 0.1s;
}
.btn-gradient:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}
.btn-gradient:active {
  transform: translateY(1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
.cl-span {
    color: #000 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

    .sub-tabs{
      display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
      gap:1rem;margin-bottom:2rem;list-style:none;padding:0;
    }
    #subTabs .sub-tab{
      position:relative;display:flex;flex-direction:column;align-items:center !important;
      padding:1.1rem 1rem;border-radius:1rem !important;
      backdrop-filter:saturate(180%) blur(14px);
      background:rgba(131,56,236,.08) !important;
      border:1px dashed rgba(131,56,236,.15) !important;
      font-weight:600;font-size:.9rem;color:#7f7f7f  !important;cursor:pointer !important;
      transition:.22s;text-align:center;text-decoration:none;
    }
	#subTabs .sub-tab i{
	  color: #882e8f;
      font-size: 25px !important;
      margin-bottom: 10px !important;
    }
	#subTabs .sub-tab:hover i{
	  color: #882e8f !important;
    }
    #subTabs .sub-tab:hover{box-shadow:0 8px 22px rgba(131,56,236,.15);}
    #subTabs .sub-tab.active{
      color:#ffffff !important;border:none;transform:translateY(-2px);
    }
	#subTabs .sub-tab.active i{
	  color:#ffffff !important;	
	}
	#subTabs a.nav-link:hover .active i{
	  color:#ffffff !important;	
	}
    #subTabs .sub-tab.active::after{
      content:'';position:absolute;bottom:-6px;left:50%;
      width:8px;height:8px;border-radius:50%;background:#8338ec;transform:translateX(-50%);
    }
    #subTabs .sub-tab .count{    
	 font-size: 1.75rem;
     font-weight: 600 !important;}
	
	.kt-portlet .kt-portlet__head {
     border-bottom: none !important
    }
	table.dataTable th {
     border-bottom-color: #eff2f5;
     font-size: 14px;
     color: #000;
    }
	.dt-link-item {
	 font-size: 14px;
     font-weight: 500;
     color: #000;
	}
	.dt-link-item-summary {
	 color:#8e9898;
     font-size: 13px;
	}
	
	
.dt-button.buttons-searchBuilder {
  background-color: #e0e0e0 !important;  /* light grey */
  color: #333 !important;                /* dark grey text */
  border: 1px solid #ccc !important;     /* subtle border */
  border-radius: 0.375rem !important;     /* 6px rounding */
  padding: 0.5rem 1rem !important;
  font-weight: 500 !important;
  margin-right: 0.5rem !important;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
}

.dt-button.buttons-searchBuilder:hover {
  background-color: #d4d4d4 !important;  /* slightly darker on hover */
}
.export-dt-btn:hover {
   color: #fff !Important;
}

.dataTables_wrapper .dataTables_filter {
  position: relative;
  max-width: 320px;
  margin-left: auto;
  margin-bottom: 1rem;
  z-index: 1;
}

.dataTables_wrapper .dataTables_filter input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #fff;
  color: #333;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dataTables_wrapper .dataTables_filter input::placeholder {
  color: #aaa;
}

.dataTables_wrapper .dataTables_filter input:focus {
  outline: none;
  border-color: #6c63ff;
  box-shadow: 0 3px 12px rgba(108,99,255,0.2);
}

.dataTables_wrapper .dataTables_filter::before {
  content: "\f002";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  pointer-events: none;
}

.dataTables_wrapper .table-responsive {
  margin-top: 0;
}

.currency-notice {
  display: flex;
  align-items: flex-start;
  background-color: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #4e3b00;
}

.notice-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.2rem;
}

.notice-content h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #795548;
}

.notice-content p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.notice-content ol {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.notice-content ol li {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.nav-tabs .nav-link {
    padding-left: 0px;
    font-size: 16px;
    margin-right: 10px;
}
.add-cash-holding-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 12px;
    background: #f2f3f7;
    color: #444950;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    border: 1px solid #e0e2e6;
    box-shadow: 0 2px 12px 0 rgba(80, 80, 80, 0.05);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
	width: 100%;
    }
    .add-cash-holding-link:hover, .add-cash-holding-link:focus {
      background: #dbdee3;
      color: #23262b;
      box-shadow: 0 4px 16px 0 rgba(80, 80, 80, 0.12);
    }
    .add-cash-holding-link svg {
      margin-right: 4px;
      display: inline-block;
      vertical-align: middle;
      transition: filter 0.2s;
    }
    .add-cash-holding-link svg circle {
      stroke: #888fa1;
      fill: #f2f3f7;
      transition: stroke 0.2s, fill 0.2s;
    }
    .add-cash-holding-link svg path {
      stroke: #888fa1;
      transition: stroke 0.2s;
    }
    .add-cash-holding-link:hover svg circle {
      stroke: #23262b;
      fill: #dbdee3;
    }
    .add-cash-holding-link:hover svg path {
      stroke: #23262b;
    }
    @media (max-width: 991px) {
      .add-cash-holding-link {
        margin-top: 1rem;
      }
    }
	.nbs-product-category {
	    min-width: 130px;
		font-weight: 700;
    }
	
	/* --- NBS Modal Polished Styles --- */
#nbsValuesModal .modal-content { border: 1px solid var(--bs-border-color); border-radius: 14px; }
#nbsValuesModal .modal-header { border-bottom: 1px solid var(--bs-border-color); }

.nbs-panel {
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bs-body-bg);
}
.nbs-panel-head {
  padding: .75rem 1rem;
  background: var(--bs-gray-100);
  border-bottom: 1px solid var(--bs-border-color);
}

.nbs-row {
  display: grid;
  grid-template-columns: 180px 1fr 110px;
  gap: .75rem;
  align-items: center;
  padding: .60rem 1rem;
  border-bottom: 1px dashed var(--bs-border-color);
}
.nbs-row:last-child { border-bottom: 0; }

.nbs-row-head {
  background: var(--bs-gray-50, #f8f9fa);
  font-size: .825rem;
  font-weight: 600;
  color: var(--bs-gray-700);
  border-bottom-style: solid;
}

.nbs-list {
  max-height: 260px;        /* scroll when many rows */
  overflow: auto;
  background: var(--bs-body-bg);
}

.nbs-isin {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;
  font-weight: 700;
  letter-spacing: .25px;
}
.nbs-name { color: var(--bs-emphasis-color); }
.nbs-cur  { color: var(--bs-gray-700); }

.badge-cur {
  display: inline-block;
  padding: .25rem .5rem;
  border: 1px solid var(--bs-gray-300);
  border-radius: .5rem;
  background: var(--bs-gray-100);
  color: var(--bs-gray-800);
  font-weight: 600;
  font-size: .8rem;
}

/* Nice hover on data rows (not on header) */
.nbs-list .nbs-row:hover {
  background: color-mix(in srgb, var(--bs-primary) 6%, transparent);
}

/* Responsive: stack nicely on narrow screens */
@media (max-width: 540px) {
  .nbs-row { grid-template-columns: 1fr; gap: .25rem; }
  .nbs-row-head { display: none; }
  .nbs-cur { text-align: left !important; }
}

/* Make the UL look like a clean table */
#nbs-modal-matched-list {
  list-style: none;           /* kill bullets */
  margin: 0;
  padding: 0;
  max-height: 260px;          /* scroll when long */
  overflow: auto;
}

#nbs-modal-matched-list > li {
  display: grid;
  grid-template-columns: 180px 1fr 110px;  /* ISIN | Name | Currency */
  gap: .75rem;
  align-items: center;
  padding: .60rem 1rem;
  border-bottom: 1px dashed var(--bs-border-color);
}
#nbs-modal-matched-list > li:last-child { border-bottom: 0; }

#nbs-modal-matched-list .isin {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;
  font-weight: 700;
  letter-spacing: .25px;
  text-transform: uppercase;
}
#nbs-modal-matched-list .name { color: var(--bs-emphasis-color); }
#nbs-modal-matched-list .cur  { text-align: right; color: var(--bs-gray-700); }

#nbs-modal-matched-list > li:hover {
  background: color-mix(in srgb, var(--bs-primary) 6%, transparent);
}

/* Header strip stays as you have it */
.nbs-panel { border:1px solid var(--bs-border-color); border-radius:12px; overflow:hidden; background:var(--bs-body-bg); }
.nbs-panel-head{ padding:.75rem 1rem; background:var(--bs-gray-100); border-bottom:1px solid var(--bs-border-color); }
.nbs-row.nbs-row-head{
  display:grid; grid-template-columns:180px 1fr 110px; gap:.75rem;
  padding:.6rem 1rem; background:var(--bs-gray-50,#f8f9fa);
  font-size:.825rem; font-weight:600; color:var(--bs-gray-700); border-bottom:1px solid var(--bs-border-color);
}
.badge-cur{
  display:inline-block; padding:.25rem .5rem; border:1px solid var(--bs-gray-300);
  border-radius:.5rem; background:var(--bs-gray-100); color:var(--bs-gray-800); font-weight:600; font-size:.8rem;
}

/* Stack nicely on narrow screens */
@media (max-width: 540px) {
  #nbs-modal-matched-list > li,
  .nbs-row.nbs-row-head { grid-template-columns: 1fr; gap: .25rem; }
  #nbs-modal-matched-list .cur { text-align: left; }
}

/* Minimal safety styles; keep your existing theme styles intact */
.mov-head{
  display:flex; align-items:center; gap:12px; padding:10px 14px;
  border:1px solid #e5e7eb; border-radius:10px; background:#fff;
}
.mov-ava{width:36px;height:36px;border-radius:9999px;background:#f3f4f6;display:grid;place-items:center;font-weight:600;color:#374151}
.mov-title{display:flex;flex-direction:column;min-width:0}
.mov-title .platform-name{font-weight:600;color:#111827;line-height:1.2}
.mov-title .sub{font-size:13px;color:#6b7280}
.mov-select{margin-left:auto;min-width:180px}
.mov-select select{width:100%}

.mov-info .nm {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.mov-info .sub {
  font-size: 13px;
  color: #6b7280;
}

.mov-select {
  min-width: 180px;
}

.mov-select select {
  width: 100%;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 6px;
}

.mov-wrap .hr {
    border-top: 1px dashed #e6eaf2;
    margin: 14px 0;
}

.no-bd-top {
  border-top:0px !important;
}
.hd-no-padd {  
	border-bottom: 0px;
}
.btn-brand i {
    color:#fff !important;
}
.dropify-wrapper .dropify-message p {
    font-size:13px;
}
.dropify-wrapper {
    height: 92px!important;
    border-radius: 10px!important;
    border: 2px dashed!important;
}
.nbs_sheet #logo img {
 max-width: 74% !important;
}
.greyed-out-image{
	  -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    filter: grayscale(100%);
}
.green-status {
   color:#2dc937 !important;
}
.red-status{
   color:#cc3232 !important;
}
.amber-status{
   color:#db7b2b !important;
}
.ff-select-width{
   width: 112px;
}
.trv-hide{
   display:none;
}
.btn-brand {
  color: #fff !important;
}
ul.wpt-form-set {
    margin-left: -24px !important;
	margin-top: 35px !important;
}

#cookie-notice .cn-button {
    border: none !important;
    padding: 10px 40px !important;
    font-size: 17px !important;
    color: #fff !important;
    border-radius: 6px !important;
}

@media (max-width: 768px) {
  #kt_header_nav, #kt_header_menu_mobile_toggle {
    display: none !important;
  }
}

/*Responsive Stats*/
@media (min-width: 768px) {
   .hide-on-desktop { 
    display: none !important;
   } 
  }
  
@media (max-width: 768px) {
  #kt_toolbar, .page-title, .hide-on-mobile { 
    display: none !important;
  }
 
 .page-title-head {
    margin-top: 30px !important;
 }
 .client_dsb .notice.bg-light-warning.notice {
    display: none !important;
 } 
 .mb-sm-10 {
     margin-bottom: 25px !important;
 }
 .mb-sm-15 {
     margin-bottom: 15px !important;
 }
 
  #kt_tab_pane_4 svg {
    min-height: 280px;
  }
  .info-sidebar {
	max-width: 100% !important;  
  }
  .card .card-body {
    padding: 10px !important;  
  }
  #dropdownContent {
    margin-left:-45px !important;
  }
  .no-grow-mobile { 
    flex-grow: 0 !important; 
  }
  
.app-sidebar {
  display: flex;
  flex-direction: column;
}

#kt_aside_footer {
  margin-top: auto;
}


.user-chip{
    --size: 28px;   
    --gap: .6rem;
    display:inline-flex;
    align-items:center;
    gap:var(--gap);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  }
  .user-chip .avatar{
    width:var(--size); height:var(--size);
    border-radius:50%; object-fit:cover; display:block;
    box-shadow:0 0 0 2px #fff, 0 1px 2px rgba(0,0,0,.12);
  }
  .user-chip .text{ display:flex; flex-direction:column; line-height:1.15; min-width:0; }
  .user-chip .name{
    font-weight:600; font-size:14px; color:#0f172a; letter-spacing:.01em;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  .user-chip .email{
    font-weight:500; font-size:12px; color:#475569; text-decoration:none;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  .user-chip .email:hover{ text-decoration:underline; }

  /* Initials fallback */
  .user-chip .avatar.initials{
    background:linear-gradient(135deg,#e9eef6,#cfd8e3);
    display:grid; place-items:center; font-weight:700;
    font-size:calc(var(--size)/2.4); color:#1f2937;
  }
  .user-chip .avatar.initials::before{ content:attr(data-text); }

  /* Sizes */
  .user-chip.sm{ --size:24px; }
  .user-chip.md{ --size:32px; }
  .user-chip.lg{ --size:40px; }

  @media (prefers-color-scheme: dark){
    .user-chip .name{ color:#e5e7eb; }
    .user-chip .email{ color:#94a3b8; }
    .user-chip .avatar{ box-shadow:0 0 0 2px #0b1220, 0 1px 2px rgba(0,0,0,.4); }
  }

/* Make entire chip clickable while keeping email clickable too */
.user-chip.linkable{ position: relative; }
.user-chip.linkable .chip-hit{
  position: absolute;
  inset: 0;                 /* cover the whole chip */
  border-radius: 8px;       /* optional: soften hit area */
  z-index: 1;               /* sits behind the email link */
}
.user-chip.linkable{ cursor: pointer; }
.user-chip.linkable:hover .name{ text-decoration: underline; }

/* ensure the email link stays above the overlay and works */
.user-chip .email{ position: relative; z-index: 2; }


.user-chip{ --size:28px; --gap:.6rem; display:inline-flex; align-items:center; gap:var(--gap);
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
    .user-chip .avatar{ width:var(--size); height:var(--size); border-radius:50%; object-fit:cover; display:block;
      box-shadow:0 0 0 2px #fff, 0 1px 2px rgba(0,0,0,.12); }
    .user-chip .text{ display:flex; flex-direction:column; line-height:1.15; min-width:0; }
    .user-chip .name{ font-weight:600; font-size:14px; color:#0f172a; letter-spacing:.01em;
      overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .user-chip .email{ font-weight:500; font-size:12px; color:#475569; text-decoration:none;
      overflow:hidden; text-overflow:ellipsis; white-space:nowrap; position:relative; z-index:2; }
    .user-chip .email:hover{ text-decoration:underline; }
    .user-chip.sm{ --size:24px; } .user-chip.md{ --size:32px; } .user-chip.lg{ --size:40px; }
    .user-chip.linkable{ position:relative; cursor:pointer; }
    .user-chip.linkable .chip-hit{ position:absolute; inset:0; border-radius:8px; z-index:1; }
    .user-chip.linkable:hover .name{ text-decoration:underline; }
    @media (prefers-color-scheme: dark){
      .user-chip .name{ color:#e5e7eb; }
      .user-chip .email{ color:#94a3b8; }
      .user-chip .avatar{ box-shadow:0 0 0 2px #0b1220, 0 1px 2px rgba(0,0,0,.4); }
    }
	
	 .aside-menu.flex-column-fluid{ display:flex; flex-direction:column; min-height:100vh; }
  #kt_aside_menu_wrapper{ flex:1 1 auto; overflow-y:auto; } /* scroll menu when tall */
  #kt_aside_footer{ margin-top:auto; }

}

.only-mobile{ display:inline-flex; } 

@media (min-width:768px){
  .only-mobile{ display:none !important; }      /* hide ≥ md */
}

 /* Make chart containers fluid */
#kt_tab_pane_4 .fusioncharts-container,
#kt_tab_pane_4 [id^="chartobject-"],
#kt_tab_pane_4 #dsb-es-1 {
  width: 100% !important;
  max-width: 100%;
  display: block;
}

/* Scale any inline SVGs */
#kt_tab_pane_4 svg {
  width: 100% !important;
  height: auto !important; 
  display: block;
}

/* Icon-only pills on small screens */
@media (max-width: 768px) {
  .nav-icons-only-sm { 
    -webkit-overflow-scrolling: touch;
    gap: .5rem;
  }
  .nav-icons-only-sm .nav-item {
    flex: 0 0 auto;  
  }

  .nav-icons-only-sm .nav-link {
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px; 
  }
  
  .nav-icons-only-sm .nav-icon { 
    margin: 0 !important;
    line-height: 1;
  }
  .nav-icons-only-sm .nav-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .nav-icons-only-sm .bullet-custom { 
    display: none !important; 
  }

  .nav-icons-only-sm .nav-icon .fs-1 { 
    font-size: 1.5rem;  
  }
  .nav-icons-only-sm { 
    flex-wrap: nowrap; 
  }
  .nav-icons-only-sm .nav-link {
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    display: flex;
    align-items: center; 
    justify-content: center; 
    border-radius: 12px;
  }
  .nav-icons-only-sm .nav-icon { margin: 0 !important; }
  .nav-icons-only-sm .nav-text,
  .nav-icons-only-sm .bullet-custom { display: none !important; }

}

/* Parent card tweaks */
.client-header-card .card-body {
  padding: 1.25rem 1.5rem;
}

/* Responsive fluid name size */
.client-header-card .client-name {
  font-size: clamp(1.125rem, 0.5vw + 1rem, 1.75rem);
  line-height: 1.2;
  color: #0b2244; /* dark navy-ish, adjust to taste */
  margin: 0;
  font-weight: 600;
}

/* Avatar */
.client-header-card .avatar-img {
  width: 96px;
  height: 96px;
  border-radius: .5rem;
  overflow: hidden;
  position: relative;
  border: 2px solid #e5e7eb; /* light border */
  background: #fff;
}
.client-header-card .avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  border-radius: .5rem;
}

/* Online dot */
.client-header-card .online-indicator {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  bottom: 6px;
  right: 6px;
}

/* Risk + country row */
.client-header-card .small-meta-row {
  font-size: .9rem;
  line-height: 1.3;
}

/* Stats cards */
.client-header-card .stats-row {
  gap: .75rem;
}
.client-header-card .stat-card {
  background: #f5fdf5;              /* subtle green tint */
  border: 1px solid #d7f5d7;
  border-radius: .5rem;
  min-width: 140px;
}
.client-header-card .stat-value {
  font-size: 1.125rem;
  line-height: 1.25;
}
.client-header-card .stat-label {
  font-size: .8rem;
}

/* Actions area */
.client-header-card .actions-wrap .btn {
  white-space: nowrap;
}

/* ---------- Mobile-first tweaks ---------- */
@media (max-width: 767.98px) {
  /* Card body stacks vertically already via flex-column */

  /* Keep avatar + text nicely aligned on mobile */
  .client-header-card .avatar-img {
    width: 80px;
    height: 80px;
  }

  /* Stats go full width rows */
  .client-header-card .stats-row {
    flex-direction: column;
  }
  .client-header-card .stat-card {
    width: 100%;
  }

  /* Actions: make buttons full width below profile */
  .client-header-card .actions-wrap {
    width: 100%;
  }
  .client-header-card .actions-wrap .btn {
    width: 100%;
  }
  .client-header-card .actions-wrap .dropdown {
    width: 100%;
  }
  .client-header-card .actions-wrap .dropdown > .btn {
    width: 100%;
  }
}

/* ---------- md+ (desktop/tablet landscape) ---------- */
@media (min-width: 768px) {
  /* Lay out as row */
  .client-header-card .card-body {
    align-items: center;
  }

  /* Stats can sit inline */
  .client-header-card .stats-row {
    flex-direction: row;
  }

  /* Actions sit on the far right */
  .client-header-card .actions-wrap {
    flex-direction: row;
    width: auto;
  }
  .client-header-card .actions-wrap .btn {
    width: auto;
    flex-grow: 0;
  }
  .client-header-card .actions-wrap .dropdown {
    width: auto;
    flex-grow: 0;
  }
}

/* --- Wrapper bar (all sizes) --- */
.account-tabs-wrapper {
  border-bottom: 1px solid #e5e7eb;
  background-color: #f9fafb;
  padding-top: .5rem;
  padding-bottom: 0;
  font-weight: 500;
  color: #1f2937;
}

/* --- Tabs list base (desktop-first defaults) --- */
.account-tabs-wrapper .modern-tabs {
  margin: 0;
  padding: 0 1rem;
  list-style: none;
  border: 0;
  position: relative;

  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

/* --- Each tab link --- */
.account-tabs-wrapper .modern-tabs .nav-link {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #1f2937;
  padding: 0 0 .5rem 0;
  line-height: 1.4;
  font-size: .95rem;
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  text-decoration: none;
}

.account-tabs-wrapper .modern-tabs .nav-link:hover,
.account-tabs-wrapper .modern-tabs .nav-link:focus,
.account-tabs-wrapper .modern-tabs .nav-link.active {
  color: #16a34a; /* green */
}

/* underline for active tab on desktop */
.account-tabs-wrapper .modern-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background-color: #16a34a;
  border-radius: 999px;
}

/* icon + label base visibility */
.account-tabs-wrapper .modern-tabs .tab-icon {
  display: none; /* show later on mobile */
  font-size: 1rem;
  line-height: 1;
}

.account-tabs-wrapper .modern-tabs .tab-label {
  display: inline-block; /* hide on mobile */
}

/* =========================================================
   MOBILE <768px
   - horizontal swipe row
   - BIG icons only
   ========================================================= */
@media (max-width: 767.98px) {

  .account-tabs-wrapper {
    padding-top: .75rem;
    padding-bottom: .75rem;
  }

  /* make the list a horizontal scroller */
  .account-tabs-wrapper .modern-tabs {
    flex-wrap: nowrap;                 /* single row */
    gap: 1.25rem;
    padding-left: 1rem;
    padding-right: 1rem;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* smooth swipe on iOS */
    scrollbar-width: none;             /* hide scrollbar Firefox */
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
  }

  /* hide scrollbar in WebKit */
  .account-tabs-wrapper .modern-tabs::-webkit-scrollbar {
    display: none;
  }

  /* each item is its own snap point */
  .account-tabs-wrapper .modern-tabs .nav-item {
    flex: 0 0 auto;           /* don't shrink */
    min-width: 64px;          /* gives each icon some hit area */
    text-align: center;
    scroll-snap-align: start;
  }

  /* links: center vertically, but we only show icon anyway */
  .account-tabs-wrapper .modern-tabs .nav-link {
    flex-direction: column;   /* icon on top, (hidden) text below */
    justify-content: center;
    align-items: center;
    gap: .4rem;

    width: 100%;
    padding-bottom: .75rem;
    font-size: .8rem;
    line-height: 1.2;
    white-space: normal;
    min-width: 64px;
  }

  /* BIG icons now visible */
  .account-tabs-wrapper .modern-tabs .tab-icon {
    display: inline-flex;     /* show on mobile */
    font-size: 1.75rem;       /* <— bump size here */
    line-height: 1;
  }

  /* hide labels on mobile */
  .account-tabs-wrapper .modern-tabs .tab-label {
    display: none;
  }

  /* active underline: short bar under the icon */
  .account-tabs-wrapper .modern-tabs .nav-link.active::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 30%;
    min-width: 28px;
    bottom: 0;
    height: 3px;
    background-color: #16a34a;
    border-radius: 999px;
  }
}

/* =========================================================
   DESKTOP >=768px
   - standard text tabs
   - icons hidden
   ========================================================= */
@media (min-width: 768px) {
  .account-tabs-wrapper .modern-tabs {
    flex-wrap: nowrap;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .account-tabs-wrapper .modern-tabs .tab-icon {
    display: none;
  }

  .account-tabs-wrapper .modern-tabs .tab-label {
    display: inline-block;
  }

  .account-tabs-wrapper .modern-tabs .nav-link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .account-tabs-wrapper .modern-tabs .nav-link.active::after {
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
  }
}

/* ============== MOBILE <768px ================== */
@media (max-width: 767.98px) {

  /* turn UL into a horizontal scroll row */
  .activity-tabs {
    display: flex;
    flex-wrap: nowrap;               /* force row */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;           /* Firefox hide */
    gap: 1rem;
    padding: .75rem 1rem .5rem;
  }

  /* hide scrollbar on WebKit */
  .activity-tabs::-webkit-scrollbar {
    display: none;
  }

  /* each LI becomes a fixed-width pill in the row */
  .activity-tabs .nav-item {
    flex: 0 0 auto;                  /* don't shrink */
    min-width: 80px;                 /* tap area width */
    text-align: center;
    scroll-snap-align: start;
  }

  /* stack icon above text */
  .activity-tabs .nav-link {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: 0 0 .75rem;
    font-size: .8rem;
    line-height: 1.2;
    min-width: 80px;
    white-space: normal;             /* allow label wrap */
    text-align: center;
  }

  /* bump icon size for thumb usability */
  .activity-tabs .svg-icon {
    width: 2rem;     /* ~32px visual size */
    height: 2rem;
  }

  .activity-tabs .svg-icon svg {
    width: 2rem;
    height: 2rem;
  }

  /* active underline: short bar centered under icon/text block */
  .activity-tabs .nav-link.active::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 30%;
    min-width: 28px;
    bottom: 0;
  }
}

@media (max-width: 767.98px) {
  /* The wrapper becomes a vertical list container */
  .stepper-nav {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;

    gap: .75rem;
    padding: 1rem;
    background: #fff;
    border-radius: .75rem;
    border: 1px solid #e5e7eb;
    max-width: 100%;
  }

  /* Each step is now a full-width row "card" */
  .stepper-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: relative;
    cursor: pointer;

    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;

    padding: .75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    background-color: #fff;
  }

  /* hide the desktop-only bits */
  .stepper-line {
    display: none !important;
  }

  .stepper-label {
    display: none !important;
  }

  .stepper-icon {
    display: none !important;
  }

  /* mobile presentation block becomes: [icon box]  [label text] */
  .stepper-mobile-icon {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: .75rem;
    width: 100%;
    color: #4a0830;
  }

  /* the icon itself: soft box */
  .stepper-mobile-icon i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;

    border-radius: .6rem;
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1;
  }

  /* show the label text again on mobile */
  .stepper-mobile-icon span {
    display: block;
    font-size: .95rem;
    line-height: 1.3;
    font-weight: 600;
    color: #4a0830;
  }

  /* ACTIVE / CURRENT STEP STYLES */
  .stepper-item.current {
    background-color: #4a0830;
    border-color: #4a0830;
    color: #fff;
  }

  .stepper-item.current .stepper-mobile-icon {
    color: #fff;
  }

  .stepper-item.current .stepper-mobile-icon i {
    background-color: #4a0830;
    border-color: #4a0830;
    color: #fff;
  }

  .stepper-item.current .stepper-mobile-icon span {
    color: #fff;
  }
}

/* =========================================
   MOBILE (<768px): sticky left sidebar nav
   ========================================= */
@media (max-width: 767.98px) {

  #kt_create_account_stepper {
    flex-direction: row !important; 
    align-items: flex-start !important;
	background: #fff !important;
  }

  #tablet-left-menu {
    position: sticky;
    top: 4rem;
    align-self: flex-start;
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    margin-left: .75rem;
    margin-right: .75rem;
    justify-content: flex-start !important;
    align-items: stretch !important;
    background: transparent !important;
    border-radius: 0;
  }

  #tablet-left-menu > div {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    padding: .75rem !important;

    width: 100%;
    max-width: 100%;
  }

  /* RIGHT COLUMN (main content/form) */
  #tablet-right-menu {
    flex: 1 1 auto !important;
    min-width: 0;
    background: transparent !important;
    border-radius: 0 !important;

    /* stop centering the form; let it fill the rest of the screen */
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-right: 1rem;
  }

  /* that <span class="py-10 w-100 w-sm-600px ... px-9"> wrapper in content */
  #tablet-right-menu > span {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* --- NAV LIST STYLE ITSELF --- */

  /* stack steps vertically, no grid */
  .stepper-nav {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: .75rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: 0;
    max-width: 100%;
  }

  /* each nav item becomes a small horizontal pill */
  .stepper-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100%;
    max-width: 100%;
    cursor: pointer;

    padding: .75rem .75rem;
    border: 1px solid #e5e7eb;
    border-radius: .6rem;
    background-color: #fff;

    /* smooth hover target */
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
  }

  /* hide desktop-only bits */
  .stepper-line,
  .stepper-label,
  .stepper-icon {
    display: none !important;
  }

  /* icon + text row */
  .stepper-mobile-icon {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    color: #4a0830;
    font-weight: 600;
    font-size: .8rem;
    line-height: 1.3;
  }

  /* the icon "chip" on the left */
  .stepper-mobile-icon i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;

    border-radius: .6rem;
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #4a0830;
    font-size: 1.1rem;
    line-height: 1;
  }

  /* show the short label text next to the icon on mobile */
  .stepper-mobile-icon span {
    display: block;
    color: #4a0830;
    white-space: nowrap;
  }

  /* ACTIVE / CURRENT STEP */
  .stepper-item.current {
    background-color: #4a0830;
    border-color: #4a0830;
    color: #fff;
  }

  .stepper-item.current .stepper-mobile-icon {
    color: #fff;
  }

  .stepper-item.current .stepper-mobile-icon i {
    background-color: #4a0830;
    border-color: #4a0830;
    color: #fff;
  }

  .stepper-item.current .stepper-mobile-icon span {
    color: #fff;
  }

  /* OPTIONAL: visually dim "pending" steps if you like */
  .stepper-item.pending {
    opacity: .8;
  }
}

/* ===========================
   TABLET / DESKTOP (≥768px)
   =========================== */
@media (max-width: 767.98px) {

  #tablet-left-menu > div {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: .5rem .5rem 1rem .5rem !important;
  }
  .stepper-nav {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: .75rem; 
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }
  .stepper-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100%;
    max-width: 100%;
    cursor: pointer;

    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .stepper-line,
  .stepper-label,
  .stepper-icon {
    display: none !important;
  }

  /* This block is now JUST the icon badge */
  .stepper-mobile-icon {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* no extra gap to the right */
    gap: 0;
    color: #4a0830;
  }

  /* Icon badge styling */
  .stepper-mobile-icon i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;

    border-radius: .6rem;
    background-color: #fff;
    border: 1px solid #d1d5db;
    color: #4a0830;
    font-size: 1.1rem;
    line-height: 1;
  }

  /* HIDE THE TEXT LABELS ("Client", "Afford", etc.) */
  .stepper-mobile-icon span {
    display: none !important;
  }

  /* ACTIVE STEP: highlight the icon badge, not the whole row */
  .stepper-item.current .stepper-mobile-icon i {
    background-color: #4a0830;
    border-color: #4a0830;
    color: #fff;
  }

  /* Remove the big plum block background from the whole row */
  .stepper-item.current {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Sidebar column can now be a bit narrower since no labels */
  #tablet-left-menu {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
    margin-left: -32px !important;
    margin-right: .75rem;
    border-right: 1px solid #d1d5db; /* subtle divider line between nav and content */
    padding-right: .5rem;
  }
}

@media (max-width: 767.98px) {

  /* Stepper nav: still flex row, but treat it like a 6-column grid */
  #kt_stepper_example_vertical .stepper-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;            /* we keep wrap on just in case */
    justify-content: space-between !important;
    align-items: flex-start !important;

    gap: .5rem .5rem !important;           /* tighter gaps than before */
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Each tile = 1/6 of the available width */
  #kt_stepper_example_vertical .stepper-item {
    flex: 0 0 calc(11.666% - .5rem) !important;
    max-width: calc(11.666% - .5rem) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;

    cursor: pointer;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
	margin-bottom: 25px !important;
  }

  /* Hide desktop-only stuff */
  #kt_stepper_example_vertical .stepper-item .stepper-line,
  #kt_stepper_example_vertical .stepper-item .stepper-label,
  #kt_stepper_example_vertical .stepper-item .stepper-icon {
    display: none !important;
  }

  /* Icon+label block */
  #kt_stepper_example_vertical .stepper-mobile-icon {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    color: #4a0830;
    text-align: center !important;
  }

  /* Icon button */
  #kt_stepper_example_vertical .stepper-mobile-icon i {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;

    border-radius: .6rem;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #4a0830;
    font-size: 1.1rem;
    line-height: 1;
  }

  /* Tiny label under each icon */
  #kt_stepper_example_vertical .stepper-mobile-icon span {
    display: block !important;
    margin-top: .35rem;
    font-size: .7rem;
    line-height: 1.2;
    font-weight: 600;
    color: #4a0830;
    word-break: normal;
    white-space: normal;
    text-align: center;
  }

  /* Active/highlighted item */
  #kt_stepper_example_vertical .stepper-item.current .stepper-mobile-icon i {
    background-color: #4a0830;
    border-color: #4a0830;
    color: #fff;
  }

  #kt_stepper_example_vertical .stepper-item.current {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}



/* Mobile */
@media (max-width: 768px) {
    .radio-group-responsive {
        flex-wrap: wrap;      
        flex-direction: row;
        justify-content: flex-start;
        row-gap: .5rem;           
        column-gap: 1rem;
    }

    .radio-group-responsive > label {
        flex: 0 0 calc(50% - 1rem); 
        max-width: calc(50% - 1rem);
        white-space: normal;   
        font-size: .9rem;
        line-height: 1.3;
    }

    /* On very narrow screens, let them go full width */
    @media (max-width: 400px) {
        .radio-group-responsive > label {
            flex: 0 0 100%;
            max-width: 100%;
        }
    }
}

@media (min-width: 768px) {
    .ff-report-toolbar {
        flex-wrap: nowrap; 
        gap: .75rem;
    }
	.ff-report-toolbar .ff-btn {
       margin-right: .5rem; 
    }
    .ff-report-toolbar .ff-btn:last-child {
       margin-right: 0;    
    }

}

@media (max-width: 768px) {
    .client-reports-table-wrapper table {
        font-size: .85rem;
    }
    .client-reports-table-wrapper td,
    .client-reports-table-wrapper th {
        padding-top: .5rem !important;
        padding-bottom: .5rem !important;
    }
    #kt_client_reports th:nth-child(4),
    #kt_client_reports td:nth-child(4) {
        display: none !important;
    }
	#kt_client_reports .col-source {
        display: none !important;
    }
	
	#kt_tabs_8_1 .form-group img {
		width: 100% !important;
	}
}

@media (max-width: 768px) {

  /* turn the list into a flex grid */
  .questionnaire-tabs {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
    column-gap: 0;
    padding: 0 .5rem;
    margin: 0;
    list-style: none;
  }

  /* OVERRIDE .col-12 here */
  .questionnaire-tabs .nav-item.col-12 {
    flex: 0 0 33.333% !important;
    width: 33.333% !important;
    max-width: 33.333% !important;
    padding: 0 .5rem;
    margin-bottom: 0 !important;
    display: flex;
  }

  /* make each pill fill its column */
  .questionnaire-tabs .nav-link {
    width: 100%;
    min-height: 100px;
    border-radius: .5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    color: #111827;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }

  /* active tab style (plum) */
  .questionnaire-tabs .nav-link.active {
    background-color: #5b0d39;
    border-color: #5b0d39;
    color: #fff;
  }

  .questionnaire-tabs .nav-link.active .svg-icon path,
  .questionnaire-tabs .nav-link.active .svg-icon rect {
    fill: currentColor;
  }

  .questionnaire-tabs .nav-link .svg-icon {
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .questionnaire-tabs .nav-link .fs-6 {
    line-height: 1.2;
    font-size: .9rem;
    text-align: center;
  }
  
  .mbf-100 {
	width: 100% !important;  
  }
  .pp-bottom-5 {
	margin-bottom: 5px !important; 
  }
  .dataTables_filter {
	    margin-top: -70px !important; 
  }
  #custom-filter {
	min-width: 250px !important; 
  }
  
  .new-message-btn {
	margin-bottom: 0px !important;
  }
  
}



/* ====== MOBILE INBOX LOOK & FEEL ====== */
.inbox-mobile {
  --bg-page: #ffffff;
  --bg-header: #fff;
  --bg-thread-hover: #f5f5f5;
  --border-color: #e3e5e8;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --accent-badge-bg: #d93025;   /* red-ish like Gmail badge */
  --accent-badge-color: #fff;
  --compose-bg: #fff;
  --compose-shadow: 0 6px 24px rgba(0,0,0,0.16);
  --chip-bg: #f1f3f4;
  --chip-text: #444;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Roboto", "Segoe UI", sans-serif;

  position: relative;
  min-height: 100vh;
  background-color: var(--bg-page);
  font-family: var(--font-stack);
  color: var(--text-primary);
  padding-bottom: 60px; /* space for bottom nav */
}

/* HEADER */
.inbox-mobile__header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-header);
  padding: 12px 12px 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
}

.icon-btn,
.avatar-btn {
  border: 0;
  background: transparent;
  padding: 6px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.avatar-btn {
  min-width: 32px;
  min-height: 32px;
  background-color: #673ab7;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.avatar-initial {
  line-height: 1;
}

.inbox-mobile__searchbar {
  flex: 1;
  background-color: #f1f3f4;
  border-radius: 24px;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  position: relative;
}

.search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  margin-right: 8px;
  line-height: 0;
}

.inbox-mobile__searchinput {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--text-primary);
  outline: none;
}

/* MESSAGE LIST */
.inbox-mobile__list {
  display: block;
  padding-bottom: 80px; /* room for FAB and bottom nav overlap */
}

.thread-item {
  display: flex;
  flex-direction: row;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  background-color: #fff;
}

.thread-item:active {
  background-color: var(--bg-thread-hover);
}

.thread-item__avatar {
  margin-right: 12px;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: #fbbc04; /* Gmail-style yellow chip */
  color: #202124;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
}

.thread-item__content {
  flex: 1;
  min-width: 0; /* allow ellipsis */
  display: flex;
  flex-direction: column;
}

.thread-item__row1 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.9rem;
  line-height: 1.2;
}

.thread-item__sender {
  color: var(--text-primary);
  font-weight: 500;
  flex: 1;
  min-width: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.thread-item__date {
  color: var(--text-secondary);
  font-size: 0.8rem;
  white-space: nowrap;
}

.thread-item__row2 {
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--text-primary);
  margin-top: 2px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.thread-item__subject {
  font-weight: 500;
}

.thread-item__row3 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-top: 2px;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--text-secondary);
  gap: 8px;
}

.thread-item__snippet {
  flex: 1;
  min-width: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.star-btn {
  background: transparent;
  border: 0;
  padding: 0 4px;
  color: var(--text-secondary);
  line-height: 0;
  display: flex;
  align-items: flex-start;
}

.thread-item__chips {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.thread-chip {
  background-color: var(--chip-bg);
  color: var(--chip-text);
  border-radius: 4px;
  font-size: 0.7rem;
  line-height: 1.2rem;
  padding: 2px 6px;
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* UNREAD STATES (bold like Gmail) */
.thread-item--unread .thread-item__sender,
.thread-item--unread .thread-item__subject {
  font-weight: 600;
  color: var(--text-primary);
}

.thread-item--unread .thread-item__snippet {
  color: var(--text-primary);
  font-weight: 500;
}

/* FLOATING COMPOSE */
.fab-compose {
  position: fixed;
  right: 16px;
  bottom: 80px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 24px;
  background-color: var(--compose-bg);
  box-shadow: var(--compose-shadow);
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1;
}

.fab-compose svg {
  display: block;
  color: var(--text-primary);
}

/* BOTTOM NAV */
.inbox-mobile__bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background-color: #fff;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  z-index: 1000;
}

.bottomnav-btn {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 6px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-secondary);
  position: relative;
}

.bottomnav-btn--active {
  color: var(--text-primary);
  font-weight: 500;
}

.bottomnav-icon {
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottomnav-label {
  margin-top: 2px;
  line-height: 1.1;
}

.bottomnav-badge {
  position: absolute;
  top: 2px;
  right: 30%;
  background-color: var(--accent-badge-bg);
  color: var(--accent-badge-color);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.1rem;
  min-width: 20px;
  text-align: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* ====== RESPONSIVE HOOKS ======
   We ONLY want this layout on <992px (Bootstrap lg breakpoint).
   On desktop you keep your existing .card/.d-flex flex-lg-row... etc.
*/
@media (min-width: 992px) {
  .inbox-mobile {
    display: none;
  }
}


@media (max-width: 768px) {
.max-50-mob{
	max-width: 50% !important;
}
}
@media (min-width: 768px) {
.stepper-mobile-icon {
	display:none !important;
}
}

/* ===== Knowledge & Experience responsive sidebar ===== */
/* MOBILE (<992px): icons-only sticky rail */
@media (max-width: 768px) {
	
	.knowledge-side .nav-link:hover .kn-icon,
.knowledge-side .nav-link:focus .kn-icon {
    background-color: #6b0047 !important;
    border-color: #6b0047 !important;
    color: #fff !important;
}
.knowledge-side .nav-link:hover .kn-icon i,
.knowledge-side .nav-link:focus .kn-icon i {
    color: #fff !important;
}


    /* left column itself can just sit normally in the flex row */
    .knowledge-side {
        padding-left: 0;
        padding-right: 0;
        z-index: 10;
        /* important: don't make THIS sticky anymore */
        position: relative;
    }

    /* make the actual <ul> stick while scrolling */
    .knowledge-side .knowledge-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .5rem;

        position: sticky;
        top: 70px;        /* adjust to match your header height */
        z-index: 11;
        margin: 0;
        padding: 0;
    }

    /* each tab link looks like a round icon button */
    .knowledge-side .nav-link {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        width: 100%;
        padding: .5rem .25rem !important;
        margin: 0 !important;
        background: transparent !important;
        border: 0 !important;
        text-align: center;
        cursor: pointer;
    }

    /* hide the text labels on mobile */
    .knowledge-side .kn-label {
        display: none !important;
    }

    /* base icon bubble */
    .knowledge-side .kn-icon {
        width: 44px;
        height: 44px;
        border-radius: 0.6rem;
        background-color: #ffffff;
        border: 1px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        transition: all .18s ease;

        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;

        transition: all .18s ease; /* smooth hover/tap animation */
    }

    .knowledge-side .kn-icon i {
        font-size: 16px;
        line-height: 1;
        color: #6b0047;
        transition: color .18s ease;
    }

    /* ACTIVE tab look */
    .knowledge-side .nav-link.active .kn-icon {
        background-color: #6b0047;
        border-color: #6b0047;
        color: #fff !important;
    }
    .knowledge-side .nav-link.active .kn-icon i {
        color: #fff !important;
    }

    /* HOVER / FOCUS state should look like active */
    .knowledge-side .nav-link:hover .kn-icon,
    .knowledge-side .nav-link:focus .kn-icon {
        background-color: #6b0047;
        border-color: #6b0047;
        color: #fff !important;
    }
    .knowledge-side .nav-link:hover .kn-icon i,
    .knowledge-side .nav-link:focus .kn-icon i {
        color: #fff;
    }

    /* give the content column a little breathing room to the right of the icons */
    .knowledge-body,
    #v-pills-tabContent {
        padding-left: 10px;
    }

    /* kill any desktop arrow adornment injected by nav-pills-custom */
    .nav-pills-custom .nav-link::before {
        display: none !important;
    }
}


/* DESKTOP/TABLET stays normal */
.experience-table {
    width: 100%;
}

/* MOBILE CARD MODE */
@media (max-width: 767.98px) {

    /* hide thead on mobile */
    .experience-table thead {
        display: none;
    }

    /* make each row a card */
    .experience-table tbody tr {
        display: block;
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    }

    /* product/asset name (your <th scope="row">) */
    .experience-table tbody tr th[scope="row"] {
        display: block;
        font-size: 0.95rem;
        font-weight: 600;
        color: #111;
        margin: 0 0 12px 0;
        /* remove table-ish spacing */
        padding: 0;
        border: 0;
    }

    /* each cell becomes its own row with a label on the left
       and the control(s) on the right */
    .experience-table tbody tr td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
        padding: 10px 0;
        border: 0;
        border-top: 1px solid #f1f1f1;
        font-size: 0.9rem;
    }

    /* first td in the card shouldn't get the border-top */
    .experience-table tbody tr td:first-of-type {
        border-top: 1px solid #f1f1f1; /* still fine because name is above */
    }

    /* inject the heading label using data-label="" */
    .experience-table tbody tr td::before {
        content: attr(data-label);
        font-size: 0.8rem;
        font-weight: 500;
        color: #6b7280; /* gray-600 style */
        line-height: 1.2;
        text-align: left;
        margin-right: 12px;
        flex: 1 1 auto;
        max-width: 60%;
        word-break: break-word;
    }

    /* actual checkbox / radios area */
    .experience-table tbody tr td .form-check,
    .experience-table tbody tr td label.kt-radio-2,
    .experience-table tbody tr td label.kt-checkbox-2 {
        margin-left: auto;
    }

    /* special handling for the last column (radios group) */
    .experience-table tbody tr td[data-label*="Number of transactions"] {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-table tbody tr td[data-label*="Number of transactions"]::before {
        /* put the label above the radios */
        margin: 0 0 8px 0;
        max-width: 100%;
    }

    .experience-table tbody tr td[data-label*="Number of transactions"] label.kt-radio-2 {
        display: flex;
        align-items: center;
        gap: .5rem;
        margin-left: 0;
    }

    /* remove big left/right spacing from the .text-center class on mobile */
    .experience-table tbody tr td.text-center {
        text-align: left !important;
    }
}


@media (max-width: 768px) {

    .inbox-search-row .form-control {
        background-color: #fff;
        border: 1px solid #E4E6EF;
        border-radius: 6px;
        height: 38px;
        font-size: .875rem;
        box-shadow: none;
    }

    .inbox-hamburger-btn {
        border: 1px solid #E4E6EF;
        background-color: #fff;
        width: 38px;
        height: 38px;
        border-radius: 6px;
        padding: 0;
        line-height: 1;
        font-size: 16px;
        color: #181C32;
    }

    /* dropdown look */
    .inbox-mobile-menu {
        border-radius: .5rem;
        min-width: 12rem;
        font-size: .9rem;
    }

    .inbox-mobile-menu .dropdown-item {
        padding: .6rem .9rem;
        font-weight: 500;
        color: #3F4254;
    }

    .inbox-mobile-menu .dropdown-item i {
        width: 1.25rem;
        text-align: center;
        font-size: 1rem;
        opacity: .8;
    }
	
	.bottom-m-section {
	    display: none !important;
	}
	#inbox-menu {
	    display: none !important;
	}

}

@media (max-width: 768px) {
    .compose-fab {
        position: fixed;
        right: 1rem;
        bottom: 4.5rem; 
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        border-radius: 999px; 
        background-color: #fff;
        border: 1px solid rgba(0,0,0,0.06);
        box-shadow:
            0 8px 24px rgba(0,0,0,0.12),
            0 2px 4px rgba(0,0,0,0.08);
        font-size: .9rem;
        font-weight: 500;
        color: #1A1A1A;
        text-decoration: none;
        line-height: 1;
        z-index: 9999;
    }

    .compose-fab i {
        font-size: .9rem;
        line-height: 1;
        color: #1A1A1A;
    }

    /* subtle tap state */
    .compose-fab:active {
        box-shadow:
            0 4px 12px rgba(0,0,0,0.16),
            0 1px 2px rgba(0,0,0,0.12);
        transform: scale(.98);
    }

}

@media (max-width: 768px) {

    .ff-icon-btn {
        border-radius: .5rem;
        min-width: 36px;
        min-height: 36px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        font-size: 1rem;
        color: #fff;
    }

    .ff-icon-btn i {
        font-size: 1rem;
        line-height: 1;
    }
	
    .content {
        margin-top: 15px !important;
    }
	
	.dataTables_wrapper .dataTables_filter {
        max-width: 90% !important;
    }
	.mbp-2 {
       padding: 0.75rem !important;
    }

}

.dataTables_length .form-select-sm {
    height: 45px !important;
}
.hide_border_bottom {
    border-bottom: 0 !important;
}

@media (max-width: 767.98px) {

  .card-header.hide_border_bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .risk-toolbar {
    display: flex !important;
    flex-wrap: wrap;          
    justify-content: flex-end;
    gap: .75rem;                
    margin-left: auto;
  }

  .risk-toolbar .btn {
    flex: 0 0 auto;          
    width: auto;                
    min-width: 3rem;
    padding: .6rem .75rem;
    line-height: 1;
    margin: 0 !important;     
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;     
  }

  /* icon sizing */
  .risk-toolbar .btn i {
    font-size: 1.1rem;
    line-height: 1;
    margin-right: 0 !important;
  }

  .risk-toolbar .btn .btn-text {
    display: none !important;
  }
  
  .rsk-imp {
	padding-top: 15px !important;
  }
}

@media (max-width: 767.98px) {

  /* make the header a left/right bar */
  .agreements-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .agreements-header .card-title {
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    flex-shrink: 1;
  }

  .agreements-header .card-title i {
    font-size: 1.25rem !important;
    line-height: 1;
    margin-right: .5rem !important;
  }
  .agreements-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .75rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  .agreements-toolbar .btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 3rem;
    padding: .6rem .75rem;
    line-height: 1;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
  }

  .agreements-toolbar .btn i {
    font-size: 1.1rem;
    line-height: 1;
    margin-right: 0 !important;
  }
  .agreements-toolbar .btn .btn-text {
    display: none !important;
  }
  .agreements-toolbar .group-btn-new .btn-text {
    display: none !important;
  }
  .mtm-top {
	margin-top: 16px !important; 
  }
}

@media (max-width: 767.98px) {

  /* layout bar: title on the left, icons on the right */
  .tob-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .tob-header .card-title {
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    flex-shrink: 1;
  }

  .tob-header .card-title i {
    font-size: 1.25rem !important;
    line-height: 1;
    margin-right: .5rem !important;
  }

  .tob-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .75rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  .tob-toolbar .btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 3rem;
    padding: .6rem .75rem;
    line-height: 1;
    margin: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: .5rem;
  }

  .tob-toolbar .btn i {
    font-size: 1.1rem;
    line-height: 1;
    margin-right: 0 !important;
  }

  .tob-toolbar .btn .btn-text {
    display: none !important;
  }

  .tob-toolbar .group-btn-new .btn-text {
    display: none !important;
  }
}

@media (max-width: 767.98px) {

  /* Header row becomes a compact bar: title left, icon buttons right */
  .privacy-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .privacy-header .card-title {
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    flex-shrink: 1;
  }

  .privacy-header .card-title i {
    font-size: 1.25rem !important;
    line-height: 1;
    margin-right: .5rem !important;
  }

  /* Toolbar aligns to the right and lays buttons side-by-side */
  .privacy-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .75rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  .privacy-toolbar .btn,
  .privacy-toolbar .group-btn-new {
    flex: 0 0 auto;
    width: auto;
    min-width: 3rem;
    padding: .6rem .75rem;
    line-height: 1;
    margin: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: .5rem;
  }

  .privacy-toolbar .btn i,
  .privacy-toolbar .group-btn-new i {
    font-size: 1.1rem;
    line-height: 1;
    margin-right: 0 !important;
  }

  /* Hide the text labels on mobile, keep icons only */
  .privacy-toolbar .btn-text {
    display: none !important;
  }
}

@media (max-width: 767.98px) {

  /* Make header bar behave like: title left, actions right */
  .goals-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .goals-header .card-title {
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    flex-shrink: 1;
  }

  .goals-header .card-title i {
    font-size: 1.25rem !important;
    line-height: 1;
    margin-right: .5rem !important;
  }

  /* Right side buttons: placed in a tight horizontal row */
  .goals-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .75rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Style each action button / dropdown trigger as a compact pill */
  .goals-toolbar .btn,
  .goals-toolbar .dropdown-toggle,
  .goals-toolbar .goals-download-btn,
  .goals-toolbar .goals-send-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 2.75rem;
    padding: .6rem .75rem;
    line-height: 1;
    margin: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: .5rem;
  }

  .goals-toolbar i {
    font-size: 1.1rem;
    line-height: 1;
    margin-right: 0 !important;
  }

  /* Hide the text labels ("Download", "Send") on mobile, so only icons show */
  .goals-toolbar .btn-text {
    display: none !important;
  }

  /* Make sure the dropdown caret from .dropdown-toggle doesn't force text next to the icon */
  .goals-toolbar .dropdown-toggle::after {
    display: none;
  }
}

@media (min-width: 768px) {
   .mtd-top {
    padding-top: 17px !important;
   }
}


@media (max-width: 767.98px) {

  /* compact header row */
  .knowledge-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .knowledge-header .card-title {
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    flex-shrink: 1;
  }

  .knowledge-header .card-title i {
    font-size: 1.25rem !important;
    line-height: 1;
    margin-right: .5rem !important;
  }

  /* actions sit on the right, in one row */
  .knowledge-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* each button becomes a small rounded icon pill */
  .knowledge-toolbar .btn,
  .knowledge-toolbar .dropdown-toggle,
  .knowledge-toolbar .knowledge-download-btn,
  .knowledge-toolbar .knowledge-send-btn,
  .knowledge-toolbar .knowledge-vault-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 2.5rem;
    padding: .6rem .7rem;
    line-height: 1;
    margin: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: .5rem;
  }

  .knowledge-toolbar i {
    font-size: 1.1rem;
    line-height: 1;
    margin-right: 0 !important;
  }

  /* hide the text labels on mobile so it's icon-only */
  .knowledge-toolbar .btn-text {
    display: none !important;
  }

  /* remove BS dropdown caret arrow on mobile, so it's just the icon */
  .knowledge-toolbar .dropdown-toggle::after {
    display: none;
  }
}

@media (max-width: 767.98px) {

  /* Make header act like: title on left, action icons on right */
  .risk-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .risk-header .card-title {
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 0;
    flex-shrink: 1;
  }

  .risk-header .card-title i {
    font-size: 1.25rem !important;
    line-height: 1;
    margin-right: .5rem !important;
  }

  /* Toolbar area on the right */
  .risk-toolbar {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: .5rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Turn both buttons into tight icon pills */
  .risk-toolbar .risk-download-btn,
  .risk-toolbar .risk-reports-btn {
    flex: 0 0 auto;
    min-width: 2.5rem;
    padding: .6rem .7rem;
    line-height: 1;
    margin: 0 !important;
    border-radius: .5rem;

    display: flex;
    align-items: center;
    justify-content: center;

    /* hide the text label without changing markup */
    font-size: 0;
  }

  /* Make their <i> the visible part */
  .risk-toolbar .risk-download-btn i,
  .risk-toolbar .risk-reports-btn i {
    font-size: 1.1rem !important;
    line-height: 1;
    margin-right: 0 !important;
  }

  /* Hide the caret Bootstrap adds to .dropdown-toggle on mobile */
  .risk-toolbar .risk-download-btn::after {
    display: none;
  }
}

@media (max-width: 767.98px) {

  /* Make header split: title left, actions right */
  .tob-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .tob-header .card-title {
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 0;
    flex-shrink: 1;
  }

  .tob-header .card-title i {
    font-size: 1.25rem !important;
    line-height: 1;
    margin-right: .5rem !important;
  }

  /* Action buttons group on the right */
  .tob-toolbar {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: .5rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Make each button (Send / Download / Upload) a compact icon pill */
  .tob-toolbar .btn,
  .tob-toolbar .btn-group > .btn {
    flex: 0 0 auto;
    min-width: 2.5rem;
    padding: .6rem .7rem;
    line-height: 1;
    border-radius: .5rem;

    display: flex;
    align-items: center;
    justify-content: center;

    /* don't let Bootstrap spacing blow them up */
    margin: 0 !important;
  }

  /* Hide the text labels inside buttons on mobile */
  .tob-toolbar .btn .btn-text,
  .tob-toolbar .btn-group > .btn .btn-text {
    display: none;
  }

  /* Make sure icons themselves are visible and centered */
  .tob-toolbar .btn i,
  .tob-toolbar .btn-group > .btn i {
    font-size: 1.1rem !important;
    line-height: 1;
    margin-right: 0 !important;
  }

  /* Keep the .btn-group itself behaving like a single pill in the row */
  .tob-toolbar .btn-group {
    display: flex;
  }
  
  .save_and_exit, .update_fact_find {
	width: 100% !important;
    margin-bottom: 10px;	
  }
}

/* Skeleton container + pieces */
#activity-list .activity-skel{display:flex;align-items:flex-start;gap:12px;padding:12px 0}
#activity-list .activity-skel-dot{width:12px;height:12px;border-radius:50%}
#activity-list .activity-skel-body{flex:1}
#activity-list .skel-date{width:120px;height:14px;border-radius:999px;margin:0 0 10px}
#activity-list .skel-title{width:80%;height:16px;border-radius:6px;margin:0 0 8px}
#activity-list .skel-subtitle{width:40%;height:14px;border-radius:6px}

/* Shimmer effect */
.shimmer{
  background:linear-gradient(90deg, rgba(0,0,0,.06) 25%, rgba(0,0,0,.12) 37%, rgba(0,0,0,.06) 63%);
  background-size:400% 100%;
  animation:shimmer 1.2s ease-in-out infinite;
}
@keyframes shimmer{
  0%{background-position:200% 0}
  100%{background-position:-200% 0}
}

/* card base so skeletons match final layout */
    .nbs-card{ border:1px solid rgba(0,0,0,.06); border-radius:14px; padding:16px 18px;
               background:#fff; margin-bottom:12px; display:flex; align-items:flex-start;
               gap:12px; width:100%; box-sizing:border-box; flex-wrap:wrap; }
    .nbs-card .flex-grow-1{ flex:1 1 300px; min-width:0; }
    .nbs-right{ margin-left:auto; display:flex; align-items:center; gap:10px; flex:0 0 auto; }

    /* requested: always hide the badge + "Load more" */
    .nbs-badge{ display:none !important; }
    #nbs-load-more{ display:none !important; }

    /* shimmer */
    .skel{ position:relative; overflow:hidden; background:#f2f3f5; }
    .skel::after{ content:""; position:absolute; inset:0;
                  background:linear-gradient(90deg, rgba(255,255,255,0) 0%,
                                                     rgba(255,255,255,.6) 50%,
                                                     rgba(255,255,255,0) 100%);
                  transform:translateX(-100%); animation:nbs-shimmer 1.1s infinite; }
    @keyframes nbs-shimmer{ 100%{ transform:translateX(100%);} }
    .skel-pill{ border-radius:999px; }
    .skel-circle{ border-radius:50%; }

    /* responsive tweaks */
    @media (max-width:1200px){ .nbs-right{ width:100%; margin-left:0; margin-top:8px; justify-content:flex-start; } }
    @media (max-width:576px){ .nbs-card{ padding:14px; } .nbs-card .me-3{ display:none; } }
    @media (prefers-reduced-motion:reduce){ .skel::after{ animation:none; } }
	
.act-skel{border:1px solid rgba(0,0,0,.06);border-radius:12px;background:#fff;padding:14px;margin-bottom:10px;position:relative;overflow:hidden}
    .act-skel:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(0,0,0,.05),transparent);animation:act-shine 1.2s infinite}
    @keyframes act-shine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
    .act-line{height:12px;background:rgba(0,0,0,.08);border-radius:6px;margin:8px 0}
    .w-70{width:70%}.w-40{width:40%}

    /* A11y: respect motion settings */
    @media (prefers-reduced-motion: reduce){
      .act-skel:before{animation:none}
    }

#client-stats[data-skeleton="1"] .skel-grid { display:flex !important; }
    #client-stats[data-skeleton="1"] .real      { display:none !important; }
    #client-stats .real[hidden]                 { display:none !important; }
    #client-stats[data-skeleton="0"] .skel-grid { display:none !important; }
    #client-stats[data-skeleton="0"] .real      { display:block !important; }

    /* Optional fade-in for real content */
    #client-stats .real { opacity:0; transition:opacity .25s ease; }
    #client-stats[data-skeleton="0"] .real { opacity:1; }

    /* Skeleton visuals (low CLS) */
    .skel-card{
      border:1px solid rgba(0,0,0,.06);
      border-radius:14px;
      background:#fff;
      padding:16px 18px;
      position:relative;
      overflow:hidden;
      min-height:140px;
    }
    .skel-icon{
      width:48px;height:48px;border-radius:12px;
      background:rgba(0,0,0,.08);
      margin:0 auto 10px;
    }
    .skel-line{
      height:12px;border-radius:6px;
      background:rgba(0,0,0,.08);
      margin:8px auto;
    }
    .w-70{width:70%}.w-30{width:30%}
    .skel-card::before{
      content:"";position:absolute;inset:0;
      background:linear-gradient(90deg,transparent,rgba(0,0,0,.04),transparent);
      animation:skel-shine 1.2s infinite;
    }
    @keyframes skel-shine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
    @media (prefers-reduced-motion:reduce){ .skel-card::before{animation:none} }
	
	
	
	/* Generic toggles */
  [data-skeleton="1"] .skel { display:block !important; }
  [data-skeleton="1"] .real { display:none  !important; }
  [data-skeleton] .real[hidden] { display:none !important; }
  [data-skeleton="0"] .skel { display:none  !important; }
  [data-skeleton="0"] .real { display:block !important; }

  /* Shimmer visuals */
  .skel .tsk-skel{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid rgba(0,0,0,.06);
    border-radius:12px;margin-bottom:10px;background:#fff;position:relative;overflow:hidden}
  .skel .tsk-avatar{width:32px;height:32px;border-radius:50%;background:rgba(0,0,0,.08)}
  .skel .tsk-line{height:10px;background:rgba(0,0,0,.08);border-radius:6px;margin:6px 0}
  .skel .w-70{width:70%}.skel .w-60{width:60%}.skel .w-40{width:40%}
  .skel .tsk-skel:before{content:"";position:absolute;inset:0;background:
    linear-gradient(90deg,transparent,rgba(0,0,0,.04),transparent);animation:tsk-shine 1.2s infinite}
  @keyframes tsk-shine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
  @media (prefers-reduced-motion:reduce){.skel .tsk-skel:before{animation:none}}
  
  
   /* Toggle by data-skeleton on the wrapper */
  [data-skeleton="1"] .skele-overlay{opacity:1;visibility:visible}
  [data-skeleton="0"] .skele-overlay{opacity:0;visibility:hidden}
  .skele-wrap{position:relative}

  /* Overlay that fades away; no clicks blocked */
  .skele-overlay{
    position:absolute; inset:0; pointer-events:none;
    transition:opacity .25s ease, visibility .25s ease;
    border-radius:inherit; isolation:isolate;
  }

  /* Shimmer lines placed top-right to mimic your % column */
  .skele-overlay .skel-percent{
    position:absolute; top:14px; right:16px; width:clamp(120px, 35%, 180px);
  }
  .skele-overlay .skel-line{
    height:10px; background:#eceff1; border-radius:6px; margin:8px 0;
  }
  .skele-overlay .w-100{width:100%} .w-60{width:60%}

  /* Animated sweep */
  .skele-overlay::before{
    content:""; position:absolute; inset:0; z-index:0;
    background:linear-gradient(90deg,transparent,rgba(0,0,0,.05),transparent);
    animation:shine 1.2s infinite;
  }
  @keyframes shine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
  @media (prefers-reduced-motion:reduce){.skele-overlay::before{animation:none}}
  
  
  
  .skel-row td{vertical-align:middle}
  .skel-line,.skel-badge,.skel-btn{
    display:block; position:relative; overflow:hidden; border-radius:6px; background:#eceff1;
    height:10px;
  }
  .skel-badge{ width:72px; height:18px; border-radius:10px }
  .skel-btn  { width:26px; height:26px; border-radius:6px; float:right }
  .w-30{width:30%}.w-40{width:40%}.w-50{width:50%}.w-70{width:70%}.w-90{width:90%}

  /* shimmer */
  .skel-line::after,.skel-badge::after,.skel-btn::after{
    content:""; position:absolute; inset:0; transform:translateX(-100%);
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);
    animation:shine 1.2s infinite;
  }
  @keyframes shine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
  @media (prefers-reduced-motion:reduce){
    .skel-line::after,.skel-badge::after,.skel-btn::after{animation:none}
  }
  
  
  .dt-skel-wrap{position:relative}
  .dt-skel-wrap[data-skeleton="1"] .dt-skel-overlay{opacity:1;visibility:visible}
  .dt-skel-wrap[data-skeleton="0"] .dt-skel-overlay{opacity:0;visibility:hidden}

  .dt-skel-overlay{
    position:absolute; inset:0; padding:6px 0; pointer-events:none;
    transition:opacity .25s ease, visibility .25s ease; border-radius:12px;
  }
  .dt-skel-overlay::before{
    content:""; position:absolute; inset:0; z-index:0;
    background:linear-gradient(90deg,transparent,rgba(0,0,0,.05),transparent);
    animation:dtshine 1.2s infinite;
  }
  @keyframes dtshine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
  @media (prefers-reduced-motion:reduce){.dt-skel-overlay::before{animation:none}}

  .dt-skel-row{
    display:flex; align-items:center; gap:12px;
    padding:10px 12px; margin:6px 8px; position:relative; z-index:1;
    border:1px dashed rgba(0,0,0,.06); border-radius:10px; background:rgba(255,255,255,.6);
  }
  .col-client{display:flex; align-items:center; gap:10px; flex:1 1 55%}
  .col-doc{flex:1 1 35%}
  .col-view{flex:0 0 30px; display:flex; justify-content:flex-end}

  .skel-avatar{width:36px;height:36px;border-radius:50%;background:#eceff1;flex:0 0 auto}
  .skel-line{height:10px;background:#eceff1;border-radius:6px;margin:6px 0}
  .w-220{width:220px}.w-180{width:180px}.w-140{width:140px}.w-120{width:120px}
  .skel-btn{width:30px;height:30px;border-radius:6px;background:#eceff1}
  
  
  #welcome-card{position:relative}
  #welcome-card[data-skeleton="1"] .welcome-skel{opacity:1;visibility:visible}
  #welcome-card[data-skeleton="0"] .welcome-skel{opacity:0;visibility:hidden}

  .welcome-skel{
    position:relative; padding:6px 0; border-radius:10px;
    transition:opacity .25s ease, visibility .25s ease;
    pointer-events:none; /* never block clicks */
  }
  .welcome-skel::before{
    content:""; position:absolute; inset:0; z-index:0;
    background:linear-gradient(90deg,transparent,rgba(0,0,0,.06),transparent);
    animation:welcomeShine 1.2s infinite;
  }
  @keyframes welcomeShine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
  @media (prefers-reduced-motion:reduce){.welcome-skel::before{animation:none}}

  .skel-line{position:relative; z-index:1; height:12px; background:#eceff1; border-radius:6px; margin:8px 0}
  .w-60{width:60%}.w-90{width:90%}
  
 
 /* --- Transfer table shimmer skeleton --- */
#new_table_prd_clr .wk-skel-row td {
  padding-top: 9px;
  padding-bottom: 9px;
}

.wk-skel-block {
  display: inline-block;
  height: 10px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
  background-image: linear-gradient(
    90deg,
    #e5e7eb 0px,
    #f9fafb 40px,
    #e5e7eb 80px
  );
  background-size: 400px 100%;
  animation: wk-skel-shimmer 1.2s infinite linear;
}

/* size variants per column */
.wk-skel-sm { width: 48px; }
.wk-skel-xs { width: 70px; }
.wk-skel-md { width: 140px; max-width: 100%; }
.wk-skel-btn { width: 80px; height: 18px; border-radius: 999px; }
.wk-skel-circle {
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

@keyframes wk-skel-shimmer {
  0%   { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

/* --- Transfer table skeleton using the same clr-skeleton shimmer --- */

#new_table_prd_clr .tr-skel-row td {
  padding-top: 8px;
  padding-bottom: 8px;
}

.tr-skel {
  display: inline-block;
  border-radius: 999px;
}

/* per-column sizes */
.tr-skel-id {
  width: 36px;
  height: 10px;
}

.tr-skel-check {
  width: 16px;
  height: 16px;
  border-radius: 4px; /* like a small checkbox block */
}

.tr-skel-name {
  width: 140px;
  height: 12px;
}

.tr-skel-status,
.tr-skel-risk {
  width: 70px;
  height: 10px;
}

.tr-skel-country,
.tr-skel-region {
  width: 90px;
  height: 10px;
}

.tr-skel-btn {
  width: 82px;
  height: 18px;
  border-radius: 999px;
}

#new_table_prd_clr tbody .tr-skel-row {
  background: #f5f8fa;
}


/* Toggle visibility */
#clients-nav-card[data-skeleton="1"] .clients-nav-real {
    display: none !important;          /* hide real nav while loading */
}
#clients-nav-card[data-skeleton="0"] .clients-nav-skel {
    display: none !important;          /* hide skeleton after load */
}

/* Wrapper */
#clients-nav-card { position: relative; }

/* Skeleton pill layout (keeps same structure as real pills) */
.nav-link-skel{
    border-radius:12px;
    padding:12px 14px;
    background:#f5f8fa;
    border:1px solid rgb(0 0 0 / .04);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
}

/* Base shimmer (same as your other loaders) */
.clr-skeleton{
    position:relative;
    background:#e5e9f2;
    overflow:hidden;
}
.clr-skeleton::before{
    content:"";
    position:absolute;
    inset:0;
    transform:translateX(-100%);
    background:linear-gradient(90deg,#fff0 0%,rgb(255 255 255 / .6) 50%,#fff0 100%);
    animation:clrShimmer 1.3s infinite;
}
@keyframes clrShimmer{100%{transform:translateX(100%);}}

/* Shapes */
.skel-pill-icon{
    width:30px;
    height:30px;
    border-radius:999px;
    display:block;
}
.skel-pill-line{
    height:10px;
    border-radius:6px;
    display:block;
    width:70%;
}
.skel-pill-line.short{
    width:50%;
}

/* --- Toggle skeleton vs real nav --- */
.mt-navskel-card[data-skeleton="1"] .mt-navskel-real {
    display: none !important;           /* hide real nav on first paint */
}
.mt-navskel-card[data-skeleton="0"] .mt-navskel-nav {
    display: none !important;           /* hide skeleton after reveal */
}

.mt-navskel-card {
    position: relative;
}

/* --- Pill skeleton container (matches nav pill shape) --- */
.mt-navskel-pill {
    border-radius: 12px;
    padding: 12px 14px;
    background: #f5f8fa;
    border: 1px solid rgb(0 0 0 / .04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* If not already defined globally, keep your shimmer here */
.clr-skeleton {
    position: relative;
    background: #e5e9f2;
    overflow: hidden;
}
.clr-skeleton::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        #fff0 0%,
        rgba(255, 255, 255, 0.6) 50%,
        #fff0 100%
    );
    animation: clrShimmer 1.3s infinite;
}
@keyframes clrShimmer {
    100% { transform: translateX(100%); }
}

/* --- Shapes inside pill --- */
.mt-navskel-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: block;
}

.mt-navskel-line {
    height: 10px;
    border-radius: 6px;
    display: block;
    width: 70%;
}

.mt-navskel-line--short {
    width: 50%;
}

/* wrapper for static (non-AJAX) tables */
.tbl-skel-wrap{
    position: relative;
    isolation: isolate;
}

/* overlay skeleton for static tables */
.tbl-skel-overlay-static{
    position: absolute;
    inset: 0;
    padding: 0.75rem 1rem;
    background: #f5f8fa;
    pointer-events: none;
    z-index: 5;
}

/* rows inside overlay */
.tbl-skel-line-row{
    margin-bottom: 0.55rem;
}
.tbl-skel-line-row .tbl-skel-cell{
    display: block;
}

.mt-selectskel-card[data-skeleton="1"] .mt-selectskel-real {
    display: none !important;
}
.mt-selectskel-card[data-skeleton="0"] .mt-selectskel-skel {
    display: none !important;
}

.mt-selectskel-skel {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Shimmer blocks */
.mt-selectskel-label {
    height: 14px;
    width: 60%;
    border-radius: 6px;
}

.mt-selectskel-input {
    height: 38px;              /* similar to .form-select height */
    width: 100%;
    border-radius: 8px;
}

.mt-newrole-card[data-skeleton="1"] .mt-newrole-real {
    display: none !important;
}
.mt-newrole-card[data-skeleton="0"] .mt-newrole-skel {
    display: none !important;
}

.mt-newrole-skel {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* shimmer blocks (re-use .clr-skeleton + clrShimmer keyframes) */
.mt-newrole-label {
    height: 14px;
    width: 70%;
    border-radius: 6px;
}

.mt-newrole-input {
    height: 38px; /* match .form-select height */
    width: 100%;
    border-radius: 8px;
}

#show_product {
    position: relative;
    min-height: 80px;
}

.client-skel {
    border-radius: 12px;
    padding: 16px 18px;
    background: #f5f8fa;
    border: 1px solid rgba(0,0,0,.04);
}

.client-skel-bar {
    position: relative;
    display: block;
    height: 12px;
    border-radius: 999px;
    background: #e5e9f2;
    overflow: hidden;
    margin-bottom: 10px;
}

.client-skel-bar--w30 { width: 30%; }
.client-skel-bar--w50 { width: 50%; }
.client-skel-bar--w70 { width: 70%; }
.client-skel-bar--w90 { width: 90%; }

.client-skel-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: clientSkelShimmer 1.3s infinite;
}

@keyframes clientSkelShimmer {
    100% { transform: translateX(100%); }
}


/* host */
#form-vertical {
    position: relative;
}

/* when skeleton is ON: only show overlay */
#form-vertical[data-feeonly-skel="1"] > :not(.feeonly-wizard-skeleton) {
    visibility: hidden;          /* layout kept, but hidden */
}

#form-vertical[data-feeonly-skel="1"] .feeonly-wizard-skeleton {
    opacity: 1;
    pointer-events: none;
}

/* when skeleton is OFF: hide overlay, show real children */
#form-vertical[data-feeonly-skel="0"] > :not(.feeonly-wizard-skeleton) {
    visibility: visible;
}

#form-vertical[data-feeonly-skel="0"] .feeonly-wizard-skeleton {
    opacity: 0;
    pointer-events: none;
    display: none;
}

/* overlay itself */
.feeonly-wizard-skeleton {
    position: absolute;
    inset: 0;
    padding: 16px 18px;
    background: #fff;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* layout inside overlay */
.feeonly-skel-inner {
    display: flex;
    width: 100%;
}

/* left nav mock */
.feeonly-skel-sidebar {
    width: 140px;
}
.feeonly-skel-pill {
    height: 40px;
    border-radius: 16px;
    margin-bottom: 10px;
    background: #eef2f8;
    position: relative;
    overflow: hidden;
}

/* right content mock */
.feeonly-skel-main {
    flex: 1;
}
.feeonly-skel-bar {
    position: relative;
    display: block;
    height: 12px;
    border-radius: 999px;
    background: #e5e9f2;
    overflow: hidden;
    margin-bottom: 12px;
}
.feeonly-skel-bar--w30  { width: 30%; }
.feeonly-skel-bar--w60  { width: 60%; }
.feeonly-skel-bar--w80  { width: 80%; }
.feeonly-skel-bar--w100 { width: 100%; }

/* shimmer animation */
.feeonly-skel-bar::before,
.feeonly-skel-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: feeonlyWizardShimmer 1.3s infinite;
}

@keyframes feeonlyWizardShimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Host form */
#nbs-filter-form {
    position: relative;
}

/* Before JS touches it: keep it hidden so raw form never flashes */
#nbs-filter-form:not([data-nbs-skel]) {
    visibility: hidden;
}

/* When skeleton is ON: show overlay, keep children hidden */
#nbs-filter-form[data-nbs-skel="1"] > :not(.nbs-filter-skel) {
    visibility: hidden;
}
#nbs-filter-form[data-nbs-skel="1"] .nbs-filter-skel {
    opacity: 1;
    pointer-events: none;
}

/* When skeleton is OFF: hide overlay, show real fields */
#nbs-filter-form[data-nbs-skel="0"] > :not(.nbs-filter-skel) {
    visibility: visible;
}
#nbs-filter-form[data-nbs-skel="0"] .nbs-filter-skel {
    opacity: 0;
    pointer-events: none;
    display: none;
}

/* Overlay skeleton itself */
.nbs-filter-skel {
    position: absolute;
    inset: 0;
    padding: 8px 0;
    background: #f6f8fb;
    z-index: 20;
}

/* Shimmer bars */
.nbs-filter-skel-bar {
    position: relative;
    display: block;
    height: 12px;
    border-radius: 999px;
    background: #e3e7f0;
    overflow: hidden;
    margin-bottom: 8px;
}

/* width helpers */
.nbs-filter-skel-bar--w15  { width: 15%; }
.nbs-filter-skel-bar--w20  { width: 20%; }
.nbs-filter-skel-bar--w40  { width: 40%; }
.nbs-filter-skel-bar--w100 { width: 100%; }

/* shimmer animation */
.nbs-filter-skel-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: nbsFilterShimmer 1.3s infinite;
}

@keyframes nbsFilterShimmer {
    100% { transform: translateX(100%); }
}


.mt-searchskel-card[data-skeleton="1"] .mt-searchskel-real {
    display: none !important;
}
.mt-searchskel-card[data-skeleton="0"] .mt-searchskel-skel {
    display: none !important;
}

/* shapes */
.mt-searchskel-input {
    height: 38px;
    width: 100%;
    border-radius: 8px;
}

.mt-searchskel-btn {
    display: inline-block;
    height: 36px;
    width: 96px;
    border-radius: 999px;
}

/* Skeleton row styling (used by BOTH ajax + non-ajax) */
tr.tbl-skel-row > td {
    border-top: none;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

/* base shimmer cell */
.tbl-skel-cell {
    position: relative;
    display: block;
    height: 12px;
    border-radius: 999px;
    background: #e5e9f2;
    overflow: hidden;
}

/* width presets */
.tbl-skel-cell--xs { width: 30%; max-width: 40px; }
.tbl-skel-cell--sm { width: 45%; max-width: 80px; }
.tbl-skel-cell--md { width: 65%; max-width: 140px; }
.tbl-skel-cell--lg { width: 85%; max-width: 220px; }
.tbl-skel-cell--xl { width: 95%; max-width: 280px; }

/* shimmer animation */
.tbl-skel-cell::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: tblBodyShimmer 1.3s infinite;
}

@keyframes tblBodyShimmer {
    100% { transform: translateX(100%); }
}

/* --- STATIC (non-AJAX) overlay container --- */

/* wrapper to position overlay */
.tbl-skel-wrap {
    position: relative;
    isolation: isolate;
}

.tbl-skel-static-overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
    pointer-events: none;
    z-index: 5;
    display: flex;
}

.tbl-skel-static-table {
    width: 100%;
    border-collapse: collapse;
}

.tbl-skel-static-table td {
    border: none;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}


/* Host row */
#recent-docs-row {
    position: relative;
}

/* Before JS attaches skeleton, keep row hidden so raw cards don't flash */
#recent-docs-row:not([data-docs-skel]) {
    visibility: hidden;
}

/* When skeleton is ON: show overlay, hide real children */
#recent-docs-row[data-docs-skel="1"] > :not(.docs-skel-overlay) {
    visibility: hidden;
}
#recent-docs-row[data-docs-skel="1"] .docs-skel-overlay {
    opacity: 1;
    pointer-events: none;
}

/* When skeleton is OFF: hide overlay, show real cards */
#recent-docs-row[data-docs-skel="0"] > :not(.docs-skel-overlay) {
    visibility: visible;
}
#recent-docs-row[data-docs-skel="0"] .docs-skel-overlay {
    opacity: 0;
    pointer-events: none;
    display: none;
}

/* --- Skeleton card design --- */

.docs-skel-overlay {
    position: absolute;
    inset: 0;
    padding: 4px;
    background: #ffffff;
    z-index: 10;
}

.docs-skel-card {
    border-radius: .25rem;
    background: #f7f8fb;
}

/* base shimmer block */
.docs-skel-block {
    position: relative;
    display: block;
    border-radius: 999px;
    background: #e3e7f0;
    overflow: hidden;
}

/* icon placeholder */
.docs-skel-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

/* text lines */
.docs-skel-line {
    height: 10px;
    margin-bottom: 6px;
}

.docs-skel-line--w70 { width: 70%; }
.docs-skel-line--w40 { width: 40%; }

/* shimmer animation */
.docs-skel-block::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: docsRowShimmer 1.3s infinite;
}

@keyframes docsRowShimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Toggle */
.mt-docskel-card[data-skeleton="1"] .mt-docskel-real {
    display: none !important;
}
.mt-docskel-card[data-skeleton="0"] .mt-docskel-skel {
    display: none !important;
}

/* Make skeleton cards visibly grey */
.mt-docskel-skel .mt-docskel-card-item {
    background: #f5f8fa;
    border-color: #e0e6ef;
}

/* Shimmer base – if not already on the site */
.clr-skeleton {
    position: relative;
    background: #e5e9f2;
    overflow: hidden;
}
.clr-skeleton::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.7) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: clrDocShimmer 1.3s infinite;
}
@keyframes clrDocShimmer {
    100% { transform: translateX(100%); }
}

/* Shapes */
.mt-docskel-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-block;
}

.mt-docskel-line {
    height: 10px;
    width: 80%;
    border-radius: 6px;
    display: block;
}
.mt-docskel-line--short {
    width: 55%;
}

.mt-formtypeskel-card[data-skeleton="1"] .mt-formtypeskel-real {
    display: none !important;
}
.mt-formtypeskel-card[data-skeleton="0"] .mt-formtypeskel-skel {
    display: none !important;
}

/* skeleton layout inside the col */
.mt-formtypeskel-skel {
    margin-bottom: 30px;
    margin-top: -10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* shimmer blocks */
.mt-formtypeskel-label {
    height: 16px;
    width: 40%;
    border-radius: 6px;
}

.mt-formtypeskel-select {
    height: 38px; 
    width: 100%;
    border-radius: 8px;
}

.mt-embedskel-card[data-skeleton="1"] .mt-embedskel-real {
    display: none !important;
}
.mt-embedskel-card[data-skeleton="0"] .mt-embedskel-skel {
    display: none !important;
}

.mt-embedskel-skel .mb-4 {
    margin-bottom: 1rem;
}

/* label bars */
.mt-embedskel-label {
    height: 14px;
    width: 35%;
    border-radius: 6px;
    margin-bottom: 8px;
}
.mt-embedskel-label--wide {
    width: 60%;
}

/* input bars */
.mt-embedskel-input {
    height: 38px;
    border-radius: 8px;
    width: 100%;
}
.mt-embedskel-input--wide {
    width: 100%;
}

/* checkbox/text lines */
.mt-embedskel-checkline {
    height: 10px;
    border-radius: 6px;
    width: 70%;
    margin-top: 6px;
}

.mt-clientinfoskel-card[data-skeleton="1"] .mt-clientinfoskel-real {
    display: none !important;
}
.mt-clientinfoskel-card[data-skeleton="0"] .mt-clientinfoskel-skel {
    display: none !important;
}

/* heading bar */
.mt-clientinfoskel-heading {
    height: 18px;
    width: 30%;
    border-radius: 8px;
}

/* label + input bars */
.mt-clientinfoskel-label {
    height: 12px;
    width: 40%;
    border-radius: 6px;
    margin-bottom: 6px;
}
.mt-clientinfoskel-input {
    height: 38px;
    width: 100%;
    border-radius: 8px;
}

/* Toggle real vs skeleton */
#client-profile-card[data-skeleton="1"] .client-card-real,
#client-quick-actions-card[data-skeleton="1"] .quick-actions-card-real,
#client-details-card[data-skeleton="1"] .client-details-card-real,
#client-risk-card[data-skeleton="1"] .client-risk-card-real {
    display: none;
}
#client-profile-card[data-skeleton="0"] .client-card-skel,
#client-quick-actions-card[data-skeleton="0"] .quick-actions-card-skel,
#client-details-card[data-skeleton="0"] .client-details-card-skel,
#client-risk-card[data-skeleton="0"] .client-risk-card-skel {
    display: none;
}

/* Base shimmer for all four cards */
#client-profile-card .cs-skeleton,
#client-quick-actions-card .cs-skeleton,
#client-details-card .cs-skeleton,
#client-risk-card .cs-skeleton {
    position: relative;
    background: #e5e9f2;
    overflow: hidden;
}
#client-profile-card .cs-skeleton::before,
#client-quick-actions-card .cs-skeleton::before,
#client-details-card .cs-skeleton::before,
#client-risk-card .cs-skeleton::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: clientProfileShimmer 1.3s infinite;
}

@keyframes clientProfileShimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Shared sizes */
#client-profile-card .cs-skel-header,
#client-quick-actions-card .cs-skel-header,
#client-details-card .cs-skel-header,
#client-risk-card .cs-skel-header {
    height: 18px;
    border-radius: 9px;
    margin-bottom: 8px;
}
#client-profile-card .cs-skel-subtitle,
#client-quick-actions-card .cs-skel-subtitle,
#client-risk-card .cs-skel-subtitle {
    height: 12px;
    border-radius: 8px;
}

/* Profile avatar */
#client-profile-card .cs-skel-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 12px;
}

/* Text lines */
#client-profile-card .cs-skel-line,
#client-quick-actions-card .cs-skel-line,
#client-details-card .cs-skel-line,
#client-risk-card .cs-skel-line {
    height: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Quick-actions fake buttons */
#client-quick-actions-card .cs-skel-btn,
#client-risk-card .cs-skel-btn {
    height: 34px;
    border-radius: 999px;
}

/* Menu icon squares */
#client-details-card .cs-skel-square,
#client-risk-card .cs-skel-square {
    width: 24px;
    height: 24px;
    border-radius: 8px;
}

/* Risk chart placeholder */
#client-risk-card .cs-skel-chart {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 10px auto 0;
}

/* Width helpers */
#client-profile-card .cs-w-25,
#client-quick-actions-card .cs-w-25,
#client-details-card .cs-w-25,
#client-risk-card .cs-w-25 { width: 25%; }

#client-profile-card .cs-w-35,
#client-quick-actions-card .cs-w-35,
#client-details-card .cs-w-35,
#client-risk-card .cs-w-35 { width: 35%; }

#client-profile-card .cs-w-40,
#client-quick-actions-card .cs-w-40,
#client-details-card .cs-w-40,
#client-risk-card .cs-w-40 { width: 40%; }

#client-profile-card .cs-w-50,
#client-quick-actions-card .cs-w-50,
#client-details-card .cs-w-50,
#client-risk-card .cs-w-50 { width: 50%; }

#client-profile-card .cs-w-60,
#client-quick-actions-card .cs-w-60,
#client-details-card .cs-w-60,
#client-risk-card .cs-w-60 { width: 60%; }

#client-profile-card .cs-w-70,
#client-quick-actions-card .cs-w-70,
#client-details-card .cs-w-70,
#client-risk-card .cs-w-70 { width: 70%; }

#client-profile-card .cs-w-80,
#client-quick-actions-card .cs-w-80,
#client-details-card .cs-w-80,
#client-risk-card .cs-w-80 { width: 80%; }

#client-profile-card .cs-w-100,
#client-quick-actions-card .cs-w-100,
#client-details-card .cs-w-100,
#client-risk-card .cs-w-100 { width: 100%; }

/* Show skeleton, hide real content while loading */
#novia-mov-card[data-skeleton="1"] .mov-real {
    display: none;
}
#novia-mov-card[data-skeleton="0"] .mov-skel {
    display: none;
}

/* Skeleton container */
.mov-skel {
    border-radius: 12px;
    padding: 20px 22px 18px;
    background: #f5f8fa;
    border: 1px solid rgb(0 0 0 / 0.04);
}

/* Skeleton bar */
.mov-skel-bar {
    height: 14px;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    background: #e5e9f2;
}

/* Width helpers */
.mov-skel-bar.w-100 { width: 100%; }
.mov-skel-bar.w-90  { width: 90%; }
.mov-skel-bar.w-80  { width: 80%; }
.mov-skel-bar.w-50  { width: 50%; }
.mov-skel-bar.w-40  { width: 40%; }
.mov-skel-bar.w-30  { width: 30%; }

/* Header bar size */
.mov-skel-header {
    width: 45%;
    height: 16px;
    margin-bottom: 18px;
}

/* Rows */
.mov-skel-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Shimmer effect */
.mov-skel-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: movShimmer 1.3s infinite;
}

@keyframes movShimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Toggle logic */
#networth-summary-card[data-skeleton="1"] .networth-real {
    display: none;
}
#networth-summary-card[data-skeleton="0"] .networth-skel {
    display: none;
}

/* Skeleton container */
.networth-skel {
    border-radius: 12px;
    padding: 20px 22px 18px;
    background: #f5f8fa;
    border: 1px solid rgb(0 0 0 / 0.04);
}

/* Skeleton card blocks */
.networth-skel-card {
    border-radius: 12px;
    padding: 16px 18px;
    background: #eef2f7;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Skeleton bar */
.networth-skel-bar {
    height: 14px;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    background: #e5e9f2;
}

/* Width helpers */
.networth-skel-bar.nw-w-100 { width: 100%; }
.networth-skel-bar.nw-w-90  { width: 90%; }
.networth-skel-bar.nw-w-80  { width: 80%; }
.networth-skel-bar.nw-w-75  { width: 75%; }
.networth-skel-bar.nw-w-70  { width: 70%; }
.networth-skel-bar.nw-w-60  { width: 60%; }
.networth-skel-bar.nw-w-50  { width: 50%; }
.networth-skel-bar.nw-w-40  { width: 40%; }

/* Shimmer effect */
.networth-skel-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: networthShimmer 1.3s infinite;
}

@keyframes networthShimmer {
    100% {
        transform: translateX(100%);
    }
}


/* Toggle logic */
#assets-liab-cards[data-skeleton="1"] .alr-real {
    display: none;
}
#assets-liab-cards[data-skeleton="0"] .alr-skel {
    display: none;
}

/* Skeleton container */
.alr-skel {
    border-radius: 12px;
    padding: 16px 18px;
    background: #f5f8fa;
    border: 1px solid rgb(0 0 0 / 0.04);
}

/* Each skeleton card block */
.alr-skel-card {
    border-radius: 12px;
    padding: 14px 16px;
    background: #eef2f7;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Skeleton bar */
.alr-skel-bar {
    height: 12px;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    background: #e5e9f2;
}

/* Width helpers */
.alr-skel-bar.alr-w-100 { width: 100%; }
.alr-skel-bar.alr-w-90  { width: 90%; }
.alr-skel-bar.alr-w-80  { width: 80%; }
.alr-skel-bar.alr-w-70  { width: 70%; }
.alr-skel-bar.alr-w-60  { width: 60%; }
.alr-skel-bar.alr-w-50  { width: 50%; }
.alr-skel-bar.alr-w-40  { width: 40%; }

/* Shimmer effect */
.alr-skel-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: alrShimmer 1.3s infinite;
}

@keyframes alrShimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Toggle logic */
#product-summary-row[data-skeleton="1"] .psfs-real {
    display: none;
}
#product-summary-row[data-skeleton="0"] .psfs-skel {
    display: none;
}

/* Skeleton container */
.psfs-skel {
    border-radius: 12px;
    padding: 18px 20px;
    background: #f5f8fa;
    border: 1px solid rgb(0 0 0 / 0.04);
}

/* Skeleton card block */
.psfs-skel-card {
    border-radius: 12px;
    padding: 14px 16px;
    background: #eef2f7;
    border: 1px solid rgba(0, 0, 0, 0.02);
    margin-bottom: 8px;
}

/* Skeleton bar */
.psfs-skel-bar {
    height: 12px;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    background: #e5e9f2;
}

/* Width helpers */
.psfs-skel-bar.psfs-w-100 { width: 100%; }
.psfs-skel-bar.psfs-w-95  { width: 95%; }
.psfs-skel-bar.psfs-w-90  { width: 90%; }
.psfs-skel-bar.psfs-w-85  { width: 85%; }
.psfs-skel-bar.psfs-w-80  { width: 80%; }
.psfs-skel-bar.psfs-w-75  { width: 75%; }
.psfs-skel-bar.psfs-w-70  { width: 70%; }
.psfs-skel-bar.psfs-w-65  { width: 65%; }
.psfs-skel-bar.psfs-w-60  { width: 60%; }
.psfs-skel-bar.psfs-w-55  { width: 55%; }
.psfs-skel-bar.psfs-w-45  { width: 45%; }
.psfs-skel-bar.psfs-w-40  { width: 40%; }
.psfs-skel-bar.psfs-w-30  { width: 30%; }

/* Shimmer effect */
.psfs-skel-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: psfsShimmer 1.3s infinite;
}

@keyframes psfsShimmer {
    100% {
        transform: translateX(100%);
    }
}


