input{text-transform: capitalize;}
input[type=email], input[name=email]{text-transform: lowercase;}

::placeholder {text-transform: capitalize;}

:-ms-input-placeholder {text-transform: capitalize;}

::-ms-input-placeholder {text-transform: capitalize;}


#ui-datepicker-div {
width: auto !important;
}
/* Loader styles moved to end of file — do not use absolute+transform (breaks spin) */
.shocsk{
position: absolute;
background: #fff;
padding: 10px 15px;
border: #0f0f0f 2px solid;
margin-top: 10px;
border-radius: 5px;}
/* your styles go here */
#example th {
  background-color: white;
  color: #000;
  font-weight: bold;
  font-size: 16px;
}
#example td {
  color: #000;
  font-size: 13px;
  padding: 15px 10px !important;
text-transform: capitalize !important;
}
#example td span.decline{
    background:#ff000054;
    color: red;
    border-radius: 20px;
    padding: 3px 10px;
text-transform: capitalize !important;
}
#example td span.active{
    background:rgb(124, 216, 124);
    color: green;
    border-radius: 20px;
    padding: 3px 10px;
}
tr:nth-child(odd) {
  /* background-color: grey; */
}
th, td {
  padding: 1rem;
}
td:hover {
  background-color: lightsalmon;
}

.paginate_button {
  border-radius: 0 !important;
}

table tr td a{display: inline-block;margin: 0 10px;}
table tr td a img{width: 18px;}

/* DS Code */
.login-page .container {
    height: 100vh !important;
    z-index: 999;
}
.fixheight {
    height: 555px;
    overflow: hidden;
}
.side-nav-head {
    display: flex;
    align-items: center;
    margin-right: 40px;
}
.navbar {
    background: #fff !important;
}
.page-title h2 {
    color: #00bdd5 !important;
    font-size: 24px;
}
.search-cal select.form-control {
    border: 2px solid #666;
    border-radius: 5px;
    padding: 10px 15px;
    appearance: auto !important;
}
.sidebar-item.active > .sidebar-link {
    margin: 0px 10px;
    border-radius: 10px;
}
.sidebar-link:hover {
    margin: 0px 10px;
    border-radius: 10px;
}
.sidebar .sidebar-link:hover {
  margin: 0;
  border-radius: unset;
}
nav#sidebar {
    min-width: 270px;
    max-width: 270px;
}
.billing_row > div i {
    border: 1px solid #00bcd5;
    padding: 7px;
    border-radius: 5px;
    color: #00bcd5;
    width: 35px;
    position:absolute;
    top:10px;
    right:10px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-link.active {
    background: #c3dbff !important;
    color: #0945a6 !important;
    font-weight: bold;
    letter-spacing: 0.6px;
    margin: 0px 10px;
    border-radius: 10px;
}
/* Vendors Invoice Datatable*/
div#vendorsInvoice_paginate ul.pagination {
    justify-content: end;
}

div#vendorsInvoice_paginate ul.pagination li {
    margin: 0px 2px;
}
div#vendorsInvoice_paginate ul.pagination li.paginate_button.active a {
    background: #00bcd5 !important;
    color: #fff !important;
}
div#vendorsInvoice_paginate ul.pagination li a {
    background: #fff !important;
    padding: 5px 10px;
    color: #00bcd5;
}
div#vendorsInvoice_filter label {
    display: block;
    width: 60%;
    margin-left: auto;
}
/* Detailed Report Datatable */
div#detailedReport_paginate ul.pagination {
    justify-content: end;
}

div#detailedReport_paginate ul.pagination li {
    margin: 0px 2px;
}
div#detailedReport_paginate ul.pagination li.paginate_button.active a {
    background: #00bcd5 !important;
    color: #fff !important;
}
div#detailedReport_paginate ul.pagination li a {
    background: #fff !important;
    padding: 5px 10px;
    color: #00bcd5;
}
div#detailedReport_filter label {
    display: block;
    width: 60%;
    margin-left: auto;
}
/* Client Billing Datatable */
div#clientBilling_paginate ul.pagination {
    justify-content: end;
}

div#clientBilling_paginate ul.pagination li {
    margin: 0px 2px;
}
div#clientBilling_paginate ul.pagination li.paginate_button.active a {
    background: #00bcd5 !important;
    color: #fff !important;
}
div#clientBilling_paginate ul.pagination li a {
    background: #fff !important;
    padding: 5px 10px;
    color: #00bcd5;
}
div#clientBilling_filter label {
    display: block;
    width: 60%;
    margin-left: auto;
}
.title-icon i {
    color: #00bcd5;
    margin-right: 10px;
}
.export-btn {
    border: 1px solid #00bcd5;
    color: #00bcd5;
    background: #fff;
}
.export-btn:hover {
    border: 1px solid #00bcd5;
    background: #00bcd5;
    color: #fff;
}
.blue-color {
    background-color: #ebfdff;
}
.purple-color {
    background-color: #f5f2fd;
}
.red-color {
    background-color:rgb(255 13 13 / 55%);
}
.green-color {
    background-color:#4ae34a;
}
.orange-color {
    background-color:#fda709;
}

.sky-color {
    background-color:#325bef;
}

.purple-color i {
    border: 1px solid #a889fb !important;
    color: #a889fb !important;
}
table thead tr th {
    color: #000 !important;
}
.table-striped > thead > tr {
    border-top: 0px;
    border-bottom: 0px;
    border-width: 0px !important;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: inherit;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
.weekdays {
    color: #00bcd5;
    font-weight: 800 !important;
}
.calendar.border {
    border-radius: 10px;
}
.today {
    background: #00bcd5 !important;
    color: #fff !important;
}
.days > div:hover {
    border: 0px !important;
    background: #00bcd5 !important;
    color: #fff !important;
}
.approve-btn {
    padding: 15px 110px;
    background: #00bcd5 !important;
    border: 1px solid #00bcd5 !important;
}
.approve-btn:hover {
    color: #00bcd5 !important;
    background: #fff !important;
}
.calendar .month .date {
    color: #00bcd5 !important;
}
.client-table-responsive {
    background: #fff;
    padding: 20px;
}
/* your styles go here */

.right-siderbar {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.right-siderbar .form-steps {
    list-style: none;
    margin-bottom: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: row;
}
.right-siderbar .form-steps > li {
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    position: relative;
}
.right-siderbar .form-steps > li.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0c2685
}
.right-siderbar .form-steps > li .fa-check {
    opacity: 0;
}
.right-siderbar  .form-steps > li.active .fa-check {
    background-color: #0c2685;
    padding: 10px;
    border-radius: 50%;
    opacity: 1;
    color: #fff;
}
.upload_file {
    width: 120px;
    height: 120px;
    opacity: 0;
    position: relative;
    z-index: 3;
}
.right-siderbar >.basic_form .upload_icon {
    width: 120px;
    height: 120px;
    background: aqua;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 32px;
    position: relative;
    margin-top: -120px;
    z-index: 2;
}

.upload_border {
    width: 148px;
    height: 120px;
    background: #eee;
    display: flex !important;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 32px;
    position: relative;
    margin-top: -120px;
    z-index: 2;
    border: 2px dashed #ccc;
}
.upload_file {
    width: 148px;
}
.upload_name {
    position: absolute;
    font-size: 8px;
    padding: 6px;
    top: 70px;
    letter-spacing: 1px;
    line-height: 10px;
}
.custom_pagination li a {
    border: none;
    border-radius: 50%;
}
.custom_pagination li a.active {
    background-color: #00bcd5 !important;
    color: #fff;
}
/* amit */

.right-siderbar .overview .fa-th-large {
    color: #00bdd5;
}
.billing_row .light-green {
    background-color: #ebfdff;
}
/* .billing_row i{ width: 30px; height: 30px;} */
.billing_row .light-green i {
    border: 1px solid #3ba8b0;
    padding: 7px;
    border-radius: 3px;
}
.billing_row .light-green .fa {
    color: #3ba8b0;
}
.billing_row .light-grey {
    background-color: #f5f2fd;
}
.billing_row .light-grey i {
    border: 1px solid #7b63af;
    padding: 7px;  
    border-radius: 3px;
}
.billing_row .light-grey .fa {
    color: #7b63af;
}
.billing_row .light-green2 {
    background-color: #f0f8fd;
}
.billing_row .light-green2 i {
    border: 1px solid #7565ac;
    padding: 7px;
    border-radius: 3px;
}
.billing_row .light-green2 .fa {
    color: #7565ac;
}
._client_billing table th {
    color: #000 !important;
}
._client_billing .custom_white_bg {
    background-color: #fff;
}
table td {
    color: #161616;
    font-size: 14px;
}
table ._data_bg_green {
    color: #2f724b;
    background-color: #e5fff2;
    padding: 2px 6px;
    border-radius: 10px;
}
table ._data_bg_red {
    color: #bc3f58;
    background-color: #faf1f0;
    padding: 2px 6px;
    border-radius: 10px;
}
table ._data_txt_blue {
    color: #4b69b4;
    padding: 2px 11px;
    font-size: 12px;
}
.text_bg_green {
    background-color: #28a74536;
    color: #28a745;
    padding: 2px 11px;
    font-size: 12px;
    border-radius: 50px;
    text-align: center;
}
.text_bg_red {
    color: #dc3545;
    background-color: #ff000036;
    padding: 2px 11px;
    font-size: 12px;
    border-radius: 50px;
   
    text-align: center;
}
.text_blue {
    color: #0d6efd;
    padding: 2px 11px;
    font-size: 12px;
}
.text_yellow {
    background-color: #cd9a6936;
    color: #cd9a69;
    padding: 2px 11px;
    font-size: 12px;
    border-radius: 50px;
    text-align: center;

}
.text_bg_purple {
    background-color: #6061c036;
    color: #6061c0;
    padding: 2px 11px;
    font-size: 12px;
    border-radius: 50px;
    text-align: center;
}

/* Calender */
.calendar {
    width: 28rem;
    height: 32rem;
    background-color: #f8f8f8;
    /* box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.4); */
}

.calendar .month {
    width: 100%;
    height: 8rem;
    /* background-color: #167e56; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    text-align: center;
}

.calendar .month i {
    font-size: 1.5rem;
    cursor: pointer;
}

.calendar .month h1 {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 1rem;
}

.calendar .month p {
    font-size: 1.6rem;
}

.calendar .weekdays {
    width: 100%;
    height: 3rem;
    padding: 0 0.4rem;
    display: flex;
    align-items: center;
}

.calendar .weekdays div {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    width: calc(25.2rem / 7);
    display: flex;
    justify-content: center;
    align-items: center;
    /* text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5); */
}

.calendar .days {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0.2rem;
}

.calendar .days div {
    font-size: 1rem;
    margin: 0.2rem;
    width: calc(27.2rem / 7);
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #161616;
    /* text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5); */
    transition: background-color 0.2s;
}

.calendar .days div:hover:not(.today) {
    background-color: #fff;
    border: 0.2rem solid #777;
    cursor: pointer;
}

.prev-date,
.next-date {
    opacity: 0.5;
}

.calendar .today {
    background-color: #333;
    color: #fff;
}


/*vendor css*/
#vendorsInvoice th input[type="checkbox"]{
    margin-right: 10px;
}

