/*--------


CUSTOM STYLES, GLOBALS


--------*/
:root {
  --project-bg-color-primary:transparent;
  --project-color-primary:#A0AEC0;
  --project-color-secondary:#37bbd9;
  --project-color-dark:#081364;
  --project-color-faded:#f8efff;
  
  --dragdrop-select:#e0ebff;

  --project-color-main-100:var(--project-color-faded);
  --project-color-main-200:#7081ee;
  --project-color-main-300:#4059e6;
  --project-color-main-400:var(--project-color-primary);
  --project-color-main-500:#2e49ce;
  --project-color-main-600:#1c1c92;
  --project-color-main-700:var(--project-color-dark);
  --vz-font-sans-serif: "Helvetica", sans-serif;
  --vz-vertical-menu-bg-dark: #101420;  
  --vz-success-rgb: 27,165,137;
  --vz-warning-rgb: 245, 181, 5;
  --vz-danger-rgb: 232, 49, 49;

  --widget-primary-color: #2563eb;
  --widget-secondary-color: #64748b;
  --widget-success-color: #10b981;
  --widget-warning-color: #f59e0b;
  --widget-danger-color: #ef4444;
  --widget-text-secondary: #64748b;
}

#layout-wrapper .btn-primary {
  --vz-btn-color: #fff;
  --vz-btn-bg: #FF8633;
  --vz-btn-border-color: #FF8633;
  --vz-btn-hover-color: #fff;
  --vz-btn-hover-bg: #ff934b;
  --vz-btn-hover-border-color: #ff934b;
  --vz-btn-focus-shadow-rgb: 90, 140, 231;
  --vz-btn-active-color: #fff;
  --vz-btn-active-bg: #ff934b;
  --vz-btn-active-border-color: #ff934b;
  --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --vz-btn-disabled-color: #fff;
  --vz-btn-disabled-bg: #FF8633;
  --vz-btn-disabled-border-color: #FF8633;
}

#layout-wrapper .btn-primary-2 {
  --vz-btn-color: #fff;
  --vz-btn-bg: #ffa366;
  --vz-btn-border-color: #ffa366;
  --vz-btn-hover-color: #fff;
  --vz-btn-hover-bg: #ffbc8f;
  --vz-btn-hover-border-color: #ffbc8f;
  --vz-btn-focus-shadow-rgb: 90, 140, 231;
  --vz-btn-active-color: #fff;
  --vz-btn-active-bg: #ffbc8f;
  --vz-btn-active-border-color: #ffbc8f;
  --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --vz-btn-disabled-color: #fff;
  --vz-btn-disabled-bg: #ffa366;
  --vz-btn-disabled-border-color: #ffa366;
}

#layout-wrapper .btn-secondary {
  --vz-btn-color: #767679;
  --vz-btn-bg: #FFFFFF;
  --vz-btn-border-color: #91ABCA;
  --vz-btn-hover-color: #767679;
  --vz-btn-hover-bg: #dfdfdf;
  --vz-btn-hover-border-color: #91ABCA;
  --vz-btn-focus-shadow-rgb: 90, 140, 231;
  --vz-btn-active-color: #767679;
  --vz-btn-active-bg: #dfdfdf;
  --vz-btn-active-border-color: #91ABCA;
  --vz-btn-disabled-color: #767679;
  --vz-btn-disabled-bg: #adadad;
  --vz-btn-disabled-border-color: #91ABCA;
}

#layout-wrapper .btn-light {
  --vz-btn-color: #FFFFFF;
  --vz-btn-bg: #909090;
  --vz-btn-border-color: #909090;
  --vz-btn-hover-color: #FFFFFF;
  --vz-btn-hover-bg: #a6a6a6;
  --vz-btn-hover-border-color: #909090;
  --vz-btn-focus-shadow-rgb: 90, 140, 231;
  --vz-btn-active-color: #FFFFFF;
  --vz-btn-active-bg: #909090;
  --vz-btn-active-border-color: #909090;
  --vz-btn-disabled-color: #FFFFFF;
  --vz-btn-disabled-bg: #adadad;
  --vz-btn-disabled-border-color: #909090;
}

#layout-wrapper .btn-danger {
  --vz-btn-color: #fff;
  --vz-btn-bg: #FF4545;
  --vz-btn-border-color: #FF4545;
  --vz-btn-hover-color: #fff;
  --vz-btn-hover-bg: #ff7272;
  --vz-btn-hover-border-color: #ff7272;
  --vz-btn-focus-shadow-rgb: 243, 134, 134;
  --vz-btn-active-color: #fff;
  --vz-btn-active-bg: #ff7272;
  --vz-btn-active-border-color: #ff7272;
  --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --vz-btn-disabled-color: #fff;
  --vz-btn-disabled-bg: #FF4545;
  --vz-btn-disabled-border-color: #FF4545;
}

#layout-wrapper .btn-success {
  --vz-btn-color: #fff;
  --vz-btn-bg: #00CEA8;
  --vz-btn-border-color: #00CEA8;
  --vz-btn-hover-color: #fff;
  --vz-btn-hover-bg: #38d0b4;
  --vz-btn-hover-border-color: #38d0b4;
  --vz-btn-focus-shadow-rgb: 126, 189, 136;
  --vz-btn-active-color: #fff;
  --vz-btn-active-bg: #00b493;
  --vz-btn-active-border-color: #00b493;
  --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --vz-btn-disabled-color: #fff;
  --vz-btn-disabled-bg: #00CEA8;
  --vz-btn-disabled-border-color: #00CEA8;
}

#layout-wrapper .btn-service {
  --vz-btn-color: #FFFFFF;
  --vz-btn-bg: #BCC4C1;
  --vz-btn-border-color: #BCC4C1;
  --vz-btn-hover-color: #FFFFFF;
  --vz-btn-hover-bg: #a8e7ca;
  --vz-btn-hover-border-color: #a8e7ca;
  --vz-btn-focus-shadow-rgb: 90, 140, 231;
  --vz-btn-active-color: #FFFFFF;
  --vz-btn-active-bg: #BCC4C1;
  --vz-btn-active-border-color: #BCC4C1;
  --vz-btn-disabled-color: #FFFFFF;
  --vz-btn-disabled-bg: #adadad;
  --vz-btn-disabled-border-color: #BCC4C1;
  padding: 6px 6px;
  font-size: 12px;
  font-weight: 500;
}

#layout-wrapper .btn-service.active {
  --vz-btn-bg: #74DDAC;
  --vz-btn-border-color: #74DDAC;
  background-color: var(--vz-btn-bg);
  border-color: var(--vz-btn-border-color);
}

#layout-wrapper .btn-addItem {
  --vz-btn-color: #fff;
  --vz-btn-bg: #83C8D6;
  --vz-btn-border-color: #83C8D6;
  --vz-btn-hover-color: #fff;
  --vz-btn-hover-bg: #94d3e0;
  --vz-btn-hover-border-color: #94d3e0;
  --vz-btn-focus-shadow-rgb: 90, 140, 231;
  --vz-btn-active-color: #fff;
  --vz-btn-active-bg: #94d3e0;
  --vz-btn-active-border-color: #94d3e0;
  --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --vz-btn-disabled-color: #fff;
  --vz-btn-disabled-bg: #83C8D6;
  --vz-btn-disabled-border-color: #83C8D6;
}

#layout-wrapper .btn-service-2 {
  --vz-btn-color: #FFFFFF;
  --vz-btn-bg: #BCC4C1;
  --vz-btn-border-color: #91ABCA;
  --vz-btn-hover-color: #FFFFFF;
  --vz-btn-hover-bg: #87c9aa;
  --vz-btn-hover-border-color: #91ABCA;
  --vz-btn-focus-shadow-rgb: 90, 140, 231;
  --vz-btn-active-color: #FFFFFF;
  --vz-btn-active-bg: #BCC4C1;
  --vz-btn-active-border-color: #91ABCA;
  --vz-btn-disabled-color: #FFFFFF;
  --vz-btn-disabled-bg: #adadad;
  --vz-btn-disabled-border-color: #BCC4C1;
  padding: 5px 22px;
  font-size: 12px;
  font-weight: 500;
}

#layout-wrapper .btn-attach {
  --vz-btn-color: #FFFFFF;
  --vz-btn-bg: #2C7492;
  --vz-btn-border-color: #2C7492;
  --vz-btn-hover-color: #FFFFFF;
  --vz-btn-hover-bg: #3d8aab;
  --vz-btn-hover-border-color: #2C7492;
  --vz-btn-focus-shadow-rgb: 90, 140, 231;
  --vz-btn-active-color: #FFFFFF;
  --vz-btn-active-bg: #2C7492;
  --vz-btn-active-border-color: #2C7492;
  --vz-btn-disabled-color: #FFFFFF;
  --vz-btn-disabled-bg: #adadad;
  --vz-btn-disabled-border-color: #2C7492;
  /* padding: 5px 22px; */
  /* font-size: 12px; */
  /* font-weight: 500; */
}

#layout-wrapper .btn-service-2.active {
  --vz-btn-bg: #4CBA86;
  --vz-btn-border-color: #91ABCA;
  background-color: var(--vz-btn-bg);
  border-color: var(--vz-btn-border-color);
}

