/*
Zal Pro ISP CRM By One Zero Art 
www.onezeroart.com
support@onezeroart.com
*/

/* Basic Style */
body {
  /* background-image: linear-gradient(60deg, #2b343e 0%, #2a333d 100%); */
  background: #eceef1;
  font-family: "Rubik", sans-serif;
}

body .container.body .right_col {
  background: #eceef1;
}

.loading {
  display: none;
}
.loading img {
  position: fixed;
  z-index: 99999;
  top: 15vh;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100px;
}
a:hover {
  text-decoration: none;
}

.right {
  float: right !important;
}
.left {
  float: left !important;
}

span.required {
  color: #ff1100;
}

/* ui colors */
.green {
  color: #0abb87;
}
.blue {
  color: #31a3fd;
}
.red {
  color: #f44336;
}

/*  colors */
.red {
  color: #f44336;
}
.pink {
  color: #e91e63;
}
.purple {
  color: #9c27b0;
}
.deeppurple {
  color: #673ab7;
}
.indigo {
  color: #3f51b5;
}
.blue {
  color: #2196f3;
}
.lightblue {
  color: #03a9f4;
}
.cyan {
  color: #00bcd4;
}
.teal {
  color: #009688;
}
.green {
  color: #4caf50;
}
.lightgreen {
  color: #8bc34a;
}
.lime {
  color: #cddc39;
}
.yellow {
  color: #ffeb3b;
}
.amber {
  color: #ffc107;
}
.orange {
  color: #ff9800;
}
.deeporange {
  color: #ff5722;
}
.brown {
  color: #795548;
}
.grey {
  color: #9e9e9e;
}
.bluegrey {
  color: #607d8b;
}

.label {
  padding: 0.8rem !important;
  font-weight: normal;
  letter-spacing: 1px;
  font-size: 1rem;
}

.label-primary {
  background-color: #5578eb;
}

.label-success {
  background-color: #0abb87;
}

.label-danger {
  background-color: #f44336;
}

.text-success {
  color: #0abb87;
}

.text-danger {
  color: #f44336;
}

.text-primary {
  color: #5578eb;
}

.text-info {
  color: #00bcd4;
}

/* counter background colors */
.red-counter-bg {
  background-color: rgba(244, 67, 54, 0.07) !important;
  border-color: rgba(244, 67, 54, 0.1) !important;
}
.pink-counter-bg {
  background-color: rgba(233, 30, 99, 0.07) !important;
  border-color: rgba(233, 30, 99, 0.1) !important;
}
.purple-counter-bg {
  background-color: rgba(156, 39, 176, 0.07) !important;
  border-color: rgba(156, 39, 176, 0.1) !important;
}
.deeppurple-counter-bg {
  background-color: rgba(103, 58, 183, 0.07) !important;
  border-color: rgba(103, 58, 183, 0.1) !important;
}
.indigo-counter-bg {
  background-color: rgba(63, 81, 181, 0.07) !important;
  border-color: rgba(63, 81, 181, 0.1) !important;
}
.blue-counter-bg {
  background-color: rgba(33, 150, 243, 0.07) !important;
  border-color: rgba(33, 150, 243, 0.1) !important;
}
.lightblue-counter-bg {
  background-color: rgba(3, 169, 244, 0.07) !important;
  border-color: rgba(3, 169, 244, 0.1) !important;
}
.cyan-counter-bg {
  background-color: rgba(0, 188, 212, 0.07) !important;
  border-color: rgba(0, 188, 212, 0.1) !important;
}
.teal-counter-bg {
  background-color: rgba(0, 150, 136, 0.07) !important;
  border-color: rgba(0, 150, 136, 0.1) !important;
}
.green-counter-bg {
  background-color: rgba(76, 175, 80, 0.07) !important;
  border-color: rgba(76, 175, 80, 0.1) !important;
}
.lightgreen-counter-bg {
  background-color: rgba(139, 195, 74, 0.07) !important;
  border-color: rgba(139, 195, 74, 0.1) !important;
}
.lime-counter-bg {
  background-color: rgba(205, 220, 57, 0.07) !important;
  border-color: rgba(205, 220, 57, 0.1) !important;
}
.yellow-counter-bg {
  background-color: rgba(255, 235, 59, 0.07) !important;
  border-color: rgba(255, 235, 59, 0.1) !important;
}
.amber-counter-bg {
  background-color: rgba(255, 193, 7, 0.07) !important;
  border-color: rgba(255, 193, 7, 0.1) !important;
}
.orange-counter-bg {
  background-color: rgba(255, 152, 0, 0.07) !important;
  border-color: rgba(255, 152, 0, 0.1) !important;
}
.deeporange-counter-bg {
  background-color: rgba(255, 87, 34, 0.07) !important;
  border-color: rgba(255, 87, 34, 0.1) !important;
}
.brown-counter-bg {
  background-color: rgba(121, 85, 72, 0.07) !important;
  border-color: rgba(121, 85, 72, 0.1) !important;
}
.grey-counter-bg {
  background-color: rgba(158, 158, 158, 0.07) !important;
  border-color: rgba(158, 158, 158, 0.1) !important;
}
.bluegrey-counter-bg {
  background-color: rgba(96, 125, 139, 0.07) !important;
  border-color: rgba(45, 89, 110, 0.1) !important;
}

/* zalpro color */
.btn-zalpro,
.btn-zalpro:active {
  color: #fff;
  background-color: #1f2937;
  border-color: #1f2937;
  border-radius: 9px;
}
.btn-zalpro:hover,
.btn-zalpro:focus {
  color: #fff;
  background-color: #111827;
  border-color: #111827;
}
.label-zalpro {
  background-color: #3f5265;
}
.text-zalpro {
  color: #3f5265;
}

.btn-zalpro-second,
.btn-zalpro-second:hover,
.btn-zalpro-second:active {
  color: #fff;
  background-color: #556576;
  border-color: #556576;
}
.label-zalpro-second {
  background-color: #556576;
}
.text-zalpro-second {
  color: #556576;
}

.btn-zalpro-third,
.btn-zalpro-third:hover,
.btn-zalpro-third:active {
  color: #fff;
  background-color: #556576;
  border-color: #556576;
}
.label-zalpro-third {
  background-color: #556576;
}
.text-zalpro-third {
  color: #556576;
}

.btn-zalpro-fourth,
.btn-zalpro-fourth:hover,
.btn-zalpro-fourth:active {
  color: #fff;
  background-color: #6a7987;
  border-color: #6a7987;
}
.label-zalpro-fourth {
  background-color: #556576;
}
.text-zalpro-fourth {
  color: #6a7987;
}

/* padding - margin */
.pt-5 {
  padding-top: 5px;
}
.pb-5 {
  padding-bottom: 5px;
}
.pl-5 {
  padding-left: 5px;
}
.pr-5 {
  padding-right: 5px;
}
.pt-10 {
  padding-top: 10px;
}
.pb-10 {
  padding-bottom: 10px;
}
.pl-10 {
  padding-left: 10px;
}
.pr-10 {
  padding-right: 10px;
}

.pt-15 {
  padding-top: 15px;
}
.pb-15 {
  padding-bottom: 15px;
}
.pl-15 {
  padding-left: 15px;
}
.pr-15 {
  padding-right: 15px;
}

.pt-20 {
  padding-top: 20px;
}
.pb-20 {
  padding-bottom: 20px;
}
.pl-20 {
  padding-left: 20px;
}
.pr-20 {
  padding-right: 20px;
}

.pt-50 {
  padding-top: 50px;
}
.pb-50 {
  padding-bottom: 50px;
}
.pl-50 {
  padding-left: 50px;
}
.pr-50 {
  padding-right: 50px;
}

.mt-5 {
  margin-top: 5px;
}
.mb-5 {
  margin-bottom: 5px;
}
.ml-5 {
  margin-left: 5px;
}
.mr-5 {
  margin-right: 5px;
}

.mt-10 {
  margin-top: 10px;
}
.mb-10 {
  margin-bottom: 10px;
}
.ml-10 {
  margin-left: 10px;
}
.mr-10 {
  margin-right: 10px;
}

.mt-15 {
  margin-top: 15px;
}
.mb-15 {
  margin-bottom: 15px;
}
.ml-15 {
  margin-left: 15px;
}
.mr-15 {
  margin-right: 15px;
}

.mt-20 {
  margin-top: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}
.ml-20 {
  margin-left: 20px;
}
.mr-20 {
  margin-right: 20px;
}

.mt-50 {
  margin-top: 50px;
}
.mb-50 {
  margin-bottom: 50px;
}
.ml-50 {
  margin-left: 50px;
}
.mr-50 {
  margin-right: 50px;
}

/* logo style */
img.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile_photo {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  object-fit: contain;
}

/* logo section */
.nav_title {
  width: 230px;
  float: left;
  background: #223243;
  border-radius: 0;
  height: 8vh;
}

.nav_title img.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-top: 0.5rem;
}

/* menu style */

ul.nav.side-menu li a i {
  margin-right: 5px !important;
}

ul.nav.side-menu li a span.right {
  font-size: 12px !important;
}

/* small menu */

.nav-sm ul.nav.child_menu li a {
  color: #fff;
  font-size: 1.2rem;
}

.nav-sm .nav.side-menu li a i {
  font-size: 15px !important;
}

.nav-sm ul.nav.side-menu li a span.right {
  display: none;
}

.left_col {
  background: #f1f1f1;
}

.nav_menu {
  background: #2a3f54;
  border-bottom: 0px;
}

.nav.child_menu > li > a,
.nav.side-menu > li > a {
  color: #2a3f54;
}

.nav.side-menu > li > a:hover {
  color: #f44336 !important;
}

.nav.side-menu > li.active,
.nav.side-menu > li.current-page {
  border-right: 3px solid #5578eb;
}

.nav-sm .nav.child_menu li.active,
.nav-sm .nav.side-menu li.active-sm {
  border-right: 3px solid #5578eb;
}

.nav.side-menu > li.active > a {
  text-shadow: none;
  background: none;
  box-shadow: none;
}

.nav li li.current-page a,
.nav.child_menu li li a.active,
.nav.child_menu li li a:hover {
  color: #2a3f54;
}

.nav.side-menu > li.active,
.nav.side-menu > li.current-page {
  border-right: 0px solid #5578eb;
}

.nav li.current-page {
  border-right: 3px solid #5578eb;
}

/* menu alert */
ul.alert-list li,
ul.alert-list li:hover {
  background: #f1f1f1 !important;
  border: 1px solid #d6d6d6 !important;
  font-size: 1.4rem !important;
}