/** Client Invoice **/
.invoice ul {padding-left: 0;}
.invoice ul li{display: inline-block;padding-right: 20px;color:#3ca9dd;}
.invoice tr:nth-child(even) td{
	background: #fff;
}
.invoice tr:nth-child(even) td:first-child{
	border-left: 5px #0c2685 solid;
	margin-left: 15px;
	position: relative;
	display: block;
	width: 97%;
}
.invoice tr:nth-child(even) td:first-child:before{
	content:'';
}
.invoice tr:nth-child(even) {
	/* background: #fff; */
	/* margin-left: 15px; */
	/* position: relative; */
	/* display: block; */
	/* border-left: 5px #0c2685 solid; */
}
.invoice tr:nth-child(even) {
	/* background: #fff; */
	/* margin-left: 15px; */
	/* position: relative; */
	/* display: block; */
	/* border-left: 5px #0c2685 solid; */
}

.invoice tr:nth-child(odd) td::before {
  content: '';
  position: absolute;
  margin-top: 7px;
  left: 27px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 0 2px #526bf5;
}

.invoice tr:nth-child(odd) td:last-child::after {
	content: '';
	position: absolute;
	margin-top: 5px;
	left: 30px;
	width: 2px;
	height: 20%;
	background-color: #cac7cf;
	z-index: -2;
	/* transform: translate(0, -44%); */
}
.btn-remove{border: unset;background: unset;}
/* ticket manage start */
._bd_main_service{width: 100%;float: left;position: relative;clear: both;overflow: hidden;}
.editmytable table tr th{width:30%;padding: 8px; border: 1px solid #aaa;background: #f8f8f8;color: #000;font-weight: bold;font-size: 17px;}
.editmytable table tr td{width:70%;padding: 8px;border: 1px solid #aaa;font-size: 14px;}
.editmytable table tr td input{width: 100%;border: none;text-transform: capitalize; }
.editmytable .ptable tr th{width: 20.33%;margin-left: -1px;}
.editmytable .ntable tr th{width: 30.33%;margin-left: -1px;position: relative;}
.editmytable mtable thead tr th {width: 25% !important;}
.editmytable mtable tbody tr td {width: 25% !important;}
.editmytable .ptable tr th:first-child{border-top: none;}
.editmytable .ptable tr td:first-child{border-top: none;}
.editmytable .ptable tr td:first-child input{border-top: none;}
.editmytable .checkbox_input{display: inline-flex;margin-right: 60px;}
.editmytable .checkbox_input input[type="checkbox"]{width:19px;height: 19px;margin-right: 10px;}
.editmytable .checkbox_input label{font-weight: bold;}
.editmytable .export-edit{padding: 5px 50px;float: right;background: transparent;border: 2px solid #00bcd5;color: #fff;background: #00bcd5;font-weight: bold;position: absolute;right: 5px;top: 5px;}
#div2,#div3{display:none;}
.mtable tr th{color: #000 !important;border: 1px solid #000;padding: 10px;background: #ccc;}
.mtable tr td{color: #000 !important;border: 1px solid #ccc;padding: 10px;}
.mtable tr td input{border: none;}
#prev{display:none;float:left;}

.ticket_gen{width: 100%;display: flex;justify-content: space-between;flex-wrap: wrap;}
       .ticket_gen ._left{width: 55%;}
       .ticket_gen ._right{width: 30%;position: relative;}
       .ticket_gen ._right .upload-icon{position: absolute;background: url('./img/cloud-computing.png') no-repeat;width: 64px;height: 64px;background-size: cover;margin:  0 auto;top: 50%;transform: translateY(-50%);right: 0px;left: 0px;z-index:1;border: none;}
       .ticket_gen ._right img{width: 100%;height:80%;border: 2px dashed #000;background: #f8f8f8;z-index: 44;}
       .ticket_gen ._right input[type="file"]{position:absolute;left: 0px;right: 0px;width: 100%;height: 100%;opacity:0;}
/* ticket manage end */
/* chat css */
#frame {
  width: 95%;
  min-width: 360px;
  max-width: 1000px;
  height: 92vh;
  min-height: 300px;
  max-height: 620px;
  background: #E6EAEA;
}
@media screen and (max-width: 360px) {
  #frame {
    width: 100%;
    height: 100vh;
  }
}
#frame #sidepanel {
  float: left;
  min-width: 280px;
  max-width: 340px;
  width: 40%;
  height: 100%;
  background: #2c3e50;
  color: #f5f5f5;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel {
    width: 58px;
    min-width: 58px;
  }
}
#frame #sidepanel #profile {
  width: 80%;
  margin: 25px auto;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile {
    width: 100%;
    margin: 0 auto;
    padding: 5px 0 0 0;
    background: #32465a;
  }
}
#frame #sidepanel #profile.expanded .wrap {
  height: 210px;
  line-height: initial;
}
#frame #sidepanel #profile.expanded .wrap p {
  margin-top: 20px;
}
#frame #sidepanel #profile.expanded .wrap i.expand-button {
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}
#frame #sidepanel #profile .wrap {
  height: 60px;
  line-height: 60px;
  overflow: hidden;
  -moz-transition: 0.3s height ease;
  -o-transition: 0.3s height ease;
  -webkit-transition: 0.3s height ease;
  transition: 0.3s height ease;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap {
height: 55px;
  }
}
#frame #sidepanel #profile .wrap img {
  width: 50px;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid #e74c3c;
  height: auto;
  float: left;
  cursor: pointer;
  -moz-transition: 0.3s border ease;
  -o-transition: 0.3s border ease;
  -webkit-transition: 0.3s border ease;
  transition: 0.3s border ease;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap img {
    width: 40px;
    margin-left: 4px;
  }
}
#frame #sidepanel #profile .wrap img.online {
  border: 2px solid #2ecc71;
}
#frame #sidepanel #profile .wrap img.away {
  border: 2px solid #f1c40f;
}
#frame #sidepanel #profile .wrap img.busy {
  border: 2px solid #e74c3c;
}
#frame #sidepanel #profile .wrap img.offline {
  border: 2px solid #95a5a6;
}
#frame #sidepanel #profile .wrap p {
  float: left;
  margin-left: 15px;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap p {
    display: none;
  }
}
#frame #sidepanel #profile .wrap i.expand-button {
  float: right;
  margin-top: 23px;
  font-size: 0.8em;
  cursor: pointer;
  color: #435f7a;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap i.expand-button {
    display: none;
  }
}
#frame #sidepanel #profile .wrap #status-options {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: 150px;
  margin: 70px 0 0 0;
  border-radius: 6px;
  z-index: 99;
  line-height: initial;
  background: #435f7a;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options {
    width: 58px;
    margin-top: 57px;
  }
}
#frame #sidepanel #profile .wrap #status-options.active {
  opacity: 1;
  visibility: visible;
  margin: 75px 0 0 0;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options.active {
    margin-top: 62px;
  }
}
#frame #sidepanel #profile .wrap #status-options:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #435f7a;
  margin: -8px 0 0 24px;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options:before {
    margin-left: 23px;
  }
}
#frame #sidepanel #profile .wrap #status-options ul {
  overflow: hidden;
  border-radius: 6px;
}
#frame #sidepanel #profile .wrap #status-options ul li {
  padding: 15px 0 30px 18px;
  display: block;
  cursor: pointer;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li {
    padding: 15px 0 35px 22px;
  }
}
#frame #sidepanel #profile .wrap #status-options ul li:hover {
  background: #496886;
}
#frame #sidepanel #profile .wrap #status-options ul li span.status-circle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 5px 0 0 0;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li span.status-circle {
    width: 14px;
    height: 14px;
  }
}
#frame #sidepanel #profile .wrap #status-options ul li span.status-circle:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -3px 0 0 -3px;
  background: transparent;
  border-radius: 50%;
  z-index: 0;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li span.status-circle:before {
    height: 18px;
    width: 18px;
  }
}
#frame #sidepanel #profile .wrap #status-options ul li p {
  padding-left: 12px;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li p {
    display: none;
  }
}
#frame #sidepanel #profile .wrap #status-options ul li#status-online span.status-circle {
  background: #2ecc71;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-online.active span.status-circle:before {
  border: 1px solid #2ecc71;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-away span.status-circle {
  background: #f1c40f;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-away.active span.status-circle:before {
  border: 1px solid #f1c40f;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-busy span.status-circle {
  background: #e74c3c;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-busy.active span.status-circle:before {
  border: 1px solid #e74c3c;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-offline span.status-circle {
  background: #95a5a6;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-offline.active span.status-circle:before {
  border: 1px solid #95a5a6;
}
#frame #sidepanel #profile .wrap #expanded {
  padding: 100px 0 0 0;
  display: block;
  line-height: initial !important;
}
#frame #sidepanel #profile .wrap #expanded label {
  float: left;
  clear: both;
  margin: 0 8px 5px 0;
  padding: 5px 0;
}
#frame #sidepanel #profile .wrap #expanded input {
  border: none;
  margin-bottom: 6px;
  background: #32465a;
  border-radius: 3px;
  color: #f5f5f5;
  padding: 7px;
  width: calc(100% - 43px);
}
#frame #sidepanel #profile .wrap #expanded input:focus {
  outline: none;
  background: #435f7a;
}
#frame #sidepanel #search {
  border-top: 1px solid #32465a;
  border-bottom: 1px solid #32465a;
  font-weight: 300;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #search {
    display: none;
  }
}
#frame #sidepanel #search label {
  position: absolute;
  margin: 10px 0 0 20px;
}
#frame #sidepanel #search input {
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
  padding: 10px 0 10px 46px;
  width:100%;
  border: none;
  background: #32465a;
  color: #f5f5f5;
}
#frame #sidepanel #search input:focus {
  outline: none;
  background: #435f7a;
}
#frame #sidepanel #search input::-webkit-input-placeholder {
  color: #f5f5f5;
}
#frame #sidepanel #search input::-moz-placeholder {
  color: #f5f5f5;
}
#frame #sidepanel #search input:-ms-input-placeholder {
  color: #f5f5f5;
}
#frame #sidepanel #search input:-moz-placeholder {
  color: #f5f5f5;
}
#frame #sidepanel #contacts {
  height: calc(100% - 177px);
  overflow-y: scroll;
  overflow-x: hidden;
}
#frame #sidepanel #contacts ul{
  margin: 0px;