#layout-wrapper .card {
  --vz-card-spacer-y: 1.5rem;
  --vz-card-spacer-x: 1rem;
  --vz-card-title-spacer-y: 0.5rem;
  --vz-card-border-width: 0;
  --vz-card-border-color: rgba(0, 0, 0, 0.125);
  --vz-card-border-radius: 1rem;
  --vz-card-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
  --vz-card-inner-border-radius: 1rem;
  --vz-card-cap-padding-y: 1rem;
  --vz-card-cap-padding-x: 1rem;
  --vz-card-cap-bg: #fff;
  --vz-card-bg: #fff;
  --vz-card-img-overlay-padding: 1rem;
  --vz-card-group-margin: 0.75rem;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  height: var(--vz-card-height);
  word-wrap: break-word;
  background-color: var(--vz-card-bg);
  background-clip: border-box;
  border: var(--vz-card-border-width) solid var(--vz-card-border-color);
  border-radius: var(--vz-card-border-radius);
}

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

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

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

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

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

#layout-wrapper button.btn-primary .bx,
#layout-wrapper a.btn-primary .bx,
#layout-wrapper button.btn-primary-2 .bx,
#layout-wrapper a.btn-primary-2 .bx,
#layout-wrapper button.btn-secondary .bx,
#layout-wrapper a.btn-secondary .bx,
#layout-wrapper button.btn-light .bx,
#layout-wrapper a.btn-light .bx,
#layout-wrapper button.btn-info .bx,
#layout-wrapper a.btn-info .bx,
#layout-wrapper button.btn-attach .bx,
#layout-wrapper a.btn-attach .bx{
  line-height: 0.75;
}

.card-preloader {
  z-index: 999;
}

.form-control {
  --vz-input-border: #91ABCA;
  color: var(--vz-body-color);
  background-color: var(--vz-input-bg);
  border: 1px solid var(--vz-input-border);
  border-radius: .375rem;
}

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

.color-red{
  color:red!important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  color: var(--vz-heading-color);
  font-family: var(--vz-font-sans-serif);
}

.px-30 {
  padding-left: 30px;
  padding-right: 30px;
}

/* 
  custom font family
*/
@font-face {
  font-family: 'Helvetica';
  font-weight: 200;
  src: url(../fonts/Helvetica/helvetica-light.ttf);
}

@font-face {
  font-family: 'Helvetica';
  font-weight: 300;
  src: url(../fonts/Helvetica/Helvetica.ttf);
}

@font-face {
  font-family: 'Helvetica';
  font-weight: 400;
  src: url(../fonts/Helvetica/Helvetica.ttf);
}

@font-face {
  font-family: 'Helvetica';
  font-weight: 500;
  src: url(../fonts/Helvetica/Helvetica-Bold.ttf);
}

.helvetica-light {
  font-family: "Helvetica", serif;
  font-weight: 300;
  font-style: normal;
}

.helvetica-regular {
  font-family: "Helvetica", serif;
  font-weight: 300;
  font-style: normal;
}

.helvetica-bold {
  font-family: "Helvetica", serif;
  font-weight: 700;
  font-style: normal;
}

li .nav-item a.nav-link.active {
  color: #23BBCC !important;
}

/*--------

BUTTONS

--------*/
/* .btn-primary {
  --vz-btn-color: #fff;
  --vz-btn-bg: var(--project-color-primary);
  --vz-btn-border-color: var(--project-color-primary);
  --vz-btn-hover-color: #fff;
  --vz-btn-hover-bg: var(--project-color-main-600);
  --vz-btn-hover-border-color:var(--project-color-main-600);
  --vz-btn-focus-shadow-rgb: 90,140,231;
  --vz-btn-active-color: #fff;
  --vz-btn-active-bg:var(--project-color-main-600);
  --vz-btn-active-border-color: var(--project-color-main-600);
  --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --vz-btn-disabled-color: #fff;
  --vz-btn-disabled-bg: var(--project-color-primary);
  --vz-btn-disabled-border-color: var(--project-color-primary);
} */

/*

FORMS - SWITCH

*/
/* .form-check-input:checked {
  background-color: var(--project-color-primary);
  border-color: var(--project-color-primary);
} */

/*--------

LOGIN

--------*/
.auth-bg-cover, .auth-one-bg{
    background: url(/assets/images/login-bg.jpg);
    background-position-y: center;
    height: 100%;
}

.auth-one-bg .bg-overlay {
  background: initial;
  background-position-y: center;
  /* background: linear-gradient(to right, var(--project-color-primary), var(--project-color-secondary)); */
  opacity: 1;
}

/* profile */
.profile-setting-img{
  height:90px;
}
.profile-wid-bg::before{
  background: var(--project-color-main-200);
  background: -webkit-gradient(linear,left bottom,left top,from(var(--project-color-main-700)),to(var(--project-color-main-200)));
  background: linear-gradient(to bottom,var(--project-color-main-200),var(--project-color-main-700));
}

/*--------


table custom

--------*/

.gridjs.gridjs-container .gridjs-wrapper{
  border:none;
}
th.gridjs-th{
  padding:1rem 1.5rem 1rem .6rem;
}

td.gridjs-td{
  padding:1.5rem 1.5rem 1.5rem .6rem;
}

/*checkbox*/
.gridjs.gridjs-container .form-check-input{
  left:0;
}
th.gridjs-th .gridjs-th-content {
  display:block;
  font-size: 12px;
}
/*max height dropdown*/
.dropdown-menu--maxH{
  max-height:15rem;
  overflow:auto;
}

.gridjs-tr:hover{
  background-color:var(--project-color-faded)!important
}

/*add blink animation*/
.grid-blink-animation{
  animation:quickBlink 1s linear;
}
@keyframes quickBlink{
  from{background-color: var(--dragdrop-select);}
  to{background-color: transparent;}
}
/*--------

attribute adder

--------*/
.attribute__container{
  position:relative;
  /* padding-left:40px; */
  margin-bottom:50px;
}
.attribute__index{
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  padding: 0;
}
.attribute__delete{
  width: 15%;
  text-align: right;
  padding: 0;

}
.attribute__list{
  font-size: 16px;
  font-weight: bold;
  width:10%;

}
.card--productAttr{
  box-shadow: 0 0 6px var(--project-color-primary);
}

.card--productAttr .card-header{
  background-color: var(--project-color-primary);
  color:#fff;
}

/* @media(min-width:1200px){
  .col--productAttr:nth-child(odd){
    padding-left:0;
  }
  .col--productAttr:nth-child(even){
    padding-right:0
  }
} */
/* @media(max-width:1199px){
  .col--productAttr{
    padding:0;
  }
} */
.col--productAttr{
  padding: 25px 30px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
}
.tabs__custom--primary .active:after{
  content:'';
  display:block;
  width:80%;
  height:2px;
  margin-top:10px;
  background-color: var(--vz-link-color);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  /* background-color: var(--vz-link-color);
  color: #fff; */

}


/*
  color pickr
*/
.pickr .pcr-button{
  padding:0.875rem;
}
.pickr .pcr-button::after, .pickr .pcr-button::before{
  border-radius:20%;
}
.staticColor{
  width: 22px;
  height: 22px;
  border-radius: 4px;
  vertical-align: middle;
  display: inline-block;
  margin-right:10px;
  box-shadow:0 0 3px #888;
}
/*
blockquote inside class alert-info
*/
.alert-info .blockquote{
  border-color:var(--vz-alert-color)
}

/*
input type date to always show date dropdown on focus
*/
input[type="date"]{
  position:relative;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  color: transparent;
  cursor: pointer;
  height: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: auto;
}

/*
order management status timeline
*/