ul.alert-list li a,
ul.alert-list li a:hover {
  background: none !important;
}

/* profile in menubar */

.left_col .profile_info span {
  color: #2a3f78;
}

.left_col .profile_info h2 {
  color: #3d4854;
}

/* toggle menu style */

a#menu_toggle {
  color: #f1f1f1;
}

.toggle a i {
  font-size: 2rem;
  margin-top: 4px;
}

/* menu right */

.nav_menu {
  background: #223243;
  border-bottom: 0px;
  height: 8vh;
}

/* left */
.top_nav .navbar-left {
  margin: 0.4rem 0 0 0;
  width: 40%;
  float: left;
}

.navbar-left li a.info-number i {
  color: #f1f1f1;
}

.navbar-left li a.info-number:hover,
.navbar-left li a.info-number:focus,
.navbar-left li a.info-number:visited {
  background: #2a3f54 !important;
}

.navbar-left li a.user-profile {
  color: #f1f1f1 !important;
}

.navbar-left li a.user-profile:hover,
.navbar-left li a.user-profile:focus,
.navbar-left li a.user-profile:visited {
  background: #2a3f54 !important;
}

.navbar-left li.current-admin-info a {
  color: #f1f1f1 !important;
}

.navbar-left li.current-admin-info a:hover,
.navbar-left li.current-admin-info a:focus,
.navbar-left li.current-admin-info a:visited {
  background: #2a3f54 !important;
}

/* right */
.top_nav .navbar-right {
  margin: 0.4rem 0 0 0;
  width: 40%;
  float: right;
}

.navbar-right li a.info-number i {
  color: #f1f1f1;
}

.navbar-right li a.info-number:hover,
.navbar-right li a.info-number:focus,
.navbar-right li a.info-number:visited {
  background: #2a3f54 !important;
}

.navbar-right li a.user-profile {
  color: #f1f1f1 !important;
}

.navbar-right li a.user-profile:hover,
.navbar-right li a.user-profile:focus,
.navbar-right li a.user-profile:visited {
  background: #2a3f54 !important;
}

.top_nav .navbar-right li.current-admin-info a,
.top_nav .navbar-right li.current-admin-info a i,
.top_nav .navbar-right li.current-admin-info a span,
.top_nav .navbar-right li.current-admin-info a:hover,
.top_nav .navbar-right li.current-admin-info a:focus,
.top_nav .navbar-right li.current-admin-info a:visited {
  color: #1f2937 !important;
}
.top_nav .navbar-right li.current-admin-info a {
  font-weight: 400 !important;
}
.top_nav .navbar-right li.current-admin-info a:hover,
.top_nav .navbar-right li.current-admin-info a:focus,
.top_nav .navbar-right li.current-admin-info a:visited {
  background: transparent !important;
}

/* dropdown-menu color */
.top_nav .dropdown-menu li a {
  color: #73879c !important;
}

/* dropdown-menu background color */
.top_nav .dropdown-menu li a:hover,
.top_nav .dropdown-menu li a:focus,
.top_nav .dropdown-menu li a:visited {
  background: #f1f1f1 !important;
}

/* client panle menu style */
.nav.navbar-nav > li > a {
  color: #f1f1f1 !important;
}

li.quick_access a {
  color: #f1f1f1 !important;
}

li.quick_access a:hover,
li.quick_access a:focus,
li.quick_access a:visited {
  background: #2a3f54 !important;
}

/* quick search section */
.quick_user_search,
.quick_token_search {
  padding: 15px 22px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  color: #3f5265;
  box-shadow: 0 2px 10px rgba(31, 41, 55, .05);
  margin-bottom: 20px;
}
.quick_user_search .form-control,
.quick_token_search .form-control,
.quick_user_search .chosen-single,
.quick_user_search .select2-selection {
  border-radius: 9px !important;
  border-color: #dfe4ea !important;
}

/* verify page style */
.top_nav .nav .open > a,
.top_nav .nav .open > a:focus,
.top_nav .nav .open > a:hover,
.top_nav .nav > li > a:focus,
.top_nav .nav > li > a:hover {
  background: #2a3f54;
}

/* panel style */

.tile_count {
  float: left;
  width: 100%;
}

.tile_count .tile_stats_count:before {
  content: "";
  display: none;
}

.tile_stats_count {
  background: rgb(96 125 139 / 14%);
  padding: 15px 15px;
  /* margin: 0 5px 0 0; */
  border: 2px solid #607d8b;
  text-align: center;
}
.tile_stats_count .count {
  font-size: 3rem !important;
  font-weight: bold;
}

.top_tiles .tile h2 {
  font-size: 2rem !important;
}

/* table tile and counter */
.tile_info div {
  background: rgb(33 150 243 / 15%);
  border: 1px solid rgb(33 150 243 / 0.25);
  margin: 5px 5px;
  float: left;
  width: 100%;
  padding: 10px 10px;
}

div.tile_info div.counter-label {
  width: auto;
  float: left;
}

div.tile_info div.counter-label i {
  margin-top: 4px !important;
  font-size: 15px !important;
  float: left !important;
  width: auto !important;
  line-height: normal !important;
}

div.tile_info div.counter-number {
  margin-left: 7.5px;
  font-weight: bold;
  float: right;
  font-size: 20px;
  color: #555;
}

/*****************************************************************/
/*****************************************************************/
/*****************************************************************/

.zalpro-line-counter {
  margin: 0;
  padding: 0;
  float: left;
  width: 100%;
}

.zalpro-line-counter .counter-single {
  margin: 0 0 5px 0;
  padding: 0;
  float: left;
  width: 100%;
  background: rgb(33 150 243 / 15%);
  border: 1px solid #ccc;
}

.zalpro-line-counter .counter-single .top {
  /* margin: 0 0 2px 0; */
  padding: 10px 10px;
  float: left;
  width: 100%;
  /* border-bottom: 1px dashed #bdbdbd; */
}

.zalpro-line-counter .counter-single .top .counter-label {
  margin: 0;
  padding: 0;
  float: left;
  font-size: 14px;
  /* font-weight: bold; */
}

.zalpro-line-counter .counter-single .top .counter-label i {
  margin: 0 5px 0 0;
  /* font-size: 15px !important; */
  /* float: left !important; */
  /* width: auto !important; */
  line-height: normal !important;
}

.zalpro-line-counter .counter-single .top .counter-number {
  margin: 0;
  padding: 0;
  float: right;
  font-weight: bold;
  font-size: 15px;
  color: #757575;
}

/* counter bottom  */

.zalpro-line-counter .counter-single .bottom {
  margin: 0 0 5px 0;
  padding: 5px 10px;
  float: left;
  width: 100%;
  border-bottom: 1px dashed #bdbdbd;
}

.zalpro-line-counter .counter-single .bottom .counter-label {
  margin: 0;
  padding: 0;
  float: left;
  font-size: 13px;
}

.zalpro-line-counter .counter-single .bottom .counter-label i {
  margin: 0 5px 0 0;
  font-size: 13px !important;
  /* float: left !important;
  width: auto !important; */
  line-height: normal !important;
}

.zalpro-line-counter .counter-single .bottom .counter-number {
  margin: 0;
  padding: 0;
  float: right;
  font-weight: bold;
  font-size: 14px;
  color: #555;
}

.zalpro-line-counter .red-counter-bg {
  background-color: rgba(244, 67, 54, 0.15) !important;
  border-color: rgba(244, 67, 54, 0.25) !important;
}
.zalpro-line-counter .pink-counter-bg {
  background-color: rgba(233, 30, 99, 0.15) !important;
  border-color: rgba(233, 30, 99, 0.25) !important;
}
.zalpro-line-counter .purple-counter-bg {
  background-color: rgba(156, 39, 176, 0.15) !important;
  border-color: rgba(156, 39, 176, 0.25) !important;
}
.zalpro-line-counter .deeppurple-counter-bg {
  background-color: rgba(103, 58, 183, 0.15) !important;
  border-color: rgba(103, 58, 183, 0.25) !important;
}
.zalpro-line-counter .indigo-counter-bg {
  background-color: rgba(63, 81, 181, 0.15) !important;
  border-color: rgba(63, 81, 181, 0.25) !important;
}
.zalpro-line-counter .blue-counter-bg {
  background-color: rgba(33, 150, 243, 0.15) !important;
  border-color: rgba(33, 150, 243, 0.25) !important;
}
.zalpro-line-counter .lightblue-counter-bg {
  background-color: rgba(3, 169, 244, 0.15) !important;
  border-color: rgba(3, 169, 244, 0.25) !important;
}
.zalpro-line-counter .cyan-counter-bg {
  background-color: rgba(0, 188, 212, 0.15) !important;
  border-color: rgba(0, 188, 212, 0.25) !important;
}
.zalpro-line-counter .teal-counter-bg {
  background-color: rgba(0, 150, 136, 0.15) !important;
  border-color: rgba(0, 150, 136, 0.25) !important;
}
.zalpro-line-counter .green-counter-bg {
  background-color: rgba(76, 175, 80, 0.15) !important;
  border-color: rgba(76, 175, 80, 0.25) !important;
}
.zalpro-line-counter .lightgreen-counter-bg {
  background-color: rgba(139, 195, 74, 0.15) !important;
  border-color: rgba(139, 195, 74, 0.25) !important;
}
.zalpro-line-counter .lime-counter-bg {
  background-color: rgba(205, 220, 57, 0.15) !important;
  border-color: rgba(205, 220, 57, 0.25) !important;
}
.zalpro-line-counter .yellow-counter-bg {
  background-color: rgba(255, 235, 59, 0.15) !important;
  border-color: rgba(255, 235, 59, 0.25) !important;
}
.zalpro-line-counter .amber-counter-bg {
  background-color: rgba(255, 193, 7, 0.15) !important;
  border-color: rgba(255, 193, 7, 0.25) !important;
}
.zalpro-line-counter .orange-counter-bg {
  background-color: rgba(255, 152, 0, 0.15) !important;
  border-color: rgba(255, 152, 0, 0.25) !important;
}
.zalpro-line-counter .deeporange-counter-bg {
  background-color: rgba(255, 87, 34, 0.15) !important;
  border-color: rgba(255, 87, 34, 0.25) !important;
}
.zalpro-line-counter .brown-counter-bg {
  background-color: rgba(121, 85, 72, 0.15) !important;
  border-color: rgba(121, 85, 72, 0.25) !important;
}
.zalpro-line-counter .grey-counter-bg {
  background-color: rgba(158, 158, 158, 0.15) !important;
  border-color: rgba(158, 158, 158, 0.25) !important;
}
.zalpro-line-counter .bluegrey-counter-bg {
  background-color: rgba(96, 125, 139, 0.15) !important;
  border-color: rgba(45, 89, 110, 0.25) !important;
}