padding: 0px;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts {
    height: calc(100% - 149px);
    overflow-y: scroll;
    overflow-x: hidden;
  }
  #frame #sidepanel #contacts::-webkit-scrollbar {
    display: none;
  }
}
#frame #sidepanel #contacts.expanded {
  height: calc(100% - 334px);
}
#frame #sidepanel #contacts::-webkit-scrollbar {
  width: 8px;
  background: #2c3e50;
}
#frame #sidepanel #contacts::-webkit-scrollbar-thumb {
  background-color: #243140;
}
#frame #sidepanel #contacts ul li.contact {
  position: relative;
  padding: 10px 0 15px 0;
  font-size: 0.9em;
  cursor: pointer;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact {
    padding: 6px 0 46px 8px;
  }
}
#frame #sidepanel #contacts ul li.contact:hover {
  background: #32465a;
}
#frame #sidepanel #contacts ul li.contact.active {
  background: #32465a;
  border-right: 5px solid #435f7a;
}
#frame #sidepanel #contacts ul li.contact.active span.contact-status {
  border: 2px solid #32465a !important;
}
#frame #sidepanel #contacts ul li.contact .wrap {
  width: 88%;
  margin: 0 auto;
  position: relative;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact .wrap {
    width: 100%;
  }
}
#frame #sidepanel #contacts ul li.contact .wrap span {
  position: absolute;
  left: 0;
  margin: -2px 0 0 -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #2c3e50;
  background: #95a5a6;
}
#frame #sidepanel #contacts ul li.contact .wrap span.online {
  background: #2ecc71;
}
#frame #sidepanel #contacts ul li.contact .wrap span.away {
  background: #f1c40f;
}
#frame #sidepanel #contacts ul li.contact .wrap span.busy {
  background: #e74c3c;
}
#frame #sidepanel #contacts ul li.contact .wrap img {
  width: 40px;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact .wrap img {
    margin-right: 0px;
  }
}
#frame #sidepanel #contacts ul li.contact .wrap .meta {
  padding: 5px 0 0 0;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact .wrap .meta {
    display: none;
  }
}
#frame #sidepanel #contacts ul li.contact .wrap .meta .name {
  font-weight: 600;
}
#frame #sidepanel #contacts ul li.contact .wrap .meta .preview {
  margin: 5px 0 0 0;
  padding: 0 0 1px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -moz-transition: 1s all ease;
  -o-transition: 1s all ease;
  -webkit-transition: 1s all ease;
  transition: 1s all ease;
}
#frame #sidepanel #contacts ul li.contact .wrap .meta .preview span {
  position: initial;
  border-radius: initial;
  background: none;
  border: none;
  padding: 0 2px 0 0;
  margin: 0 0 0 1px;
  opacity: 0.5;
}
#frame #sidepanel #bottom-bar {
  position: absolute;
  width: 100%;
  bottom: 0;
}
#frame #sidepanel #bottom-bar button {
  float: left;
  border: none;
  width: 50%;
  padding: 10px 0;
  background: #32465a;
  color: #f5f5f5;
  cursor: pointer;
  font-size: 0.85em;
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button {
    float: none;
    width: 100%;
    padding: 15px 0;
  }
}
#frame #sidepanel #bottom-bar button:focus {
  outline: none;
}
#frame #sidepanel #bottom-bar button:nth-child(1) {
  border-right: 1px solid #2c3e50;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button:nth-child(1) {
    border-right: none;
    border-bottom: 1px solid #2c3e50;
  }
}
#frame #sidepanel #bottom-bar button:hover {
  background: #435f7a;
}
#frame #sidepanel #bottom-bar button i {
  margin-right: 3px;
  font-size: 1em;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button i {
    font-size: 1.3em;
  }
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button span {
    display: none;
  }
}
#frame .content {
  float: right;
  width: 60%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 735px) {
  #frame .content {
    width: calc(100% - 58px);
    min-width: 300px !important;
  }
}
@media screen and (min-width: 900px) {
  #frame .content {
    width: calc(100% - 340px);
  }
}
#frame .content .contact-profile {
  width: 100%;
  height: 60px;
  line-height: 60px;
  background: #f5f5f5;
}
#frame .content .contact-profile img {
  width: 40px;
  border-radius: 50%;
  float: left;
  margin: 9px 12px 0 9px;
}
#frame .content .contact-profile p {
  float: left;
}
#frame .content .contact-profile .social-media {
  float: right;
}
#frame .content .contact-profile .social-media i {
  margin-left: 14px;
  cursor: pointer;
}
#frame .content .contact-profile .social-media i:nth-last-child(1) {
  margin-right: 20px;
}
#frame .content .contact-profile .social-media i:hover {
  color: #435f7a;
}
#frame .content .messages {
  height: auto;
  min-height: calc(100% - 93px);
  max-height: calc(100% - 93px);
  overflow-y: scroll;
  overflow-x: hidden;
}
@media screen and (max-width: 735px) {
  #frame .content .messages {
    max-height: calc(100% - 105px);
  }
}
#frame .content .messages::-webkit-scrollbar {
  width: 8px;
  background: rgba(0, 0, 0, 0);
}
#frame .content .messages::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
}
#frame .content .messages ul li {
  display: inline-block;
  clear: both;
  float: left;
  margin: 15px 15px 5px 15px;
  width: calc(100% - 25px);
  font-size: 0.9em;
}
#frame .content .messages ul li:nth-last-child(1) {
  margin-bottom: 20px;
}
#frame .content .messages ul li.sent img {
  margin: 6px 8px 0 0;
}
#frame .content .messages ul li.sent p {
  background: #435f7a;
  color: #f5f5f5;
}
#frame .content .messages ul li.replies img {
  float: right;
  margin: 6px 0 0 8px;
}
#frame .content .messages ul li.replies p {
  background: #f5f5f5;
  float: right;
}
#frame .content .messages ul li img {
  width: 40px;
  border-radius: 50%;
  float: left;
}
#frame .content .messages ul li p {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 205px;
  line-height: 130%;
}
@media screen and (min-width: 735px) {
  #frame .content .messages ul li p {
    max-width: 300px;
  }
}
#frame .content .message-input {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 99;
}
#frame .content .message-input .wrap {
  position: relative;
  display:flex;
}
#frame .content .message-input .wrap input {
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
  float: left;
  border: none;
  width:100%;
  padding: 16px 32px 16px 8px;
  font-size:17px;
  color: #32465a;
}
@media screen and (max-width: 735px) {
  #frame .content .message-input .wrap input {
    padding: 15px 32px 16px 8px;
  }
}
#frame .content .message-input .wrap input:focus {
  outline: none;
}
#frame .content .message-input .wrap .attachment {
  position: absolute;
  right: 60px;
  display: none;
  z-index: 4;
  margin-top: 10px;
  font-size: 1.1em;
  color: #435f7a;
  opacity: 0.5;
  cursor: pointer;
}
@media screen and (max-width: 735px) {
  #frame .content .message-input .wrap .attachment {
    margin-top: 17px;
    right: 65px;
  }
}
#frame .content .message-input .wrap .attachment:hover {
  opacity: 1;
}
#frame .content .message-input .wrap button {
  float: right;
  border: none;
  width: 50px;
  padding: 12px 0;
  cursor: pointer;
  background: #32465a;
  color: #f5f5f5;
}
@media screen and (max-width: 735px) {
  #frame .content .message-input .wrap button {
    padding: 16px 0;
  }
}
#frame .content .message-input .wrap button:hover {
  background: #435f7a;
}
#frame .content .message-input .wrap button:focus {
  outline: none;
}

table.mis tr td:nth-child(6), table.mis tr th:nth-child(6) {
    background: #fffe00 !important;
}
table.mis tr td:nth-child(7), table.mis tr th:nth-child(7) {
    background: #fdc100 !important;
}
table.mis tr td:nth-child(8), table.mis tr th:nth-child(8) {
    background: #fd0100 !important;
}
/*chat end css*/

/* =========================================================
   THEME OVERRIDE — NextAdmin-style light dashboard
   Added on top of the base template so nothing else breaks.
   ========================================================= */
:root{
  --navy:#1b1043;
  --navy-2:#241463;
  --navy-3:#3b1f86;
  --ink:#170f38;
  --body:#4d4770;
  --muted:#8a8aa3;
  --bg:#f7f7fb;
  --white:#ffffff;
  --line:#ececf3;
  --line-2:#e2e2ee;
  --green:#d91c6c;
  --green-deep:#b0155a;
  --green-soft:#fbe6f0;
  --blue:#6c2bd9;
  --blue-soft:#f1eafb;
  --pink:#ff4fa0;
  --amber:#f59e0b;
  --amber-soft:#fef3e2;
  --danger:#e5484d;
  --danger-soft:#fdeceb;
  --ease:cubic-bezier(.22,1,.36,1);
  --display:"Sora",system-ui,sans-serif;
  --body-font:"Inter",system-ui,sans-serif;
  --radius:16px;
  --shadow-sm:0 1px 2px rgba(23,15,56,.04),0 2px 8px rgba(23,15,56,.04);
  --shadow-md:0 8px 24px rgba(23,15,56,.08);
  --shadow-lg:0 20px 48px rgba(23,15,56,.10);
}

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

html, body{ background:var(--bg) !important; font-family:var(--body-font); }

/* Base theme bug: .page-content is hard-coded to width:84%, leaving a
   dead gap on the right of every page on wide screens (client dashboard,
   BD dashboard, forms — all of them). Let it fill the flex row instead. */
.d-flex.align-items-stretch.sidebar > .page-content,
.page-content{
  width:auto !important;
  flex:1 1 auto !important;
  max-width:100% !important;
}

/* =========================================================
   TOP HEADER
   ========================================================= */
.header .navbar.bg-dash-dark-2{
  background:var(--white) !important;
  border-bottom:1px solid var(--line) !important;
  box-shadow:none !important;
  min-height:68px;
}
.header .container-fluid{ padding-top:4px; padding-bottom:4px; }
.header .text-blue{ color:var(--ink) !important; font-family:var(--display); font-weight:700 !important; }
#logout{
  color:var(--body) !important;
  font-weight:600;
  font-size:.85rem;
  padding:8px 16px !important;
  border-radius:8px;
  background:var(--bg);
  border:1px solid var(--line);
}
#logout:hover{ color:var(--green) !important; border-color:var(--green); }

/* =========================================================
   SIDEBAR SHELL — clean, light, professional
   ========================================================= */
nav#sidebar{
  background:var(--white) !important;
  border-right:1px solid var(--line) !important;
  box-shadow:none !important;
  padding-top:0;
  overflow-y:auto;
  overflow-x:hidden;
}
nav#sidebar::-webkit-scrollbar{ width:5px; }
nav#sidebar::-webkit-scrollbar-track{ background:transparent; }
nav#sidebar::-webkit-scrollbar-thumb{ background:var(--line-2); border-radius:10px; }

/* Sidebar brand block */
nav#sidebar .sidebar-brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding:22px 22px 18px;
  border-bottom:1px solid var(--line);
  margin-bottom:8px;
}
nav#sidebar .sidebar-brand-mark{
  width:36px;
  height:36px;
  min-width:36px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
  color:var(--white);
  font-family:var(--display);
  font-weight:800;
  font-size:1rem;
  box-shadow:0 6px 14px rgba(108,43,217,.28);
}
nav#sidebar .sidebar-brand-text{ display:flex; flex-direction:column; line-height:1.25; }
nav#sidebar .sidebar-brand-text strong{
  color:var(--ink);
  font-family:var(--display);
  font-size:.98rem;
  font-weight:700;
  letter-spacing:.1px;
}
nav#sidebar .sidebar-brand-text small{
  color:var(--muted);
  font-size:.7rem;
  font-weight:500;
  letter-spacing:.4px;
  text-transform:uppercase;
}

/* Section label */
nav#sidebar .sidebar-section-label{
  color:var(--muted);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.9px;
  text-transform:uppercase;
  padding:6px 22px 8px;
  font-family:var(--body-font);
  margin-top:14px;
}
nav#sidebar .sidebar-section-label:first-of-type{ margin-top:2px; }

nav#sidebar ul.list-unstyled{ padding:0 0 24px; margin:0; }
nav#sidebar li.sidebar-item{ list-style:none; }

/* Top-level links */
nav#sidebar .sidebar-link{
  color:var(--body) !important;
  background:transparent !important;
  font-family:var(--body-font);
  font-weight:500;
  font-size:.87rem;
  line-height:1.3;
  border-left:none !important;
  margin:1px 12px !important;
  padding:9px 12px !important;
  border-radius:9px !important;
  display:flex !important;
  align-items:center;
  min-height:38px;
  position:relative;
  transition:background .16s var(--ease), color .16s var(--ease);
}

/* Sub-menu links */
nav#sidebar .sidebar-item li{ position:relative; }
nav#sidebar .sidebar-item li a.sidebar-link{
  background:transparent !important;
  color:var(--muted) !important;
  font-size:.8rem;
  font-weight:400;
  min-height:34px;
  padding:7px 14px 7px 48px !important;
  margin:0 12px !important;
  border-radius:8px !important;
}
nav#sidebar .sidebar-item li::before{
  content:"";
  position:absolute;
  left:33px;
  top:50%;
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--line-2);
  transform:translateY(-50%);
}
nav#sidebar .sidebar-item .collapse{
  background:transparent !important;
  border-radius:0;
  margin:0 0 4px;
  padding:2px 0;
}
nav#sidebar .sidebar-item .collapse li a.sidebar-link{ margin:0 !important; }

/* Icon (plain, no colored chip — matches reference) */
nav#sidebar .nav-icon-chip{
  width:26px;
  height:26px;
  min-width:26px;
  border-radius:7px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-right:12px;
  background:transparent;
  transition:color .16s var(--ease);
}
nav#sidebar .nav-icon{
  width:25px;
  margin-left:10px;
  height:18px;
  color:var(--muted);
  flex-shrink:0;
  transition:color .16s var(--ease);
}

/* Hover state */
nav#sidebar .sidebar-link:hover{
  background:var(--bg) !important;
  color:var(--ink) !important;
}
nav#sidebar .sidebar-link:hover .nav-icon{ color:var(--blue) !important; }
nav#sidebar .sidebar-item .collapse li:not(.active) .sidebar-link:hover{
  background:var(--bg) !important;
  color:var(--ink) !important;
}

/* Active state (top level) */
nav#sidebar .sidebar-item.active > .sidebar-link,
nav#sidebar .sidebar-link.active{
  background:var(--blue-soft) !important;
  color:var(--blue) !important;
  font-weight:700 !important;
  box-shadow:none;
}
nav#sidebar .sidebar-item.active > .sidebar-link span{ color:var(--blue) !important; }
nav#sidebar .sidebar-item.active > .sidebar-link .nav-icon{ color:var(--blue) !important; }
nav#sidebar .sidebar-item.active > .sidebar-link::before{
  content:"";
  position:absolute;
  left:-12px;
  top:50%;
  transform:translateY(-50%);
  width:3px;
  height:20px;
  border-radius:0 4px 4px 0;
  background:linear-gradient(180deg, var(--blue), var(--pink));
}

/* Active state (sub-menu) */
nav#sidebar .sidebar-item li.active > a.sidebar-link{
  background:var(--blue-soft) !important;
  color:var(--blue) !important;
  font-weight:600;
}
nav#sidebar .sidebar-item li.active::before{ background:var(--blue); }