.order-management-status-timeline{
  position:relative;
  display:flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.omst-item{
  text-align:center;
  padding:0 50px;
  position:relative;
}
.omst-item:before{
  content:'';
  display:block;
  width:40%;
  height:2px;
  background-color: #e9e9e9;
  position:absolute;
  top:10%;
  left:0;
}
.omst-item:after{
  content:'';
  display:block;
  width:40%;
  height:2px;
  background-color: #e9e9e9;
  position:absolute;
  top:10%;
  right:0;
}
.omst-point{
  width:26px;
  height:26px;
  font-size:1.25rem;
  background:white;
  border-radius:50%;
  border:6px solid #e9e9e9;
  margin:0 auto 15px;
  color:white;
}
.omst-item.highlight .omst-point{
  border-color:var(--project-color-primary);
}
.omst-item.highlight:after,
.omst-item.highlight:before{
  background-color: var(--project-color-primary);
}
/* .omst-item.highlight:first-child:after,
.omst-item.highlight:last-child:before{
  background-color: var(--project-color-primary);
} */
.omst-item.highlight:first-child:before,
.omst-item.highlight:last-child:after{
  background-color: #e9e9e9;
}

@media(min-width:1200px){
  .omst-title{
    height:100px;
    max-width:400px;
  }
}
@media(max-width:1199px){
  .order-management-status-timeline{
    flex-direction: column;
  }
  .omst-item{
    width:100%;
    text-align:left;
    padding:0 0 25px 50px;
    
  }
  .omst-point{
    margin:0;
    position:absolute;
    top:0;
    left:0;
    z-index:5;
  }
  .omst-item:before{
    display:none;
  }
  .omst-item:after{
    height:100%;
    width:2px;
    position: absolute;
    left:12.5px;
    z-index:1;
  }
  .omst-item:last-child::after{
    display:none
  }
}

/*
custom accordion
*/

.accordion.transparent{
  background:transparent
}
.accordion.transparent .accordion-button,
.accordion.transparent .accordion-item{
  background:transparent
}

/*
flatpickr label modal
*/
.flatpickr-wrapper{
  display:block
}
.flatpickr-input[disabled]{
  background-color: var(--vz-input-disabled-bg);
}

.customDatePicker {
  background-color: var(--vz-btn-bg)!important;
}

.customDatePicker:hover {
  background-color: var(--vz-btn-hover-bg)!important;
}

.customDatePicker:active,
.customDatePicker.active {
  background-color: var(--vz-btn-active-bg)!important;
}


.pdf-page {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

@media(max-width:768px){
  #pdf-container {
      overflow: scroll;
      height: 600px;
  }
}

/*
chatbox
*/
.card-chatbox:before{
  content:'';
  display:block;
  width:16px;
  height:16px;
  transform:rotateZ(45deg);
  position:absolute;
  top:12px;
  left:-8px;
  background:var(--vz-light)

}
/*# sourceMappingURL=custom.min.css.map */

.bg-primary-subtle {
  background-color: #e2e5ed !important;
}

.bg-light-subtle {
  background-color: #f9fbfc!important;
}

/*
chart
*/
.chart-thumbnail {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
  box-shadow: 0 6px 14px #2123440d !important;
  margin-bottom: 25px;
  cursor: pointer;
  /* width: 180px;
  height: 183px; */
}

.chart-thumbnail.selected {
  background: #fff7e9;
  border: 1.5px solid #cbcbcb;
}

.chart-sample {
  height: 100px;
  text-align: center;
}

.chart-sample img {
  height: 100%;
  
}

.menu-item {
  padding: 13.5px 15px;
  border: 1px solid #1AB4D7;
  border-radius: 8px;
  cursor: pointer;
}

.menu-item .menu-item-title h5 {
  font-size: 14px;
  font-weight: 500;
  color: #010101;
  text-align: center;
}

.menu-item:hover {
  background-color: #c6eaff;
}

.menu-item.active {
  background-color: #3EB0F0;
}

.menu-item.active .menu-item-title h5 {
  color: #fff;
}

/* Login Page */
.login-card {
  border-radius: 15px;
}

.login-card .title {
  font-size: 32px;
  font-weight: 500;
  color: #2C2C2C;
}

.login-card button {
  background-color: #23BBCC;
  border-color: #23BBCC;
  border-radius: 5px;
}

.login-card button:hover, .login-card button:active {
  background-color: #2fcfe1!important;
  border-color: #2fcfe1!important;
}
/* End Login Page */

/* sidebar */
.seperate-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(224,225,226,0) 0%, rgba(224,225,226,1) 50%, rgba(224,225,226,0.16) 100%);;
}

.navbar-menu .navbar-nav .nav-link {
  font-size: .9375rem;
  font-family: "Helvetica", sans-serif;
}

[data-layout=vertical][data-sidebar=dark] .navbar-nav .menu-link.active {
  color: var(--vz-vertical-menu-item-active-color-dark);
  background-color: #23BBCC;
}

/* Override to prevent background color on active menu-links that are parents of open submenus */
[data-layout=vertical][data-sidebar=dark] .navbar-nav .menu-link.active[aria-expanded="true"] {
  background-color: transparent;
}

#page-header-user-dropdown i {
  background-color: #FFC145;
  border-color: #FFC145;
  color: #fff;
}

#page-topbar {
  /* background-color: transparent; */
  border-bottom: 1px solid #D1D5DC;
}
/* end sidebar */

/* content */
.page-title {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 30px;
}

.gridjs-table {
  font-weight: 500;
  font-size: 13px;
}

.gridjs-thead {
  font-size: 11px;
}

.journal-table {
  font-size: 12px;
}

.journal-table .gridjs-thead {
  font-size: 10px;
}

.journal-table th.gridjs-th{
  padding:0.5rem 1.5rem 0.5rem .6rem;
}

.journal-table td.gridjs-td{
  padding:1rem 1.5rem 1rem .6rem;
}

.gridjs-tr:nth-child(even) {
  background-color: #f2f2f2;
}
/* end content */


/* stepper */
.steps-responsive {
  overflow-x: auto;
  margin-bottom: 35px;
}

.steps .step {
  display: block;
  width: 150px;
  text-align: center
}

.steps .step .step-icon-wrap {
  display: block;
  position: relative;
  width: 100%;
  height: 30px;
  text-align: center
}

.steps .step .step-icon-wrap::before,
.steps .step .step-icon-wrap::after {
  display: block;
  position: absolute;
  top: 50%;
  width: 50%;
  height: 1px;
  margin-top: 1px;
  background-color: #e1e7ec;
  content: '';
  z-index: 1
}

.steps .step .step-icon-wrap::before {
  left: 0
}

.steps .step .step-icon-wrap::after {
  right: 0
}

.steps .step .step-icon {
  display: inline-block;
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid #C6C6C6;
  border-radius: 50%;
  background-color: #fff;
  z-index: 5;
  /* color: #374250; */
  /* font-size: 12px; */
  /* line-height: 30px; */
  /* z-index: 5; */
  /* font-family: Ubuntu-bold; */
}

.steps .step .step-title {
  padding: 0 10px;
  margin-top: 10px;
  margin-bottom: 0;
  color: #6F6F6F;
  font-size: 14px;
  font-family: "Lato", serif;
  font-weight: 400;
}

.steps .step:first-child .step-icon-wrap::before {
  display: none
}

.steps .step:last-child .step-icon-wrap::after {
  display: none
}

.steps .step.inprogress .step-icon-wrap::before {
  background-color: #E17F3B;
}

.steps .step.inprogress .step-icon {
  border-color: #E17F3B;
}

.steps .step.inprogress .step-icon::before{
  content: "";
  display: block;
  position: absolute;
  width: 5px; 
  height: 5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #E17F3B;
  border-radius: 100%;
}

.steps .step.inprogress.first-pending .step-icon-wrap::after {
  background-color: #E17F3B
}

.steps .step.inprogress .step-title {
  color: #E17F3B;
}

.steps .step.completed .step-icon-wrap::before,
.steps .step.completed .step-icon-wrap::after {
  background-color: #E17F3B
}

.steps .step.completed .step-icon {
  border-color: #E17F3B;
  background-color: #E17F3B;
  font-size: 28px;
  color: white;
  line-height: 30px
}

.steps .step.completed .step-icon::before{
  content: "\ea41";
  font-family: boxicons !important;
  font-weight: 400;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  display: inline-block;
  text-transform: none;
  speak: none;
  -webkit-font-smoothing: antialiased;
}

.steps .step.completed .step-title {
  color: #E17F3B;
}

.file-item {
  border: 1px solid #87929F;
  border-radius: 6px;
  width: 100%;
  padding: 28px 15px;
  font-size: 12px;
}

.file-item .file-icon i {
  font-size: 36px;
  color: #EEFAFF;
  background-color: #2C7492;
  border-color: #2C7492;
}

.filepond--drip {
  background: rgb(145 171 202);
}

/* team management */
.team-card .card-body {
  padding: 32px 22px;
}
.team-container {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: #F4F4F4;
  border: 1px solid #B7B7B7;
  min-height: 200px;
}

.team-container .team-header {
  padding: 26px 39px;
}

.team-container .team-header h2 {
  font-size: 24px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 0;
}

.team-container .team-header p {
  font-size: 24px;
  font-weight: 500;
  color: #3990A2;
  margin-bottom: 0;
  /* line-height: 11px; */
}

.btn-custom-add {
  --vz-btn-color: #fff;
  --vz-btn-bg: #83C8D6;
  --vz-btn-border-color: #83C8D6;
  --vz-btn-hover-color: #fff;
  --vz-btn-hover-bg: #93d8e6;
  --vz-btn-hover-border-color: #93d8e6;
  --vz-btn-focus-shadow-rgb: 90, 140, 231;
  --vz-btn-active-color: #fff;
  --vz-btn-active-bg: #93d8e6;
  --vz-btn-active-border-color: #93d8e6;
  --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --vz-btn-disabled-color: #fff;
  --vz-btn-disabled-bg: #83C8D6;
  --vz-btn-disabled-border-color: #83C8D6;
  border-radius: 0;
  --vz-btn-padding-y: 9px;
}

.team-container .team-table.table {
  min-width: 600px;
}

.team-container .team-table.table th {
  font-size: 11px;
  color: #A0AEC0;
  border-bottom: 1px solid #AAA7A7;
}

.team-container .team-table.table td {
  border-bottom: 1px solid #AAA7A7;
}

.team-container .team-table.table tr:last-child td {
  border-bottom: unset;
}

.team-container .team-table.table tr td:first-child,
.team-container .team-table.table tr th:first-child {
  padding-left: 39px;
}

.team-table td.gridjs-td{
  line-height: 25px;
}
/* end team management */
.table-assigned-team {
  /* line-height: 140%; */
}

.table-assigned-team div {
  font-size: 12px;
  color: #2D3748;
  margin-bottom: 6px;
}

.table-assigned-team p {
  font-size: 11px;
  color: #6F6F6F;
  line-height: 15px;
  margin-bottom: 2px;
  font-weight: 500;
  /* margin-bottom: 6px; */
}

/* dashboard */
.dashboard-wrapper .dashboard-title {
  color: #2D3748;
  font-size: 18px;
  margin-bottom: 15px;
  padding-left: 30px;
  padding-right: 30px;
}

.dashboard-wrapper .dashboard-subtitle {
  color: #2D3748;
  font-size: 18px;
  margin-bottom: 15px;
  padding-left: 30px;
  padding-right: 30px;
  text-decoration: underline!important;
}

.dashboard-wrapper .dashboard-title.team-name {
  color: #000;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 25px;
}