/************************************************************************/
/************************************************************************/
/************************************************************************/

/* ===== content panel — #5 "spacious card" (header divided from body by a border) ===== */
.x_panel {
  background: #ffffff !important;
  border: 1px solid #eef1f5 !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 22px rgba(31, 41, 55, .07) !important;
  padding: 0 !important;
  margin-bottom: 24px;
  display: flow-root;   /* restore BFC (theme used inline-block) so the card clears preceding floats */
  clear: both;
}

.x_title {
  padding: 17px 24px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #eef1f5 !important;   /* header / body separator */
  border-radius: 0 !important;
  box-shadow: none !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.x_title h2 {
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  color: #1f2937;
}

.x_title h2 > i:first-child {
  width: 32px; height: 32px; border-radius: 9px;
  background: #e8f1fe; color: #2563a8;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; flex: none;
}

/* action heading (the "<h2 class='right'>" that wraps Add-New buttons) sits at the far right */
.x_title h2.right {
  flex: 0 0 auto !important;
  width: auto !important;
  margin-left: auto !important;
  justify-content: flex-end;
}
.x_title h2.right > i:first-child { background: none; width: auto; height: auto; color: inherit; border-radius: 0; }

.x_title .pull-right,
.x_title .panel_toolbox,
.x_title .navbar-right { float: none !important; margin-left: auto !important; }

.x_title .btn {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
  border-radius: 9px;
  float: none !important;
  margin: 0 !important;
}

.x_content {
  padding: 22px 24px !important;
  position: relative;
  width: auto !important;
  float: none !important;
  clear: both;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

img.userPhoto {
  width: 50px;
  border-radius: 100%;
}

ul.user_data li {
  margin-bottom: 15px !important;
  clear: both;
  min-height: 20px;
}

table.jambo_table thead {
  background: #ffffff;
  color: #757575;
}

tr.even.pointer:hover {
  background: #fbffce;
}

.table thead tr th {
  vertical-align: bottom;
  border: 1px solid rgba(64, 107, 255, 0.1) !important;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  border: 1px solid rgba(63, 208, 173, 0.05) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(63, 208, 173, 0) !important;
}

.x_content .table tr td img.photo {
  width: 50px;
  height: 50px;
  border-radius: 100%;
}

/* ***************************************************************** */

.panel-heading {
  padding: 15px 15px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.panel-primary {
  border-color: #2a3f54;
}

.panel-primary .panel-heading {
  color: #fff;
  background-color: #2a3f54;
  border-color: #2a3f54;
}

.panel-primary .panel-default .panel-heading {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
}

.btn-primary {
  color: #fff;
  background-color: #5578eb;
  border-color: #406bff;
}

.btn-success {
  color: #fff;
  background-color: #0abb87;
  border-color: #0abb87;
}

/* form style */
.form-control {
  line-height: 30px;
  width: 100%;
  box-shadow: none;
  border-radius: 5px;
}

/* radio button style */
.iradio_flat-green {
  margin-bottom: 0.5rem;
}

/* datatable style */

.dataTables_length {
  width: auto;
  margin-right: 20px;
}

.dataTables_filter {
  width: auto;
}

.dataTables_wrapper .dataTables_filter input {
  margin-left: 0.5em;
  border: 0;
  padding: 5px 0;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.dataTables_paginate a {
  padding: 6px 19px !important;
  margin-top: 10px;
}

table.dataTable tfoot th,
table.dataTable tfoot td {
  padding: 10px 18px 6px 18px;
  border-top: 0px solid #111 !important;
}

.dt-buttons button.dt-button,
.dt-buttons button.dt-button:hover,
.dt-buttons button.dt-button:active,
.dt-buttons button.dt-button:focus,
.dt-buttons button.dt-button:visited {
  font-size: 1.3rem;
  background: #3f5265 !important;
  border-color: #3f5265 !important;
  background-image: none !important;
  color: #fff !important;
  margin-bottom: 6px !important;
  margin-right: 6px !important;
  border: 0px;
  float: left;
  border-radius: 20px !important;
  padding: 7px 18px !important;
  text-shadow: 0 0 black !important;
}

table.dataTable.no-footer {
  border-bottom: 0px solid #111 !important;
}

table.dataTable {
  margin: 0 auto;
  width: 100%;
  clear: both;
  border-collapse: collapse;
  table-layout: fixed;
  word-wrap: break-word;
}

div.dataTables_wrapper div.dataTables_processing {
  top: 5% !important;
  background: #ffeb3b;
  padding: 10px;
  height: auto;
  z-index: 10000;
  font-size: 15px !important;
  color: #000;
  border: none;
  width: 250px;
  margin: 0 auto;
  left: 39%;
  border-radius: 3px;
}

.dataTables_paginate a {
  padding: 6px 9px !important;
  background: none !important;
  border-color: #223243 !important;
}

a.paginate_button.current,
a.paginate_button.current:hover,
a.paginate_button.current:active,
a.paginate_button.current:focus {
  color: #223243;
  font-weight: 600;
}

a.paginate_button,
a.paginate_button:hover,
a.paginate_button:active,
a.paginate_button:focus {
  color: #223243 !important;
  font-weight: normal;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #223243 !important;
}

button.dt-button.buttons-columnVisibility.active {
  font-weight: bold;
}

table.jambo_table {
  border: 0px !important;
}

table.jambo_table thead {
  background: rgb(52 73 94 / 0%);
  color: #616161;
}

.table > thead > tr > th {
  border-bottom: 0px;
}

/* Chosen Style */

.chosen-container-single .chosen-single {
  /*padding: 5px 14px !important;*/
  /*height: 33px !important;*/
  border: 1px solid #dee2e9 !important;
  border-radius: 5px !important;
  background-color: #fff !important;
  background: none !important;
  background: none !important;
  background-clip: padding-box !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  color: #444 !important;
  height: 34px !important;
  padding: 6px 12px !important;
  font-size: 14px !important;
  border: 1px solid #dde2e8 !important;
}

.chosen-container-single .chosen-single div b {
  margin-top: 4px !important;
}

.chosen-container-single .chosen-search input[type="text"] {
  margin: 1px 0 !important;
  height: 28px !important;
  border: 1px solid #dee2e9 !important;
  border-radius: 3px !important;
}

.chosen-container .chosen-results li.highlighted {
  background-color: #406bff !important;
  background-image: none !important;
  background-image: none !important;
  color: #fff !important;
  padding: 6px 6px !important;
  border-radius: 3px !important;
  font-size: 14px !important;
}

.chosen-container.chosen-container-single {
  width: 100% !important;
  background: #fff !important;
}

/* date and time picker style */
.datepicker-container.datepicker-dropdown {
  z-index: 10000 !important;
  box-shadow: none;
}

.ui-timepicker-container.ui-timepicker-standard {
  z-index: 10000 !important;
  box-shadow: none;
}

/* profile page style */

.admin-profile .x_panel .x_content .col-md-2.col-sm-2.col-xs-12 a.btn,
.user-profile .x_panel .x_content .col-md-2.col-sm-2.col-xs-12 a.btn {
  width: 100%;
}

.admin-profile .profile_img img,
.user-profile .profile_img img {
  width: 75%;
  max-width: 150px;
  height: auto !important;
  margin: 1rem auto;
  float: left;
}

/* all users page style */
a.user-activation-btn,
.add-inventory-modal,
.check-network-status,
.add-ticket-modal,
.check-router-status,
.add-franchise-modal,
.add-staff-modal,
.add-packages-modal,
a.add-router-modal,
a.add-nas-modal,
.add-areas-modal,
.add-bandwidth-modal,
.add-isp-modal,
.add-admin-modal,
.add-item-modal,
.mass-activate-confirm,
.mass-payment-confirm,
.mass-renew-confirm,
a.user-payment-btn,
a.user-withdraw-btn,
a.add-new-user,
a.import-new-user,
a.generate-token,
.clean-table-delete,
.add-router-modal,
.add-subdealer-modal,
.add-dealers-modal,
.clear-router-stale-session {
  cursor: pointer;
}

/* all users page table */
.all-users-table-action span {
  float: left;
  width: auto;
  margin: 0 5px 5px 0;
}

span.checedkAll {
  margin: 0 0 0 10px;
}

/* custom modal */
.modal-dialog.modal-xlg {
  width: 65%;
}

.activation_modal table tbody tr td,
.quick_access_activation_modal table tbody tr td {
  font-weight: bold;
}

/* dashboard widgets style page */
.fixed_height_420 {
  height: 420px;
}

/* ticket, notice page */
.notice_page .commentList {
  background: #fafafa;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border: 1px solid #e0e0e0;
}

.notice_page .commentList h2 {
  /* font-size: 2rem; */
  text-decoration: underline;
}

.notice_page .commentList p.description {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.notice_page .commentList p.attributes {
  font-size: 1.2rem;
  margin: 0;
}

.notice_page .ticket_closed {
  font-size: 2rem;
  padding: 15px 30px;
  background: #d9534f;
  color: #fff;
  text-transform: capitalize;
}

/* news ticker  */
.news-ticker-wrapper {
  padding: 10px 20px 0;
  margin-left: 12%;
}

.acme-news-ticker {
  background: #fef6e6 !important;
  border: 1px solid #f6e2bf !important;
  border-radius: 14px !important;
  overflow: hidden;
}

ul.my-news-ticker-2 li {
  margin: 0 1% 0 0;
  padding: 0;
  float: left;
  width: max-content !important;
}

.acme-news-ticker-box ul li a {
  color: #7a5a12 !important;
  font-weight: 500;
}

.acme-news-ticker-label {
  line-height: 1.4 !important;
  background: #f59e0b !important;
  color: #3d2a02 !important;
  font-weight: 500;
  height: auto !important;
  padding: 7px 14px !important;
  margin: 6px 14px 6px 6px !important;
  border-radius: 10px !important;
}

/* tab style */

/* dashboard tab menus — filled pills (#2); no bottom line, no box borders */
.zalpro_tabs.nav-tabs {
  border-bottom: 0 !important;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.zalpro_tabs.nav-tabs > li { float: none; margin: 0; }
.zalpro_tabs.nav-tabs > li > a {
  border: 0 !important;
  border-radius: 11px !important;
  margin: 0 !important;
  padding: 13px 24px !important;
  background: transparent !important;
  color: #56657a !important;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1.4;
  transition: background .15s, color .15s;
}
.zalpro_tabs.nav-tabs > li > a i { font-size: 17px; }
.zalpro_tabs.nav-tabs > li > a:hover,
.zalpro_tabs.nav-tabs > li > a:focus {
  background: #eef1f5 !important;
  color: #1f2937 !important;
  border: 0 !important;
}
.zalpro_tabs.nav-tabs > li.active > a,
.zalpro_tabs.nav-tabs > li.active > a:focus,
.zalpro_tabs.nav-tabs > li.active > a:hover {
  background: #1f2937 !important;
  color: #fff !important;
  border: 0 !important;
  cursor: default;
}

/* quick access menu in dashboard — #5 action cards */
.quick_access_menu {
  float: none;
  width: 100%;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.quick_access_menu a.btn-zalpro {
  flex: 0 1 auto;
  min-width: 108px;
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 18px !important;
  background: #fff !important;
  border: 1px solid #eef1f5 !important;
  border-radius: 14px !important;
  color: #3f5265 !important;
  font-size: 12.5px !important;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 2px 8px rgba(31, 41, 55, .05);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.quick_access_menu a.btn-zalpro:hover,
.quick_access_menu a.btn-zalpro:focus {
  transform: translateY(-2px);
  border-color: #c7dbf5 !important;
  box-shadow: 0 6px 16px rgba(31, 41, 55, .09);
  color: #1f2937 !important;
}
.quick_access_menu a.btn-zalpro br { display: none; }
.quick_access_menu a.btn-zalpro i {
  font-size: 19px !important;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f1fe;
  color: #2563a8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .12s ease, color .12s ease;
}
.quick_access_menu a.btn-zalpro:hover i { background: #2563a8; color: #fff; }

.quick_user_access a.user-select-btn {
  display: none;
}

/***********************************************************/

/* footer style */
@media (min-width: 992px) {
  footer {
    margin-left: 0;
  }
}

/* ===== footer — #5 ===== */
footer {
  background: transparent !important;
  border-top: 1px solid #e0e4e9;
  padding: 16px 24px !important;
  margin-top: 16px;
  font-size: 12.5px;
  color: #8a97a3;
}
footer .pull-right { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; color: #8a97a3; line-height: 1.6; }
footer a { color: #2563a8 !important; font-weight: 500; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.zp-footer-ver {
  display: inline-block; background: #1f2937; color: #fff !important;
  font-size: 11px; font-weight: 500; padding: 2px 10px; border-radius: 20px; margin-left: 6px;
}

/* login page, verify page */
body#access_page {
  background-color: #f7f7f7;
  font-family: "Rubik", sans-serif;
  margin-top: 15vh;
}

/* responsive styles start from here */

@media (min-width: 1440px) {
  /* CSS */
}

/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {
  /* CSS */

  .nav-md .container.body .col-md-3.left_col {
    width: 12%;
  }

  .nav-md .left_col.scroll-view {
    width: 100%;
    float: left;
  }

  .nav-md .nav_title {
    /* height: 10vh; */
    width: 100%;
    padding-top: 10px;
  }

  .nav-md .top_nav {
    float: left;
    width: 88%;
    margin-left: 12%;
  }

  .nav-md .nav_menu {
    /* height: 10vh; */
    width: 100%;
    padding-top: 10px;
  }

  .nav-md .top_nav .navbar-left {
    margin: 0.4rem 0 0 0;
    width: 25%;
    float: left;
  }

  .navbar-left li.current-admin-info a {
    line-height: normal;
  }

  .nav-md .top_nav .navbar-right {
    margin: 0.4rem 0 0 0;
    width: 65%;
    float: right;
  }

  .nav-sm .main_container .top_nav {
    float: left;
    width: 95%;
    height: auto;
  }

  .nav-sm .top_nav .nav_menu {
    background: #223243;
    border-bottom: 0px;
    height: auto;
  }

  .nav-sm .top_nav .navbar-left {
    margin: 0.4rem 0 0 0;
    width: 25%;
    float: left;
  }

  .nav-sm .top_nav .navbar-right {
    width: 65%;
    float: right;
  }

  .nav-md .container.body .right_col {
    padding: 10px 20px 0;
    margin-left: 12%;
  }
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1024px) and (max-width: 1280px) {
  /* CSS */

  /* left side container */
  .nav-md .container.body .col-md-3.left_col {
    width: 12%;
  }

  .nav-md .left_col {
    background: #f1f1f1;
    width: 100%;
    float: left;
  }

  .nav-md .nav_title {
    height: 10vh;
    width: 100%;
  }

  .nav-md ul.nav.side-menu li a span.right {
    font-size: 12px !important;
    margin-top: 5%;
  }

  /* right side top nav */
  .nav-md .top_nav {
    float: left;
    width: 88%;
    margin-left: 12%;
  }

  .nav-md .nav_menu {
    height: 10vh;
    width: 100%;
  }

  .nav-md .top_nav .navbar-left {
    width: 25%;
  }

  .nav-md .top_nav .navbar-right {
    margin: 0.4rem 0 0 0;
    width: auto;
    float: right;
  }

  .nav-md .top_nav .navbar-left li a {
    line-height: normal !important;
  }

  /* right side contrainer */
  .nav-md .container.body .right_col {
    padding: 10px 20px 0;
    margin-left: 12%;
  }
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 991px) {
  /* CSS */

  .nav-md .top_nav {
    float: left;
    width: 100%;
  }

  .nav_menu {
    height: auto !important;
  }

  .nav-md .top_nav .navbar-left li a {
    line-height: normal !important;
  }

  .top_nav .navbar-left {
    width: auto;
  }

  .top_nav .navbar-right {
    width: auto;
  }

  /* all datatables  */
  table.dataTable {
    width: 100% !important;
  }

  .x_title h2.left {
    width: 100%;
    margin-bottom: 10px;
  }

  .x_title h2.right {
    width: auto;
    margin-bottom: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  /* CSS */

  /* all datatables  */
  table.dataTable {
    width: 100% !important;
  }

  .x_title h2.left {
    width: 100%;
    margin-bottom: 10px;
  }

  .x_title h2.right {
    width: auto;
    margin-bottom: 10px;
  }
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 991px) and (orientation: landscape) {
  /* CSS */
}

@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
  /* CSS */
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {
  /* CSS */
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
  /* CSS */
  .nav-md .top_nav {
    float: left;
    width: 100%;
    height: auto;
  }

  .nav-md .top_nav .nav_menu {
    height: auto;
  }

  .nav-md .top_nav .navbar-left {
    margin: 0.4rem 0 0 0;
    width: 100%;
    float: left;
  }

  .nav-md .top_nav .navbar-left li.current-admin-info a {
    text-align: center;
  }

  .nav-md .top_nav .navbar-right {
    margin: 0.4rem 0 0 0;
    width: 100%;
    float: left;
  }

  .nav-sm .top_nav {
    display: block;
    margin-left: 70px;
    z-index: 2;
    width: 86%;
    float: left;
  }

  .nav-sm .top_nav .nav_menu {
    width: 100%;
    height: auto;
  }

  .nav-sm .top_nav .navbar-left {
    margin: 0.4rem 0 0 0;
    width: 100%;
    float: left;
  }

  .nav-sm .top_nav .navbar-right {
    margin: 0.4rem 0 0 0;
    width: 100%;
    float: left;
  }

  table.dataTable {
    width: 100% !important;
  }

  table#userServerReportTable td {
    width: 100%;
    float: left;
  }
}

/* mobile/ipad view */
@media (max-width: 768px) {
  .admin_account_mobile_view {
    display: block !important;
  }
}

/* mobile/ipad view datatables */
@media screen and (max-width: 640px) {
  div.dt-buttons {
    float: none !important;
    text-align: center;
    margin: 15px 0;
    float: left !important;
  }
}

/* ====================================================================
   Zal Pro modern profile card (.zp-pcard) + stat card (.zp-stat)
   Shared across all admin-portal profile views.
   ==================================================================== */
.zp-pcard { background: #fff; border: 1px solid #e8ebef; border-radius: 14px; padding: 18px; font-family: "Rubik", sans-serif; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(31,41,55,.06); }
.zp-pcard-head { display: flex; gap: 14px; align-items: center; }
.zp-pcard-avatar { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; flex: none; background: #e8f1fe; }
.zp-pcard-avatar img { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 14px !important; display: block; }
.zp-pcard-ident { min-width: 0; }
.zp-pcard-name { font-size: 16px; font-weight: 600; color: #1f2937; word-break: break-word; line-height: 1.25; }
.zp-pcard-role { font-size: 12px; color: #8a97a3; margin: 2px 0 6px; word-break: break-word; }
.zp-badge { display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 9px; border-radius: 20px; }
.zp-badge-green { background: #e3f5ea; color: #1c7a46; }
.zp-badge-grey { background: #eef2f6; color: #5a6b7b; }
.zp-pcard-info { list-style: none; margin: 16px 0 0; padding: 0; }
.zp-pcard-info li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #5a6b7b; padding: 8px 0; border-bottom: 1px solid #f3f5f7; word-break: break-word; }
.zp-pcard-info li:last-child { border-bottom: none; }
.zp-pcard-info li i { width: 16px; text-align: center; color: #6f86a6; font-size: 14px; flex: none; }
.zp-pcard-actions { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
.zp-pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 9px; border: 1px solid #dde2e8; background: #fff; color: #1f2937 !important; font-size: 13px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .15s; white-space: nowrap; }
.zp-pbtn:hover, .zp-pbtn:focus { background: #f3f6fa; color: #1f2937 !important; text-decoration: none; }
.zp-pbtn i { font-size: 14px; }
.zp-pbtn-primary { background: #1f2937; border-color: #1f2937; color: #fff !important; }
.zp-pbtn-primary:hover, .zp-pbtn-primary:focus { background: #111827; color: #fff !important; }

.zp-stat { background: #fff; border: 1px solid #e8ebef; border-radius: 12px; padding: 20px 16px; min-height: 84px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: "Rubik", sans-serif; box-shadow: 0 1px 2px rgba(31,41,55,.05); }
.zp-stat-icon { width: 42px; height: 42px; border-radius: 11px; background: #eef2f6; color: #3f5265; display: flex; align-items: center; justify-content: center; flex: none; font-size: 18px; }
.zp-stat-body { min-width: 0; }
.zp-stat-label { font-size: 11px; color: #8a97a3; }
.zp-stat-value { font-size: 22px; font-weight: 600; color: #3f5265; line-height: 1.1; }

/* Zal Pro note/alert card (.zp-note) */
.zp-note { background: #fff; border: 1px solid #e8ebef; border-radius: 12px; padding: 12px 38px 12px 14px; margin-bottom: 14px; display: flex; gap: 11px; font-family: "Rubik", sans-serif; position: relative; box-shadow: 0 1px 2px rgba(31,41,55,.05); }
.zp-note-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; font-size: 15px; }
.zp-note-body { min-width: 0; font-size: 13px; color: #5a6b7b; line-height: 1.5; word-break: break-word; }
.zp-note-title { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.zp-note-close { position: absolute; top: 12px; right: 13px; color: #aeb8c2; background: none; border: none; font-size: 17px; line-height: 1; cursor: pointer; opacity: .7; }
.zp-note-close:hover { opacity: 1; }
.zp-note-info .zp-note-icon { background: #e9f3fb; color: #185fa5; }
.zp-note-info .zp-note-title { color: #185fa5; }
.zp-note-warn .zp-note-icon { background: #fdf1e3; color: #b3700f; }
.zp-note-warn .zp-note-title { color: #b3700f; }

/* Zal Pro section card (.zp-section) — modern panel + title */
.zp-section { background: #fff; border: 1px solid #e8ebef; border-radius: 14px; padding: 20px; margin-bottom: 20px; font-family: "Rubik", sans-serif; box-shadow: 0 1px 3px rgba(31,41,55,.06); }
.zp-section-title { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.zp-section-title .zp-section-icon { width: 34px; height: 34px; border-radius: 9px; background: #e8f1fe; color: #2563a8; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.zp-section-title h2 { font-size: 16px; font-weight: 600; color: #3f5265; margin: 0; }
.zp-chart-wrap { position: relative; height: 300px; }

/* ===== Modern accordion panels + toolbars inside profile pages ===== */
.admin-profile .panel-group, .user-profile .panel-group { margin-bottom: 20px; }
.admin-profile .panel.panel-primary, .user-profile .panel.panel-primary { background: #fff !important; border: 1px solid #e8ebef !important; border-radius: 12px !important; box-shadow: 0 1px 2px rgba(31,41,55,.05) !important; overflow: hidden; margin-bottom: 14px; }
.admin-profile .panel-primary > .panel-heading, .user-profile .panel-primary > .panel-heading { background: #fff !important; color: #3f5265 !important; border: none !important; padding: 14px 18px !important; }
.admin-profile .panel-primary .panel-title > a, .user-profile .panel-primary .panel-title > a { color: #3f5265 !important; font-family: "Rubik", sans-serif; font-size: 14px; font-weight: 600; text-decoration: none; }
.admin-profile .panel-primary .panel-title > a i, .user-profile .panel-primary .panel-title > a i { color: #3f5265; margin-right: 4px; }
.admin-profile .panel-primary .panel-collapse, .user-profile .panel-primary .panel-collapse { border-top: 1px solid #f0f2f5; }
.admin-profile .panel-primary .panel-body, .user-profile .panel-primary .panel-body { background: #fff !important; border: none !important; padding: 16px 18px !important; }

/* datatable export toolbar -> light, modern */
.admin-profile .dt-buttons .btn, .user-profile .dt-buttons .btn,
.admin-profile .dt-button, .user-profile .dt-button { background: #f4f6f8 !important; color: #5a6b7b !important; border: 1px solid #e6eaee !important; border-radius: 8px !important; box-shadow: none !important; text-shadow: none !important; }
.admin-profile .dt-buttons .btn:hover, .user-profile .dt-buttons .btn:hover,
.admin-profile .dt-button:hover, .user-profile .dt-button:hover { background: #eef2f6 !important; color: #3f5265 !important; }

/* ===== Option C accordion refinements (slate header when open) ===== */
.admin-profile .panel-primary > .panel-heading, .user-profile .panel-primary > .panel-heading { display: flex; align-items: center; gap: 8px; padding: 11px 16px !important; transition: background .15s; }
.admin-profile .panel-primary .panel-title, .user-profile .panel-primary .panel-title { flex: 1; margin: 0; min-width: 0; }
.admin-profile .panel-primary .panel-title > a, .user-profile .panel-primary .panel-title > a { display: flex; align-items: center; gap: 11px; width: 100%; }
.admin-profile .panel-primary .panel-title > a > i:first-child, .user-profile .panel-primary .panel-title > a > i:first-child { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex: none; background: #eef2f6; color: #8a97a3; margin: 0; }
.admin-profile .panel-primary .panel-title > a::after, .user-profile .panel-primary .panel-title > a::after { content: "\f078"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 12px; margin-left: auto; color: #9aa6b1; transition: transform .2s; }
.admin-profile .panel-primary .panel-title > a.collapsed::after, .user-profile .panel-primary .panel-title > a.collapsed::after { transform: rotate(-90deg); }
.admin-profile .panel-primary .panel-heading .right, .user-profile .panel-primary .panel-heading .right { flex: none; float: none !important; margin-left: 10px; }

/* open panel -> slate header */
.admin-profile .panel.panel-primary.zp-open > .panel-heading, .user-profile .panel.panel-primary.zp-open > .panel-heading { background: #1f2937 !important; }
.admin-profile .panel.zp-open .panel-title > a, .user-profile .panel.zp-open .panel-title > a { color: #fff !important; }
.admin-profile .panel.zp-open .panel-title > a > i:first-child, .user-profile .panel.zp-open .panel-title > a > i:first-child { background: #ffffff1f; color: #fff; }
.admin-profile .panel.zp-open .panel-title > a::after, .user-profile .panel.zp-open .panel-title > a::after { color: #ffffffb3; }

/* closed (non-active) panels = soft blue-tint header, readable title, blue icon badge; open stays charcoal */
.admin-profile .panel-primary > .panel-heading, .user-profile .panel-primary > .panel-heading { background: #f4f8fd !important; }
.admin-profile .panel-primary .panel-title > a, .user-profile .panel-primary .panel-title > a { color: #334155 !important; }
.admin-profile .panel-primary .panel-title > a > i:first-child, .user-profile .panel-primary .panel-title > a > i:first-child { background: #e8f1fe; color: #2563a8; }
/* hover lift on closed panels only */
.admin-profile .panel-primary:not(.zp-open) > .panel-heading:hover, .user-profile .panel-primary:not(.zp-open) > .panel-heading:hover { background: #e9f1fb !important; }
.admin-profile .panel-primary:not(.zp-open) > .panel-heading:hover .panel-title > a, .user-profile .panel-primary:not(.zp-open) > .panel-heading:hover .panel-title > a { color: #1f2937 !important; }
.admin-profile .panel-primary:not(.zp-open) > .panel-heading:hover .panel-title > a > i:first-child, .user-profile .panel-primary:not(.zp-open) > .panel-heading:hover .panel-title > a > i:first-child { background: #d8e8fd; color: #1d4f8a; }

/* fix: header title flex so right-side action buttons sit inline (not wrapped) */
.admin-profile .panel-primary .panel-title, .user-profile .panel-primary .panel-title { display: flex; align-items: center; }
.admin-profile .panel-primary .panel-title > a, .user-profile .panel-primary .panel-title > a { flex: 1; width: auto !important; min-width: 0; }
.admin-profile .panel-primary .panel-title .right, .user-profile .panel-primary .panel-title .right { flex: none; margin-left: 10px; }

/* in-header action buttons (e.g. Add Document) -> amber pill (Option C) */
.admin-profile .panel-primary .panel-heading .btn, .user-profile .panel-primary .panel-heading .btn { background: #f59e0b !important; border: 1px solid #f59e0b !important; color: #3d2a02 !important; border-radius: 20px !important; padding: 5px 15px !important; font-size: 12px !important; font-weight: 600 !important; box-shadow: none !important; text-shadow: none !important; float: none !important; margin: 0 !important; line-height: 1.5; }
.admin-profile .panel-primary .panel-heading .btn:hover, .admin-profile .panel-primary .panel-heading .btn:focus, .user-profile .panel-primary .panel-heading .btn:hover, .user-profile .panel-primary .panel-heading .btn:focus { background: #e08e07 !important; border-color: #e08e07 !important; color: #3d2a02 !important; }

/* responsive stat grid (replaces bootstrap col-md-3 so stats align with other sections) */
.zp-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 20px; }
.zp-stat-grid .zp-stat { margin-bottom: 0; }

/* ===== Layered graphite (#5): stat icon-badge accents from the brand palette ===== */
.zp-stat--cyan  .zp-stat-icon { background: #e0f7fa; color: #00838f; }
.zp-stat--blue  .zp-stat-icon { background: #e8f1fe; color: #2563a8; }
.zp-stat--amber .zp-stat-icon { background: #fdeed6; color: #9a6209; }
.zp-stat--green .zp-stat-icon { background: #e7f6ec; color: #2f7a43; }
.zp-stat--slate .zp-stat-icon { background: #eceef1; color: #1f2937; }

/* ===== full-height sidebar rail: stretch to full document height (JS-synced, CSS fallback) ===== */
.container.body { position: relative; }
.container.body .main_container { position: static; }
.container.body .col-md-3.left_col { min-height: 100%; }

/* ===== align right-column notes/stats with the accordion on x_panel-based profiles =====
   Neutralize the x_panel wrapper and turn its x_content into the same responsive grid
   used on the user profile, so notes (full width) + stat cards share the accordion's left edge. */
/* profiles use bare cards on the grey canvas — keep x_panel chrome off there */
.admin-profile .x_panel,
.user-profile .x_panel { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; margin-bottom: 14px; }
/* main profile content wrapper: drop inner padding so the profile card aligns flush with the quick-access cards above it */
.admin-profile .x_panel > .x_content,
.user-profile .x_panel > .x_content { padding: 0 !important; }
/* the profile column has bootstrap col padding the quick-access row doesn't — drop its left pad to line up the card's left edge */
.user-profile .x_panel > .x_content > .col-lg-3 { padding-left: 0 !important; }
.admin-profile .col-md-9 > .x_panel,
.user-profile .col-md-9 > .x_panel { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 20px !important; }
.admin-profile .col-md-9 > .x_panel > .x_content,
.user-profile .col-md-9 > .x_panel > .x_content { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; padding: 0 !important; }
.admin-profile .col-md-9 > .x_panel > .x_content > [class*="col-"],
.user-profile .col-md-9 > .x_panel > .x_content > [class*="col-"] { width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; }
.admin-profile .col-md-9 > .x_panel > .x_content > .col-lg-12,
.user-profile .col-md-9 > .x_panel > .x_content > .col-lg-12 { grid-column: 1 / -1; }
.admin-profile .col-md-9 > .x_panel > .x_content > [class*="col-"] .zp-stat,
.admin-profile .col-md-9 > .x_panel > .x_content > [class*="col-"] .zp-note,
.user-profile .col-md-9 > .x_panel > .x_content > [class*="col-"] .zp-stat,
.user-profile .col-md-9 > .x_panel > .x_content > [class*="col-"] .zp-note { margin-bottom: 0; }

/* ===== sleek top-bar dropdowns (notifications + language) — #5 theme ===== */
.zp-topbar .dropdown-menu.alert-list {
  min-width: 290px; max-width: 340px; max-height: 380px; overflow-y: auto;
  padding: 6px; margin-top: 10px;
  background: #ffffff; border: 1px solid #e6eaef;
  border-radius: 14px !important; border-top-left-radius: 14px !important; border-top-right-radius: 14px !important;
  box-shadow: 0 14px 34px rgba(31, 41, 55, .16);
}
.zp-topbar .dropdown-menu.alert-list > li { width: 100%; border: 0 !important; background: transparent !important; margin-bottom: 6px; }
.zp-topbar .dropdown-menu.alert-list > li:last-child { margin-bottom: 0; }
.zp-topbar .dropdown-menu.alert-list > li > a {
  display: block; padding: 9px 11px !important; border-radius: 10px;
  border: 1px solid #e6eaef !important; background: #fff !important; transition: background .15s, border-color .15s, box-shadow .15s;
}
.zp-topbar .dropdown-menu.alert-list > li > a:hover,
.zp-topbar .dropdown-menu.alert-list > li > a:focus { background: #f4f8fd !important; border-color: #c7dbf5 !important; box-shadow: 0 2px 8px rgba(37, 99, 168, .08); }
.zp-topbar .dropdown-menu.alert-list .alert-title {
  display: flex !important; align-items: center; margin: 0 !important;
  font-size: 13px; font-weight: 500; color: #334155 !important;
  white-space: normal; line-height: 1.35;
}
.zp-topbar .dropdown-menu.alert-list .zp-alert-body { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.zp-topbar .dropdown-menu.alert-list .zp-alert-head { font-size: 13px; font-weight: 500; color: #334155; line-height: 1.3; }
.zp-topbar .dropdown-menu.alert-list .zp-alert-id { color: #2563a8; font-weight: 600; }
.zp-topbar .dropdown-menu.alert-list .zp-alert-type { font-size: 10.5px; color: #8a97a3; text-transform: uppercase; letter-spacing: .04em; }
.zp-topbar .dropdown-menu.alert-list .alert-title > i {
  width: 32px; height: 32px; border-radius: 9px;
  background: #e8f1fe; color: #2563a8;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; flex: none; margin-right: 11px !important;
}
.zp-topbar .dropdown-menu.alert-list .alert-title > img {
  width: 24px !important; height: 24px; border-radius: 50%; object-fit: cover;
  margin-right: 11px; flex: none; box-shadow: 0 0 0 1px rgba(31, 41, 55, .08);
}
.zp-topbar .dropdown-menu.alert-list::-webkit-scrollbar { width: 9px; }
.zp-topbar .dropdown-menu.alert-list::-webkit-scrollbar-thumb { background: #d3dae2; border-radius: 9px; border: 2px solid #fff; }
.zp-topbar .dropdown-menu.alert-list::-webkit-scrollbar-thumb:hover { background: #b9c2cd; }

/* ===== user / avatar dropdown menu — modern #5 ===== */
.zp-topbar .dropdown-usermenu {
  min-width: 240px; padding: 6px; margin-top: 10px;
  background: #ffffff; border: 1px solid #e6eaef;
  border-radius: 14px !important; border-top-left-radius: 14px !important; border-top-right-radius: 14px !important;
  box-shadow: 0 14px 34px rgba(31, 41, 55, .16);
}
.zp-topbar .dropdown-usermenu .zp-usermenu-head {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px 12px; margin-bottom: 6px; border-bottom: 1px solid #eef1f5;
}
.zp-topbar .dropdown-usermenu .zp-um-ava img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px #e8f1fe; display: block;
}
.zp-topbar .dropdown-usermenu .zp-um-meta { display: flex; flex-direction: column; min-width: 0; }
.zp-topbar .dropdown-usermenu .zp-um-name { font-size: 14px; font-weight: 600; color: #1f2937; line-height: 1.25; word-break: break-word; }
.zp-topbar .dropdown-usermenu .zp-um-role { font-size: 11.5px; color: #8a97a3; margin-top: 1px; }
.zp-topbar .dropdown-usermenu > li > a {
  display: flex !important; align-items: center; gap: 11px; padding: 9px 10px !important;
  border-radius: 9px; color: #334155 !important; font-size: 13px; font-weight: 500;
  background: transparent !important; transition: background .15s, color .15s;
}
.zp-topbar .dropdown-usermenu > li > a i {
  width: 30px; height: 30px; border-radius: 8px; background: #eef2f6; color: #56657a;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; flex: none; margin: 0 !important;
}
.zp-topbar .dropdown-usermenu > li > a:hover,
.zp-topbar .dropdown-usermenu > li > a:focus { background: #f4f8fd !important; color: #1f2937 !important; }
.zp-topbar .dropdown-usermenu > li > a:hover i,
.zp-topbar .dropdown-usermenu > li > a:focus i { background: #e8f1fe; color: #2563a8; }
.zp-topbar .dropdown-usermenu > li.zp-um-logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid #eef1f5; }
.zp-topbar .dropdown-usermenu > li.zp-um-logout > a { color: #b4232a !important; }
.zp-topbar .dropdown-usermenu > li.zp-um-logout > a i { background: #fdecec; color: #c0392b; }
.zp-topbar .dropdown-usermenu > li.zp-um-logout > a:hover { background: #fdecec !important; color: #a31f25 !important; }
.zp-topbar .dropdown-usermenu > li.zp-um-logout > a:hover i { background: #f7d4d4; color: #a31f25; }

/* ===== dashboard counters → KPI card grid (#1) ===== */
.zalpro-line-counter {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 11px;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.zalpro-line-counter .counter-single {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #f4f6f9;
  min-height: 80px;
  overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease;
}
.zalpro-line-counter .counter-single:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 41, 55, .10);
}
.zalpro-line-counter .counter-single .top {
  float: none !important;
  width: auto !important;
  height: 100%;
  padding: 13px 15px !important;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 0 !important;
}
.zalpro-line-counter .counter-single .top .counter-label {
  float: none !important;
  font-size: 12px;
  font-weight: 500;
  color: #5b6675;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.zalpro-line-counter .counter-single .top .counter-label i {
  font-size: 13px;
  width: 15px;
  text-align: center;
  flex: none;
  opacity: .9;
}
.zalpro-line-counter .counter-single .top .counter-number {
  float: none !important;
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: auto;
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.1;
  white-space: nowrap;
}
.zalpro-line-counter .counter-number .cn-val { font-weight: 600; }
.zalpro-line-counter .counter-number .cn-pct { font-size: 11.5px; font-weight: 500; color: #8a97a3; }

/* category tiles: lighter than the main reports card, roomy, clean header with accent bar */
.x_panel.tile { box-shadow: none !important; border-radius: 14px !important; margin-bottom: 18px; zoom: 1 !important; height: auto !important; }
.x_panel.tile > .x_content { padding: 18px 20px !important; }
.x_panel.tile .x_content > p:first-child {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: #1f2937; margin: 0 0 16px;
}
.x_panel.tile .x_content > p:first-child::before {
  content: ""; width: 4px; height: 17px; border-radius: 3px; background: #2563a8; flex: none;
}
.x_panel.tile .x_content > p:first-child strong { font-weight: 600; }

/* ===== All Users: donut (left) | ash divider | big numbers (right) ===== */
.zp-userstat { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.zp-donut-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.zp-donut {
  width: clamp(150px, 16vw, 300px); height: clamp(150px, 16vw, 300px);
  border-radius: 50%; flex: none; position: relative;
  background: conic-gradient(#c2cad4 0 100%);
}
.zp-donut-hole {
  position: absolute; inset: 13%; border-radius: 50%; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
.zp-donut-total { font-size: clamp(24px, 3vw, 42px); font-weight: 600; color: #1f2937; line-height: 1; }
.zp-donut-cap { font-size: clamp(11px, 0.9vw, 13px); color: #8a97a3; }
.zp-donut-legend { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.zp-donut-legend span { font-size: 12px; color: #5b6675; display: inline-flex; align-items: center; gap: 6px; }
.zp-donut-legend b { color: #1f2937; font-weight: 600; }
.zp-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.zp-donut-divider { align-self: stretch; width: 1px; background: #d8dde4; flex: 0 0 auto; }

/* right section: tinted KPI cards (icon + label + big number + %), responsive auto-fit grid */
.zp-userstat .zalpro-line-counter {
  flex: 1 1 300px;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-content: center;
}
.zp-userstat .zalpro-line-counter .counter-single {
  border-radius: 12px !important; min-height: 0 !important; box-shadow: none !important;
}
.zp-userstat .zalpro-line-counter .counter-single:hover { transform: none; box-shadow: none; }
.zp-userstat .zalpro-line-counter .counter-single .top {
  flex-direction: column !important; align-items: flex-start; gap: 6px; padding: 12px 14px !important; height: auto;
}
.zp-userstat .zalpro-line-counter .counter-label { font-size: 12px; }
.zp-userstat .zalpro-line-counter .counter-number { margin: 0 !important; font-size: 22px !important; }
.zp-userstat .zalpro-line-counter .counter-number .cn-pct { font-size: 11.5px; }
.zp-userstat .blue-counter-bg .counter-label i { color: #2563a8; }
.zp-userstat .green-counter-bg .counter-label i { color: #3b9e5a; }
.zp-userstat .red-counter-bg .counter-label i { color: #e24b4a; }
.zp-userstat .yellow-counter-bg .counter-label i { color: #c79a16; }
.zp-userstat .amber-counter-bg .counter-label i { color: #d98c12; }
.zp-userstat .grey-counter-bg .counter-label i { color: #8a97a3; }
.zp-userstat .bluegrey-counter-bg .counter-label i { color: #56657a; }

/* responsive: stack donut over numbers; divider becomes horizontal */
@media (max-width: 767px) {
  .zp-userstat { flex-direction: column; flex-wrap: nowrap; gap: 16px; align-items: stretch; }
  .zp-donut-divider { width: 100%; height: 1px; }
  .zp-donut-side { align-self: center; }
  .zp-donut { width: min(240px, 56vw); height: min(240px, 56vw); }
  .zp-userstat .zalpro-line-counter { flex: 0 1 auto; align-content: start; }
}

/* ===== dashboard quick-lookup bars — titled card + labelled fields (#1) ===== */
.zp-search-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.zp-search-icon { width: 30px; height: 30px; border-radius: 9px; background: #e8f1fe; color: #2563a8; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.zp-search-title { font-size: 14px; font-weight: 500; color: #1f2937; }
/* labels float above their field so all controls (incl. the button) sit on one aligned row */
.quick_user_search .zp-fld-label { position: absolute; bottom: 100%; left: 1px; margin: 0 0 5px; font-size: 11px; color: #8a97a3; font-weight: 500; white-space: nowrap; }

.quick_user_search form.form-horizontal { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin: 0; }
.quick_user_search form.form-horizontal > [class*="col-"] { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; flex: 1 1 170px; min-width: 0; }
.quick_user_search form.form-horizontal > [class*="col-lg-2"],
.quick_user_search form.form-horizontal > [class*="col-lg-3"] { flex: 0 0 auto; }
.quick_user_search form.form-horizontal .item.form-group { margin: 0; display: flex; align-items: center; }
.quick_user_search form.form-horizontal .item.form-group > * { width: 100%; }
.quick_user_search form.form-horizontal > [class*="col-lg-2"] .item.form-group > *,
.quick_user_search form.form-horizontal > [class*="col-lg-3"] .item.form-group > * { width: auto; }
.quick_user_search .chosen-container { width: 100% !important; height: 46px !important; font-size: 13px; vertical-align: top; }
/* native selects + text inputs */
.quick_user_search input.form-control { height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid #dfe4ea; box-shadow: none; font-size: 13.5px; color: #56657a; }
.quick_user_search select.form-control {
  height: 46px; padding: 0 38px 0 14px; border-radius: 10px; border: 1px solid #dfe4ea; box-shadow: none; font-size: 13.5px; color: #56657a;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238a97a3' stroke-width='1.6' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 11px;
}
/* chosen single — flat white, centered text, CSS chevron */
.quick_user_search .chosen-container-single .chosen-single {
  height: 46px !important; line-height: 44px !important; padding: 0 38px 0 14px !important;
  border-radius: 10px !important; border: 1px solid #dfe4ea !important;
  background: #fff !important; box-shadow: none !important; color: #56657a !important; font-size: 13.5px !important;
}
.quick_user_search .chosen-container-single .chosen-single span { line-height: 44px !important; margin-right: 0; }
.quick_user_search .chosen-container-single .chosen-single div { width: 38px; }
.quick_user_search .chosen-container-single .chosen-single div b { background: none !important; position: relative; display: block; height: 100%; margin-top: 0 !important; }
.quick_user_search .chosen-container-single .chosen-single div b::after {
  content: ""; position: absolute; top: 50%; right: 14px; margin-top: -4px;
  width: 7px; height: 7px; border-right: 1.6px solid #8a97a3; border-bottom: 1.6px solid #8a97a3; transform: rotate(45deg);
}
.quick_user_search .chosen-container-single .chosen-single abbr { top: 12px; }
/* chosen open state + dropdown */
.quick_user_search .chosen-container-active.chosen-with-drop .chosen-single { border-color: #c7dbf5 !important; border-radius: 9px 9px 0 0 !important; }
.quick_user_search .chosen-container .chosen-drop { border-color: #dfe4ea; border-radius: 0 0 10px 10px; box-shadow: 0 8px 22px rgba(31, 41, 55, .12); }
.quick_user_search .chosen-container .chosen-results li { font-size: 13px; padding: 8px 13px; }
.quick_user_search .chosen-container .chosen-results li.highlighted { background: #2563a8 !important; }
.quick_user_search .chosen-container .chosen-search input { border-radius: 7px; border-color: #dfe4ea; }
.quick_user_search .btn-zalpro { height: 46px; padding: 0 20px !important; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; }

/* ===== select2 in the quick-lookup bars — full width + match labelled-field design ===== */
.quick_user_search .select2,
.quick_user_search .select2-container { width: 100% !important; min-width: 0 !important; height: 46px !important; }
.quick_user_search .select2-container--default .select2-selection--single {
  height: 46px !important; border: 1px solid #dfe4ea !important; border-radius: 10px !important; background: #fff !important;
}
.quick_user_search .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px !important; padding: 0 36px 0 14px !important; color: #56657a !important; font-size: 13.5px;
}
.quick_user_search .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #8a97a3 !important; }
.quick_user_search .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px !important; right: 10px !important; }
.quick_user_search .select2-container--default.select2-container--focus .select2-selection--single,
.quick_user_search .select2-container--default.select2-container--open .select2-selection--single { border-color: #c7dbf5 !important; }
/* select2 dropdown (appended to body) — clean #5 look, applies app-wide for consistency */
.select2-dropdown { border-color: #dfe4ea !important; border-radius: 10px !important; box-shadow: 0 8px 22px rgba(31, 41, 55, .12); overflow: hidden; }
.select2-container--default .select2-results__option { font-size: 13px; padding: 8px 13px; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: #2563a8 !important; }
.select2-container--default .select2-search--dropdown .select2-search__field { border-radius: 7px; border-color: #dfe4ea; }

/* ===== page-header quick-action buttons (e.g. users page) — flow left-to-right, wrap, not stacked ===== */
.x_title .action-btn { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.x_title .action-btn h2 {
  display: inline-flex !important; flex: 0 0 auto !important; width: auto !important;
  margin: 0 !important; padding: 0 !important; font-size: 13px !important; line-height: normal;
}
.x_title .action-btn h2 > a { display: inline-flex; margin: 0; }
.x_title .action-btn .btn-zalpro {
  margin: 0 !important; white-space: nowrap;
  background: #3f5265 !important; border-color: #3f5265 !important; color: #fff !important;
  font-size: 13px !important; padding: 8px 15px !important; border-radius: 9px !important;
  display: inline-flex; align-items: center; gap: 7px;
}
.x_title .action-btn .btn-zalpro:hover,
.x_title .action-btn .btn-zalpro:focus { background: #33424f !important; border-color: #33424f !important; color: #fff !important; }
.x_title .action-btn .btn-zalpro i { font-size: 14px; }

/* ===== system data tables — #2 soft zebra (applies to every DataTable) ===== */
table.dataTable, table.jambo_table, .x_content table.table {
  width: 100% !important; border-collapse: collapse !important; font-size: 13px; color: #3f5265; margin: 0;
}
table.dataTable thead th, table.jambo_table thead th, .x_content table.table thead > tr > th {
  background: #f7f9fc !important; color: #5f6b7a !important;
  font-size: 11.5px !important; font-weight: 600 !important; text-transform: none !important;
  padding: 12px 16px !important; border: 0 !important; border-bottom: 1px solid #eef1f5 !important;
  white-space: nowrap; vertical-align: middle;
}
table.dataTable tbody td, table.jambo_table tbody td, .x_content table.table tbody > tr > td {
  padding: 12px 16px !important; border: 0 !important; vertical-align: middle; color: #3f5265;
}
table.dataTable tbody tr, table.jambo_table tbody tr, .x_content table.table tbody > tr { background: #fff !important; transition: background .12s; }
table.dataTable tbody tr:nth-child(even), table.jambo_table tbody tr:nth-child(even), .x_content table.table tbody > tr:nth-child(even) { background: #fafbfd !important; }
table.dataTable tbody tr:hover, table.jambo_table tbody tr:hover, .x_content table.table tbody > tr:hover { background: #f1f6fc !important; }
table.dataTable.no-footer { border-bottom: 0 !important; }
table.dataTable tbody td img.photo, table.dataTable tbody td img.userPhoto, table.jambo_table tbody td img { border-radius: 50% !important; }

/* DataTables chrome — search / length / info / pagination */
.dataTables_wrapper .dataTables_length select { height: 34px; border: 1px solid #dfe4ea; border-radius: 8px; padding: 0 26px 0 10px; color: #56657a; }
.dataTables_wrapper .dataTables_filter input { height: 34px; border: 1px solid #dfe4ea !important; border-radius: 8px; padding: 0 12px; margin-left: 8px; }
.dataTables_wrapper .dataTables_filter input:focus { border-color: #c7dbf5 !important; outline: none; box-shadow: none; }
.dataTables_wrapper .dataTables_info { color: #8a97a3; font-size: 12.5px; padding-top: 14px; }
.dataTables_wrapper .dataTables_paginate { padding-top: 10px; }
.dataTables_wrapper .dataTables_paginate .paginate_button {
  border: 1px solid #e6eaef !important; border-radius: 8px !important; background: #fff !important;
  color: #56657a !important; padding: 6px 12px !important; margin-left: 4px !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover { background: #f1f6fc !important; color: #1f2937 !important; border-color: #c7dbf5 !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { background: #1f2937 !important; color: #fff !important; border-color: #1f2937 !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled { opacity: .5; }

/* ===== badges (.label) -> soft #5 pills with meaningful colors ===== */
.label { border-radius: 20px !important; padding: 3px 10px !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: 0 !important; line-height: 1.6; display: inline-block; }
/* emphasize the most important table data: username badge, online/offline + balance/amount cells */
table.dataTable td .label, table.jambo_table td .label { font-weight: 600 !important; }
table.dataTable td .text-success, table.dataTable td .text-danger, table.dataTable td .text-info,
table.jambo_table td .text-success, table.jambo_table td .text-danger, table.jambo_table td .text-info,
table.dataTable td b, table.dataTable td strong, table.jambo_table td b, table.jambo_table td strong { font-weight: 700 !important; }
.label-default { background: #eef1f5 !important; color: #5f6b7a !important; }
.label-success { background: #e7f6ec !important; color: #2f7a43 !important; }
.label-danger  { background: #fdecec !important; color: #c0392b !important; }
.label-info    { background: #e8f1fe !important; color: #2563a8 !important; }
.label-warning { background: #fdf0d9 !important; color: #9a6209 !important; }
.label-primary { background: #e8f1fe !important; color: #2563a8 !important; }

/* ===== semantic action buttons — #5 (delete=danger red, edit=warning amber, view=info blue) ===== */
.btn-danger, .btn-danger:active, .btn-danger:focus { background-color: #e24b4a !important; border-color: #e24b4a !important; color: #fff !important; }
.btn-danger:hover { background-color: #c93f3e !important; border-color: #c93f3e !important; color: #fff !important; }
.btn-warning, .btn-warning:active, .btn-warning:focus { background-color: #f59e0b !important; border-color: #f59e0b !important; color: #3d2a02 !important; }
.btn-warning:hover { background-color: #e08e07 !important; border-color: #e08e07 !important; color: #3d2a02 !important; }
.btn-info, .btn-info:active, .btn-info:focus { background-color: #2563a8 !important; border-color: #2563a8 !important; color: #fff !important; }
.btn-info:hover { background-color: #1f5490 !important; border-color: #1f5490 !important; color: #fff !important; }
.btn-success, .btn-success:active, .btn-success:focus { background-color: #2f9e57 !important; border-color: #2f9e57 !important; color: #fff !important; }
.btn-success:hover { background-color: #28894a !important; border-color: #28894a !important; color: #fff !important; }

/* dashboard counter tiles (accounting/admin/package/notice) — 3 per row on desktop, spacious */
@media (min-width: 992px) {
  .x_panel.tile .zalpro-line-counter { grid-template-columns: repeat(3, 1fr); }
}

/* ===== #5 frame (top bar + charcoal sidebar) — shared by admin + client portals ===== */
.top_nav.zp-topbar .nav_menu { height: 58px !important; min-height: 58px; background: #ffffff !important; border-bottom: 1px solid #e4e7eb !important; padding-top: 0 !important; }
.top_nav.zp-topbar nav { display: flex !important; align-items: center; min-height: 58px; padding: 0 8px; }
.top_nav.zp-topbar .nav.toggle { float: none !important; margin: 0 !important; }
.top_nav.zp-topbar #menu_toggle { color: #5b6b7d; font-size: 20px; padding: 8px 10px; display: inline-flex; cursor: pointer; }
.top_nav.zp-topbar .navbar-left { float: none !important; width: auto !important; margin: 0 !important; display: flex; align-items: center; }
.top_nav.zp-topbar .navbar-right { float: none !important; width: auto !important; margin: 0 0 0 auto !important; display: flex !important; align-items: center; gap: 2px; }
.top_nav.zp-topbar .navbar-right > li { float: none !important; display: flex; align-items: center; position: relative; }
.zp-topbar .zp-brand a { display: flex; align-items: center; gap: 10px; padding: 0 6px; color: #1f2937 !important; background: transparent !important; }
.zp-topbar .zp-brand-chip { width: 30px; height: 30px; border-radius: 8px; background: #1f2937; color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.zp-topbar .zp-brand-name { font-size: 15px; font-weight: 500; color: #1f2937; white-space: nowrap; }
.zp-topbar .zp-meta { order: 1; }
.zp-topbar .zp-meta a, .zp-topbar .zp-meta a i, .zp-topbar .zp-meta a span,
.zp-topbar .zp-meta a:hover, .zp-topbar .zp-meta a:focus, .zp-topbar .zp-meta a:visited { color: #1f2937 !important; }
.zp-topbar .zp-meta a { font-weight: 400 !important; font-size: 12.5px !important; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px !important; background: transparent !important; white-space: nowrap; }
.zp-topbar .zp-act-bell { order: 5; margin-left: 8px; padding-left: 12px; }
.zp-topbar .zp-act-lang { order: 6; }
.zp-topbar .zp-act-user { order: 7; }
.zp-topbar .zp-act-bell::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 22px; background: #e4e7eb; }
.zp-topbar .navbar-right .info-number { padding: 8px 11px !important; color: #5b6b7d !important; background: transparent !important; }
.zp-topbar .navbar-right .info-number i { font-size: 18px !important; color: #5b6b7d !important; }
.zp-topbar .navbar-right .user-profile { padding: 6px 8px !important; display: inline-flex !important; align-items: center; gap: 7px; color: #1f2937 !important; background: transparent !important; }
.zp-topbar .navbar-right .user-profile img { width: 30px !important; height: 30px !important; border-radius: 50% !important; margin: 0 !important; }
.zp-topbar .navbar-right .badge.bg-red { position: absolute; top: 2px; right: 2px; background: #e24b4a !important; color: #fff; font-size: 9px; font-weight: 600; border-radius: 9px; padding: 1px 5px; line-height: 1.4; }
.zp-topbar .navbar-right .info-number:hover, .zp-topbar .navbar-right .info-number:focus,
.zp-topbar .navbar-right .user-profile:hover, .zp-topbar .navbar-right .user-profile:focus { background: #eef1f5 !important; border-radius: 8px; }
.zp-topbar .navbar-right .info-number:hover i, .zp-topbar .navbar-right .info-number:focus i { color: #1f2937 !important; }
.zp-topbar .navbar-right li.current-admin-info a:hover, .zp-topbar .navbar-right li.current-admin-info a:focus, .zp-topbar .navbar-right li.current-admin-info a:visited { background: transparent !important; color: #1f2937 !important; }
@media (max-width: 767px) {
  .top_nav.zp-topbar .zp-meta { display: none !important; }
  .top_nav.zp-topbar .zp-act-bell { margin-left: 0; padding-left: 0; }
  .top_nav.zp-topbar .zp-act-bell::before { display: none; }
  .zp-topbar .zp-brand-name { font-size: 14px; }
  .zp-topbar .zp-user-name { display: none !important; }
}
.left_col, .left_col.scroll-view { background: #1f2937 !important; }
.nav_title { height: 58px !important; min-height: 58px; padding: 0 12px !important; background: #1a222d !important; display: flex !important; align-items: center; justify-content: center; border-bottom: 1px solid #2a3441; }
.nav-md .nav_title { padding-top: 0 !important; }
.nav_title .site_title { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; display: inline-flex; align-items: center; }
.nav_title img.logo { width: auto !important; height: 34px !important; max-width: 100%; margin-top: 0 !important; object-fit: contain; }
.top_nav.zp-topbar .zp-toggle { color: #5b6b7d; font-size: 20px; cursor: pointer; display: inline-flex; align-items: center; padding: 8px 10px; margin-right: 2px; }
.top_nav.zp-topbar .zp-toggle:hover { color: #1f2937; }
@media (min-width: 992px) { .top_nav.zp-topbar .zp-toggle { display: none !important; } }
.nav-md #sidebar-menu .nav.side-menu > li > a { color: #c4ccd6 !important; padding: 11px 16px !important; font-size: 13.5px; display: flex; align-items: center; }
.nav-md #sidebar-menu .nav.side-menu > li > a i { width: 20px; text-align: center; margin-right: 10px !important; font-size: 15px; color: #8b97a6; }
.nav-md #sidebar-menu .nav.side-menu > li > a span.right { margin-left: auto; color: #7e8a99; font-size: 11px !important; }
.nav-md #sidebar-menu .nav.side-menu > li > a:hover { color: #ffffff !important; background: rgba(255,255,255,.06) !important; }
.nav-md #sidebar-menu .nav.side-menu > li > a:hover i { color: #cdd5df; }
.nav-md #sidebar-menu .nav.side-menu > li.active > a, .nav-md #sidebar-menu .nav.side-menu > li.current-page > a { background: rgba(96,165,250,.12) !important; color: #ffffff !important; }
.nav-md #sidebar-menu .nav.side-menu > li.active > a i, .nav-md #sidebar-menu .nav.side-menu > li.current-page > a i { color: #60a5fa !important; }
.nav.side-menu > li.active, .nav.side-menu > li.current-page, .nav li.current-page { border-left: 3px solid #60a5fa !important; border-right: 0 !important; }
.nav-md #sidebar-menu .nav.child_menu { background: #18212c !important; padding-left: 10px !important; }
.nav-md #sidebar-menu .nav.child_menu li { padding-left: 0 !important; }
.nav-md #sidebar-menu .nav.child_menu > li > a { color: #9aa4b1 !important; font-size: 13px; padding: 9px 16px 9px 22px !important; }
.nav-md #sidebar-menu .nav.child_menu li:before { left: 4px !important; }
.nav-md #sidebar-menu .nav.child_menu li:after { left: 8px !important; }
.nav-md #sidebar-menu .nav.child_menu > li > a:hover, .nav-md #sidebar-menu .nav.child_menu li li a.active, .nav-md #sidebar-menu .nav.child_menu li li a:hover { color: #ffffff !important; background: rgba(255,255,255,.05) !important; }
.nav-sm #sidebar-menu .nav.side-menu > li > a { color: #c4ccd6 !important; }
.nav-sm #sidebar-menu .nav.side-menu > li > a i { color: #8b97a6 !important; }
.nav-sm #sidebar-menu .nav.side-menu > li.active > a i, .nav-sm #sidebar-menu .nav.side-menu > li.current-page > a i { color: #60a5fa !important; }

/* ===== client portal home — skin old profile card + stat tiles to #5 ===== */
.user-profile .profile_img { text-align: center; margin-bottom: 6px; }
.user-profile .profile_img img.avatar-view { width: 96px !important; height: 96px !important; border-radius: 50% !important; object-fit: cover; box-shadow: 0 0 0 4px #eef2f6; }
.user-profile ul.user_data { list-style: none; padding: 0; margin: 14px 0 0; }
.user-profile ul.user_data li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #5a6b7b; padding: 9px 0; border-bottom: 1px solid #f1f4f7; word-break: break-word; }
.user-profile ul.user_data li:last-child { border-bottom: 0; }
.user-profile ul.user_data li i { width: 16px; text-align: center; color: #6f86a6; flex: none; }
.user-profile .tile_stats_count {
  background: #fff !important; border: 1px solid #e8ebef !important; border-radius: 14px !important;
  box-shadow: 0 1px 2px rgba(31, 41, 55, .05); padding: 16px 18px !important; border-left: 1px solid #e8ebef !important;
}
.user-profile .tile_stats_count .count_top { color: #8a97a3 !important; font-size: 12px; font-weight: 500; display: block; margin-bottom: 6px; }
.user-profile .tile_stats_count .count_top i { color: #2563a8; margin-right: 5px; }
.user-profile .tile_stats_count .count { font-size: 22px !important; font-weight: 600 !important; color: #1f2937 !important; line-height: 1.1; }