/* Dropdown caret — clean CSS chevron */
nav#sidebar .sidebar-link[data-bs-toggle="collapse"]::before{
  content:"" !important;
  background:none !important;
  width:6px !important;
  height:6px !important;
  border-right:1.6px solid var(--muted);
  border-bottom:1.6px solid var(--muted);
  transform:translateY(-65%) rotate(-45deg) !important;
  transition:transform .2s var(--ease), border-color .2s var(--ease);
  right:18px;
}
nav#sidebar .sidebar-link[aria-expanded="true"]::before{
  transform:translateY(-35%) rotate(45deg) !important;
  border-color:var(--blue);
}
nav#sidebar .sidebar-link[aria-expanded="true"]{ color:var(--ink) !important; }
nav#sidebar .sidebar-link[aria-expanded="true"]:hover{ background:var(--bg) !important; }

.brand-big{ background:transparent !important; }

/* =========================================================
   DASHBOARD CONTENT — clean cards, no heavy colored borders
   ========================================================= */
.page-title h2{ color:var(--ink) !important; }

.btn-primary, .create_new{
  background:var(--ink) !important;
  border-color:var(--ink) !important;
  border-radius:10px !important;
  font-weight:600;
  box-shadow:var(--shadow-sm);
  transition:background .18s var(--ease), transform .18s var(--ease);
}
.btn-primary:hover, .create_new:hover{
  background:var(--navy-2) !important;
  border-color:var(--navy-2) !important;
  transform:translateY(-1px);
}

.page-content select.form-control,
#calender{
  border:1px solid var(--line-2) !important;
  border-radius:10px !important;
  font-weight:500;
  color:var(--ink) !important;
  box-shadow:var(--shadow-sm);
  background:var(--white) !important;
}
.page-content select.form-control:focus,
#calender:focus{
  outline:none;
  border-color:var(--blue) !important;
  box-shadow:0 0 0 3px rgba(108,43,217,.10) !important;
}

.page-content{ padding:0 4px 32px; }

/* Card shell — flat, soft-bordered, rounded like reference */
.page-content ._border_radius{ border-radius:var(--radius); }
.page-content .card-body{
  border-radius:var(--radius) !important;
  border:1px solid var(--line) !important;
  box-shadow:var(--shadow-sm) !important;
}
.page-content ._border_radius:hover .card-body{
  box-shadow:var(--shadow-md) !important;
  transform:translateY(-2px);
}

/* Stat cards: remove thick colored left border, use plain edge + colored icon square only */
/* CARD-BORDER-FIX-V2 */
.page-content .dash_card,
.page-content .dash_card.blue_border,
.page-content .dash_card.yellow_border,
.page-content .dash_card.red_border,
.page-content .dash_card.green_border{
  border-left-width:0 !important;
  border-left-style:none !important;
  border-left-color:transparent !important;
  border-left:0 none transparent !important;
  padding:22px !important;
}
.page-content .dash-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
}
.page-content .dash-icon svg{ width:20px; height:20px; }
.page-content .dash_num{ font-size:1.7rem; }

/* Colored icon badge per card variant — global so every dashboard
   (client, BD, etc.) gets the same tinted-square icon treatment
   without redeclaring it per page. */
.page-content .dash_card.blue_border   .dash-icon{ background:var(--blue-soft)   !important; color:var(--blue); }
.page-content .dash_card.yellow_border .dash-icon{ background:var(--amber-soft)  !important; color:var(--amber); }
.page-content .dash_card.red_border    .dash-icon{ background:var(--danger-soft) !important; color:var(--danger); }
.page-content .dash_card.green_border  .dash-icon{ background:var(--green-soft)  !important; color:var(--green-deep); }

/* Composite (address/employee) cards: replace colored top border with plain */
.page-content .green_border.card-body,
.page-content .card-body.green_border{
  border-top-width:1px !important;
  border-top-style:solid !important;
  border-top-color:var(--line) !important;
  border-top:1px solid var(--line) !important;
}

.page-content .chartBox{ border-radius:var(--radius); }

/* =========================================================
   Card background fix — base theme's .blue_border/.red_border/
   .yellow_border/.green_border classes set a solid pastel
   *background* (e.g. #c3dbff) wherever they're used, which
   clashes with the icon-badge card style used across the app.
   Force plain white cards everywhere; only the icon badge
   keeps the tint.
   ========================================================= */
.page-content .dash_card,
.page-content .dash_card.blue_border,
.page-content .dash_card.yellow_border,
.page-content .dash_card.red_border,
.page-content .dash_card.green_border{
  background:var(--white) !important;
  display:flex !important;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}

/* =========================================================
   Circle-shaped check-type cards (client dashboard) — replace
   the dated solid-color circle with the same white/icon-badge
   card style used elsewhere, without touching the markup.
   ========================================================= */
/* CIRCLE-CARD-FIX-V3 — check this marker is present on the live site
   to confirm this exact file is deployed */
.page-content .circle_card{
  width:100% !important;
  height:auto !important;
  min-height:150px;
  margin:0 !important;
  border-radius:var(--radius) !important;
  display:flex !important;
  flex-direction:column;
  align-items:flex-start !important;
  justify-content:center !important;
  text-align:left !important;
  padding:24px !important;
  background:var(--white) !important;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  transition:box-shadow .16s var(--ease), transform .16s var(--ease);
}
.page-content .circle_card:hover{
  box-shadow:var(--shadow-md);
  transform:translateY(-2px);
}
/* Slightly stronger icon-badge tint on these smaller check-type cards
   so they read clearly at a glance instead of looking washed out. */