.dashboard-wrapper .dashboard-viewall,
.viewall {
  color: #FF8633;
  font-size: 18px;
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 15px;
  text-decoration: underline!important;
  font-weight: 600;
  line-height: 1.2;
}

.dashboard-wrapper .table .gridjs-tr .gridjs-th:first-child,
.dashboard-wrapper .table .gridjs-tr .gridjs-td:first-child {
  padding-left: 30px;
}

.step-progress-container {
  position: relative;
  width: 78px;
  text-align: center;
  line-height: 12px;
}

.step-progress-container strong {
  font-size: 12px;
  color: #575757;
  white-space: normal;
}

.step-progress-container .step-progress-bar {
  width: 78px;
  height: 8px;
  border-radius: 64px;
  background-color: #7f7f7f;
  margin-bottom: 15px;
}

.step-progress-container::after {
  content: "";
  position: absolute;
  left: 0; 
  right: 0; 
  top: 15px;
  margin-inline: auto; 
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background-color: #7f7f7f;
}

.step-progress-container.progress-complete .step-progress-bar,
.step-progress-container.progress-complete::after {
  --vz-text-opacity: 1;
  background-color: rgba(var(--vz-success-rgb),var(--vz-text-opacity));
}

.step-progress-container.progress-complete strong {
  --vz-text-opacity: 1;
  color: rgba(var(--vz-success-rgb),var(--vz-text-opacity));
}

.step-progress-container.progress-info .step-progress-bar,
.step-progress-container.progress-info::after {
  --vz-text-opacity: 1;
  background-color: rgba(var(--vz-info-rgb),var(--vz-text-opacity));
}

.step-progress-container.progress-info strong {
  --vz-text-opacity: 1;
  color: rgba(var(--vz-info-rgb),var(--vz-text-opacity));
}

.step-progress-container.progress-warning .step-progress-bar,
.step-progress-container.progress-warning::after {
  --vz-text-opacity: 1;
  background-color: rgba(var(--vz-warning-rgb),var(--vz-text-opacity));
}

.step-progress-container.progress-warning strong {
  --vz-text-opacity: 1;
  color: rgba(var(--vz-warning-rgb),var(--vz-text-opacity));
}

.step-progress-container.progress-on-going .step-progress-bar,
.step-progress-container.progress-on-going::after {
  --vz-text-opacity: 1;
  background-color: #FF8633;
}

.step-progress-container.progress-on-going strong {
  --vz-text-opacity: 1;
  color: #FF8633;
}

.step-progress-container.progress-danger .step-progress-bar,
.step-progress-container.progress-danger::after {
  --vz-text-opacity: 1;
  background-color: rgba(var(--vz-danger-rgb),var(--vz-text-opacity));
}

.step-progress-container.progress-danger strong {
  --vz-text-opacity: 1;
  color: rgba(var(--vz-danger-rgb),var(--vz-text-opacity));
}

.step-progress-container.progress-pending .step-progress-bar,
.step-progress-container.progress-pending::after {
  background-color: #CE0000;
}

.step-progress-container.progress-pending strong {
  color: #CE0000;
}

.apexcharts-tooltip-custom {
    background: #fff;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    min-width: 200px;
    max-width: 300px;
}

.tooltip-header {
    background: #f8f9fc;
    padding: 8px 12px;
    border-bottom: 1px solid #e3e6f0;
    font-weight: 600;
    color: #5a5c69;
    border-radius: 7px 7px 0 0;
}

.tooltip-content {
    padding: 10px 12px;
}

.tooltip-series {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.tooltip-marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.tooltip-label {
    font-weight: 500;
    color: #5a5c69;
    margin-right: 6px;
}

.tooltip-value {
    font-weight: 600;
    color: #2c3e50;
}

.tooltip-companies {
    border-top: 1px solid #e3e6f0;
    padding-top: 8px;
    margin-top: 8px;
}

.tooltip-companies strong {
    color: #5a5c69;
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.tooltip-company {
    color: #6c757d;
    font-size: 12px;
    padding: 2px 0;
    padding-left: 4px;
}
/* end dashboard */

/* onboarding */
#createXeroContainer .xero-item {
  border: 1px solid #1AB4D7;
  border-radius: 6px;
  width: 100%;
  padding: 5px 40px;
  font-size: 12px;
  align-items: center;
  cursor: pointer;
  margin-bottom: 50px;
}

#createXeroContainer .xero-item:hover {
  background-color: #d7f8ff;
}

#createXeroContainer .xero-item .xero-icon img {
  width: 62px;
}

#createXeroContainer .xero-item .xero-content {
  font-size: 14px;
  font-weight: 500;
}

#xeroDetailsContainer .xero-details .xero-icon img {
  width: 47px;
}

#xeroDetailsContainer .xero-details .xero-content {
  font-size: 14px;
  font-weight: 500;
}

#xeroDetailsContainer .xero-details .xero-action span {
  color: #FF8633;
  font-size: 14px;
  text-decoration: underline!important;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

#xeroDetailsContainer .xero-details p span.account-active {
  font-weight: 500;
  font-size: 24px;
  color: #429227;
}

#checkpointTrackerContainer .checkpoint-tracker-item {
  margin-bottom: 44px;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper {
  background-color: #F4F4F4;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border: 1px solid #B7B7B7;
  padding: 25px 40px;
  border-bottom: none;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-header p {
  font-size: 24px;
  font-weight: 500;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-header span {
  font-size: 24px;
  font-weight: 300;
  color: #3990A2;
  padding-left: 10px;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-thead {
  font-size: 12px;
  font-weight: 500;
  color: #A0AEC0;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-tbody-row {
  margin-bottom: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid #AAA7A7;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-tbody-row:last-child {
  border-bottom: none;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-tbody-row .file-item {
  border: 1px solid #87929F;
  border-radius: 5px;
  width: 100%;
  padding: 10px;
  font-size: 10px;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-tbody-row .file-item .file-icon i {
  font-size: 26px;
  color: #EEFAFF;
  background-color: #2C7492;
  border-color: #2C7492;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-tbody-row .form-check-input {
  background-color: #FF5B5B;
  border-color: #FF5B5B;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-tbody-row .form-check-input:checked {
  background-color: #80C971;
  border-color: #80C971;
}

#checkpointTrackerContainer .checkpoint-tracker-footer .filepond--drip {
  background: #EEFAFF;
  opacity: 1;
  border: 1px solid #91ABCA;
  border-radius: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#checkpointTrackerContainer .checkpoint-tracker-footer .filepond--panel-root {
  border-radius: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-table .item-bottom-row .item-bottom-content {
  margin-top: 25px;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-table .item-bottom-row .item-bottom-content .item-bottom-title {
  width: 15%;
}

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-table .item-bottom-row .item-bottom-content .item-bottom-field {
  width: 85%;
}

/* #checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-table .item-bottom-row .item-bottom-content .item-bottom-action {
  width: 25%;
} */

#checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-table .item-bottom-row .item-bottom-content textarea {
  width: 100%;
}
#contactsTable .gridjs-wrapper {
  border: 1px solid #B7B7B7;
  border-radius: 10px;
}

#contactsTable .table-contacts {
  margin-bottom: unset;
}

#contactsTable .bgcolor-primary {
  background-color: #F4F4F4!important;
  /* border-color: var(--project-bg-color-primary) !important; */
  /* color: var(--project-color-primary) !important; */
}

#contactsTable .bgcolor-primary:first-child {
  border-top-left-radius: 10px;
}

#contactsTable .bgcolor-primary:last-child {
  border-top-right-radius: 10px;
}

#contactsTable .gridjs-tbody {
  background-color: #F4F4F4!important;
  border-color: #AAA7A7!important;
  /* color: var(--project-color-primary) !important; */
}

#contactsTable .gridjs-tr:hover {
  background-color: #dbdbdb !important;
}

#contactsTable .gridjs-tbody tr:last-child .border-bottom {
  border: none!important;
}

#contactsTable .gridjs-tbody tr:last-child .border-bottom:first-child {
  border-bottom-left-radius: 10px;
}

#contactsTable .gridjs-tbody tr:last-child .border-bottom:last-child {
  border-bottom-right-radius: 10px;
}

#contactsTable .border-bottom {
  border-bottom: var(--vz-border-width) var(--vz-border-style) #AAA7A7 !important;
}

#contactsTable .table-contacts input {
  min-width: 200px;
}

#contactsTable .text-warning {
  --vz-text-opacity: 1;
  color: rgba(255,146,45, var(--vz-text-opacity)) !important;
}

#contactsTable .text-success {
  --vz-text-opacity: 1;
  color: rgba(87,136,47, var(--vz-text-opacity)) !important;
}
/* end onboarding */

/* Activation */
.backlog-duration span {
  font-size: 12px;
  font-weight: 500;
}

.backlog-duration select {
  width: 100px;
  /* height: 30px; */
  font-size: 12px;
  font-weight: 500;
}

.backlog-duration .select2.select2-container {
  width: 90px !important;
}

.backlog-duration .select2-container .select2-selection--single {
  border: 1px solid #91ABCA;
  background-color: #F3F3F9;
}

.backlog-duration .select2-container .select2-selection--single .select2-selection__arrow b {
  border-color: #2D3748 transparent transparent transparent;
}

.template-item-info {
    position: relative;
    display: inline-block;
}

#historyTemplateItemsContainer .item-disabled {
    text-decoration: line-through;
}

.item-disabled {
    color: #999;
}

#templateItemsContainer .item-disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #999;
}

.item-toggle-switch {
    display: flex;
    align-items: center;
}

.item-toggle-switch .form-check-input {
    margin-left: 10px;
}

#assignedTemplateDetailsArea {
    border: 1px solid #dee2e6; 
    border-radius: 1rem;    
    background-color: #fff; 
    padding: 0; 
    overflow: hidden; 
}

/* End new styles */

/* End Activation */
/* client management details */
#clientDetailsTabs .btn-outline-primary {
    color: #3EB0F0 !important;
    border-color: #3EB0F0 !important;
}

#clientDetailsTabs .btn-outline-primary.active {
    background-color: #3EB0F0 !important;
    border-color: #3EB0F0 !important;
}

#clientDetailsTabs .btn-outline-primary:hover:not(.active) {
    background-color: #3EB0F0 !important;
    transition: color 0.2s ease;
}

#clientDetailsTabs .btn-outline-primary span {
    color: #212529 !important;
    transition: color 0.2s ease;
}

#clientDetailsTabs .btn-outline-primary.active span {
    color: #fff !important; 
}

#clientDetailsTabs .btn-outline-primary:hover:not(.active) span {
    color: #fff !important; 
}

#clientDetailsTabContent .btn-export {
    background-color: #B2B2B2 !important;
    border-color: #B2B2B2 !important;
    color: #fff !important;
}

#clientDetailsTabContent .btn-export:hover {
    background-color: #9a9a9a !important;
    border-color: #9a9a9a !important;
}

/* Table Styles for Client Details Accounting Template Tab */
#clientDetailsTemplateTable {
    width: 100%;
}

#clientDetailsTemplateTable thead th {
    background-color: #f8f9fa;
    font-weight: bold;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #dee2e6; 
    text-align: left;
}

#clientDetailsTemplateTable tbody td {
    padding: 0.4rem 1rem; 
    vertical-align: middle;
}

#clientDetailsTemplateTable tbody tr td { 
    border-bottom: 1px solid #dee2e6;
}

#clientDetailsTemplateTable tbody tr:last-child td { 
    border-bottom: none;
}

#clientDetailsTemplateTable .item-disabled {
    text-decoration: line-through;
    color: #999;
}

#clientTemplateDetailsArea {
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    border: 1px solid #dee2e6; 
    border-radius: 1rem;    
    background-color: #fff; 
    padding: 0;
}

.confidentialFiles_current .file-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.confidentialFiles_current .file-tags {
    margin-top: 0.5rem;
}

.confidentialFiles_current .tags-select {
    margin-left: 0.5rem;
}

.file-item .file-tags .badge {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}
/* end client management details */

/* bookkeeper team */
.backlog-status {
  font-size: 16px;
  font-weight: 500;
  color: #DF4B23;
}

.task-filter-container label.service-filter-title,
.task-filter-container label.timeline-filter-title {
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

/* .task-filter-container .timeline-filter-content {
  cursor: grab;
} */

.task-filter-container .timeline-filter-content .timeline-filter {
  cursor: pointer;
}

.task-filter-container .timeline-filter-content .timeline-filter > div {
  font-size: 24px;
  color: #A6A2A2;
}

.month-size .timeline-filter > div {
  font-size: 20px !important;
}

.task-filter-container .timeline-filter-content .timeline-filter:hover > div {
  color: rgba(84, 156, 164, 0.75);
}

.task-filter-container .timeline-filter-content .timeline-filter.active > div {
  color: #1299A8;
}

.task-filter-container .timeline-filter-content .timeline-filter .timeline-filter-backlog {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: #D85353;
  margin: auto;
  visibility: hidden;
}

.task-filter-container .timeline-filter-notes {
  font-size: 12px;
  font-weight: 500;
  color: #D85353;
  background-color: #e8e8e8;
  border-radius: 15px;
  padding: 3px 15px;
}

.task-filter-container .timeline-filter-notes .timeline-filter-backlog {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background-color: #D85353;
  margin-right: 10px;
  /* vertical-align: middle; */
}

.task-filter-container .timeline-filter-content .timeline-filter .timeline-filter-backlog.active {
  visibility: inherit;
}

.filter-scrollbar::-webkit-scrollbar {
  width: 5px; /* Width of the scrollbar */
  height: 5px; /* Height of the scrollbar */
}

.filter-scrollbar::-webkit-scrollbar-track {
  background: #eee; /* Background of the scrollbar track */
}

.filter-scrollbar::-webkit-scrollbar-thumb {
  background: #cecece; /* Color of the scrollbar thumb */
  border-radius: 10px; /* Rounded corners of the scrollbar thumb */
}

.filter-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #cecece; /* Color of the scrollbar thumb on hover */
}

.task-info-container .task-info-content {
  font-size: 24px;
  font-weight: 500;
  color: #000000;
}

.task-info-container .task-info-content span {
  font-size: 28px;
  color: #1299A8;
}

.red-dots {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: #D85353;
  margin-right: 5px;
}

#comments-view {
  border-top: 1px solid #AAA7A7;
}

.comments-container {
  padding: 20px;
  background-color: #EEFAFF;
  border: 1px solid #91ABCA;
  border-radius: 0 0 var(--vz-card-inner-border-radius) var(--vz-card-inner-border-radius);
  cursor: pointer;
}

.comments-title {
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

.comments-title i {
  color: #2C7492;
}

.comment-item {
  background-color: #F7F7F7;
  border: 1px solid #C5C5C5;
  border-radius: 10px;
  width: 100%;
  padding: 15px 25px;
  font-size: 12px;
}

.comment-item .comment-icon i,
.comment-new .comment-new-icon i {
  font-size: 22px;
  color: #EEFAFF;
  background-color: #FFC145;
  border-color: #FFC145;
}

.comment-item .comment-info .comment-user {
  font-size: 15px;
  font-weight: 500;
  color: #000;
}

.comment-item .comment-info .comment-user span {
  font-size: 15px;
  font-weight: 500;
  margin-right: 5px;
}

.comment-item .comment-info .comment-user span.bookkeeper {
  color: #3C74C4;
}

.comment-item .comment-info .comment-user span.reviewer {
  color: #267D27;
}

.comment-item .comment-info .comment-user span.finops-team {
  color: #823CC4;
}

.comment-item .comment-info .comment-user span.management-team {
  color: #C4923C;
}

.comment-item .comment-info .comment-user small {
  font-size: 12px;
  font-weight: 500;
  color: #2D3748;
}

.comment-item .comment-info .comment-message {
  font-size: 14px;
  color: #6D6969;
}

.comments-container {
  display: none;
}

.comments-container.collapsed {
  display: block;
}

.review-date-section > div.review-date-item {
  width: 25%;
}

.completed-btn {
  background-color: #4CBA86 !important;
  border-color: #4CBA86 !important;
  color: #fff !important;
}
/* end bookkeeper team */

/* Finops Team */
.onedrive-empty {
  border: 1px solid #1AB4D7;
  border-radius: 6px;
  padding: 18px 37px 41px 15px;
}

.onedrive-item {
  border: 1px solid #1AB4D7;
  border-radius: 6px;
  padding: 18px 15px;
}

.onedrive-item .onedrive-icon img,
.onedrive-empty .onedrive-icon img {
  width: 102px;
}

.onedrive-item .onedrive-info p{
  margin-bottom: 0;
}

.onedrive-item .onedrive-info p.onedrive-title{
  font-size: 14px;
  font-weight: 500;
}

.onedrive-item .onedrive-info p.onedrive-link{
  font-size: 14px;
}

.onedrive-item .onedrive-info p.onedrive-service{
  font-size: 12px;
  font-weight: 500;
}

.onedrive-empty .onedrive-info .form-title {
  font-size: 14px;
  font-weight: 500;
}

.onedrive-empty .onedrive-info label {
  font-size: 14px;
  font-weight: 500;
}

.onedrive-empty .onedrive-info .form-control {
  background-color: #FCF4F4;
  border-color: #A3A0A0;
  border-radius: 6px;
}

.onedrive-empty .onedrive-info .form-select {
  background-color: #F3F3F9;
  border-color: #91ABCA;
  border-radius: 6px;
}

#layout-wrapper .onedrive-empty .onedrive-info .btn-primary {
  --vz-btn-color: #fff;
  --vz-btn-bg: #83C8D6;
  --vz-btn-border-color: #83C8D6;
  --vz-btn-hover-color: #fff;
  --vz-btn-hover-bg: #94d3e0;
  --vz-btn-hover-border-color: #94d3e0;
  --vz-btn-focus-shadow-rgb: 90, 140, 231;
  --vz-btn-active-color: #fff;
  --vz-btn-active-bg: #94d3e0;
  --vz-btn-active-border-color: #94d3e0;
  --vz-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --vz-btn-disabled-color: #fff;
  --vz-btn-disabled-bg: #83C8D6;
  --vz-btn-disabled-border-color: #83C8D6;
}

.task-assignment-container {
  background-color: #F4F4F4;
  border-radius: 10px;
  border: 1px solid #B7B7B7;
  padding: 25px 0px;
}

.task-assignment-container .select2-container .select2-selection--single.team-select2-dropdown {
  border: 1px solid #3990A2;
  background-color: #3990A2;
  border-radius: 0;
}

.task-assignment-container .select2-container .select2-selection--single.team-select2-dropdown .select2-selection__rendered {
  line-height: 36px;
  /* padding-top: 10px;
  padding-bottom: 10px; */
  padding-left: 34px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}

.task-assignment-container .selected-team-container {
  padding: 10px 34px;
  margin-top: 15px;
}