.page-content .circle_card.blue_border .dash-icon{ background:#e7d9fb !important; color:var(--blue) !important; }
.page-content .circle_card.green_border .dash-icon{ background:#d7f3e3 !important; color:#12a150 !important; }
.page-content .circle_card.red_border .dash-icon{ background:#fbd6d3 !important; color:var(--danger) !important; }
.page-content .circle_card.yellow_border .dash-icon{ background:#fce3b8 !important; color:var(--amber) !important; }
/* Real per-check-type icons are added as .dash-icon markup (see below);
   the .dash_card.{color}_border .dash-icon rule above already colors them. */

.page-content .circle_card .d-flex.align-items-end{
  display:block !important;
  width:100%;
}
.page-content .circle_card .dash_text{
  font-size:.8rem !important;
  font-weight:600 !important;
  color:var(--body) !important;
  text-transform:none;
  margin-top:2px !important;
}
.page-content .circle_card .dash_num{
  font-size:1.9rem !important;
  color:var(--ink) !important;
}

/* =========================================================
   FORM PAGES — Client Create / Edit polish
   Scoped to .form-page so it applies to every page that uses
   this wrapper (both client/create.blade.php and
   client/edit.blade.php already carry this class) without
   needing per-page CSS. Uses the global :root palette above.
   ========================================================= */

/* Page header bar */
.form-page .bg-dash-dark-2,
.form-page .bg-dash-dark,
.page-content .bg-dash-dark-2,
.page-content .bg-dash-dark{
  background:var(--white) !important;
  border-bottom:1px solid var(--line) !important;
  padding:22px 0 !important;
}
.form-page .bg-dash-dark-2 h2,
.form-page .bg-dash-dark h2,
.page-content .bg-dash-dark-2 h2,
.page-content .bg-dash-dark h2{
  color:var(--ink) !important;
  font-family:var(--display);
  font-weight:700 !important;
  font-size:1.25rem !important;
}
/* Date-range filter + Go button that sit inside these header bars */
.page-content .bg-dash-dark-2 input.form-control,
.page-content .bg-dash-dark input.form-control{
  border:1px solid var(--line-2) !important;
  border-radius:9px !important;
  padding:9px 14px !important;
  font-size:.85rem;
  color:var(--ink);
  background:var(--bg);
}
.page-content .bg-dash-dark-2 input.form-control:focus,
.page-content .bg-dash-dark input.form-control:focus{
  outline:none;
  border-color:var(--blue) !important;
  box-shadow:0 0 0 3px rgba(108,43,217,.10) !important;
  background:var(--white);
}
.page-content .bg-dash-dark-2 .btn-primary,
.page-content .bg-dash-dark .btn-primary{
  background:linear-gradient(135deg, var(--blue), var(--green)) !important;
  border:none !important;
  border-radius:9px !important;
  font-weight:600;
}

.form-page{ background:var(--bg) !important; padding-bottom:40px; }
.form-page section.pt-0{ padding-top:24px !important; }

/* Card shell */
.form-page .card{
  border:1px solid var(--line) !important;
  border-radius:var(--radius) !important;
  box-shadow:var(--shadow-sm) !important;
}
.form-page .card-body{ padding:32px !important; }

/* Section captions (currently plain <strong class="form-label-new">) */
.form-page .form-label-new{
  display:block;
  width:100%;
  font-family:var(--body-font);
  font-size:.72rem;
  font-weight:700;
  color:var(--blue);
  text-transform:uppercase;
  letter-spacing:.6px;
  padding-bottom:10px;
  margin:22px 0 16px;
  border-bottom:1px solid var(--line);
}
.form-page .row:first-of-type .form-label-new{ margin-top:0; }

/* Field labels */
.form-page .form-label{
  font-size:.82rem;
  font-weight:600;
  color:var(--body);
  margin-bottom:6px;
}
.form-page .form-label h4{
  font-family:var(--display);
  font-size:1rem;
  font-weight:700;
  color:var(--ink);
  margin:0;
}

/* Inputs & selects */
.form-page .form-control,
.form-page select.form-control{
  border:1px solid var(--line-2) !important;
  border-radius:9px !important;
  padding:10px 14px !important;
  font-size:.87rem;
  color:var(--ink);
  background:var(--bg);
  transition:border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.form-page .form-control:focus,
.form-page select.form-control:focus{
  outline:none;
  border-color:var(--blue) !important;
  box-shadow:0 0 0 3px rgba(108,43,217,.10) !important;
  background:var(--white);
}
.form-page .form-control::placeholder{ color:var(--muted); }
.form-page small{ color:var(--muted); font-size:.72rem; }
.form-page .text-danger{
  display:block;
  font-size:.76rem;
  margin-top:4px;
}

/* Radio / checkbox groups */
.form-page .form-check{
  padding-left:1.6em;
  margin-bottom:4px;
}
.form-page .form-check-input{
  accent-color:var(--blue);
  width:1.05em;
  height:1.05em;
  margin-top:.2em;
}
.form-page .form-check-label{
  font-size:.85rem;
  color:var(--body);
  font-weight:500;
}
.form-page input[type="checkbox"]:not(.form-check-input){
  accent-color:var(--blue);
  width:16px;
  height:16px;
}

/* File inputs (GST / PAN upload) */
.form-page input[type="file"].btn{
  background:var(--bg) !important;
  color:var(--body) !important;
  border:1px dashed var(--line-2) !important;
  border-radius:9px !important;
  font-size:.82rem;
  font-weight:500;
  padding:9px 14px !important;
  box-shadow:none !important;
}

/* Buttons */
.form-page .btn-primary{
  background:linear-gradient(135deg, var(--blue), var(--green)) !important;
  border:none !important;
  border-radius:9px !important;
  font-weight:600;
  font-size:.85rem;
  box-shadow:var(--shadow-sm);
  transition:transform .16s var(--ease), box-shadow .16s var(--ease);
}
.form-page .btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:var(--shadow-md);
}
.form-page .btn-danger{
  border-radius:9px !important;
  font-size:.78rem;
}
.form-page #clientbtn,
.form-page button[type="submit"].btn-primary{
  padding:12px !important;
  font-size:.92rem;
}

/* GST/PAN validate input-group */
.form-page .input-group .form-control{ border-radius:9px 0 0 9px !important; }
.form-page .input-group .btn{ border-radius:0 9px 9px 0 !important; white-space:nowrap; }

/* Package selection cards */
.form-page .list{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  background:var(--bg);
}
.form-page ._list_pack{
  border:1px solid var(--line) !important;
  border-radius:14px !important;
  box-shadow:var(--shadow-sm) !important;
  transition:box-shadow .16s var(--ease), transform .16s var(--ease);
}
.form-page ._list_pack:hover{
  box-shadow:var(--shadow-md) !important;
  transform:translateY(-2px);
}
.form-page ._list_pack strong{ color:var(--ink) !important; }
.form-page ._list_pack b{ color:var(--green-deep) !important; }
.form-page .buttoncolor{
  background:linear-gradient(135deg, var(--blue), var(--green)) !important;
  border:none !important;
  font-weight:600;
  letter-spacing:.2px;
}
.form-page .packages h3{ color:var(--ink) !important; font-family:var(--display); }

/* Spacing rhythm between stacked field-group rows */
.form-page .internationaldiv > .row{ margin-bottom:6px; }
.form-page hr{ border-color:var(--line); margin:24px 0; }

/* Inline radio/checkbox groups under a label (Client Type, Goverment Company, MCA, GST, etc.) */
.form-page .radio-pill-group{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 22px;
  margin-top:2px;
}
.form-page .radio-pill-group .form-check{
  margin-bottom:0;
  display:flex;
  align-items:center;
  gap:6px;
  padding-left:0;
}
.form-page .radio-pill-group .form-check-input{ margin:0; }
.form-page .radio-pill-group .form-check-label{ margin:0; }

/* Small external-link helper next to a section caption (e.g. "Check on MCA") */
.form-page .form-label-new .mca-link{
  float:right;
  text-transform:none;
  letter-spacing:0;
  font-weight:600;
  font-size:.74rem;
  color:var(--blue);
}
.form-page .form-label-new .mca-link:hover{ color:var(--green); }

/* =========================================================
   LOGIN PAGES — shared layout (internal + client login)
   Used by resources/views/auth/login.blade.php and
   resources/views/client/login.blade.php. Both files just
   provide the markup; all styling lives here once, on top
   of the global :root palette already defined above.
   =========================================================*/
span.help-block strong{
  font-size: 14px;
  color: red;
  top: -10px;
  position: relative;
}
.header{
z-index:9999;
}

html, body{ height:100%;  }
body{ background:var(--bg); }

.login-page{ padding:0 !important; }
.login-shell{
  height:100vh;
  width:100%;
  display:flex;
  align-items:stretch;
  font-family:var(--body-font);
  position:relative;
  z-index:5;
  overflow:hidden;
}

/* ============ LEFT: brand / illustration panel ============ */
.login-info-panel{
  flex:1 1 56%;
  max-width:680px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg, var(--blue), var(--green));
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:5vh 64px;
}
.login-info-panel::before{
  content:"";
  position:absolute;
  width:360px; height:360px;
  border-radius:50%;
  background:rgba(255,255,255,.07);
  top:-120px; right:-100px;
}
.login-info-panel::after{
  content:"";
  position:absolute;
  width:260px; height:260px;
  border-radius:50%;
  background:rgba(255,255,255,.05);
  bottom:-90px; left:-70px;
}

.login-info-inner{ position:relative; z-index:2; max-width:440px; }

.login-brand-row{ display:flex; align-items:center; gap:10px; margin-bottom:22px; }
.login-brand-mark{
  width:36px; height:36px; border-radius:10px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-weight:700; font-size:.95rem; color:#fff;
}
.login-brand-row span{
  font-family:var(--display); font-weight:600; font-size:1.05rem; letter-spacing:.2px; color:#fff;
}

.login-info-panel h1{
  font-family:var(--display);
  font-weight:700;
  font-size:1.55rem;
  line-height:1.35;
  margin-bottom:10px;
  color:#fff;
}
.login-info-panel > .login-info-inner > p{
  font-size:.87rem;
  line-height:1.6;
  color:rgba(255,255,255,.85);
  margin-bottom:14px;
}
.login-info-panel > .login-info-inner > p.login-sub-copy{
  font-size:.82rem;
  color:rgba(255,255,255,.68);
  margin-bottom:20px;
}

/* Illustration */
.login-illustration{ margin:6px 0 22px; }
.login-illustration svg{ width:100%; max-width:340px; height:auto; display:block; }

.login-feature-list{ list-style:none; padding:0; margin:0; display:flex; gap:20px; flex-wrap:wrap; }
.login-feature-list li{
  display:flex;
  align-items:center;
  gap:8px;
}
.login-feature-list svg{ width:15px; height:15px; color:#fff; opacity:.85; }
.login-feature-list span{
  font-size:.76rem;
  font-weight:600;
  color:#fff;
}

.login-stats{
  display:flex;
  gap:32px;
  margin-top:26px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.22);
}
.login-stats div b{
  display:block;
  font-family:var(--display);
  font-size:1.25rem;
  font-weight:700;
  color:#fff;
}
.login-stats div span{
  font-size:.68rem;
  color:rgba(255,255,255,.65);
  text-transform:uppercase;
  letter-spacing:.5px;
}

/* ============ RIGHT: form panel ============ */
.login-form-panel{
  flex:1 1 44%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--white);
  padding:24px 32px;
  overflow:hidden;
  position:relative;
}
.login-form-panel::before{
  content:"";
  position:absolute;
  width:420px; height:420px;
  border-radius:50%;
  background:radial-gradient(circle, var(--green-soft) 0%, transparent 70%);
  top:-140px; right:-160px;
  z-index:0;
}
.login-form-panel::after{
  content:"";
  position:absolute;
  width:320px; height:320px;
  border-radius:50%;
  background:radial-gradient(circle, var(--bg) 0%, transparent 70%);
  bottom:-100px; left:-100px;
  z-index:0;
}
.login-form-card{ width:100%; max-width:400px; position:relative; z-index:1; }
.login-form-card .form-logo{ text-align:center; margin-bottom:6px; }
.login-form-card .form-logo img{ width:150px; }

.heading_login{
  font-family:var(--display);
  font-weight:700;
  font-size:1.45rem;
  color:var(--ink);
  text-align:center;
  margin:20px 0 4px;
}
.login-form-card .form-sub{
  text-align:center;
  font-size:.86rem;
  color:var(--muted);
  margin-bottom:32px;
}

.login-form-card .input-material-group{ position:relative; margin-bottom:20px !important; }
.login-form-card .input-material-box{
  border:1px solid var(--line-2) !important;
  border-radius:10px !important;
  background:var(--bg) !important;
  padding:13px 16px 13px 44px !important;
  font-size:.92rem;
  transition:border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.login-form-card .input-material-box:focus{
  outline:none;
  border-color:var(--blue) !important;
  box-shadow:0 0 0 3px rgba(108,43,217,.10);
  background:var(--white) !important;
}
.login-form-card .input-material-group label{
  font-size:.74rem;
  font-weight:700;
  color:var(--body);
  text-transform:uppercase;
  letter-spacing:.3px;
  margin-bottom:6px;
  display:block;
}
.login-form-card .input-material-group span i{ color:var(--muted); }
.login-form-card ._flex_text{ margin-top:10px; }
.login-form-card ._flex_text p{ font-size:.85rem; margin:0; }
.login-form-card ._flex_text p a{ color:var(--green) !important; font-weight:600; }

.login-form-card .signin{
  width:100%;
  background:linear-gradient(135deg, var(--blue), var(--green)) !important;
  border:none !important;
  border-radius:10px !important;
  padding:13px !important;
  font-size:.95rem;
  font-weight:600;
  letter-spacing:.2px;
  margin-top:10px;
  box-shadow:var(--shadow-md);
  transition:transform .18s var(--ease), box-shadow .18s var(--ease);
}
.login-form-card .signin:hover{
  transform:translateY(-1px);
  box-shadow:var(--shadow-lg);
}

.login-trust-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:26px;
  color:var(--muted);
  font-size:.75rem;
}
.login-trust-row svg{ width:14px; height:14px; color:var(--muted); }

.login-page .alert-danger{
  border-radius:9px;
  font-size:.82rem;
}

@media (max-width: 991.98px){
  html, body{ overflow:auto; }
  .login-shell{ flex-direction:column; height:auto; min-height:100vh; }
  .login-info-panel{ max-width:none; padding:32px 28px; }
  .login-illustration{ max-width:220px; margin:6px auto 18px; }
  .login-feature-list{ display:none; }
}
@media (max-height: 760px){
  .login-info-panel{ padding:3vh 48px; }
  .login-illustration svg{ max-width:220px; }
}

/* =========================================================
   CANDIDATE STEP FORM (resources/views/candidate/create.blade.php)
   This page already has a working multi-step wizard (the number
   of steps varies per candidate depending on which checks are
   enabled) driven by jQuery toggling .active / .current classes.
   None of that JS or markup is touched here — this only restyles
   the existing .form-steps nav and step panels to look modern,
   using the same palette as the rest of the app.
   ========================================================= */

/* Step nav → numbered-circle stepper with a connecting line.
   Uses a CSS counter so it works regardless of how many steps
   are rendered for a given candidate. */
/* STEPPER-CIRCLE-FIX-V2 — search for this marker in the raw
   deployed CSS file to confirm this version is actually live */
.right-siderbar .container .form-steps,
ul.form-steps{
  counter-reset: stepcounter;
  list-style:none !important;
  display:flex !important;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:flex-start;
  gap:0 !important;
  background:var(--white) !important;
  border:1px solid var(--line) !important;
  border-radius:var(--radius) !important;
  padding:26px 24px 18px !important;
  box-shadow:var(--shadow-sm) !important;
  margin-bottom:28px !important;
}
.right-siderbar .container .form-steps > li,
ul.form-steps > li{
  counter-increment: stepcounter;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  min-width:118px !important;
  max-width:160px !important;
  text-align:center !important;
  position:relative !important;
  padding:4px 8px 14px !important;
  margin:0 !important;
  cursor:default !important;
}
.right-siderbar .container .form-steps > li input[type="checkbox"],
ul.form-steps > li input[type="checkbox"]{
  display:none !important;
}
.right-siderbar .container .form-steps > li i.fa-long-arrow-right,
.right-siderbar .container .form-steps > li .fa-check,
ul.form-steps > li i.fa-long-arrow-right,
ul.form-steps > li .fa-check{
  display:none !important;
}
.right-siderbar .container .form-steps > li::before,
ul.form-steps > li::before{
  content: counter(stepcounter) !important;
  order:-1;
  width:36px !important;
  height:36px !important;
  min-width:36px !important;
  border-radius:50% !important;
  background:var(--bg) !important;
  border:2px solid var(--line-2) !important;
  color:var(--muted) !important;
  font-family:var(--display) !important;
  font-weight:700 !important;
  font-size:.85rem !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  z-index:1 !important;
  position:relative !important;
  transition:all .2s ease !important;
}
.right-siderbar .container .form-steps > li::after,
ul.form-steps > li::after{
  content:"" !important;
  position:absolute !important;
  top:22px !important;
  left:calc(50% + 18px) !important;
  width:calc(100% - 18px) !important;
  height:2px !important;
  background:var(--line-2) !important;
  z-index:0 !important;
}
.right-siderbar .container .form-steps > li:last-child::after,
ul.form-steps > li:last-child::after{ display:none !important; }
.right-siderbar .container .form-steps > li.active::before,
ul.form-steps > li.active::before{
  background:linear-gradient(135deg, var(--blue), var(--green)) !important;
  border-color:transparent !important;
  color:#fff !important;
  box-shadow:0 6px 14px rgba(108,43,217,.3) !important;
  transform:scale(1.05);
}
.right-siderbar .container .form-steps > li,
.right-siderbar .container .form-steps > li a,
ul.form-steps > li{
  font-size:.78rem !important;
  font-weight:600 !important;
  color:var(--muted) !important;
  text-decoration:none !important;
}
.right-siderbar .container .form-steps > li.active,
ul.form-steps > li.active{ color:var(--ink) !important; }

/* Step panels (each one shares the base .card class) */
.right-siderbar .container.card,
.right-siderbar div.card{
  border:1px solid var(--line) !important;
  border-radius:var(--radius) !important;
  box-shadow:var(--shadow-sm) !important;
  background:var(--white) !important;
}

/* Inputs, selects, labels used throughout every step */
.right-siderbar .form-control,
.right-siderbar select.form-control{
  border:1px solid var(--line-2) !important;
  border-radius:9px !important;
  padding:10px 14px !important;
  font-size:.87rem;
  color:var(--ink);
  background:var(--bg);
  transition:border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.right-siderbar .form-control:focus,
.right-siderbar select.form-control:focus{
  outline:none;
  border-color:var(--blue) !important;
  box-shadow:0 0 0 3px rgba(108,43,217,.10) !important;
  background:var(--white) !important;
}
.right-siderbar label,
.basic_form label{
  color:var(--body) !important;
  font-weight:600 !important;
  font-size:.82rem !important;
}

/* Buttons: Back / Save & Continue / Save & Submit */
.right-siderbar .btn-primary{
  background:linear-gradient(135deg, var(--blue), var(--green)) !important;
  border:none !important;
  border-radius:9px !important;
  font-weight:600;
  box-shadow:var(--shadow-sm);
  transition:transform .16s var(--ease), box-shadow .16s var(--ease);
}
.right-siderbar .btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:var(--shadow-md);
}
.right-siderbar #prev.btn-primary{
  background:var(--white) !important;
  color:var(--ink) !important;
  border:1px solid var(--line-2) !important;
  box-shadow:none;
}
.right-siderbar #prev.btn-primary:hover{
  background:var(--bg) !important;
  transform:none;
}