.task-assignment-container .selected-team-container h5 {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.task-assignment-container .select2-container--default .select2-selection--single.team-select2-dropdown .select2-selection__placeholder {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}

/* .review-date-item:not(:last-child) {
  border-right: 1px solid #AAA7A7;
} */

#checkpointTrackerContainer #managementReport .checkpoint-tracker-wrapper {
  border-top-left-radius: initial;
  border-top-right-radius: inherit;
  border-radius: 10px;
  border: 1px solid #B7B7B7;
  /* border-bottom: initial; */
}

/* end Finops Team */
/* reviewer Review Step 4 Styles */
.form-check-input.rounded-circle:checked {
    background-image: none !important;
    background-color: #23BBCC !important;
    border-color: #23BBCC !important;
}

#checkpoint_reportUpload .checkpoint-tracker-wrapper {
    background-color: #F4F4F4;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: 1px solid #B7B7B7;
    padding: 25px 40px;
    border-bottom: none;
}

#checkpoint_reportUpload .checkpoint-tracker-wrapper .checkpoint-tracker-header p {
    font-size: 24px;
    font-weight: 500;
}

#checkpoint_reportUpload .checkpoint-tracker-wrapper .checkpoint-tracker-header span {
    font-size: 24px;
    font-weight: 300;
    color: #3990A2;
    padding-left: 10px;
}

#checkpoint_reportUpload .checkpoint-tracker-footer .filepond--drip {
    background: #EEFAFF;
    opacity: 1;
    border: 1px solid #91ABCA;
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#checkpoint_reportUpload .checkpoint-tracker-footer .filepond--panel-root {
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
/* end reviewer Review Step 4 Styles */

@media (max-width: 1200px) {
  .flex-xl-nowrap .step .step-icon-wrap::before,
  .flex-xl-nowrap .step .step-icon-wrap::after {
      display: none
  }
}

@media (max-width: 991px) {
  .flex-lg-nowrap .step .step-icon-wrap::before,
  .flex-lg-nowrap .step .step-icon-wrap::after {
      display: none
  }
  .card-payment-return.card {
      width: 100%!important;
  }

  .review-date-section > div.review-date-item {
    width: initial;
  }
  /* .review-date-item:not(:last-child) {
    border-right: none;
  } */
}

@media (max-width: 768px) {
  .flex-md-nowrap .step .step-icon-wrap::before,
  .flex-md-nowrap .step .step-icon-wrap::after {
      display: none
  }
  /* dashboard */
  .dashboard-wrapper .dashboard-title {
    padding-left: 20px;
    padding-right: 20px;
  }

  .dashboard-wrapper .px-30 {
    padding-left: 20px;
    padding-right: 20px;
  }

  .dashboard-wrapper .dashboard-viewall {
    padding-left: 20px;
    padding-right: 20px;
  }

  .dashboard-wrapper .table .gridjs-tr .gridjs-th:first-child,
  .dashboard-wrapper .table .gridjs-tr .gridjs-td:first-child {
    padding-left: 20px;
  }
  /* end dashboard */
  /* onboarding */
  #checkpointTrackerContainer .checkpoint-tracker-wrapper {
    padding: 15px 15px;
  }
  #checkpointTrackerContainer .checkpoint-tracker-wrapper .checkpoint-tracker-table {
    min-width: 1000px;
  }
  /* end onboarding */
}

@media (max-width: 576px) {
  .flex-sm-nowrap .step .step-icon-wrap::before,
  .flex-sm-nowrap .step .step-icon-wrap::after {
      display: none
  }

  .backlog-duration .mobile-break {
      display: block;
      width: 100%;
  }
}

.form-section h5 {
  font-size: 24px;
}

.form-section h6 {
  font-size: 20px;
}

.form-label {
  font-size: 16px;
}

/* All Notifications Page Styles */
/* Notification view all link styling */
.notification-view-all {
  color: #FF8633 !important;
  text-decoration: underline !important;
  font-size: 14px;
}

#notificationsTable .red-dots,
.notification-item .red-dots {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #D85353;
    display: inline-block;
}



#notificationsTable .view-more-btn,
.notification-item .view-more-btn {
    font-size: 12px;
    cursor: pointer;
    color: #556ee6;
    text-decoration: none;
}

#notificationsTable .view-more-btn:hover,
.notification-item .view-more-btn:hover {
    text-decoration: underline;
}

#notificationsTable .notification-text,
.notification-item .notification-text {
    max-width: 100%;
}

.swal2-popup.notification-popup {
    padding: 1rem;
    font-size: 0.875rem;
}

.swal2-popup.notification-popup .swal2-title {
    font-size: 1rem;
    padding: 0.5rem 0;
}

.swal2-popup.notification-popup .swal2-content {
    padding: 0;
}

/* Style for the close (X) button */
.swal2-popup .notification-close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1rem;
    transition: color 0.2s;
}

/* Ensure these styles don't affect other alerts */
.notification-specific-alert.swal2-popup {
    border-radius: 0.5rem;
}


#notificationsTable .gridjs-table .gridjs-tbody .gridjs-tr {
    background-color: #ffffff;
}

/* Adjust notification badge position */
#notification-badge {
    top: 5px !important;
    right: 5px !important;
    transform: none !important;
}

.notification-list-container {
    max-height: 350px;
    overflow-y: auto;
}

.notification-scroll-wrapper {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 6px;
}

.notification-list-container::-webkit-scrollbar {
    width: 5px;
}

.notification-list-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.notification-list-container::-webkit-scrollbar-thumb {
    background: rgba(200, 200, 200, 0.5);
    border-radius: 10px;
}

.notification-list-container::-webkit-scrollbar-thumb:hover {
    background: rgba(150, 150, 150, 0.6);
}

.notification-item-list {
    border-bottom: 1px solid #f0f0f0;
}

.notification-item-list:last-child {
    border-bottom: none;
}

.notification-content {
    cursor: pointer;
    transition: all 0.2s ease;
}

#notificationsTable tbody tr:hover {
    transform: translateX(4px);
    transition: all 0.3s ease;
}

.notification-content .notification-text {
    transition: all 0.3s ease;
}

#notificationsTable tbody tr:hover .notification-text p {
    color: #495057;
}

#notificationsTable .gridjs-wrapper {
    overflow-x: hidden;
}

.filter-toggle-container {
    max-width: 360px;
    margin-bottom: 10px;
}

.filter-toggle-buttons {
    display: flex;
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

.filter-btn {
    flex: 1;
    background-color: #fff;
    color: #6c757d;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    border-right: 1px solid #dee2e6;
    outline: none;
}

.filter-btn:last-child {
    border-right: none;
}

.filter-btn.active {
    background-color: #FF8633;
    color: #fff;
}

.filter-btn:hover:not(.active) {
    background-color: #f8f9fa;
}

@media (max-width: 576px) {
    .filter-toggle-container {
        max-width: 100%;
    }
    
    .filter-btn {
        padding: 8px 8px;
        font-size: 13px;
    }
}

/* finsop team */
.month-backlog-indicator {
    background-color: #D85353;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 3px;
    margin-bottom: 1.5px;
}


.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 5%;
    margin-right: 2px;
    vertical-align: middle;
}

.legend-text {
    font-size: 12px;
}

.legend-dot.progress-complete { background: #57a82f; }
.legend-dot.progress-on-going { background: #ff8633; }
.legend-dot.progress-warning { background: #f5b505; }
.legend-dot.progress-danger { background: #e83131; }
.legend-dot.progress-pending { background: #7f7f7f; }

.legend-scrollbar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}
.legend-scrollbar > div {
    flex-shrink: 0;
}

.step-clickable {
  cursor: pointer;
}

.step-clickable:hover {
  opacity: 0.8;
}

@media (max-width: 576px) {
    .legend-scrollbar {
        padding-left: 10px !important;
        padding-right: 10px !important;
        gap: 12px !important;
    }
}

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

.action-buttons-container {
    max-width: 120px;
}

.comment-item .file-item {
  background-color: #fff;
  border: 1px solid #87929F!important;
}

.comment-item .attachment-title {
  color: #2C7492;
  font-size: 15px;
  font-weight: 600;
}

.comment-attachment .attachment-title:after {
  content: "\eedb";
  font-family: boxicons !important;
  font-weight: 400;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  display: inline-block;
  text-transform: none;
  speak: none;
  -webkit-font-smoothing: antialiased;
  
}

.comment-attachment .attachment-title[aria-expanded="true"]:after {
  content: "\ed91";
}

/* category */

  .add-category-section {
      background-color: #fff3cd; 
      padding: 1rem;
      border-radius: .25rem;
      margin-top: 1rem;
  }
  .add-category-section label {
      font-weight: 500;
  }

  .nav-tabs .nav-link.active {
    background-color: #f8f9fa;
    border-bottom-color: #dee2e6;
  }
  #itemsTable th, #itemsTable td {
      vertical-align: middle;
  }

.selected-group-row .group-account-type-column {
    flex-basis: 20%;
    align-self: flex-start; 
}

#assignedTemplateDetailsArea {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
}

#itemsTable th, #itemsTable td {
    vertical-align: middle;
}

.selected-group-row .group-account-type-column {
    flex-basis: 20%;
    align-self: flex-start; 
    padding: 0 0.75rem;
    font-size: 12px; 
    font-weight: 500;
}

#templateContentTable th,
#templateContentTable td {
    vertical-align: middle;
    padding: 0.75rem 1.25rem;
}

#templateContentTable thead th {
  background-color: #f8f9fa;
  font-weight: bold;
  border-bottom: 1px solid #dee2e6;
}

#templateContentTable .selected-group-row-item td {
  border-bottom: 1px solid #dee2e6;
}

#templateContentTable .selected-group-row-item:last-child td {
  border-bottom: none;
}

#templateContentTable .group-account-type-column {
  width: 20%;
  font-size: 12px;
  font-weight: 500;
}

#noGroupsRow td {
  padding: 1.5rem; 
  text-align: center;
}

#activationTemplateTable {
    width: 100%;
}

#activationTemplateTable thead th {
    background-color: #f8f9fa;
    font-weight: bold;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #dee2e6; 
    text-align: left;
}

#activationTemplateTable tbody td {
    padding: 0.4rem 1rem; 
    vertical-align: middle;
    border-bottom: none; 
}

#activationTemplateTable tbody td[rowspan],
#activationTemplateTable tbody tr td {
    border-bottom: 1px solid #dee2e6;
}

#activationTemplateTable tbody tr:last-child td {
    border-bottom: none;
}

#activationTemplateTable .item-toggle-switch {
    min-width: 50px; 
}

#activationTemplateTable td.text-end {
    text-align: right;
}


.item-toggle-switch .form-check-input {
    margin-left: 10px;
}

#activationTemplateTable tbody td[rowspan]:first-child { 
    font-weight: bold;
}

#activationTemplateTable tbody td[rowspan]:nth-child(2) { 
    font-weight: bold;
    font-size: 12px;
}

#templateItemsContainer .template-item-info {
  font-size: 12px;
}

/* Formula Builder Modal Styles */
.formula-builder-container {
    /* display: grid; */
    /* grid-template-columns: 380px 1fr; */
    min-height: 600px;
}

.sidebar-panel {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    background: white;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 4px;
}

.sidebar-description {
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
}

.search-section {
    padding: 20px 24px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.search-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f7fafc;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 20px;
}

.accounts-section {
    flex: 1;
    padding: 8px;
    overflow-y: auto;
    max-height: 400px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    margin: 16px 16px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-item {
    margin: 0 16px 6px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    cursor: grab;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.account-item:active {
    cursor: grabbing;
}

.account-item.dragging {
    opacity: 0.5;
    transform: rotate(3deg);
    z-index: 1000;
}

.account-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: transparent;
    transition: all 0.2s ease;
}

.account-item:hover {
    border-color: #cbd5e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.account-item.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.account-item.selected::before {
    background: #667eea;
}

.account-item.hidden {
    display: none;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.account-name {
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.4;
    flex: 1;
    margin-right: 12px;
}

.account-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-checkbox.checked {
    background: #667eea;
    border-color: #667eea;
}

.account-checkbox.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: bold;
}

.account-class {
    font-size: 12px;
    color: #718096;
    margin-bottom: 3px;
    text-transform: capitalize;
}

.account-type {
    font-size: 11px;
    color: #a0aec0;
    font-family: 'SF Mono', Monaco, monospace;
}

.action-section {
    padding: 20px 24px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.add-to-formula-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-formula-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.add-to-formula-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.workspace-panel {
    background: white;
    display: flex;
    flex-direction: column;
}

.workspace-header {
    padding: 24px 30px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.workspace-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 6px;
}

.workspace-description {
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
}

.operators-section {
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
    background: #fafafa;
}

.operators-label {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 12px;
}

.operators-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.formula-workspace {
    flex: 1;
    padding: 30px;
}

.formula-area {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    min-height: 120px;
    padding: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.formula-area.active {
    border-style: solid;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.formula-area.drag-over {
    border-color: #48bb78;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border-style: solid;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.2);
    transform: scale(1.01);
}

.formula-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.6;
    width: 100%;
}

.formula-placeholder-icon {
    font-size: 20px;
    margin-bottom: 6px;
    display: block;
}

.formula-tokens {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-height: 30px;
}

.formula-token {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    transition: all 0.2s ease;
    cursor: grab;
    animation: slideIn 0.3s ease;
    user-select: none;
}

.formula-token:active {
    cursor: grabbing;
}

.formula-token.dragging {
    opacity: 0.3;
    transform: scale(0.95) rotate(3deg);
    z-index: 1000;
}

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

.formula-token:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.formula-token.account {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.formula-token.operator {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    min-width: 32px;
    justify-content: center;
}

.formula-token.parenthesis {
    background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
    color: white;
    min-width: 28px;
    justify-content: center;
}

.token-remove {
    margin-left: 6px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #8a8a8a;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.token-remove:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.workspace-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn.secondary {
    background: #edf2f7;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.action-btn.secondary:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.action-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.action-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.preview-panel {
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    border: 2px solid #81e6d9;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.preview-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
}

.preview-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.preview-icon {
    font-size: 16px;
    margin-right: 6px;
}

.preview-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a202c;
}

.formula-display {
    background: white;
    border: 1px solid #81e6d9;
    border-radius: 8px;
    padding: 12px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #2d3748;
    min-height: 40px;
}

.validation-status {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.validation-status.success {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.validation-status.error {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.validation-status.warning {
    background: #fefcbf;
    color: #744210;
    border: 1px solid #f6e05e;
}

.status-icon {
    margin-right: 6px;
    font-size: 12px;
}

.selected-count {
    background: #667eea;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 6px;
}

.drop-indicator {
    width: 3px;
    height: 30px;
    background: #667eea;
    border-radius: 2px;
    margin: 0 3px;
    animation: pulse 1s infinite;
    position: relative;
}

.drop-indicator::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 9px;
    height: 9px;
    background: #667eea;
    border-radius: 50%;
}

.drop-indicator::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: -3px;
    width: 9px;
    height: 9px;
    background: #667eea;
    border-radius: 50%;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.modal-save-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.modal-save-btn:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
    color: white;
}

.custom-formula-input {
    background: #f8f9fa;
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 12px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 14px;
    color: #2d3748;
    position: relative;
}

.formula-builder-trigger {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.formula-builder-trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.number-button {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.number-button:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-color: #0056b3;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.number-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 123, 255, 0.3);
}

.number-button.dragging {
    opacity: 0.7;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
}

.number-button.decimal {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border-color: #1e7e34;
    color: white;
}

.number-button.decimal:hover {
    background: linear-gradient(135deg, #34ce57 0%, #28a745 100%);
    border-color: #28a745;
}

.operator-button {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #4a5568;
    font-size: 14px;
    font-weight: 700;
    cursor: grab;
    transition: all 0.2s ease;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.operator-button:active {
    cursor: grabbing;
}

.operator-button.dragging {
    opacity: 0.5;
    transform: rotate(3deg) scale(0.9);
}

.operator-button:hover {
    border-color: #667eea;
    background: #667eea;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.operator-button.math {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border-color: #48bb78;
}

.operator-button.math:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    border-color: #38a169;
}

.operator-button.paren {
    background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
    color: white;
    border-color: #9f7aea;
}

.operator-button.paren:hover {
    background: linear-gradient(135deg, #805ad5 0%, #6b46c1 100%);
    border-color: #805ad5;
}
/* 
.operator-button {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border: 1px solid #495057;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.operator-button:hover {
    background: linear-gradient(135deg, #5a6268 0%, #343a40 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.operator-button.math {
    background: linear-gradient(135deg, #dc3545 0%, #bd2130 100%);
    border-color: #bd2130;
}

.operator-button.math:hover {
    background: linear-gradient(135deg, #e4606d 0%, #dc3545 100%);
    border-color: #dc3545;
}

.operator-button.paren {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border-color: #e0a800;
    color: #212529;
}

.operator-button.paren:hover {
    background: linear-gradient(135deg, #ffcd39 0%, #ffc107 100%);
    border-color: #ffc107;
} */

.formula-token.number {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #64b5f6;
    color: #0d47a1;
    font-weight: 600;
}

.formula-token.number .token-content {
    font-family: 'Courier New', monospace;
}

.formula-token.formula {
    background: linear-gradient(135deg, #fffe61 0%, #cbe437 100%);
    border: 1px solid #c7b431;
    color: #6c7323;
    font-weight: 600;
}

.formula-token.formula .token-content {
    font-family: 'Courier New', monospace;
}

@media (max-width: 768px) {
    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .number-button {
        padding: 6px 8px;
        font-size: 12px;
        min-height: 32px;
    }
    
    .operator-button {
        padding: 6px 8px;
        font-size: 12px;
        min-height: 32px;
    }
}




/* Account Code Input Section */
.account-code-section {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 16px;
    margin: 10px 24px 0;
    position: relative;
    overflow: hidden;
}

.account-code-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9800, #ffc107, #ff9800);
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.account-code-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #e65100;
    margin-bottom: 8px;
    font-size: 14px;
}

.account-code-description {
    font-size: 12px;
    color: #bf360c;
    margin-bottom: 12px;
    line-height: 1.4;
}

.account-code-input-group {
    display: flex;
    gap: 8px;
}

.account-code-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ff9800;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 14px;
    background: white;
    transition: all 0.2s ease;
}

.account-code-input:focus {
    outline: none;
    border-color: #f57c00;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
    background: #fffde7;
}

.account-code-input.is-invalid {
    border-color: #d32f2f;
    background: #ffebee;
}

.account-code-add-btn {
    padding: 8px 12px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    transition: all 0.2s ease;
    cursor: pointer;
}

.account-code-add-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.account-code-add-btn:disabled {
    background: #bdbdbd;
    cursor: not-allowed;
}

/* @ Symbol Button and Account Code Controls */
.account-code-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.at-symbol-btn {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border: 2px solid #ef6c00;
    border-radius: 12px;
    padding: 16px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 80px;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.2);
}

.at-symbol-btn:hover {
    background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

.at-symbol-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.at-symbol {
    font-size: 28px;
    margin-bottom: 4px;
}

.at-label {
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.9;
}

.code-digits-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.code-button {
    padding: 10px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 1px solid #ff9800;
    border-radius: 6px;
    color: #e65100;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.code-button:hover {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.code-button.wide {
    grid-column: span 2;
}

.code-button.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

/* Enhanced Token Styles */
.formula-token.account-token {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #2196f3;
    color: #1565c0;
}

.formula-token.code-token {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc02 100%);
    border: 1px solid #ff9800;
    color: #e65100;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    position: relative;
}

.formula-token.code-token::before {
    content: '@';
    position: absolute;
    left: -8px;
    top: -8px;
    background: #ff9800;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
}

.formula-token.category-token {
    background: linear-gradient(135deg, #f3e5f5 0%, #ce93d8 100%);
    border: 1px solid #9c27b0;
    color: #6a1b9a;
}

.formula-token.formula-ref-token {
    background: linear-gradient(135deg, #e8f5e8 0%, #a5d6a7 100%);
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.formula-token.number-token {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    border: 1px solid #e91e63;
    color: #ad1457;
    font-family: 'Courier New', monospace;
}

.formula-token.operator-token {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 1px solid #757575;
    color: #424242;
    font-weight: bold;
    font-size: 1.1em;
}

/* Current Editing Styles */
.formula-token.current-editing {
    animation: editingPulse 1.5s ease-in-out infinite alternate;
    position: relative;
    overflow: visible;
}

@keyframes editingPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.7);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(243, 156, 18, 0);
        transform: scale(1.02);
    }
}

.formula-token.current-editing .editing-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f39c12;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: bold;
    animation: bounce 0.6s ease-in-out infinite alternate;
}

@keyframes bounce {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-3px); }
}

/* Legend Panel */
.legend-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
}

.legend-header {
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
    font-size: 13px;
}

.legend-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-token {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 60px;
    text-align: center;
    font-weight: 500;
}

.legend-description {
    font-size: 11px;
    color: #6c757d;
}

/* Shortcuts Panel */
.shortcuts-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
}