/* =========================================================
   CANDIDATE CREATE PAGE — use full width, polish header,
   redesign the preloader.
   ========================================================= */

/* The 3 bootstrap .container divs on this page were swapped to
   .container-fluid directly in the blade file (they were capping
   the form at ~1140px on wide screens). This just removes any
   leftover default container-fluid gutters so the step nav and
   panels use the full page-content width evenly. */
.right-siderbar .container-fluid{
  padding-left:0 !important;
  padding-right:0 !important;
}
/* Belt-and-braces: force every plain Bootstrap .container inside
   this app's page header / candidate form area to behave like
   .container-fluid (full width, no max-width cap), so this works
   even on pages where the blade file itself still uses the plain
   .container class (e.g. the edit form) — no HTML edit required. */
.page-content > .py-4 > .container,
.right-siderbar > .container,
.right-siderbar .basic_form > .container{
  max-width:100% !important;
  width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* Header row: title + Bulk Import button */
.page-content > .py-4{
  border-bottom:1px solid var(--line);
  margin-bottom:8px;
}
.page-content > .py-4 h2{
  font-family:var(--display);
  font-weight:700;
  color:var(--ink) !important;
  font-size:1.3rem !important;
}
.page-content > .py-4 .create_new{
  background:linear-gradient(135deg, var(--blue), var(--green)) !important;
  border:none !important;
  border-radius:9px !important;
  padding:10px 20px !important;
  font-weight:600;
  box-shadow:var(--shadow-sm);
}

/* =========================================================
   PRELOADER — professional centered loader
   (NO transform on .ploader position — only rotate in keyframes)
   ========================================================= */
#ppreloader {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}
#ppreloader.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#ppreloader .ploader {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 auto !important;
  width: 48px !important;
  height: 48px !important;
  border: 3.5px solid #ede9fe !important;
  border-top-color: #7c3aed !important;
  border-right-color: #c4b5fd !important;
  border-bottom-color: #ede9fe !important;
  border-left-color: #ede9fe !important;
  border-radius: 50% !important;
  animation: app-loader-spin 0.65s linear infinite !important;
  -webkit-animation: app-loader-spin 0.65s linear infinite !important;
  box-shadow: 0 0 0 8px rgba(124, 58, 237, 0.06) !important;
  flex-shrink: 0 !important;
  will-change: transform !important;
}
#ppreloader p {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #5b21b6 !important;
  letter-spacing: 0.02em !important;
  text-align: center !important;
  line-height: 1.4 !important;
  z-index: auto !important;
}
@keyframes app-loader-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* =========================================================
   CANDIDATE EDIT FORM — upload widgets
   .new_button / .file-display are defined inline in the page's
   own <style> block (hardcoded blue #1269b6, plain dashed box).
   Restyled to match the FilePond "Drag & Drop" dropzone look
   used on the create form, without touching any markup/JS.
   ========================================================= */
.right-siderbar .file-display{
  border:2px dashed var(--line-2) !important;
  border-radius:14px !important;
  background:var(--bg) !important;
  position:relative;
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:16px !important;
}
.right-siderbar .file-display::before{
  content:"";
  width:30px;
  height:30px;
  margin-bottom:10px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%238a8aa3'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M7%2018a4.5%204.5%200%200%201-1.5-8.7%205.5%205.5%200%200%201%2010.7-2%204%204%200%200%201%201.3%207.7'/%3E%3Cpath%20d='M12%2012v7'/%3E%3Cpath%20d='M9%2015l3-3%203%203'/%3E%3C/svg%3E");
}
.right-siderbar .file-display::after{
  content:"Drag & Drop Your Files";
  font-size:.76rem;
  font-weight:500;
  color:var(--muted) !important;
  order:2;
}
.right-siderbar .file-display embed{
  border-radius:10px;
}

/* "Choose File" acts as the "Browse" link — pulled up under the
   box, styled as a small text link instead of a big floating pill */
.right-siderbar .new_button,
.right-siderbar .file-input{
  background:none !important;
  color:var(--blue) !important;
  border:none !important;
  border-radius:0 !important;
  padding:6px 0 0 !important;
  font-weight:600;
  font-size:.82rem;
  text-decoration:underline;
  text-underline-offset:2px;
  margin-top:8px !important;
  box-shadow:none !important;
  display:block;
  text-align:center;
}
.right-siderbar .new_button:hover{
  color:var(--green) !important;
  transform:none;
}

/* =========================================================
   CANDIDATE LIST (DataTable) — polish the #example table shell,
   header, search box, and pagination. Scoped broadly since this
   #example/DataTables pattern is reused across several listing
   pages in the app (candidate list, etc).
   ========================================================= */
.page-content .dataTables_wrapper{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:24px !important;
}
.page-content table#example,
.page-content table.display,
.page-content #myTable{
  border-collapse:separate;
  border-spacing:0;
}
.page-content #example thead th,
.page-content #myTable thead th{
  background:var(--bg) !important;
  color:var(--ink) !important;
  font-family:var(--body-font);
  font-size:.74rem !important;
  font-weight:700 !important;
  text-transform:uppercase;
  letter-spacing:.4px;
  border-bottom:1px solid var(--line) !important;
  padding:12px 14px !important;
}
.page-content #example tbody td,
.page-content #myTable tbody td{
  padding:14px !important;
  border-bottom:1px solid var(--line) !important;
  vertical-align:middle;
  color:var(--body);
}
.page-content #example tbody tr:hover td,
.page-content #myTable tbody tr:hover td{
  background:var(--bg) !important;
}
.page-content #example img,
.page-content #myTable img{
  border-radius:8px;
  object-fit:cover;
}

/* Search / Show entries controls */
.page-content .dataTables_length select,
.page-content .dataTables_filter input{
  border:1px solid var(--line-2) !important;
  border-radius:8px !important;
  padding:6px 10px !important;
  font-size:.85rem;
}
.page-content .dataTables_filter input:focus,
.page-content .dataTables_length select:focus{
  outline:none;
  border-color:var(--blue) !important;
  box-shadow:0 0 0 3px rgba(108,43,217,.10) !important;
}

/* Pagination */
.page-content .dataTables_paginate .paginate_button{
  border-radius:8px !important;
  margin:0 2px;
  padding:6px 12px !important;
  border:1px solid var(--line-2) !important;
  color:var(--body) !important;
}
.page-content .dataTables_paginate .paginate_button.current{
  background:linear-gradient(135deg, var(--blue), var(--green)) !important;
  border-color:transparent !important;
  color:#fff !important;
}
.page-content .dataTables_paginate .paginate_button:hover{
  background:var(--bg) !important;
  color:var(--ink) !important;
}

/* Any action buttons inside the table rows or table header toolbar
   (Copy Link / View / Track / Import / Export / etc.) — unify size,
   radius and weight even if colors differ per action */
.page-content #example .btn,
.page-content #myTable .btn,
.page-content .dataTables_wrapper > .btn,
.form-page .export_btn{
  border-radius:8px !important;
  font-size:.76rem !important;
  font-weight:600 !important;
  padding:7px 16px !important;
  border:none !important;
  box-shadow:none !important;
  white-space:nowrap !important;
  display:inline-flex;
  align-items:center;
}
/* Row action buttons + View/Track all get equal fixed height so
   "Copy Link" wrapping to 2 lines can't stretch the row unevenly */
.page-content #example td .btn,
.page-content #myTable td .btn{
  min-width:74px;
  justify-content:center;
  line-height:1.1;
}
.page-content #example .btn:hover,
.page-content #myTable .btn:hover,
.form-page .export_btn:hover{
  transform:translateY(-1px);
  box-shadow:var(--shadow-sm) !important;
}

/* Export / Import buttons — icon had no gap before the label text */
.form-page .export_btn img{
  margin-right:8px;
  vertical-align:middle;
}

/* Status badges (Case Stopped / N Check(s) Stopped) */
.page-content .badge{
  border-radius:20px !important;
  font-weight:600 !important;
  padding:5px 12px !important;
  font-size:.72rem !important;
}

/* Stop confirmation modal — match the app's rounded/shadow language,
   keep the semantic orange/red action colors as-is (meaningful). */
.stop-box{
  border-radius:var(--radius, 16px) !important;
  box-shadow:var(--shadow-lg, 0 28px 70px rgba(27,16,67,.16)) !important;
}
.stop-opt{
  border-radius:9px !important;
  font-weight:600 !important;
}
#stopChecksList{
  border-radius:9px !important;
  border-color:var(--line, #ececf3) !important;
}
#stopReason{
  border-radius:9px !important;
  border-color:var(--line-2, #e2e2ee) !important;
}
#stopReason:focus{
  outline:none;
  border-color:var(--blue, #6c2bd9) !important;
  box-shadow:0 0 0 3px rgba(108,43,217,.10);
}
/* =========================================================
   CLIENT SIDEBAR — compact spacing / consistent alignment
   ========================================================= */
nav#sidebar{
  /* min-width:240px !important;
  max-width:240px !important; */
  width:240px !important;
  padding:0 !important;
}

nav#sidebar > ul.list-unstyled{
  margin:0 !important;
  padding:8px 0 18px !important;
}

nav#sidebar > ul.list-unstyled > li.sidebar-item{
  margin:0 !important;
  padding:0 !important;
}

nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link{
  min-height:36px !important;
  height:auto !important;
  margin:2px 10px !important;
  padding:7px 10px !important;
  border-radius:10px !important;
  gap:8px !important;
  line-height:1.2 !important;
  font-size:.84rem !important;
  font-weight:500 !important;
  white-space:nowrap !important;
}

nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link .nav-icon{
  width:20px !important;
  min-width:20px !important;
  height:18px !important;
  margin:0 !important;
  flex:0 0 20px !important;
}

nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link span{
  display:block !important;
  min-width:0;
  white-space:nowrap !important;
}

nav#sidebar > ul.list-unstyled > li.sidebar-item.active > a.sidebar-link,
nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link.active{
  margin:2px 10px !important;
  padding:7px 10px !important;
  min-height:38px !important;
}

nav#sidebar > ul.list-unstyled > li.sidebar-item.active > a.sidebar-link::before{
  left:-10px !important;
  height:22px !important;
}

nav#sidebar > ul.list-unstyled > li.sidebar-item .collapse{
  margin:0 !important;
  padding:0 0 2px !important;
}

nav#sidebar > ul.list-unstyled > li.sidebar-item .collapse li a.sidebar-link{
  min-height:32px !important;
  padding:6px 10px 6px 38px !important;
  margin:1px 10px !important;
  font-size:.79rem !important;
  line-height:1.2 !important;
}

@media (max-width:1199.98px){
  nav#sidebar{
    min-width:240px !important;
    max-width:240px !important;
    width:240px !important;
  }
  nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link{
    flex-direction:row !important;
    padding:7px 10px !important;
    font-size:.82rem !important;
  }
  nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link .nav-icon{
    width:20px !important;
    min-width:20px !important;
    margin:0 !important;
  }
}

/* =========================================================
   CLIENT DASHBOARD — Layout + Attractiveness Fix (Zoom safe)
   ========================================================= */

/* Ensure flex container never causes horizontal scroll at 100%/90% zoom */
.d-flex.align-items-stretch.sidebar {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  min-height: 100vh;
}

/* Sidebar fixed width that behaves well at browser zoom */
nav#sidebar {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  flex: 0 0 250px !important;
  overflow-x: hidden !important;
}

/* Page content takes remaining space cleanly */
.d-flex.align-items-stretch.sidebar > .page-content,
.page-content {
  width: auto !important;
  flex: 1 1 auto !important;
  max-width: calc(100% - 250px) !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

/* Date filter bar — soft rounded style matching screenshot */
.client-dash-date-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.client-dash-date-filter input[type="text"] {
  width: 140px;
  max-width: 160px;
  height: 40px;
  border-radius: 12px !important;
  border: 1px solid #e8e0f5 !important;
  background: #f8f5ff !important;
  padding: 0 14px !important;
  font-size: 0.9rem !important;
  color: #4a3f6b !important;
  box-shadow: none !important;
}
.client-dash-date-filter input[type="text"]:focus {
  border-color: #a78bfa !important;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2) !important;
  outline: none;
}
.client-dash-date-filter .btn-go {
  height: 40px;
  padding: 0 22px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.client-dash-date-filter .btn-go:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.4);
  color: #fff !important;
}

/* Dashboard header row */
.client-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4px;
}
.client-dash-header h2 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #1e1b4b !important;
  margin: 0 !important;
}

/* Top summary cards — consistent & attractive */
.page-content .dash-summary-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}
@media (max-width: 1199px) {
  .page-content .dash-summary-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .page-content .dash-summary-row {
    grid-template-columns: 1fr;
  }
}

.page-content .dash-summary-row .card {
  border: 1px solid #eeeaf8 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(99, 70, 180, 0.06) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
  height: 100%;
}
.page-content .dash-summary-row .card:hover {
  box-shadow: 0 8px 24px rgba(99, 70, 180, 0.12) !important;
  transform: translateY(-3px);
}
.page-content .dash-summary-row .card-body.dash_card {
  padding: 20px 22px !important;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.page-content .dash-summary-row .dash-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  margin-bottom: 14px !important;
}
.page-content .dash-summary-row .dash_num {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #1e1b4b !important;
  line-height: 1.1 !important;
  margin-bottom: 4px !important;
}
.page-content .dash-summary-row .dash_text {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
  margin: 0 !important;
}

/* Check-type cards grid */
.page-content .dash-checks-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}
@media (max-width: 1199px) {
  .page-content .dash-checks-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .page-content .dash-checks-row {
    grid-template-columns: 1fr;
  }
}

.page-content .dash-checks-row .circle_card {
  min-height: 145px !important;
  border-radius: 16px !important;
  border: 1px solid #eeeaf8 !important;
  box-shadow: 0 2px 8px rgba(99, 70, 180, 0.05) !important;
  padding: 22px !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.page-content .dash-checks-row .circle_card:hover {
  box-shadow: 0 8px 22px rgba(99, 70, 180, 0.12) !important;
  transform: translateY(-3px);
}
.page-content .dash-checks-row .dash_num {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: #1e1b4b !important;
  margin: 4px 0 2px !important;
}
.page-content .dash-checks-row .dash_text {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
}

/* Sidebar active state — soft purple matching screenshot */
nav#sidebar > ul.list-unstyled > li.sidebar-item.active > a.sidebar-link,
nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link.active {
  background: #f3e8ff !important;
  color: #6d28d9 !important;
  font-weight: 600 !important;
}
nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link:hover {
  background: #faf5ff !important;
  color: #6d28d9 !important;
}

/* Prevent sidebar text overflow at any zoom */
nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link span {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Slightly larger sidebar for better readability */
@media (min-width: 1200px) {
  nav#sidebar {
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    flex: 0 0 250px !important;
  }
  .d-flex.align-items-stretch.sidebar > .page-content,
  .page-content {
    max-width: calc(100% - 250px) !important;
  }
}

/* Zoom / high-DPI safety: never force fixed 84% width */
.page-content {
  width: auto !important;
}

/* Force existing Bootstrap col cards in check section to look consistent */
.page-content .row.gy-4 > .col-md-3 .circle_card,
.page-content .row > .col-md-3 .circle_card {
  min-height: 145px !important;
  border-radius: 16px !important;
  border: 1px solid #eeeaf8 !important;
  box-shadow: 0 2px 8px rgba(99, 70, 180, 0.05) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.page-content .row.gy-4 > .col-md-3 .circle_card:hover,
.page-content .row > .col-md-3 .circle_card:hover {
  box-shadow: 0 8px 22px rgba(99, 70, 180, 0.12) !important;
  transform: translateY(-3px);
}

/* Better spacing for the checks section row */
.page-content section .row.gy-4 {
  --bs-gutter-y: 1.25rem;
  --bs-gutter-x: 1.25rem;
}

/* Remove extra wrapper padding that was causing uneven cards */
.page-content .col-md-3 .mb-0._border_radius.d-flex {
  display: block !important;
}
.page-content .col-md-3 a.card-client {
  display: block;
  text-decoration: none;
  height: 100%;
}

/* Fix any leftover inline styles that break at zoom */
.page-content .bg-dash-dark-2 {
  background: transparent !important;
  padding-top: 1.25rem !important;
  padding-bottom: 0.5rem !important;
}

/* =========================================================
   CHECK CARDS ROW FIX — ensure 4-column grid always works
   ========================================================= */
.page-content .dash-checks-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -0.75rem !important;
  margin-right: -0.75rem !important;
  width: calc(100% + 1.5rem) !important;
}

.page-content .dash-checks-wrap > .col-md-3,
.page-content .dash-checks-wrap > .col-sm-6 {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  margin-bottom: 1rem !important;
  box-sizing: border-box !important;
}

@media (max-width: 991.98px) {
  .page-content .dash-checks-wrap > .col-md-3,
  .page-content .dash-checks-wrap > .col-sm-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

@media (max-width: 575.98px) {
  .page-content .dash-checks-wrap > .col-md-3,
  .page-content .dash-checks-wrap > .col-sm-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Make check cards fill their column and look consistent */
.page-content .dash-checks-wrap .circle_card {
  width: 100% !important;
  height: 100% !important;
  min-height: 140px !important;
  border-radius: 16px !important;
  border: 1px solid #eeeaf8 !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(99, 70, 180, 0.05) !important;
  padding: 20px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-content .dash-checks-wrap .circle_card:hover {
  box-shadow: 0 8px 22px rgba(99, 70, 180, 0.12) !important;
  transform: translateY(-3px);
}

.page-content .dash-checks-wrap .dash_num {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: #1e1b4b !important;
  margin: 6px 0 2px !important;
  line-height: 1.1 !important;
}

.page-content .dash-checks-wrap .dash_text {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
  margin: 0 !important;
}

/* Kill any leftover absolute/center positioning inside check cards */
.page-content .dash-checks-wrap .circle_card .d-flex {
  display: block !important;
  width: 100% !important;
}

/* Top summary cards must stay 4 across */
.page-content .dash-summary-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1rem !important;
  width: 100% !important;
  margin-bottom: 1.25rem !important;
}

@media (max-width: 991.98px) {
  .page-content .dash-summary-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 575.98px) {
  .page-content .dash-summary-row {
    grid-template-columns: 1fr !important;
  }
}

/* Ensure page-content doesn't collapse */
.page-content .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
}

/* =========================================================
   FINAL LAYOUT FIX — Sidebar overlap + extra space remove
   (works at 90% and 100% browser zoom)
   ========================================================= */

/* Parent flex container — full viewport, no overflow */
body .d-flex.align-items-stretch.sidebar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100vw !important;
  min-height: calc(100vh - 68px) !important;
  overflow-x: hidden !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Sidebar — fixed width, never overlaps content */
body nav#sidebar {
  position: relative !important;
  flex: 0 0 250px !important;
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  margin: 0 !important;
  margin-left: 0 !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
  z-index: 10 !important;
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  align-self: stretch !important;
}

/* Page content — takes ALL remaining space, kill 84% width */
body .d-flex.align-items-stretch.sidebar > .page-content,
body .page-content {
  position: relative !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  margin-left: 0 !important;
  left: auto !important;
  float: none !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  padding-bottom: 2rem !important;
  overflow-x: hidden !important;
  background: #f7f5fc !important;
  box-sizing: border-box !important;
}

/* Kill any leftover 84% / fixed width from theme */
.page-content[style],
body .page-content {
  width: auto !important;
}

/* Container fluid full width inside page-content */
body .page-content .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
  margin: 0 !important;
}

/* Summary cards fill full content width */
body .page-content .dash-summary-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 1.25rem 0 !important;
  box-sizing: border-box !important;
}

/* Check cards fill full content width — 4 columns */
body .page-content .dash-checks-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

body .page-content .dash-checks-wrap > .col-md-3,
body .page-content .dash-checks-wrap > .col-sm-6 {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  width: 25% !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
  margin-bottom: 1rem !important;
  box-sizing: border-box !important;
  float: none !important;
}

/* Responsive */
@media (max-width: 1199.98px) {
  body nav#sidebar {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 991.98px) {
  body .page-content .dash-summary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body .page-content .dash-checks-wrap > .col-md-3,
  body .page-content .dash-checks-wrap > .col-sm-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

@media (max-width: 575.98px) {
  body .page-content .dash-summary-row {
    grid-template-columns: 1fr !important;
  }
  body .page-content .dash-checks-wrap > .col-md-3,
  body .page-content .dash-checks-wrap > .col-sm-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Header date filter — no extra right gap */
body .client-dash-header {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Remove empty bottom gap under sidebar */
body nav#sidebar > ul.list-unstyled {
  padding-bottom: 12px !important;
  margin-bottom: 0 !important;
}

/* Ensure cards themselves don't overflow */
body .page-content .dash-summary-row .card,
body .page-content .dash-checks-wrap .circle_card {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Kill theme's margin-left:270px + width:84% that causes overlap */
body .page-content,
body .d-flex.align-items-stretch.sidebar > .page-content,
html body .page-content {
  margin-left: 0 !important;
  margin-top: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  left: 0 !important;
}

@media (min-width: 992px) {
  body .page-content,
  body .d-flex.align-items-stretch.sidebar > .page-content {
    margin-left: 0 !important;
    margin-top: 0 !important;
    width: auto !important;
  }
}

@media (min-width: 1200px) {
  body .page-content,
  body .d-flex.align-items-stretch.sidebar > .page-content {
    margin-left: 0 !important;
    margin-top: 0 !important;
    width: auto !important;
  }
}

/* =========================================================
   FIXED HEADER OFFSET — restore space so content/sidebar
   are NOT hidden under the fixed top navbar
   ========================================================= */
body .header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
}

/* Push the whole sidebar+content block below the fixed header */
body .d-flex.align-items-stretch.sidebar {
  margin-top: 70px !important;
  min-height: calc(100vh - 70px) !important;
  padding-top: 0 !important;
}

/* Sidebar starts below header, full remaining height */
body nav#sidebar {
  margin-top: 0 !important;
  padding-top: 8px !important;
  height: calc(100vh - 70px) !important;
  max-height: calc(100vh - 70px) !important;
  overflow-y: auto !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Page content also below header — NO negative/zero that hides title+dates */
body .page-content,
body .d-flex.align-items-stretch.sidebar > .page-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make sure Client Dashboard title + date filter are always visible */
body .page-content .bg-dash-dark-2 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent !important;
  padding: 12px 0 8px 0 !important;
  margin: 0 !important;
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
}

body .client-dash-header {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 48px !important;
}

body .client-dash-header h2 {
  display: block !important;
  visibility: visible !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #1e1b4b !important;
  margin: 0 !important;
}

body .client-dash-date-filter {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

body .client-dash-date-filter input[type="text"],
body .client-dash-date-filter .form-control {
  display: block !important;
  visibility: visible !important;
  width: 140px !important;
  min-width: 120px !important;
  height: 40px !important;
  border-radius: 12px !important;
  border: 1px solid #e8e0f5 !important;
  background: #f8f5ff !important;
  padding: 0 14px !important;
  font-size: 0.9rem !important;
  color: #4a3f6b !important;
}

body .client-dash-date-filter .btn-go,
body .client-dash-date-filter button[type="submit"] {
  display: inline-flex !important;
  visibility: visible !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 22px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
}

/* Ensure first sidebar items (Dashboard, Add Candidate) are visible */
body nav#sidebar > ul.list-unstyled {
  padding-top: 4px !important;
  margin-top: 0 !important;
}

body nav#sidebar > ul.list-unstyled > li.sidebar-item:first-child {
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* =========================================================
   FINAL FIXED LAYOUT
   Header fixed → Sidebar fixed (scrollable) → Content offset
   ========================================================= */

:root {
  --app-header-h: 100px;
  --app-sidebar-w: 250px;
}

/* 1) Top header — fixed */
body .header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: var(--app-header-h) !important;
  z-index: 1030 !important;
  background: #fff !important;
}

body .header .navbar {
  min-height: var(--app-header-h) !important;
  height: var(--app-header-h) !important;
}

/* 2) Parent flex — no longer needs margin; children handle offset */
body .d-flex.align-items-stretch.sidebar {
  display: block !important; /* break old flex that fought fixed sidebar */
  margin-top: 0 !important;
  padding-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  overflow: visible !important;
  position: relative !important;
}