.shortcuts-header {
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
    font-size: 13px;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

.shortcut-item kbd {
    background: #e9ecef;
    border: 1px solid #adb5bd;
    border-radius: 3px;
    padding: 2px 4px;
    font-size: 10px;
    min-width: 24px;
    text-align: center;
}

.shortcut-item span {
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .code-digits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .shortcuts-grid {
        grid-template-columns: 1fr;
    }
    
    .at-symbol-btn {
        min-height: 60px;
        padding: 12px;
    }
    
    .at-symbol {
        font-size: 24px;
    }
}

/* Tooltip styles */
[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000;
}

.widget-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.widget-section .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.widget-section .section-subtitle {
    font-size: 14px;
    color: var(--widget-text-secondary);
    margin-top: 4px;
}

.widget-section .section-actions {
    display: flex;
    gap: 12px;
}

/* Search and Filter Section */
.widget-section .search-filter-section {
    margin-bottom: 24px;
}

.widget-section .search-filter-container {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.widget-section .search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.widget-section .search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
    transition: all 0.2s ease;
}

.widget-section .search-input:focus {
    outline: none;
    border-color: var(--widget-primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.widget-section .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--widget-text-secondary);
    font-size: 16px;
}

.widget-section .clear-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--widget-text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.widget-section .clear-search:hover {
    color: var(--text-primary);
    background-color: var(--main-bg);
}

.widget-section .filter-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.widget-section .filter-group {
    position: relative;
}

.widget-section .filter-select {
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
    color: var(--text-primary);
    cursor: pointer;
    min-width: 140px;
    transition: all 0.2s ease;
}

.widget-section .filter-select:focus {
    outline: none;
    border-color: var(--widget-primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.widget-section .filter-select:hover {
    border-color: var(--widget-primary-color);
}

.widget-section .filter-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: var(--widget-text-secondary);
}

.widget-section .results-text {
    font-weight: 500;
}

.widget-section .clear-filters-link {
    background: none;
    border: none;
    color: var(--widget-primary-color);
    cursor: pointer;
    text-decoration: underline;
    font-size: 13px;
    padding: 0;
}

.widget-section .clear-filters-link:hover {
    color: #1d4ed8;
}

.widget-section .no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--widget-text-secondary);
}

.widget-section .no-results i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.widget-section .no-results h5 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* Highlight search terms */
.widget-section .search-highlight {
    background-color: #fef3c7;
    padding: 1px 2px;
    border-radius: 2px;
    font-weight: 600;
}

/* Stats Cards */
.widget-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.widget-section .stat-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
}

.widget-section .stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.widget-section .stat-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.widget-section .stat-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-section .stat-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.widget-section .stat-info p {
    font-size: 13px;
    color: var(--widget-text-secondary);
    margin: 4px 0 0 0;
}

.widget-section .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.widget-section .stat-icon.primary { background: #dbeafe; color: var(--widget-primary-color); }
.widget-section .stat-icon.success { background: #d1fae5; color: var(--widget-success-color); }
.widget-section .stat-icon.warning { background: #fef3c7; color: var(--widget-warning-color); }
.widget-section .stat-icon.secondary { background: #f1f5f9; color: var(--widget-text-secondary); }

/* Widget List */
.widget-section .widget-list {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.widget-section .widget-item {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s;
}

.widget-section .widget-item:last-child {
    border-bottom: none;
}

.widget-section .widget-item:hover {
    background-color: #f8fafc;
}

.widget-section .widget-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.widget-section .widget-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.widget-section .widget-icon.active { background: linear-gradient(135deg, var(--widget-success-color), #06d6a0); }
.widget-section .widget-icon.inactive { background: linear-gradient(135deg, var(--widget-text-secondary), #8892b0); }
.widget-section .widget-icon.custom { 
    background: linear-gradient(135deg, var(--widget-warning-color), #ff8500);
    position: relative;
}

.widget-section .widget-icon.custom::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #ff6b35;
    border-radius: 50%;
    border: 2px solid white;
}

.widget-section .widget-info {
    flex: 1;
}

.widget-section .widget-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-section .widget-description {
    font-size: 13px;
    color: var(--widget-text-secondary);
    margin: 0;
    line-height: 1.4;
}

.widget-section .widget-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Badges */
.widget-section .badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-section .badge.custom {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

/* Loading States */
.widget-section .loading-container {
    text-align: center;
    padding: 60px 20px;
}

.widget-section .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid var(--widget-primary-color);
    border-radius: 50%;
    animation: widgetSpin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes widgetSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.widget-section .empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--widget-text-secondary);
}

.widget-section .empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Activity Log */
.activity-item {
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.activity-info h6 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.activity-meta {
    font-size: 12px;
    color: var(--widget-text-secondary);
    margin: 2px 0;
}

.activity-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-badge.add {
    background-color: #d1fae5;
    color: #065f46;
}

.activity-badge.remove {
    background-color: #fee2e2;
    color: #991b1b;
}

.sticky-actions.sticky-active {
  background-color: white;
  z-index: 1;
  border-bottom: 1px solid #c3c3c3;
}

/* Activity Pagination Styles */
.activity-pagination {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.pagination-info {
    font-size: 13px;
    color: var(--text-secondary);
}

.pagination-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--main-bg);
    border-color: var(--primary-color);
}

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

/* .pagination-btn.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
} */

.pagination-dots {
    padding: 0 8px;
    color: var(--text-secondary);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .widget-section .widget-section {
        padding: 20px;
    }

    .widget-section .stats-grid {
        grid-template-columns: 1fr;
    }

    .widget-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .widget-section .section-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .widget-section .widget-row {
        gap: 12px;
    }

    .widget-section .widget-actions {
        gap: 8px;
    }
    .widget-section .widget-row {
        flex-direction: column;
    }

    .sticky-actions.sticky-active {
      width: 100%!important;
      left: 0!important;
      padding: 1.5rem!important;
    }

    .activity-pagination {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .pagination-controls {
        justify-content: center;
    }
}

/* Table styles */

#searchClientDropdownMenu {
    max-height: 170px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.tax-table thead th { white-space: nowrap; }
.tax-table tbody td { vertical-align: middle; }
.section-title { font-weight: 600; text-transform: uppercase; }
.bg-section { background-color: #f1f5f9; }
.mono { font-variant-numeric: tabular-nums; }

/* Custom Tax Report Table Styles */
.tax-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.tax-table .rm-border-left { border-left: 1px solid #000 !important; }
.tax-table .rm-border-right { border-right: 1px solid #000 !important; }
.tax-table .rm-border-top { border-top: 1px solid #000 !important; }
.tax-table .rm-border-bottom { border-bottom: 1px solid #000 !important; }
.tax-table .rm-border-double-bottom { border-bottom: 3px double #000 !important; }

.tax-table .inactive-row {
  color: #999 !important;
  background-color: #f8f8f8 !important;
}

.summary-rm-col {
  width: 17% !important; /* Adjust as needed */
}

/* Mobile-friendly tax table scroll */
.tax-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .tax-table {
    min-width: 900px; 
  }
}

.page-wrapper .dropdown-menu{z-index:1021}#searchClientDropdownMenu{max-height:170px;overflow-y:auto;overscroll-behavior:contain}
#searchClientsDropdownMenu {
    max-height: 170px;
    overflow-y: auto;
    overscroll-behavior: contain;
}