/* 3) Sidebar — FIXED left, below header, own scroll */
body nav#sidebar {
  position: fixed !important;
  top: var(--app-header-h) !important;
  left: 0 !important;
  bottom: 0 !important;
  width: var(--app-sidebar-w) !important;
  min-width: var(--app-sidebar-w) !important;
  max-width: var(--app-sidebar-w) !important;
  height: calc(100vh - var(--app-header-h)) !important;
  max-height: calc(100vh - var(--app-header-h)) !important;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 10px 0 16px 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  z-index: 1020 !important;
  background: #fff !important;
  border-right: 1px solid #eeeaf8 !important;
  -webkit-overflow-scrolling: touch;
}

body nav#sidebar::-webkit-scrollbar { width: 5px; }
body nav#sidebar::-webkit-scrollbar-thumb { background: #ddd6fe; border-radius: 10px; }

/* First sidebar items fully visible */
body nav#sidebar > ul.list-unstyled {
  margin: 0 !important;
  padding: 4px 0 12px 0 !important;
}
body nav#sidebar > ul.list-unstyled > li.sidebar-item {
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 4) Page content — offset for header + sidebar */
body .page-content,
body .d-flex.align-items-stretch.sidebar > .page-content {
  position: relative !important;
  margin-top: var(--app-header-h) !important;
  margin-left: var(--app-sidebar-w) !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: calc(100vh - var(--app-header-h)) !important;
  padding: 16px 20px 24px 20px !important;
  float: none !important;
  left: auto !important;
  background: #f7f5fc !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

/* 5) Title + date filter — always fully visible */
body .page-content .bg-dash-dark-2 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent !important;
  padding: 4px 0 12px 0 !important;
  margin: 0 0 8px 0 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

body .client-dash-header {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  width: 100% !important;
}

body .client-dash-header h2 {
  display: block !important;
  visibility: visible !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #1e1b4b !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

body .client-dash-date-filter {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

body .client-dash-date-filter input.form-control,
body .client-dash-date-filter input[type="text"] {
  display: block !important;
  visibility: visible !important;
  width: 140px !important;
  height: 40px !important;
  border-radius: 12px !important;
  border: 1px solid #e8e0f5 !important;
  background: #f8f5ff !important;
  color: #4a3f6b !important;
  padding: 0 14px !important;
  font-size: 0.9rem !important;
}

body .client-dash-date-filter .btn-go,
body .client-dash-date-filter button[type="submit"] {
  display: inline-flex !important;
  visibility: visible !important;
  height: 40px !important;
  padding: 0 22px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600 !important;
}

/* 6) Cards still full width of content area */
body .page-content .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body .page-content .dash-summary-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  width: 100% !important;
}

body .page-content .dash-checks-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  margin: 0 !important;
}

body .page-content .dash-checks-wrap > .col-md-3,
body .page-content .dash-checks-wrap > .col-sm-6 {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  width: 25% !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
  margin-bottom: 1rem !important;
  box-sizing: border-box !important;
}

@media (max-width: 991.98px) {
  body .page-content .dash-summary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body .page-content .dash-checks-wrap > .col-md-3,
  body .page-content .dash-checks-wrap > .col-sm-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

@media (max-width: 575.98px) {
  :root {
    --app-sidebar-w: 0px;
  }
  body nav#sidebar {
    display: none; /* mobile: hide fixed sidebar; use toggle if needed */
  }
  body .page-content {
    margin-left: 0 !important;
  }
  body .page-content .dash-summary-row {
    grid-template-columns: 1fr !important;
  }
  body .page-content .dash-checks-wrap > .col-md-3,
  body .page-content .dash-checks-wrap > .col-sm-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}



/* =========================================================
   SIDEBAR TOP ITEMS — force Dashboard + Add Candidate visible
   ========================================================= */
:root {
  --app-header-h: 100px !important;
  --app-sidebar-w: 250px;
}

body nav#sidebar {
  top: 100px !important;
  height: calc(100vh - 100px) !important;
  max-height: calc(100vh - 100px) !important;
  padding-top: 12px !important;
  padding-bottom: 20px !important;
}

body .page-content,
body .d-flex.align-items-stretch.sidebar > .page-content {
  margin-top: 100px !important;
}

body .header,
body .header .navbar {
  height: 100px !important;
  min-height: 100px !important;
}

/* Force every top-level sidebar item visible (no clip) */
body nav#sidebar > ul.list-unstyled > li.sidebar-item {
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}

body nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  min-height: 40px !important;
  height: auto !important;
  padding: 8px 12px !important;
  margin: 2px 10px !important;
  overflow: visible !important;
}

body nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link span {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit !important;
}

/* Active Dashboard highlight */
body nav#sidebar > ul.list-unstyled > li.sidebar-item.active > a.sidebar-link,
body nav#sidebar > ul.list-unstyled > li.sidebar-item > a.sidebar-link.active {
  background: #f3e8ff !important;
  color: #6d28d9 !important;
  font-weight: 600 !important;
}

/* =========================================================
   COLLAPSE MENU ACTIVE — fix ::before conflict + submenu
   ========================================================= */

/* Collapse parent: NEVER use the left active bar (::before is the chevron) */
nav#sidebar .sidebar-item.active > a.sidebar-link[data-bs-toggle="collapse"]::before,
nav#sidebar > ul.list-unstyled > li.sidebar-item.active > a.sidebar-link[data-bs-toggle="collapse"]::before,
body nav#sidebar > ul.list-unstyled > li.sidebar-item.active > a.sidebar-link[data-bs-toggle="collapse"]::before {
  content: "" !important;
  background: none !important;
  width: 6px !important;
  height: 6px !important;
  left: auto !important;
  right: 18px !important;
  top: 50% !important;
  border-right: 1.6px solid #6d28d9 !important;
  border-bottom: 1.6px solid #6d28d9 !important;
  border-left: none !important;
  border-top: none !important;
  border-radius: 0 !important;
  transform: translateY(-35%) rotate(45deg) !important;
}

/* When collapse is closed but item still active (shouldn't happen often) */
nav#sidebar .sidebar-item.active > a.sidebar-link[data-bs-toggle="collapse"][aria-expanded="false"]::before {
  transform: translateY(-65%) rotate(-45deg) !important;
  border-color: #6d28d9 !important;
}

/* Collapse parent active background — softer so submenu can stand out */
nav#sidebar .sidebar-item.active > a.sidebar-link[data-bs-toggle="collapse"] {
  background: #f3e8ff !important;
  color: #6d28d9 !important;
  font-weight: 600 !important;
}

/* Submenu active item — clear highlight */
nav#sidebar .sidebar-item .collapse li.active > a.sidebar-link,
nav#sidebar .sidebar-item .collapse li a.sidebar-link.active {
  background: #ede9fe !important;
  color: #5b21b6 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}

nav#sidebar .sidebar-item .collapse li.active::before,
nav#sidebar .sidebar-item .collapse li:has(a.active)::before {
  background: #7c3aed !important;
}

/* Submenu inactive items stay muted */
nav#sidebar .sidebar-item .collapse li:not(.active) > a.sidebar-link:not(.active) {
  color: #6b7280 !important;
  background: transparent !important;
  font-weight: 500 !important;
}

nav#sidebar .sidebar-item .collapse li:not(.active) > a.sidebar-link:not(.active):hover {
  background: #f5f3ff !important;
  color: #4c1d95 !important;
}

/* Leaf items (no collapse) keep left active bar */
nav#sidebar .sidebar-item.active > a.sidebar-link:not([data-bs-toggle="collapse"])::before {
  content: "" !important;
  position: absolute !important;
  left: -10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 3px !important;
  height: 22px !important;
  border-radius: 0 4px 4px 0 !important;
  background: linear-gradient(180deg, #7c3aed, #c026d3) !important;
  border: none !important;
}

/* =========================================================
   PI / ALL PANELS — layout under fixed sidebar (no hide)
   ========================================================= */

/* Any flex stretch wrapper that holds #sidebar + content */
body .d-flex.align-items-stretch,
body .d-flex.align-items-stretch.sidebar {
  display: block !important;
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  position: relative !important;
}

/* Fixed sidebar for ALL panels (PI, BD, Client, etc.) */
body nav#sidebar {
  position: fixed !important;
  top: 100px !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  height: calc(100vh - 100px) !important;
  max-height: calc(100vh - 100px) !important;
  margin: 0 !important;
  padding: 10px 0 16px 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  z-index: 1020 !important;
  background: #fff !important;
  border-right: 1px solid #eeeaf8 !important;
}

/* Page content always clears fixed header + sidebar */
body .page-content {
  position: relative !important;
  margin-top: 100px !important;
  margin-left: 250px !important;
  margin-right: 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: calc(100vh - 100px) !important;
  padding: 16px 20px 24px 20px !important;
  float: none !important;
  left: auto !important;
  background: #f7f5fc !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

/* PI dashboard cards — clean 4-col grid, no empty gap */
body .page-content .row.gy-4 {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -0.5rem !important;
  margin-right: -0.5rem !important;
  width: calc(100% + 1rem) !important;
}

body .page-content .row.gy-4 > .col-md-3,
body .page-content .row.gy-4 > [class*="col-md-3"] {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  width: 25% !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
  margin-bottom: 1rem !important;
  box-sizing: border-box !important;
  float: none !important;
}

body .page-content .row.gy-4 .card {
  height: 100% !important;
  border-radius: 16px !important;
  border: 1px solid #eeeaf8 !important;
  box-shadow: 0 2px 8px rgba(99, 70, 180, 0.05) !important;
  background: #fff !important;
}

body .page-content .row.gy-4 .card-body.dash_card {
  min-height: 110px !important;
  padding: 20px 22px !important;
}

body .page-content .row.gy-4 .dash_num {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: #1e1b4b !important;
}

body .page-content .row.gy-4 .dash_text {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
}

@media (max-width: 991.98px) {
  body .page-content .row.gy-4 > .col-md-3,
  body .page-content .row.gy-4 > [class*="col-md-3"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

@media (max-width: 575.98px) {
  body nav#sidebar {
    display: none !important;
  }
  body .page-content {
    margin-left: 0 !important;
  }
  body .page-content .row.gy-4 > .col-md-3,
  body .page-content .row.gy-4 > [class*="col-md-3"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}


/* =========================================================
   SIDEBAR TOP — never use padding-top equal to header height
   (top: 100px already positions below header)
   ========================================================= */
body nav#sidebar {
  top: 100px !important;
  height: calc(100vh - 100px) !important;
  max-height: calc(100vh - 100px) !important;
  padding-top: 12px !important;
  padding-bottom: 20px !important;
}

body .page-content {
  margin-top: 100px !important;
  margin-left: 250px !important;
}

/* Ensure first sidebar items always visible */
body nav#sidebar > ul.list-unstyled {
  padding-top: 100px !important;
  margin-top: 0 !important;
}
body nav#sidebar > ul.list-unstyled > li.sidebar-item:first-child,
body nav#sidebar > ul.list-unstyled > li.sidebar-item:nth-child(2) {
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* PI dashboard chart cards */
#piBarChart, #piDoughnutChart, #piInsuffChart, #piRejectChart {
  max-height: 260px !important;
}
body .page-content .dash-summary-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  width: 100% !important;
}
body .page-content .dash-summary-row .card {
  border-radius: 16px !important;
  border: 1px solid #eeeaf8 !important;
  box-shadow: 0 2px 10px rgba(99, 70, 180, 0.06) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  background: #fff !important;
}
body .page-content .dash-summary-row .card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(99, 70, 180, 0.12) !important;
}
body .page-content .dash-summary-row .dash-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 12px !important;
}
body .page-content .dash-summary-row .dash-icon svg {
  width: 20px !important;
  height: 20px !important;
}
body .page-content .dash-summary-row .dash_num {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: #1e1b4b !important;
  line-height: 1.2 !important;
}
body .page-content .dash-summary-row .dash_text {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
  margin-top: 4px !important;
}
@media (max-width: 991.98px) {
  body .page-content .dash-summary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 575.98px) {
  body .page-content .dash-summary-row {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   SINGLE SCROLLBAR — body scrolls, page-content does not
   ========================================================= */
html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: 100% !important;
}
html body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100% !important;
}
body .page-content,
body .d-flex.align-items-stretch.sidebar > .page-content {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  height: auto !important;
  max-height: none !important;
  min-height: calc(100vh - 100px) !important;
}
/* Sidebar keeps its own internal scroll only */
body nav#sidebar {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
/* Kill nested scroll containers that cause a 2nd bar */
body .page-content .container-fluid,
body .page-content section,
body .d-flex.align-items-stretch.sidebar {
  overflow: visible !important;
  max-height: none !important;
}


