@charset "UTF-8";
/****** VARIABLES ******/
/*============================
    1. Variables
============================*/
@import url("https://fonts.googleapis.com/css?family=Mada:400,500,600,700&display=swap");
:root {
  --primary: #00d0f1;
  --secondary: #9368e9;
  --success: #7bb13c;
  --warning: #ffbc34;
  --danger: #e84646;
  --info: #009efb;
  --white: #ffffff;
  --black: #000000;
  --body-bg: #f5f7fc;
  --body-color: #333333;
  --title-color: #272b41;
  --text-muted: #888888;
  --border-color: #dcdcdc;
  --gray-100: #f9f9f9;
  --gray-200: #f5f5f5;
  --gray-300: #eeeeee;
  --gray-400: #dddddd;
  --gray-500: #94a3b8;
  --gray-600: #999999;
  --gray-700: #858585;
  --gray-800: #666666;
  --gray-900: #333333;
}

.primary {
  background-color: var(--primary);
}

@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
  src: local("Material Icons"), local("MaterialIcons-Regular"), url(../fonts/MaterialIcons-Regular.woff2) format("woff2"), url(../fonts/MaterialIcons-Regular.woff) format("woff"), url(../fonts/MaterialIcons-Regular.ttf) format("truetype");
}
/****** UTILS ******/
/** Helper classes **/
.css-equal-heights {
  display: flex;
  flex-wrap: wrap;
}

.css-equal-content {
  display: flex;
  flex-wrap: wrap;
  color: red;
  float: left;
}

.align-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/******* BASE *******/
html {
  height: 100%;
}

body {
  background-color: var(--body-bg);
  color: var(--body-color);
  font-family: "Mada", sans-serif;
  font-size: 1rem;
  height: 100%;
  line-height: 1.5;
  overflow-x: hidden;
}
@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Mada", sans-serif;
  margin-top: 0;
}

a {
  -webkit-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
  text-decoration: none;
  color: var(--primary);
}
a:hover, a:focus, a:active {
  outline: none;
  text-decoration: none;
  color: var(--primary);
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

input, button {
  -webkit-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
input:focus, input:hover, button:focus, button:hover {
  outline: none;
}

input[type=file] {
  height: auto;
  min-height: calc(1.5em + 0.75rem + 2px);
}
input[type=text], input[type=password] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea.form-control {
  resize: vertical;
}

.navbar-nav > li {
  float: left;
}

.form-group {
  margin-bottom: 1.25rem;
}

.input-group .form-control {
  height: 40px;
}

.nav .open a, .nav .open a:hover, .nav .open a:focus {
  background-color: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.1);
}

.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga";
}

.font-weight-600 {
  font-weight: 600;
}

@media (max-width: 767.98px) {
  h1, .h1 {
    font-size: 32px;
  }
}

@media (max-width: 767.98px) {
  h2, .h2 {
    font-size: 28px;
  }
}

@media (max-width: 767.98px) {
  h3, .h3 {
    font-size: 24px;
  }
}

@media (max-width: 767.98px) {
  h4, .h4 {
    font-size: 18px;
  }
}

@media (max-width: 767.98px) {
  h5, .h5 {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  h6, .h6 {
    font-size: 14px;
  }
}

p:last-child  {
  margin-bottom: 0;
}

.col {
  width: auto;
  padding-left: 15px;
  padding-right: 15px;
  float: left;
  position: relative;
  min-height: 1px;
}
@media (min-width: 320px) {
  .col.col-xs-12 {
    width: 100%;
  }
  .col.col-xs-11 {
    width: 91.66666667%;
  }
  .col.col-xs-10 {
    width: 83.33333333%;
  }
  .col.col-xs-9 {
    width: 75%;
  }
  .col.col-xs-8 {
    width: 66.66666667%;
  }
  .col.col-xs-7 {
    width: 58.33333333%;
  }
  .col.col-xs-6 {
    width: 50%;
  }
  .col.col-xs-5 {
    width: 41.66666667%;
  }
  .col.col-xs-4 {
    width: 33.33333333%;
  }
  .col.col-xs-3 {
    width: 25%;
  }
  .col.col-xs-2 {
    width: 16.66666667%;
  }
  .col.col-xs-1 {
    width: 8.33333333%;
  }
}
@media (min-width: 568px) {
  .col.col-sm-12 {
    width: 100%;
  }
  .col.col-sm-11 {
    width: 91.66666667%;
  }
  .col.col-sm-10 {
    width: 83.33333333%;
  }
  .col.col-sm-9 {
    width: 75%;
  }
  .col.col-sm-8 {
    width: 66.66666667%;
  }
  .col.col-sm-7 {
    width: 58.33333333%;
  }
  .col.col-sm-6 {
    width: 50%;
  }
  .col.col-sm-5 {
    width: 41.66666667%;
  }
  .col.col-sm-4 {
    width: 33.33333333%;
  }
  .col.col-sm-3 {
    width: 25%;
  }
  .col.col-sm-2 {
    width: 16.66666667%;
  }
  .col.col-sm-1 {
    width: 8.33333333%;
  }
}
@media (min-width: 768px) {
  .col.col-md-12 {
    width: 100%;
  }
  .col.col-md-11 {
    width: 91.66666667%;
  }
  .col.col-md-10 {
    width: 83.33333333%;
  }
  .col.col-md-9 {
    width: 75%;
  }
  .col.col-md-8 {
    width: 66.66666667%;
  }
  .col.col-md-7 {
    width: 58.33333333%;
  }
  .col.col-md-6 {
    width: 50%;
  }
  .col.col-md-5 {
    width: 41.66666667%;
  }
  .col.col-md-4 {
    width: 33.33333333%;
  }
  .col.col-md-3 {
    width: 25%;
  }
  .col.col-md-2 {
    width: 16.66666667%;
  }
  .col.col-md-1 {
    width: 8.33333333%;
  }
}
@media (min-width: 1024px) {
  .col.col-lg-12 {
    width: 100%;
  }
  .col.col-lg-11 {
    width: 91.66666667%;
  }
  .col.col-lg-10 {
    width: 83.33333333%;
  }
  .col.col-lg-9 {
    width: 75%;
  }
  .col.col-lg-8 {
    width: 66.66666667%;
  }
  .col.col-lg-7 {
    width: 58.33333333%;
  }
  .col.col-lg-6 {
    width: 50%;
  }
  .col.col-lg-5 {
    width: 41.66666667%;
  }
  .col.col-lg-4 {
    width: 33.33333333%;
  }
  .col.col-lg-3 {
    width: 25%;
  }
  .col.col-lg-2 {
    width: 16.66666667%;
  }
  .col.col-lg-1 {
    width: 8.33333333%;
  }
}

/******* COMPONENTS ******/
/* ==========================================================================
   Doccure — Standardized Global Button Design System
   ========================================================================== */
.btn {
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  height: 40px;
  padding: 0 20px;
  line-height: 1;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none !important;
  vertical-align: middle;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
  outline: none;
}

/* Sizing Modifiers */
.btn-sm {
  border-radius: 8px;
  font-size: 12.5px;
  padding: 0 14px;
  height: 34px;
}

.btn-md {
  border-radius: 10px;
  font-size: 14px;
  padding: 0 20px;
  height: 40px;
}

.btn-lg {
  border-radius: 12px;
  font-size: 15px;
  padding: 0 26px;
  height: 46px;
}

/* Primary Button */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

/* Primary Gradient Button */
.btn-primary-gradient,
.btn-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
  border-color: transparent;
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary-gradient:hover, .btn-primary-gradient:focus, .btn-primary-gradient:active,
.btn-gradient:hover,
.btn-gradient:focus,
.btn-gradient:active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.48);
  color: var(--white) !important;
  transform: translateY(-2px);
}
.btn-primary-gradient:active,
.btn-gradient:active {
  transform: translateY(0);
}

/* Outline Primary */
.btn-outline-primary {
  background-color: var(--white);
  border-color: var(--primary);
  color: var(--primary) !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
  background-color: #e6f9fd;
  border-color: var(--primary);
  color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

/* Secondary & Cancel Buttons */
.btn-secondary {
  background-color: var(--body-bg);
  border-color: var(--border-color);
  color: var(--title-color) !important;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: var(--border-color);
  border-color: var(--border-color);
  color: var(--title-color) !important;
}

.btn-outline-secondary {
  background-color: var(--white);
  border-color: var(--border-color);
  color: var(--body-color) !important;
}
.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active {
  background-color: var(--body-bg);
  border-color: var(--text-muted);
  color: var(--title-color) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

/* Success Button */
.btn-success {
  background-color: var(--success);
  border-color: var(--success);
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
  background-color: var(--success);
  border-color: var(--success);
  color: var(--white) !important;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.btn-outline-success {
  background-color: var(--white);
  border-color: var(--success);
  color: var(--success) !important;
}
.btn-outline-success:hover, .btn-outline-success:focus, .btn-outline-success:active {
  background-color: #ecf6e2;
  border-color: var(--success);
  color: var(--success) !important;
}

/* Danger Button */
.btn-danger {
  background-color: var(--danger);
  border-color: var(--danger);
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
  background-color: var(--danger);
  border-color: var(--danger);
  color: var(--white) !important;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
}

.btn-outline-danger {
  background-color: var(--white);
  border-color: var(--danger);
  color: var(--danger) !important;
}
.btn-outline-danger:hover, .btn-outline-danger:focus, .btn-outline-danger:active {
  background-color: #fdeaea;
  border-color: var(--danger);
  color: var(--danger) !important;
}

/* Switches & Toggles */
.check {
  display: block;
  width: 0;
  height: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  margin: 0;
  padding: 0;
}
.check:checked + .checktoggle {
  background-color: var(--success);
}
.check:checked + .checktoggle:after {
  left: 100%;
  transform: translate(calc(-100% - 5px), -50%);
  -webkit-transform: translate(calc(-100% - 5px), -50%);
  -ms-transform: translate(calc(-100% - 5px), -50%);
}

.checktoggle {
  background-color: var(--danger);
  cursor: pointer;
  display: block;
  font-size: 0;
  height: 24px;
  margin-bottom: 0;
  position: relative;
  width: 48px;
  -webkit-transition: background-color 0.2s ease;
  -ms-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
  border-radius: 12px;
}
.checktoggle:after {
  content: " ";
  display: block;
  width: 16px;
  height: 16px;
  background-color: var(--white);
  transition: left 300ms ease, transform 300ms ease;
  transform: translate(5px, -50%);
  -webkit-transform: translate(5px, -50%);
  -ms-transform: translate(5px, -50%);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
}

.onoffswitch {
  margin-left: auto;
  position: relative;
  width: 73px;
  user-select: none;
}

.onoffswitch-checkbox {
  display: none;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 0px;
}

.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 0;
  border-radius: 20px;
}

.onoffswitch-inner {
  display: block;
  margin-left: -100%;
  -webkit-transition: margin 0.3s ease-in 0s;
  -ms-transition: margin 0.3s ease-in 0s;
  transition: margin 0.3s ease-in 0s;
  width: 200%;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
  box-sizing: border-box;
  color: var(--white);
  display: block;
  float: left;
  font-size: 16px;
  height: 30px;
  line-height: 32px;
  width: 50%;
  padding: 0;
}
.onoffswitch-inner:before {
  background-color: var(--success);
  color: var(--white);
  content: "ON";
  padding-left: 14px;
}
.onoffswitch-inner:after {
  content: "OFF";
  padding-right: 14px;
  background-color: var(--gray-500);
  color: var(--white);
  text-align: right;
}

.onoffswitch-switch {
  background: var(--white);
  display: block;
  height: 20px;
  width: 20px;
  border-radius: 20px;
  -webkit-transition: all 0.3s ease-in 0s;
  -ms-transition: all 0.3s ease-in 0s;
  transition: all 0.3s ease-in 0s;
  margin: 5px;
  position: absolute;
  top: 0;
  right: 43px;
  bottom: 0;
}

.card-header-tabs {
  border-bottom: 0;
}

.nav-tabs {
  border-bottom: 1px solid var(--gray-300);
}
.nav-tabs > li > a {
  margin-right: 0;
  color: var(--text-muted);
  border-radius: 0;
}
.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
  border-color: transparent;
  color: var(--body-color);
}
.nav-tabs .nav-tabs-solid > li > a {
  color: var(--body-color);
}
.nav-tabs .nav-tabs-solid > .active > a, .nav-tabs .nav-tabs-solid > .active > a:hover, .nav-tabs .nav-tabs-solid > .active > a:focus {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.nav-tabs .nav-link {
  border-radius: 0;
}
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
  background-color: var(--gray-300);
  border-color: transparent;
  color: var(--body-color);
}
.nav-tabs.nav-justified > li > a {
  margin-bottom: 0;
  border-radius: 0;
}
.nav-tabs.nav-justified > li > a:hover, .nav-tabs.nav-justified > li > a:focus {
  border-bottom-color: var(--gray-400);
}
.nav-tabs.nav-justified.nav-tabs-solid > li > a {
  border-color: transparent;
}
.nav-tabs.nav-justified.nav-tabs-top {
  border-bottom: 1px solid var(--gray-400);
}
.nav-tabs.nav-justified.nav-tabs-top > li > a, .nav-tabs.nav-justified.nav-tabs-top > li > a:hover, .nav-tabs.nav-justified.nav-tabs-top > li > a:focus {
  border-width: 2px 0 0 0;
}
.nav-tabs.nav-tabs-solid {
  background-color: var(--gray-100);
  border: 0;
}
.nav-tabs.nav-tabs-solid > li {
  margin-bottom: 0;
}
.nav-tabs.nav-tabs-solid > li > a {
  color: var(--body-color);
  border-color: transparent;
}
.nav-tabs.nav-tabs-solid > li > a:hover, .nav-tabs.nav-tabs-solid > li > a:focus {
  background-color: var(--gray-200);
}
.nav-tabs.nav-tabs-solid > li > a.active, .nav-tabs.nav-tabs-solid > li > a.active:hover, .nav-tabs.nav-tabs-solid > li > a.active:focus {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.nav-tabs.nav-tabs-solid.nav-tabs-rounded {
  border-radius: 50px;
}
.nav-tabs.nav-tabs-solid.nav-tabs-rounded > li > a {
  border-radius: 50px;
}
.nav-tabs.nav-tabs-solid.nav-tabs-rounded > li > a.active, .nav-tabs.nav-tabs-solid.nav-tabs-rounded > li > a.active:hover, .nav-tabs.nav-tabs-solid.nav-tabs-rounded > li > a.active:focus {
  border-radius: 50px;
}
.nav-tabs.nav-tabs-solid > .open:not(.active) > a {
  background-color: var(--gray-200);
  border-color: transparent;
}
.nav-tabs.nav-tabs-top > li > a, .nav-tabs.nav-tabs-top > li > a:hover, .nav-tabs.nav-tabs-top > li > a:focus {
  border-width: 2px 0 0 0;
}
.nav-tabs.nav-tabs-top > li > a.active, .nav-tabs.nav-tabs-top > li > a.active:hover, .nav-tabs.nav-tabs-top > li > a.active:focus {
  border-top-color: var(--primary);
}
.nav-tabs.nav-tabs-top > li.open > a, .nav-tabs.nav-tabs-top > li.open > a:hover, .nav-tabs.nav-tabs-top > li.open > a:focus {
  border-top-color: var(--gray-400);
}
.nav-tabs.nav-tabs-top > li + li > a {
  margin-left: 1px;
}
.nav-tabs.nav-tabs-bottom > li {
  margin-bottom: -1px;
}
.nav-tabs.nav-tabs-bottom > li > a.active, .nav-tabs.nav-tabs-bottom > li > a.active:hover, .nav-tabs.nav-tabs-bottom > li > a.active:focus {
  border-bottom-width: 2px;
  border-color: transparent;
  border-bottom-color: var(--primary);
  background-color: transparent;
  -webkit-transition: none 0s ease 0s;
  -ms-transition: none 0s ease 0s;
  transition: none 0s ease 0s;
}

.card-header-tabs {
  border-bottom: 0;
}

.tab-content {
  padding-top: 0;
}

.nav-tabs-justified > li > a {
  margin-bottom: 0;
  border-radius: 0;
}
.nav-tabs-justified > li > a:hover, .nav-tabs-justified > li > a:focus {
  border-bottom-color: var(--gray-400);
}
.nav-tabs-justified.nav-tabs-solid > li > a {
  border-color: transparent;
}
.nav-tabs-justified.nav-tabs-top {
  border-bottom: 1px solid var(--gray-400);
}
.nav-tabs-justified.nav-tabs-top > li > a, .nav-tabs-justified.nav-tabs-top > li > a:hover, .nav-tabs-justified.nav-tabs-top > li > a:focus {
  border-width: 2px 0 0 0;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.075);
  margin-bottom: 30px;
  -webkit-transition: box-shadow 0.2s ease;
  -ms-transition: box-shadow 0.2s ease;
  transition: box-shadow 0.2s ease;
}
@media (max-width: 575.98px) {
  .card {
    margin-bottom: 15px;
  }
}
.card .card-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}
.card .card-header .card-title {
  margin-bottom: 0;
}

.card-title {
  color: var(--title-color);
  font-weight: 600;
  font-size: 18px;
}

.card-body {
  padding: 1.5rem;
}
@media (max-width: 575.98px) {
  .card-body {
    padding: 1.25rem;
  }
}

.card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
}
@media (max-width: 575.98px) {
  .card-header {
    padding: 0.75rem 1.25rem;
  }
}

.card-footer {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
}
@media (max-width: 575.98px) {
  .card-footer {
    padding: 0.75rem 1.25rem;
  }
}

.badge {
  font-weight: 500;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 2px;
  letter-spacing: 0.2px;
}
.badge.rounded-pill {
  border-radius: 50px;
  padding: 5px 14px;
}

.dropdown-menu {
  border: 1px solid var(--border-color);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 8px;
}

.dropdown-item {
  border-radius: 2px;
  padding: 8px 12px;
  color: var(--body-color);
}
.dropdown-item:hover, .dropdown-item:focus {
  background-color: var(--gray-100);
  color: var(--title-color);
}
.dropdown-item.active, .dropdown-item:active {
  background-color: var(--primary);
  color: var(--white);
}

.action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.15s ease-in-out;
}
.action-icon:hover, .action-icon:focus, .action-icon[aria-expanded=true] {
  background-color: var(--gray-100);
  color: var(--title-color);
}

.modal-content {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
}
.modal-header .modal-title {
  color: var(--title-color);
  font-weight: 600;
  font-size: 18px;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
}

.form-control,
.form-select {
  background-color: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: none;
  color: var(--title-color);
  font-size: 14px;
  height: 44px;
  padding: 8px 14px;
  transition: all 0.2s ease-in-out;
}
.form-control::placeholder,
.form-select::placeholder {
  color: var(--text-muted);
}
.form-control:focus,
.form-select:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 208, 241, 0.15);
  outline: 0 none;
}
.form-control.form-control-sm, .form-control.form-select-sm,
.form-select.form-control-sm,
.form-select.form-select-sm {
  height: 36px;
  padding: 6px 12px;
}
.form-control.form-control-lg, .form-control.form-select-lg,
.form-select.form-control-lg,
.form-select.form-select-lg {
  height: 48px;
  padding: 10px 16px;
}
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--danger);
}
.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(232, 70, 70, 0.15);
}
.form-control.is-valid,
.form-select.is-valid {
  border-color: var(--success);
}
.form-control.is-valid:focus,
.form-select.is-valid:focus {
  box-shadow: 0 0 0 3px rgba(123, 177, 60, 0.15);
}

textarea.form-control {
  height: auto;
  resize: vertical;
}

.form-label {
  color: var(--title-color);
  font-weight: 500;
  margin-bottom: 8px;
}

.invalid-feedback {
  color: var(--danger);
  font-size: 13px;
}

.valid-feedback {
  color: var(--success);
  font-size: 13px;
}

.input-icon {
  position: relative;
}
.input-icon .form-control {
  padding-left: 36px;
  min-width: 220px;
}
.input-icon .input-icon-addon {
  position: absolute;
  left: 12px;
  top: 0;
  height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
}

select.form-control {
  min-width: 160px;
}

.pagination .page-item {
  margin-right: 5px;
}
.pagination .page-item:last-child {
  margin-right: 0;
}
.pagination .page-item .page-link {
  border-radius: 2px;
  color: var(--title-color);
  border-color: var(--border-color);
  padding: 6px 12px;
  transition: all 0.2s ease;
}
.pagination .page-item .page-link:hover, .pagination .page-item .page-link:focus {
  background-color: var(--gray-100);
  border-color: var(--border-color);
  color: var(--primary);
  box-shadow: none;
}
.pagination .page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.pagination .page-item.disabled .page-link {
  background-color: var(--white);
  border-color: var(--border-color);
  color: var(--text-muted);
}
.pagination.pagination-lg .page-item .page-link {
  border-radius: 5px;
  padding: 10px 18px;
}
.pagination.pagination-sm .page-item .page-link {
  padding: 4px 10px;
}

.alert {
  border-radius: 5px;
  padding: 15px 20px;
}
.alert.alert-dismissible .btn-close {
  padding: 20px;
}
.alert-primary {
  background-color: color-mix(in srgb, var(--primary) 12%, var(--white));
  border-color: color-mix(in srgb, var(--primary) 32%, var(--white));
  color: color-mix(in srgb, var(--primary) 65%, var(--black));
}
.alert-primary .alert-link {
  color: color-mix(in srgb, var(--primary) 80%, var(--black));
}
.alert-secondary {
  background-color: color-mix(in srgb, var(--secondary) 12%, var(--white));
  border-color: color-mix(in srgb, var(--secondary) 32%, var(--white));
  color: color-mix(in srgb, var(--secondary) 65%, var(--black));
}
.alert-secondary .alert-link {
  color: color-mix(in srgb, var(--secondary) 80%, var(--black));
}
.alert-success {
  background-color: color-mix(in srgb, var(--success) 12%, var(--white));
  border-color: color-mix(in srgb, var(--success) 32%, var(--white));
  color: color-mix(in srgb, var(--success) 65%, var(--black));
}
.alert-success .alert-link {
  color: color-mix(in srgb, var(--success) 80%, var(--black));
}
.alert-danger {
  background-color: color-mix(in srgb, var(--danger) 12%, var(--white));
  border-color: color-mix(in srgb, var(--danger) 32%, var(--white));
  color: color-mix(in srgb, var(--danger) 65%, var(--black));
}
.alert-danger .alert-link {
  color: color-mix(in srgb, var(--danger) 80%, var(--black));
}
.alert-warning {
  background-color: color-mix(in srgb, var(--warning) 12%, var(--white));
  border-color: color-mix(in srgb, var(--warning) 32%, var(--white));
  color: color-mix(in srgb, var(--warning) 65%, var(--black));
}
.alert-warning .alert-link {
  color: color-mix(in srgb, var(--warning) 80%, var(--black));
}
.alert-info {
  background-color: color-mix(in srgb, var(--info) 12%, var(--white));
  border-color: color-mix(in srgb, var(--info) 32%, var(--white));
  color: color-mix(in srgb, var(--info) 65%, var(--black));
}
.alert-info .alert-link {
  color: color-mix(in srgb, var(--info) 80%, var(--black));
}
.alert-light {
  background-color: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--body-color);
}
.alert-dark {
  background-color: var(--gray-800);
  border-color: var(--gray-900);
  color: var(--white);
}
.alert-dark .alert-link {
  color: var(--white);
}

/****** LAYOUT ******/
.main-wrapper {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
}

.page-wrapper {
  margin-left: 240px;
  padding-top: 60px;
  position: relative;
  -webkit-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
@media (max-width: 991.98px) {
  .page-wrapper {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    -webkit-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
  }
}
.page-wrapper > .content {
  padding: 24px;
}

.page-header {
  margin-bottom: 1.875rem;
}
@media (max-width: 575.98px) {
  .page-header {
    margin-bottom: 0.9375rem;
  }
}
.page-header .breadcrumb {
  background-color: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: auto auto 0;
  padding: 0;
}
@media (max-width: 479px) {
  .page-header .breadcrumb {
    display: none;
  }
}
.page-header .breadcrumb a {
  color: var(--body-color);
}
.page-header .breadcrumb a:hover {
  color: var(--primary);
}
.page-header .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--border-color);
}

.page-title {
  color: var(--title-color);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

@media (min-width: 992px) {
  .mini-sidebar .header .header-left {
    padding: 0 5px;
    width: 78px;
  }
}
@media (min-width: 992px) {
  .mini-sidebar .header .header-left .logo {
    display: none;
  }
}
@media (min-width: 992px) {
  .mini-sidebar .header .header-left .logo img {
    height: auto;
    max-height: 40px;
    width: auto;
  }
}
@media (min-width: 992px) {
  .mini-sidebar .header .header-left .logo.logo-small {
    display: block;
  }
}

.header {
  background: var(--white);
  border-bottom: 1px solid var(--body-bg);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  z-index: 1001;
  height: 60px;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}
.header .header-left {
  background: linear-gradient(180deg, var(--title-color) 0%, var(--title-color) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  float: left;
  height: 60px;
  position: relative;
  text-align: center;
  width: 240px;
  z-index: 1;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  padding: 0 20px;
}
@media (max-width: 991.98px) {
  .header .header-left {
    position: absolute;
    width: 100%;
    background: var(--white);
    border-right: 0;
  }
}
@media (max-width: 767.98px) {
  .header .header-left {
    padding: 0 15px;
  }
}
.header .header-left .logo {
  display: inline-block;
  line-height: 60px;
}
@media (max-width: 767.98px) {
  .header .header-left .logo {
    display: none;
  }
}
.header .header-left .logo img {
  max-height: 40px;
  width: auto;
}
.header .header-left .logo.logo-small {
  display: none;
}
@media (max-width: 767.98px) {
  .header .header-left .logo.logo-small {
    display: inline-block;
  }
}
.header .dropdown-menu {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  padding: 8px;
  background: var(--white);
}
.header .dropdown-menu > li > a {
  position: relative;
  border-radius: 8px;
  color: var(--title-color);
  font-weight: 500;
  -webkit-transition: all 0.15s ease-in-out;
  -ms-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  padding: 10px 14px;
}
.header .dropdown-menu > li > a:hover, .header .dropdown-menu > li > a:focus {
  background-color: var(--body-bg);
  color: var(--primary);
}
.header .dropdown-menu > li > a:hover i, .header .dropdown-menu > li > a:focus i {
  color: var(--primary);
}
.header .dropdown-menu > li > a i {
  color: var(--text-muted);
  margin-right: 10px;
  text-align: center;
  width: 18px;
}
.header .dropdown-toggle:after {
  display: none;
}
.header .has-arrow .dropdown-toggle:after {
  border-top: 0;
  border-left: 0;
  border-bottom: 2px solid var(--text-muted);
  border-right: 2px solid var(--text-muted);
  content: "";
  height: 7px;
  display: inline-block;
  pointer-events: none;
  transform-origin: 66% 66%;
  -webkit-transform-origin: 66% 66%;
  -ms-transform-origin: 66% 66%;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transition: all 0.15s ease-in-out;
  -ms-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  width: 7px;
  vertical-align: 2px;
  margin-left: 6px;
  display: none;
}
@media (max-width: 767.98px) {
  .header .has-arrow .dropdown-toggle:after {
    display: none;
  }
}
.header .has-arrow .dropdown-toggle[aria-expanded=true]:after {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
}

.user-menu {
  float: right;
  position: relative;
  z-index: 99;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 15px;
}
.user-menu::after {
  content: none;
}
.user-menu.nav > li {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 60px;
}
.user-menu.nav > li > a {
  color: var(--body-color);
  font-size: 14px;
  line-height: normal;
  height: 38px;
  width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  padding: 0 12px;
}
.user-menu.nav > li > a:hover, .user-menu.nav > li > a:focus {
  color: var(--primary);
  background: var(--body-bg);
}
.user-menu.nav > li > a:hover i, .user-menu.nav > li > a:focus i {
  color: var(--primary);
}
.user-menu.nav > li > a i {
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  -webkit-transition: color 0.2s ease-in-out;
  -ms-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
}
.user-menu.nav > li > a .badge {
  background: linear-gradient(135deg, var(--danger) 0%, var(--danger) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  height: 18px;
  min-width: 18px;
  padding: 0 4px;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 2px 5px rgba(232, 70, 70, 0.4);
  border-radius: 50px;
  position: absolute;
  top: 0;
  right: 5px;
}
@media (max-width: 767.98px) {
  .user-menu.nav > li > a > span:not(.user-img) {
    display: none;
  }
}
.user-menu .dropdown-menu {
  min-width: 220px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  padding: 6px;
}
.user-menu .dropdown-menu > li > a i {
  color: var(--text-muted);
  font-size: 15px;
  margin-right: 10px;
  min-width: 18px;
  text-align: center;
}
.user-menu .dropdown-menu > li > a:hover i, .user-menu .dropdown-menu > li > a:focus i {
  color: var(--primary);
}
.user-menu .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  border-radius: 8px;
  margin: 2px 4px;
  width: calc(100% - 8px);
  color: var(--title-color);
  font-weight: 500;
  font-size: 13.5px;
  -webkit-transition: all 0.15s ease-in-out;
  -ms-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  padding: 9px 12px;
}
.user-menu .dropdown-menu .dropdown-item:hover {
  color: var(--primary);
  background: var(--body-bg);
}
.user-menu .dropdown-menu .dropdown-item:hover i {
  color: var(--primary);
}

.user-img {
  display: inline-flex;
  align-items: center;
  margin-right: 3px;
  position: relative;
}
.user-img img {
  border: 2px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  width: 38px;
}
.user-img:hover img {
  border-color: var(--primary);
}
.user-img.nav > li > a .mobile_btn {
  border: 0;
  position: relative;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
.user-img .dropdown-menu {
  min-width: 220px;
  padding: 0;
}
.user-img .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  border-radius: 8px;
  margin: 2px 4px;
  width: calc(100% - 8px);
  color: var(--title-color);
  font-weight: 500;
  font-size: 13.5px;
  -webkit-transition: all 0.15s ease-in-out;
  -ms-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  padding: 9px 12px;
}
.user-img .dropdown-menu .dropdown-item:hover {
  color: var(--primary);
  background: var(--body-bg);
}

.mobile_btn {
  display: none;
  float: left;
}
@media (max-width: 991.98px) {
  .mobile_btn {
    color: var(--body-color) !important;
    cursor: pointer;
    display: block;
    font-size: 24px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    z-index: 10;
    padding: 0 15px;
    position: absolute;
    top: 0;
    left: 0;
  }
}

.slide-nav .sidebar {
  margin-left: 0;
}

@media (max-width: 767.98px) {
  .app-dropdown {
    display: none;
  }
}
.app-dropdown .dropdown-menu {
  width: 300px;
  padding: 0;
}

.app-dropdown-menu .app-list {
  padding: 15px;
}
.app-dropdown-menu .app-item {
  border: 1px solid transparent;
  color: var(--gray-800);
  display: block;
  text-align: center;
  border-radius: 3px;
  padding: 10px 0;
}
.app-dropdown-menu .app-item i {
  font-size: 20px;
  height: 24px;
}
.app-dropdown-menu .app-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-dropdown-menu .app-item:hover, .app-dropdown-menu .app-item:focus, .app-dropdown-menu .app-item:active, .app-dropdown-menu .app-item.active {
  background-color: var(--gray-100);
  border-color: var(--gray-400);
}

.app-list > div + div {
  margin-top: 5px;
}
.app-list > .row {
  margin-left: -5px;
  margin-right: -5px;
}
.app-list > .row > .col {
  padding-left: 5px;
  padding-right: 5px;
}

.user-header {
  background: linear-gradient(135deg, var(--body-bg) 0%, var(--body-bg) 100%);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  padding: 12px 14px;
}
.user-header .user-text {
  margin-left: 10px;
}
.user-header .user-text h6 {
  margin-bottom: 2px;
  font-weight: 600;
  color: var(--title-color);
}
.user-header .user-text p {
  font-size: 12px;
  color: var(--text-muted);
}

.menu-title {
  color: var(--gray-600);
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  padding: 0 25px;
}

.sidebar-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  height: 100%;
  width: 100%;
  z-index: 999;
  position: fixed;
  top: 60px;
  left: 0;
}
@media (max-width: 991.98px) {
  .sidebar-overlay.opened {
    display: block;
  }
}

html.menu-opened {
  overflow: hidden;
}
html.menu-opened body {
  overflow: hidden;
}

.top-nav-search {
  float: left;
  margin-left: 16px;
}
@media (max-width: 991.98px) {
  .top-nav-search {
    display: none;
  }
}
.top-nav-search form {
  margin-top: 11px;
  position: relative;
  width: 270px;
}
.top-nav-search .form-control {
  background-color: var(--body-bg);
  border: 1px solid var(--border-color);
  color: var(--title-color);
  height: 38px;
  font-size: 13.5px;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border-radius: 10px;
  padding: 8px 45px 8px 16px;
}
.top-nav-search .form-control::-webkit-input-placeholder { /* WebKit browsers */
  color: var(--text-muted);
  opacity: 1;
}
.top-nav-search .form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: var(--text-muted);
  opacity: 1;
}
.top-nav-search .form-control::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: var(--text-muted);
  opacity: 1;
}
.top-nav-search .form-control:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: var(--text-muted);
  opacity: 1;
}
.top-nav-search .form-control:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 208, 241, 0.12);
}
.top-nav-search .btn {
  background-color: transparent;
  border-color: transparent;
  color: var(--text-muted);
  min-height: 38px;
  font-size: 14px;
  -webkit-transition: color 0.2s ease-in-out;
  -ms-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  padding: 6px 14px;
  position: absolute;
  top: 0;
  right: 0;
}
.top-nav-search .btn:hover {
  color: var(--primary);
}
.top-nav-search.active form {
  display: block;
  position: absolute;
  left: 0;
}

@media (min-width: 991.98px) {
  #toggle_btn {
    align-items: center;
    color: var(--text-muted);
    display: inline-flex;
    float: left;
    font-size: 18px;
    height: 38px;
    width: 38px;
    border-radius: 10px;
    background: var(--body-bg);
    border: 1px solid var(--border-color);
    justify-content: center;
    margin-top: 11px;
    margin-left: 16px;
    -webkit-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    padding: 0;
  }
  #toggle_btn:hover {
    color: var(--primary);
    background: rgba(0, 208, 241, 0.08);
    border-color: rgba(0, 208, 241, 0.3);
  }
}
@media (max-width: 991.98px) {
  #toggle_btn {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .login-wrapper .loginbox {
    max-width: 450px;
    min-height: unset;
  }
}
@media (max-width: 991.98px) {
  .login-wrapper .loginbox .login-left {
    width: 50%;
    padding: 80px 50px;
  }
}
@media (max-width: 767.98px) {
  .login-wrapper .loginbox .login-left {
    display: none;
  }
}
@media (max-width: 991.98px) {
  .login-wrapper .loginbox .login-right {
    width: 50%;
    padding: 50px;
  }
}
@media (max-width: 767.98px) {
  .login-wrapper .loginbox .login-right {
    float: none;
    width: 100%;
    padding: 1.875rem;
  }
}
@media (max-width: 767.98px) {
  .login-wrapper .loginbox .login-right h1 {
    font-size: 22px;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav .open .dropdown-menu {
    float: left;
    position: absolute;
  }
}
@media (max-width: 767.98px) {
  .navbar-nav .open .dropdown-menu {
    float: left;
    position: absolute;
  }
}
@media (max-width: 991.98px) {
  .navbar-nav.user-menu .open .dropdown-menu {
    left: auto;
    right: 0;
  }
}
@media (max-width: 767.98px) {
  .navbar-nav.user-menu .open .dropdown-menu {
    left: auto;
    right: 0;
  }
}

.demo-img {
  position: relative;
}
.demo-img .new-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-weight: 600;
  font-size: 12px;
  color: var(--white);
  background: var(--danger);
  padding: 2px 8px;
  border-radius: 2px;
  z-index: 2;
  text-transform: uppercase;
}

.table {
  color: var(--body-color);
  max-width: 100%;
  margin-bottom: 0;
  width: 100%;
  --bs-table-bg: transparent;
}
.table > tbody > tr > th {
  border-top: 0;
  padding: 10px 8px;
}
.table.no-border > tbody > tr > td, .table.no-border > tbody > tr th, .table.no-border tfoot > tr > td, .table.no-border tfoot > tr th {
  border-top: 0;
  padding: 10px 8px;
}
.table.dataTable {
  border-collapse: collapse !important;
}
.table thead {
  background-color: var(--gray-100);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.table thead tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.table thead tr:last-child {
  border-color: transparent;
}
.table thead tr th {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 0;
}
.table.table-center th, .table.table-center td {
  vertical-align: middle;
}
.table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.table tbody tr:last-child {
  border-color: transparent;
}

.table-striped > thead > tr:nth-of-type(2n+1) {
  background-color: var(--gray-100);
}
.table-striped thead tr {
  border-color: transparent;
}
.table-striped tbody tr {
  border-color: transparent;
}
.table-striped tbody tr:nth-of-type(even) {
  background-color: rgba(255, 255, 255, 0.3);
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(235, 235, 235, 0.4);
}

.table-nowrap th, .table-nowrap td {
  white-space: nowrap;
}

table.table td h2 {
  display: inline-block;
  font-size: inherit;
  font-weight: 400;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}
table.table td h2.table-avatar {
  align-items: center;
  display: inline-flex;
  font-size: inherit;
  font-weight: 400;
  vertical-align: middle;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}
table.table td h2 a {
  color: var(--title-color);
  font-weight: 500;
  font-size: 14px;
}
table.table td h2 a:hover {
  color: var(--primary);
}
table.table td h2 span {
  color: var(--text-muted);
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

.table-hover tbody tr:hover {
  background-color: var(--gray-200);
}
.table-hover tbody tr:hover td {
  color: var(--body-color);
}

.table-bordered {
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.table-bordered th, .table-bordered td {
  border-color: rgba(0, 0, 0, 0.05);
}

.card-table .card-body {
  padding: 0;
}
.card-table .card-body .table td, .card-table .card-body .table th {
  border-top: 1px solid var(--gray-400);
  white-space: nowrap;
  padding: 1rem 0.75rem;
}
.card-table .card-body .table > thead > tr > th {
  border-top: 0;
}
.card-table .card-body .table tr th:first-child, .card-table .card-body .table tr td:first-child {
  padding-left: 1.5rem;
}
.card-table .card-body .table tr th:last-child, .card-table .card-body .table tr td:last-child {
  padding-right: 1.5rem;
}

#delete_modal .modal-content {
  text-align: center;
}

.table-responsive {
  white-space: nowrap;
}

.dataTables_length {
  margin-bottom: 10px;
}

.table-space {
  width: 100px;
}

table.dataTable thead .sorting_asc:after {
  top: 6px;
}
table.dataTable thead .sorting_asc:before {
  top: 6px;
}

table.dataTable thead .sorting_desc:before {
  top: 6px;
}
table.dataTable thead .sorting_desc:after {
  top: 6px;
}

table.dataTable thead .sorting:before {
  top: 6px;
}
table.dataTable thead .sorting:after {
  top: 6px;
}

.table thead th.sorting,
.table thead th.sorting_asc,
.table thead th.sorting_desc {
  position: relative;
  padding-right: 22px !important;
}
.table thead th.sorting:after,
.table thead th.sorting_asc:after,
.table thead th.sorting_desc:after {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  color: var(--text-muted);
  content: "\f0dc";
  opacity: 0.45;
}

.table thead th.sorting_asc:after {
  content: "\f0de";
  opacity: 1;
  color: var(--primary);
}

.table thead th.sorting_desc:after {
  content: "\f0dd";
  opacity: 1;
  color: var(--primary);
}

#DataTables_Table_0_wrapper .dt-length label {
  margin-left: 10px;
}

#DataTables_Table_0_wrapper .dt-layout-row {
  margin: 0;
}

#DataTables_Table_0_wrapper .dt-layout-row.dt-layout-table {
  margin-top: 20px;
}

#DataTables_Table_0_wrapper thead th:hover {
  outline: 0;
}

#DataTables_Table_0_wrapper thead {
  border-bottom: unset;
  border-top: 0;
}

#DataTables_Table_0_wrapper thead tr th {
  border-bottom: unset;
}

#DataTables_Table_0_wrapper tbody > tr:last-child td {
  border-bottom: unset;
}

.dt-paging-button.disabled.first, .dt-paging-button.disabled.last {
  display: none !important;
}

.dt-paging-button.previous {
  background: var(--white) !important;
  padding: 5px 15px;
  font-size: 14px;
  border-radius: 5px 0 0 5px !important;
  margin: 0 !important;
  border: 1px solid var(--border-color) !important;
  border-right: 0 !important;
}

.dt-paging-button.next {
  background: var(--white) !important;
  padding: 5px 15px;
  font-size: 14px;
  margin: 0 !important;
  border-radius: 0 5px 5px 0 !important;
  border: 1px solid var(--border-color) !important;
  border-left: 0 !important;
}

div.dt-container .dt-paging .dt-paging-button.current {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  padding: 0;
  color: var(--white) !important;
  padding: 5px 15px !important;
  margin: 0 !important;
}

div.dt-container .dt-paging .dt-paging-button.current:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
}

@media (max-width: 575.98px) {
  .flatpickr-calendar.open {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%);
    max-width: calc(100vw - 32px);
  }
  .flatpickr-calendar.open::before,
  .flatpickr-calendar.open::after {
    display: none;
  }
}
.btn.focus, .btn:focus {
  box-shadow: unset;
}
.btn.btn-rounded {
  border-radius: 50px;
}

.btn-white {
  background-color: var(--white);
  border: 1px solid var(--gray-500);
  color: var(--title-color);
}

.bg-primary,
.badge-primary {
  background-color: var(--primary) !important;
}

a.bg-primary:focus, a.bg-primary:hover, button.bg-primary:focus, button.bg-primary:hover {
  background-color: #19c1dc !important;
}

.bg-success,
.badge-success {
  background-color: var(--success) !important;
}

a.bg-success:focus, a.bg-success:hover, button.bg-success:focus, button.bg-success:hover {
  background-color: #699834 !important;
}

.bg-info,
.badge-info {
  background-color: var(--info) !important;
}

a.bg-info:focus, a.bg-info:hover, button.bg-info:focus, button.bg-info:hover {
  background-color: #028ee1 !important;
}

.bg-warning,
.badge-warning {
  background-color: var(--warning) !important;
}

a.bg-warning:focus, a.bg-warning:hover, button.bg-warning:focus, button.bg-warning:hover {
  background-color: #e9ab2e !important;
}

.bg-danger,
.badge-danger {
  background-color: var(--danger) !important;
}

a.bg-danger:focus, a.bg-danger:hover, button.bg-danger:focus, button.bg-danger:hover {
  background-color: #e63333 !important;
}

.bg-white {
  background-color: var(--white);
}

.bg-purple,
.badge-purple {
  background-color: var(--secondary) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.dropdown-menu li > a.text-primary {
  color: var(--primary) !important;
}

.text-success {
  color: #699834 !important;
}

.dropdown-menu li > a.text-success {
  color: #699834 !important;
}

.text-danger {
  color: var(--danger) !important;
}

.dropdown-menu li > a.text-danger {
  color: var(--danger) !important;
}

.text-info {
  color: var(--info) !important;
}

.dropdown-menu li > a.text-info {
  color: var(--info) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.dropdown-menu li > a.text-warning {
  color: var(--warning) !important;
}

.text-purple {
  color: var(--secondary) !important;
}

.dropdown-menu li > a.text-purple {
  color: var(--secondary) !important;
}

.text-muted {
  color: var(--gray-800) !important;
}

.btn-primary {
  background-color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-primary:focus, .btn-primary:hover, .btn-primary:active, .btn-primary.active {
  color: var(--white);
  background-color: #19c1dc;
  border-color: #19c1dc;
}
.btn-primary:focus .open > .dropdown-toggle.btn-primary, .btn-primary:hover .open > .dropdown-toggle.btn-primary, .btn-primary:active .open > .dropdown-toggle.btn-primary, .btn-primary.active .open > .dropdown-toggle.btn-primary {
  background-color: #19c1dc;
  border: 1px solid #19c1dc;
}
.btn-primary.active.focus .open > .dropdown-toggle.btn-primary.focus, .btn-primary.active.focus .open > .dropdown-toggle.btn-primary:focus, .btn-primary.active.focus .open > .dropdown-toggle.btn-primary:hover, .btn-primary.active:focus .open > .dropdown-toggle.btn-primary.focus, .btn-primary.active:focus .open > .dropdown-toggle.btn-primary:focus, .btn-primary.active:focus .open > .dropdown-toggle.btn-primary:hover, .btn-primary.active:hover .open > .dropdown-toggle.btn-primary.focus, .btn-primary.active:hover .open > .dropdown-toggle.btn-primary:focus, .btn-primary.active:hover .open > .dropdown-toggle.btn-primary:hover, .btn-primary .focus.focus .open > .dropdown-toggle.btn-primary.focus, .btn-primary .focus.focus .open > .dropdown-toggle.btn-primary:focus, .btn-primary .focus.focus .open > .dropdown-toggle.btn-primary:hover, .btn-primary .focus:focus .open > .dropdown-toggle.btn-primary.focus, .btn-primary .focus:focus .open > .dropdown-toggle.btn-primary:focus, .btn-primary .focus:focus .open > .dropdown-toggle.btn-primary:hover, .btn-primary .focus:hover .open > .dropdown-toggle.btn-primary.focus, .btn-primary .focus:hover .open > .dropdown-toggle.btn-primary:focus, .btn-primary .focus:hover .open > .dropdown-toggle.btn-primary:hover {
  background-color: #19c1dc;
  border: 1px solid #19c1dc;
}
.btn-primary:active:focus, .btn-primary:active:hover {
  background-color: #19c1dc;
  border: 1px solid #19c1dc;
}
.btn-primary .active:not(:disabled):not(.disabled), .btn-primary:active:not(:disabled):not(.disabled) {
  background-color: #19c1dc;
  border-color: #19c1dc;
  color: var(--white);
}
.btn-primary .active:focus:not(:disabled):not(.disabled), .btn-primary:active:focus:not(:disabled):not(.disabled) {
  box-shadow: unset;
}
.btn-primary .show > .btn-primary.dropdown-toggle {
  background-color: #19c1dc;
  border-color: #19c1dc;
  color: var(--white);
}
.btn-primary .show > .btn-primary.dropdown-toggle:focus {
  box-shadow: unset;
}
.btn-primary.disabled, .btn-primary:disabled {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-secondary.active:focus :not(:disabled):not(.disabled), .btn-secondary:active:focus :not(:disabled):not(.disabled) {
  box-shadow: unset;
}

.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: unset;
}
.show > .btn-success.dropdown-toggle {
  background-color: #699834;
  border-color: #699834;
  color: var(--white);
}
.show > .btn-success.dropdown-toggle:focus {
  box-shadow: unset;
}
.show > .btn-info.dropdown-toggle {
  background-color: #028ee1;
  border-color: #028ee1;
  color: var(--white);
}
.show > .btn-info.dropdown-toggle:focus {
  box-shadow: unset;
}
.show > .btn-warning.dropdown-toggle {
  background-color: #e9ab2e;
  border-color: #e9ab2e;
  color: var(--white);
}
.show > .btn-warning.dropdown-toggle:focus {
  box-shadow: unset;
}
.show > .btn-danger.dropdown-toggle {
  background-color: #e63333;
  border-color: #e63333;
  color: var(--white);
}
.show > .btn-danger.dropdown-toggle:focus {
  box-shadow: unset;
}
.show > .btn-light.dropdown-toggle:focus, .show > .btn-dark.dropdown-toggle:focus {
  box-shadow: unset;
}
.show > .btn-outline-primary.dropdown-toggle {
  background-color: var(--primary);
  border-color: var(--primary);
}
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: none;
}
.show > .btn-outline-success.dropdown-toggle {
  background-color: var(--success);
  border-color: var(--success);
}
.show > .btn-outline-success.dropdown-toggle:focus {
  box-shadow: none;
}
.show > .btn-outline-info.dropdown-toggle {
  background-color: var(--info);
  border-color: var(--info);
}
.show > .btn-outline-info.dropdown-toggle:focus {
  box-shadow: none;
}
.show > .btn-outline-warning.dropdown-toggle {
  color: var(--title-color);
  background-color: var(--warning);
  border-color: var(--warning);
}
.show > .btn-outline-warning.dropdown-toggle:focus {
  box-shadow: none;
}
.show > .btn-outline-danger.dropdown-toggle {
  color: var(--title-color);
  background-color: var(--warning);
  border-color: var(--warning);
}
.show > .btn-outline-danger.dropdown-toggle:focus {
  box-shadow: none;
}

.btn-success {
  background-color: var(--success);
  border: 1px solid var(--success);
}
.btn-success:hover, .btn-success:focus .btn-success.active, .btn-success:active, .btn-success .open__ > .dropdown-toggle.btn-sccess {
  background-color: #699834;
  border: 1px solid #699834;
  color: var(--white);
}
.btn-success .open > .dropdown-toggle.btn-success {
  background-color: #699834;
  border: 1px solid #699834;
  color: var(--white);
}
.btn-success .open > .dropdown-toggle.btn-success.focus, .btn-success .open > .dropdown-toggle.btn-success:hover, .btn-success .open > .dropdown-toggle.btn-success:focus {
  background-color: #699834;
  border: 1px solid #699834;
}
.btn-success.active:focus, .btn-success.active.focus, .btn-success.active:hover, .btn-success.focus, .btn-success:active:focus, .btn-success:active:hover {
  background-color: #699834;
  border: 1px solid #699834;
}
.btn-success.active:not(:disabled):not(.disabled), .btn-success:active:not(:disabled):not(.disabled) {
  background-color: #699834;
  border-color: #699834;
  color: var(--white);
}
.btn-success.active:focus:not(:disabled):not(.disabled), .btn-success:active:focus:not(:disabled):not(.disabled) {
  box-shadow: unset;
}
.btn-success.disabled, .btn-success:disabled {
  background-color: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.btn-info {
  background-color: var(--info);
  border: 1px solid var(--info);
}
.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active {
  background-color: #028ee1;
  border: 1px solid #028ee1;
}
.btn-info.active:focus, .btn-info.active.focus, .btn-info.active:hover, .btn-info.focus, .btn-info:active:focus, .btn-info:active:hover {
  background-color: #028ee1;
  border: 1px solid #028ee1;
}
.btn-info.active:not(:disabled):not(.disabled), .btn-info:active:not(:disabled):not(.disabled) {
  background-color: #028ee1;
  border-color: #028ee1;
  color: var(--white);
}
.btn-info.active:not(:disabled):not(.disabled):focus, .btn-info:active:not(:disabled):not(.disabled):focus {
  box-shadow: unset;
}
.btn-info.disabled, .btn-info:disabled {
  background-color: var(--info);
  border-color: var(--info);
  color: var(--white);
}

.btn-warning {
  background-color: var(--warning);
  border: 1px solid var(--warning);
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active {
  background-color: #e9ab2e;
  border: 1px solid #e9ab2e;
}
.btn-warning.active:focus, .btn-warning.active.focus, .btn-warning.active:hover, .btn-warning.focus, .btn-warning:active:focus, .btn-warning:active:hover {
  background-color: #e9ab2e;
  border: 1px solid #e9ab2e;
}
.btn-warning.active:not(:disabled):not(.disabled), .btn-warning:active:not(:disabled):not(.disabled) {
  background-color: #e9ab2e;
  border-color: #e9ab2e;
  color: var(--white);
}
.btn-warning.active:not(:disabled):not(.disabled):focus, .btn-warning:active:not(:disabled):not(.disabled):focus {
  box-shadow: unset;
}
.btn-warning.disabled, .btn-warning:disabled {
  background-color: var(--warning);
  border-color: var(--warning);
  color: var(--white);
}

.btn-danger {
  background-color: var(--danger);
  border: 1px solid var(--danger);
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active {
  background-color: #e63333;
  border: 1px solid #e63333;
}
.btn-danger.active:focus, .btn-danger.active.focus, .btn-danger.active:hover, .btn-danger.focus, .btn-danger:active:focus, .btn-danger:active:hover {
  background-color: #e63333;
  border: 1px solid #e63333;
}
.btn-danger.active:not(:disabled):not(.disabled), .btn-danger:active:not(:disabled):not(.disabled) {
  background-color: #e63333;
  border-color: #e63333;
  color: var(--white);
}
.btn-danger.active:not(:disabled):not(.disabled):focus, .btn-danger:active:not(:disabled):not(.disabled):focus {
  box-shadow: unset;
}
.btn-danger.disabled, .btn-danger:disabled {
  background-color: var(--danger);
  border-color: var(--danger);
  color: var(--white);
}

.open > .dropdown-toggle.btn-info {
  background-color: #028ee1;
  border: 1px solid #028ee1;
}
.open > .dropdown-toggle.btn-info.focus, .open > .dropdown-toggle.btn-info:focus, .open > .dropdown-toggle.btn-info:hover {
  background-color: #028ee1;
  border: 1px solid #028ee1;
}
.open > .dropdown-toggle.btn-warning {
  background-color: #e9ab2e;
  border: 1px solid #e9ab2e;
}
.open > .dropdown-toggle.btn-warning.focus, .open > .dropdown-toggle.btn-warning:focus, .open > .dropdown-toggle.btn-warning:hover {
  background-color: #e9ab2e;
  border: 1px solid #e9ab2e;
}
.open > .dropdown-toggle.btn-danger {
  background-color: #e63333;
  border: 1px solid #e63333;
}
.open > .dropdown-toggle.btn-danger.focus, .open > .dropdown-toggle.btn-danger:focus, .open > .dropdown-toggle.btn-danger:hover {
  background-color: #e63333;
  border: 1px solid #e63333;
}

.btn-light.active:focus:not(:disabled):not(.disabled), .btn-light:active:focus:not(:disabled):not(.disabled), .btn-dark.active:focus:not(:disabled):not(.disabled), .btn-dark:active:focus:not(:disabled):not(.disabled) {
  box-shadow: unset;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  color: var(--white);
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary.focus, .btn-outline-primary:focus {
  box-shadow: none;
}
.btn-outline-primary.disabled, .btn-outline-primary:disabled {
  color: var(--primary);
  background-color: transparent;
}
.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-success {
  color: var(--success);
  border-color: var(--success);
}
.btn-outline-success:hover {
  color: var(--white);
  background-color: var(--success);
  border-color: var(--success);
}
.btn-outline-success.focus, .btn-outline-success:focus {
  box-shadow: none;
}
.btn-outline-success.disabled, .btn-outline-success:disabled {
  color: var(--success);
  background-color: transparent;
}
.btn-outline-success:not(:disabled):not(.disabled).active, .btn-outline-success:not(:disabled):not(.disabled):active {
  background-color: var(--success);
  border-color: var(--success);
}
.btn-outline-success:not(:disabled):not(.disabled).active:focus, .btn-outline-success:not(:disabled):not(.disabled):active:focus {
  box-shadow: none;
}

.btn-outline-info {
  color: var(--info);
  border-color: var(--info);
}
.btn-outline-info:hover {
  color: var(--white);
  background-color: var(--info);
  border-color: var(--info);
}
.btn-outline-info.disabled, .btn-outline-info:disabled {
  background-color: transparent;
  color: var(--info);
}
.btn-outline-info:focus, .btn-outline-info.focus {
  box-shadow: none;
}
.btn-outline-info:not(:disabled):not(.disabled).active, .btn-outline-info:not(:disabled):not(.disabled):active {
  background-color: var(--info);
  border-color: var(--info);
}
.btn-outline-info:not(:disabled):not(.disabled).active:focus, .btn-outline-info:not(:disabled):not(.disabled):active:focus {
  box-shadow: none;
}

.btn-outline-warning {
  color: var(--warning);
  border-color: var(--warning);
}
.btn-outline-warning:hover {
  color: var(--title-color);
  background-color: var(--warning);
  border-color: var(--warning);
}
.btn-outline-warning.disabled, .btn-outline-warning:disabled {
  background-color: transparent;
  color: var(--warning);
}
.btn-outline-warning:focus, .btn-outline-warning.focus {
  box-shadow: none;
}
.btn-outline-warning:not(:disabled):not(.disabled).active, .btn-outline-warning:not(:disabled):not(.disabled):active {
  background-color: var(--warning);
  border-color: var(--warning);
}
.btn-outline-warning:not(:disabled):not(.disabled).active:focus, .btn-outline-warning:not(:disabled):not(.disabled):active:focus {
  box-shadow: none;
}

.btn-outline-danger {
  color: var(--danger);
  border-color: var(--danger);
}
.btn-outline-danger:hover {
  color: var(--title-color);
  background-color: var(--danger);
  border-color: var(--danger);
}
.btn-outline-danger.disabled, .btn-outline-danger:disabled {
  background-color: transparent;
  color: var(--danger);
}
.btn-outline-danger:focus, .btn-outline-danger.focus {
  box-shadow: none;
}
.btn-outline-danger:not(:disabled):not(.disabled).active, .btn-outline-danger:not(:disabled):not(.disabled):active {
  background-color: var(--danger);
  border-color: var(--danger);
}
.btn-outline-danger:not(:disabled):not(.disabled).active:focus, .btn-outline-danger:not(:disabled):not(.disabled):active:focus {
  box-shadow: none;
}

.btn-outline-light {
  color: var(--gray-600);
  border-color: var(--gray-300);
}
.btn-outline-light.disabled, .btn-outline-light:disabled {
  color: var(--gray-600);
}

.pagination {
  --bs-pagination-disabled-bg: transparent;
}
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus {
  background-color: var(--primary);
  border-color: var(--primary);
}
.pagination > .active > a, .pagination > .active > span {
  color: var(--white);
}
.pagination > li > a, .pagination > li > span {
  color: var(--primary);
}

.page-link:hover {
  color: var(--primary);
}
.page-link:focus {
  box-shadow: unset;
}

.page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
}

.dropdown-menu {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: inherit;
  font-size: 14px;
  border-radius: 3px;
  transform-origin: left top 0;
  -webkit-transform-origin: left top 0;
  -ms-transform-origin: left top 0;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: var(--primary);
}

.navbar-nav__.open--.dropdown-menu {
  border: 0;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: var(--white);
}

.btn-light {
  border-color: var(--gray-300);
  color: var(--gray-600);
}

.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
  background-color: var(--primary);
  text-shadow: unset;
}
.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

.bg-info-light {
  background-color: rgba(2, 182, 179, 0.12) !important;
  color: var(--info) !important;
}

.bg-primary-light {
  background-color: rgba(17, 148, 247, 0.12) !important;
  color: var(--primary) !important;
}

.bg-danger-light {
  background-color: rgba(242, 17, 54, 0.12) !important;
  color: var(--danger) !important;
}

.bg-warning-light {
  background-color: rgba(255, 152, 0, 0.12) !important;
  color: var(--warning) !important;
}

.bg-success-light {
  background-color: rgba(15, 183, 107, 0.12) !important;
  color: var(--success) !important;
}

.bg-purple-light {
  background-color: rgba(197, 128, 255, 0.12) !important;
  color: var(--secondary) !important;
}

.bg-default-light {
  background-color: rgba(40, 52, 71, 0.12) !important;
  color: var(--title-color) !important;
}

.text-xs {
  font-size: 12px !important;
}

.text-sm {
  font-size: 14px !important;
}

.text-lg {
  font-size: 18px !important;
}

.text-xl {
  font-size: 24px !important;
}

.form-group {
  margin-bottom: 20px;
}

.modal-footer.text-start {
  text-align: left;
}
.modal-footer.text-center {
  text-align: center;
}

.border-primary {
  border-color: var(--primary) !important;
}

.text-secondary {
  color: var(--text-muted) !important;
}

.page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 767.98px) {
  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
    margin-top: 10px;
  }
  div.dataTables_wrapper div.dataTables_info {
    text-align: center;
  }
}
@media (min-width: 992px) {
  .mini-sidebar.expand-menu .sidebar {
    width: 240px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.35);
  }
}
.mini-sidebar.expand-menu .sidebar .sidebar-menu ul > li > a {
  justify-content: flex-start;
  padding: 10px 12px !important;
}
@media (min-width: 992px) {
  .mini-sidebar.expand-menu .sidebar .sidebar-menu ul > li > a span {
    display: inline-block;
    opacity: 1;
  }
}
@media (min-width: 992px) {
  .mini-sidebar.expand-menu .sidebar .sidebar-menu ul > li > a .menu-arrow {
    display: inline-block !important;
  }
}
@media (min-width: 992px) {
  .mini-sidebar.expand-menu .sidebar .sidebar-menu ul > li > a i {
    font-size: 14px;
    width: 34px !important;
    height: 34px;
    margin-right: 0;
  }
}
@media (min-width: 992px) {
  .mini-sidebar.expand-menu .menu-title {
    visibility: visible;
    opacity: 1;
  }
}
@media (min-width: 992px) {
  .mini-sidebar.expand-menu .menu-title a {
    visibility: hidden;
  }
}
@media (min-width: 992px) {
  .mini-sidebar .sidebar {
    width: 78px;
  }
}
.mini-sidebar .sidebar .sidebar-menu {
  padding: 12px 8px;
}
.mini-sidebar .sidebar .sidebar-menu ul > li > a {
  justify-content: center;
  padding: 10px 0 !important;
}
@media (min-width: 992px) {
  .mini-sidebar .sidebar .sidebar-menu ul > li > a span {
    display: none;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
}
.mini-sidebar .sidebar .sidebar-menu ul > li > a i {
  margin-right: 0 !important;
}
@media (min-width: 992px) {
  .mini-sidebar .sidebar .sidebar-menu ul > li > a .menu-arrow {
    display: none !important;
  }
}
@media (min-width: 992px) {
  .mini-sidebar .menu-title {
    visibility: hidden;
    opacity: 0;
    white-space: nowrap;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
}
@media (min-width: 992px) {
  .mini-sidebar .menu-title a {
    visibility: hidden;
  }
}
@media (min-width: 992px) {
  .mini-sidebar .page-wrapper {
    margin-left: 78px;
  }
}

.sidebar {
  background: linear-gradient(180deg, var(--title-color) 0%, var(--title-color) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  width: 240px;
  z-index: 1001;
  position: fixed;
  top: 60px;
  bottom: 0;
  left: 0;
}
@media (max-width: 991.98px) {
  .sidebar {
    margin-left: -240px;
    width: 240px;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }
}
.sidebar.opened {
  -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar .sidebar-menu > ul > li {
  margin-bottom: 4px;
  position: relative;
}
.sidebar .sidebar-menu > ul > li:last-child {
  margin-bottom: 0;
}
.sidebar .sidebar-menu > ul > li > a {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  position: relative;
  color: var(--gray-500);
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 10px;
  -webkit-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 9px 12px !important;
}
.sidebar .sidebar-menu > ul > li > a i {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--gray-500);
  display: inline-flex;
  flex-shrink: 0;
  height: 34px;
  justify-content: center;
  width: 34px !important;
  font-size: 14px;
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar .sidebar-menu > ul > li > a span {
  display: inline-block;
  margin-left: 12px;
  white-space: nowrap;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
}
.sidebar .sidebar-menu > ul > li > a span.chat-user {
  margin-left: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar .sidebar-menu > ul > li > a span.badge {
  margin-left: auto;
}
.sidebar .sidebar-menu > ul > li > a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}
.sidebar .sidebar-menu > ul > li > a:hover i {
  background: rgba(0, 208, 241, 0.15);
  border-color: rgba(0, 208, 241, 0.35);
  color: var(--primary);
  box-shadow: 0 0 12px rgba(0, 208, 241, 0.2);
}
.sidebar .sidebar-menu > ul > li > a:hover .menu-arrow {
  color: var(--white);
}
.sidebar .sidebar-menu > ul > li.active > a {
  background: linear-gradient(90deg, rgba(0, 208, 241, 0.16) 0%, rgba(0, 208, 241, 0.02) 100%);
  border-color: rgba(0, 208, 241, 0.35);
  color: var(--white);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--primary), 0 4px 14px rgba(0, 208, 241, 0.12);
}
.sidebar .sidebar-menu > ul > li.active > a i {
  background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 208, 241, 0.4);
  color: var(--title-color);
  font-weight: bold;
}
.sidebar .sidebar-menu > ul > li.active > a .menu-arrow {
  color: var(--white);
}
.sidebar .sidebar-menu .menu-arrow {
  display: inline-block;
  font-family: "FontAwesome";
  text-rendering: auto;
  line-height: 18px;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: rgba(255, 255, 255, 0.35);
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 17px;
  right: 14px;
}
.sidebar .sidebar-menu .menu-arrow:before {
  content: "\f105";
}
.sidebar ul ul {
  display: none;
}
.sidebar ul ul a {
  display: block;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.65);
  padding: 7px 10px 7px 42px !important;
  position: relative;
  border-radius: 8px;
  -webkit-transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar ul ul a .menu-arrow {
  top: 10px !important;
}
.sidebar ul ul a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}
.sidebar ul ul a.active {
  color: var(--primary) !important;
  font-weight: 600;
  background: rgba(0, 208, 241, 0.08);
}
.sidebar ul ul ul a {
  padding-left: 54px !important;
}
.sidebar ul ul ul ul a {
  padding-left: 68px !important;
}
.sidebar ul li a.subdrop .menu-arrow {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  color: var(--primary);
}
.sidebar ul li a i {
  display: inline-block;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
  width: 20px;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
}
.sidebar ul li a > .badge {
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.sidebar ul li.menu-title a i {
  font-size: 14px !important;
  margin-right: 0;
  text-align: right;
  width: auto;
}

.sidebar-inner {
  height: 100%;
  min-height: 100%;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  scrollbar-width: thin;
}
.sidebar-inner::-webkit-scrollbar {
  width: 4px;
}
.sidebar-inner::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  -webkit-transition: background 0.2s ease;
  -ms-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.sidebar-inner::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 208, 241, 0.45);
}

.sidebar-menu {
  padding: 14px 12px 24px;
}
.sidebar-menu ul {
  font-size: 14px;
  list-style-type: none;
  position: relative;
  margin: 0;
  padding: 0;
}
.sidebar-menu ul li a {
  color: var(--gray-500);
  display: block;
  font-size: 14px;
  height: auto;
  padding: 0 16px;
}
.sidebar-menu ul li a:hover {
  color: var(--white);
}
.sidebar-menu ul li.active > a {
  background: linear-gradient(90deg, rgba(0, 208, 241, 0.16) 0%, rgba(0, 208, 241, 0.02) 100%);
  color: var(--white);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--primary), 0 4px 14px rgba(0, 208, 241, 0.12);
}
.sidebar-menu ul li.active > a i {
  background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
  box-shadow: 0 4px 12px -2px rgba(0, 208, 241, 0.4);
  color: var(--title-color);
}
.sidebar-menu ul ul {
  padding: 4px 0 6px 20px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.08);
  position: relative;
  margin-left: 16px;
}
.sidebar-menu ul ul a {
  color: rgba(255, 255, 255, 0.65);
  position: relative;
}
.sidebar-menu ul ul a::before {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 14px;
  opacity: 0.8;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  -webkit-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-menu ul ul a:hover {
  color: var(--white);
}
.sidebar-menu ul ul a:hover::before {
  opacity: 1;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(0, 208, 241, 0.6);
}
.sidebar-menu ul ul a.active {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.sidebar-menu ul ul a.active::before {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 208, 241, 0.25), 0 0 8px rgba(0, 208, 241, 0.5);
  opacity: 1;
}

.menu-title {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
  white-space: nowrap;
  position: relative;
  margin: 18px 0 6px;
  padding: 0 14px;
}
.menu-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  margin-left: 10px;
}
.menu-title:first-child {
  margin-top: 4px;
}
.menu-title > i {
  float: right;
  line-height: 40px;
}
.menu-title li.menu-title a {
  color: var(--warning);
  display: inline-block;
  margin-left: auto;
  padding: 0;
}
.menu-title li.menu-title a .btn {
  color: var(--white);
  display: block;
  float: none;
  font-size: 14px;
  margin: auto auto 15px;
  padding: 10px 15px;
}

@media (min-width: 992px) {
  .modal-open.mini-sidebar .sidebar {
    z-index: 1051;
  }
}

.mini-sidebar .sidebar .sidebar-menu ul ul > li > a, .mini-sidebar.expand-menu .sidebar .sidebar-menu ul ul > li > a {
  justify-content: flex-start;
  padding: 8px 12px 8px 32px !important;
}
@media (min-width: 992px) {
  .mini-sidebar .sidebar .sidebar-menu ul ul > li > a span, .mini-sidebar.expand-menu .sidebar .sidebar-menu ul ul > li > a span {
    display: inline-block;
    opacity: 1;
  }
}
@media (min-width: 992px) {
  .mini-sidebar:not(.expand-menu) .sidebar .sidebar-menu ul ul {
    display: none !important;
  }
}

.avatar {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 3rem;
}
.avatar > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.avatar .avatar-title {
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  color: var(--white);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar.avatar-online::before {
  width: 25%;
  height: 25%;
  border-radius: 50%;
  content: "";
  border: 2px solid var(--white);
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--success);
}
.avatar.avatar-offline::before {
  width: 25%;
  height: 25%;
  border-radius: 50%;
  content: "";
  border: 2px solid var(--white);
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--danger);
}
.avatar.avatar-away::before {
  width: 25%;
  height: 25%;
  border-radius: 50%;
  content: "";
  border: 2px solid var(--white);
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--warning);
}
.avatar .border {
  border-width: 3px !important;
}
.avatar .rounded {
  border-radius: 6px !important;
}
.avatar .avatar-title {
  font-size: 18px;
}
.avatar .avatar-xs {
  width: 1.65rem;
  height: 1.65rem;
}
.avatar .avatar-xs .border {
  border-width: 2px !important;
}
.avatar .avatar-xs .rounded {
  border-radius: 4px !important;
}
.avatar .avatar-xs .avatar-title {
  font-size: 12px;
}
.avatar .avatar-xs.avatar-away::before, .avatar .avatar-xs.avatar-offline::before, .avatar .avatar-xs.avatar-online::before {
  border-width: 1px;
}

.avatar-sm {
  width: 2.5rem;
  height: 2.5rem;
}
.avatar-sm .border {
  border-width: 3px !important;
}
.avatar-sm .rounded {
  border-radius: 4px !important;
}
.avatar-sm .avatar-title {
  font-size: 15px;
}
.avatar-sm.avatar-away::before, .avatar-sm.avatar-offline::before, .avatar-sm.avatar-online::before {
  border-width: 2px;
}

.avatar-lg {
  width: 3.75rem;
  height: 3.75rem;
}
.avatar-lg .border {
  border-width: 3px !important;
}
.avatar-lg .rounded {
  border-radius: 8px !important;
}
.avatar-lg .avatar-title {
  font-size: 24px;
}
.avatar-lg.avatar-away::before, .avatar-lg.avatar-offline::before, .avatar-lg.avatar-online::before {
  border-width: 3px;
}

.avatar-xl {
  width: 5rem;
  height: 5rem;
}
.avatar-xl .border {
  border-width: 4px !important;
}
.avatar-xl .rounded {
  border-radius: 8px !important;
}
.avatar-xl .avatar-title {
  font-size: 28px;
}
.avatar-xl.avatar-away::before, .avatar-xl.avatar-offline::before, .avatar-xl.avatar-online::before {
  border-width: 4px;
}

.avatar-xxl {
  width: 5.125rem;
  height: 5.125rem;
}
@media (min-width: 768px) {
  .avatar-xxl {
    width: 8rem;
    height: 8rem;
  }
}
.avatar-xxl .border {
  border-width: 6px !important;
}
@media (min-width: 768px) {
  .avatar-xxl .border {
    border-width: 6px !important;
  }
}
.avatar-xxl .rounded {
  border-radius: 8px !important;
}
@media (min-width: 768px) {
  .avatar-xxl .rounded {
    border-width: 12px !important;
  }
}
.avatar-xxl .avatar-title {
  font-size: 30px;
}
@media (min-width: 768px) {
  .avatar-xxl .avatar-title {
    font-size: 42px;
  }
}
.avatar-xxl.avatar-away::before, .avatar-xxl.avatar-offline::before, .avatar-xxl.avatar-online::before {
  border-width: 4px;
}
@media (min-width: 768px) {
  .avatar-xxl.avatar-away::before, .avatar-xxl.avatar-offline::before, .avatar-xxl.avatar-online::before {
    border-width: 4px;
  }
}

.avatar-group {
  display: inline-flex;
}
.avatar-group .avatar + .avatar {
  margin-left: -0.75rem;
}
.avatar-group .avatar:hover {
  z-index: 1;
}
.avatar-group .avatar-xs + .avatar-xs {
  margin-left: -0.40625rem;
}
.avatar-group .avatar-sm + .avatar-sm {
  margin-left: -0.625rem;
}
.avatar-group .avatar-lg + .avatar-lg {
  margin-left: -1rem;
}
.avatar-group .avatar-xl + .avatar-xl {
  margin-left: -1.28125rem;
}

.avatar-xs {
  width: 1.65rem;
  height: 1.65rem;
}

.select2-results__option {
  padding: 6px 15px;
}

.select2-container .select2-selection--single {
  border: 1px solid var(--gray-400);
  height: 40px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  padding-right: 30px;
  padding-left: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
  right: 7px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--border-color) transparent transparent;
  border-style: solid;
  border-width: 6px 6px 0;
  height: 0;
  margin-left: -10px;
  margin-top: -2px;
  width: 0;
  position: absolute;
  top: 50%;
  left: 50%;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--title-color);
  font-size: 15px;
  font-weight: normal;
  line-height: 38px;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent var(--border-color);
  border-width: 0 6px 6px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--primary);
}
.select2-container--default .select2-selection--multiple {
  border: 1px solid var(--border-color);
  min-height: 46px;
}

.select2-dropdown {
  border-color: var(--border-color);
}

.p-20 {
  padding: 20px !important;
}

.p-t-0 {
  padding-top: 0 !important;
}

.m-0 {
  margin: 0 !important;
}

.m-r-5 {
  margin-right: 5px !important;
}

.m-r-10 {
  margin-right: 10px !important;
}

.m-l-5 {
  margin-left: 5px !important;
}

.m-l-15 {
  margin-left: 15px !important;
}

.m-t-5 {
  margin-top: 5px !important;
}

.m-t-0 {
  margin-top: 0 !important;
}

.m-t-10 {
  margin-top: 10px !important;
}

.m-t-15 {
  margin-top: 15px !important;
}

.m-t-20 {
  margin-top: 20px !important;
}

.m-t-30 {
  margin-top: 30px !important;
}

.m-t-50 {
  margin-top: 50px !important;
}

.m-b-5 {
  margin-bottom: 5px !important;
}

.m-b-10 {
  margin-bottom: 10px !important;
}

.m-b-15 {
  margin-bottom: 15px !important;
}

.m-b-20 {
  margin-bottom: 20px !important;
}

.m-b-30 {
  margin-bottom: 30px !important;
}

.block {
  display: block !important;
}

.cal-icon {
  position: relative;
  width: 100%;
}
.cal-icon:after {
  color: var(--gray-600);
  content: "\f073";
  display: block;
  font-family: "FontAwesome";
  font-size: 15px;
  margin: auto;
  position: absolute;
  top: 10px;
  right: 15px;
}

/****** PAGES ******/
.card-widget {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.03), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-widget:hover {
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  transform: translateY(-3px);
  border-color: var(--border-color);
}
.card-widget .card-body {
  padding: 20px 24px;
}

.dash-widget-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-widget-icon {
  display: inline-flex;
  font-size: 22px;
  height: 52px;
  width: 52px;
  line-height: 1;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease-in-out;
}
.dash-widget-icon.text-primary {
  background-color: rgba(0, 180, 216, 0.1);
  color: var(--primary) !important;
}
.dash-widget-icon.text-success {
  background-color: rgba(123, 177, 60, 0.1);
  color: var(--success) !important;
}
.dash-widget-icon.text-danger {
  background-color: rgba(232, 70, 70, 0.1);
  color: var(--danger) !important;
}
.dash-widget-icon.text-warning {
  background-color: rgba(255, 188, 52, 0.14);
  color: var(--warning) !important;
}

.dash-count {
  text-align: right;
}
.dash-count h3 {
  color: var(--title-color);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.dash-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
}
.dash-trend.dash-trend-up {
  background-color: rgba(123, 177, 60, 0.12);
  color: var(--success);
}
.dash-trend.dash-trend-down {
  background-color: rgba(232, 70, 70, 0.12);
  color: var(--danger);
}

.dash-widget-info h6 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.dash-widget-info .progress {
  background-color: var(--body-bg);
  border-radius: 10px;
  height: 6px;
  overflow: hidden;
}
.dash-widget-info .progress .progress-bar {
  border-radius: 10px;
}
.dash-widget-info .progress .progress-bar.bg-primary {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 100%) !important;
}
.dash-widget-info .progress .progress-bar.bg-success {
  background: linear-gradient(90deg, var(--success) 0%, var(--success) 100%) !important;
}
.dash-widget-info .progress .progress-bar.bg-danger {
  background: linear-gradient(90deg, var(--danger) 0%, var(--danger) 100%) !important;
}
.dash-widget-info .progress .progress-bar.bg-warning {
  background: linear-gradient(90deg, var(--warning) 0%, var(--warning) 100%) !important;
}

.card-chart {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.03);
}
.card-chart .card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-chart .card-header .card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--title-color);
}
.card-chart .card-body {
  padding: 0 24px 12px 12px;
}

#revenueChart, #growthChart {
  min-height: 300px;
  margin-left: -4px;
}

.card-table {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.03);
}
.card-table .card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.card-table .card-header .card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--title-color);
}
.card-table .table thead {
  background-color: var(--body-bg);
}
.card-table .table thead th {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}
.card-table .table tbody tr {
  border-bottom: 1px solid var(--body-bg);
  transition: background-color 0.15s ease-in-out;
}
.card-table .table tbody tr:hover {
  background-color: var(--body-bg);
}
.card-table .table tbody tr td {
  padding: 13px 16px;
  vertical-align: middle;
  color: var(--title-color);
  font-size: 14px;
}

.card-insight {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.card-insight:hover {
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.06);
  border-color: var(--border-color);
}
.card-insight .card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-insight .card-header .card-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
.card-insight .card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.consultation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  justify-content: space-between;
}

.consultation-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all 0.2s ease;
}
.consultation-item:hover {
  background: var(--white);
  border-color: rgba(0, 208, 241, 0.4);
  box-shadow: 0 4px 12px rgba(0, 208, 241, 0.08);
  transform: translateX(2px);
}
.consultation-item .consultation-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.consultation-item .consultation-meta .avatar {
  flex-shrink: 0;
}
.consultation-item .consultation-meta .consultation-info {
  min-width: 0;
}
.consultation-item .consultation-meta .consultation-info h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.consultation-item .consultation-meta .consultation-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.consultation-item .consultation-action {
  text-align: right;
  flex-shrink: 0;
  margin-left: 10px;
}
.consultation-item .consultation-action .badge {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}
.consultation-item .consultation-action .consultation-time {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 3px;
}

.speciality-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  justify-content: space-between;
}

.speciality-item .speciality-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.speciality-item .speciality-header .speciality-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
}
.speciality-item .speciality-header .speciality-title i {
  font-size: 13px;
  width: 16px;
  text-align: center;
}
.speciality-item .speciality-header .speciality-stats {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.speciality-item .speciality-header .speciality-stats span {
  color: var(--title-color);
  font-weight: 700;
}
.speciality-item .progress {
  height: 6px;
  background-color: var(--body-bg);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0;
}
.speciality-item .progress .progress-bar {
  border-radius: 10px;
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.operation-card {
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 10px;
  transition: all 0.2s ease;
}
.operation-card:hover {
  background: var(--white);
  border-color: var(--border-color);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transform: translateY(-2px);
}
.operation-card .operation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 8px;
}
.operation-card .operation-icon.op-primary {
  background: rgba(0, 208, 241, 0.12);
  color: var(--primary);
}
.operation-card .operation-icon.op-danger {
  background: rgba(232, 70, 70, 0.12);
  color: var(--danger);
}
.operation-card .operation-icon.op-warning {
  background: rgba(255, 188, 52, 0.15);
  color: var(--warning);
}
.operation-card .operation-icon.op-success {
  background: rgba(123, 177, 60, 0.12);
  color: var(--success);
}
.operation-card .operation-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.operation-card .operation-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.operation-card .operation-subtext {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.operation-summary-bar {
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.badge-soft-primary {
  background-color: rgba(0, 208, 241, 0.12);
  color: var(--info);
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 12px;
}

.badge-soft-success {
  background-color: rgba(123, 177, 60, 0.12);
  color: var(--success);
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 12px;
}

.badge-soft-warning {
  background-color: rgba(255, 188, 52, 0.15);
  color: var(--warning);
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 12px;
}

.badge-soft-purple {
  background-color: rgba(147, 104, 233, 0.12);
  color: var(--secondary);
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 12px;
}

.badge-soft-danger {
  background-color: rgba(232, 70, 70, 0.12);
  color: var(--danger);
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 12px;
}

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
}
.rating-stars .fe-star {
  color: var(--warning);
}
.rating-stars .fe-star-o {
  color: var(--border-color);
}
.rating-stars .fa-star.fa-solid {
  color: var(--warning);
}
.rating-stars .fa-star.fa-regular {
  color: var(--border-color);
}
.rating-stars .rating-val {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 4px;
}

.status-toggle {
  display: inline-flex;
  align-items: center;
}
.status-toggle .check {
  display: none;
}
.status-toggle .check:checked + .checktoggle {
  background-color: var(--primary);
}
.status-toggle .check:checked + .checktoggle:after {
  background-color: var(--white);
  left: 16px;
  transform: none;
}
.status-toggle .checktoggle {
  background-color: var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  display: block;
  font-size: 0;
  height: 18px;
  margin-bottom: 0;
  position: relative;
  width: 32px;
  transition: all 0.2s ease-in-out;
}
.status-toggle .checktoggle:after {
  background-color: var(--white);
  border-radius: 50%;
  content: "";
  height: 14px;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  transform: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.section-header {
  margin-bottom: 1.875rem;
}
.section-header .section-title {
  color: var(--body-color);
}

.comp-header {
  margin-bottom: 1.875rem;
}
.comp-header .comp-title {
  color: var(--title-color);
}

.line {
  background-color: var(--primary);
  height: 2px;
  width: 60px;
  margin: 0;
}

.comp-buttons .btn {
  margin-bottom: 5px;
}

.pagination-box .pagination {
  margin-top: 0;
}

.comp-dropdowns .btn-group {
  margin-bottom: 5px;
}

.progress-example .progress {
  margin-bottom: 1.5rem;
}

.progress-xs {
  height: 4px;
}

.progress-sm {
  height: 15px;
}

.progress.progress-sm {
  height: 6px;
}
.progress.progress-md {
  height: 8px;
}
.progress.progress-lg {
  height: 18px;
}

.row.row-sm {
  margin-left: -3px;
  margin-right: -3px;
}
.row.row-sm > div {
  padding-left: 3px;
  padding-right: 3px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: var(--white);
  background-color: var(--primary);
}

@media (max-width: 575.98px) {
  .pagination-lg .page-link {
    font-size: 1.2rem;
    padding: 0.5rem 0.625rem;
  }
}

.noti-dropdown .dropdown-toggle {
  position: relative;
  width: 42px;
  padding: 0;
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  color: var(--title-color);
}
.noti-dropdown .dropdown-toggle:hover, .noti-dropdown .dropdown-toggle:focus {
  background: var(--border-color);
}
.noti-dropdown .dropdown-toggle .fe,
.noti-dropdown .dropdown-toggle .fa-regular {
  font-size: 18px;
  line-height: 1;
}
.noti-dropdown .dropdown-toggle .badge {
  position: absolute;
  top: 2px;
  right: -2px;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  padding: 0 4px;
  background: var(--danger);
  border: 2px solid var(--white);
}

.notifications {
  padding: 0;
  width: 360px;
  max-width: calc(100vw - 30px);
  border: none;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}
.notifications .notification-time {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.notifications .notification-time i {
  font-size: 11px;
}
.notifications .notify-block {
  margin-top: 0;
  padding: 12px 18px;
  position: relative;
  transition: background-color 0.15s ease;
}
.notifications .notify-block a {
  display: block;
}
.notifications .notify-block > .avatar {
  margin-right: 12px;
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.notifications .notify-block > .avatar .avatar-img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--body-bg);
}
.notifications .noti-content {
  max-height: 320px;
  width: 100%;
  overflow-y: auto;
  position: relative;
}
.notifications ul.notification-list > li {
  margin-top: 0;
  border-bottom: 1px solid var(--gray-200);
}
.notifications ul.notification-list > li:last-child {
  border-bottom: none;
}
.notifications ul.notification-list > li a {
  display: block;
  transition: background-color 0.15s ease;
}
.notifications ul.notification-list > li a:hover {
  background-color: var(--body-bg);
}
.notifications ul.notification-list > li.unread a {
  background-color: transparent;
}
.notifications ul.notification-list > li.unread .noti-details::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.notifications ul.notification-list > li .list-item {
  border: 0;
  position: relative;
  padding: 0;
}

.noti-type-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--white);
  border: 2px solid var(--white);
  background: var(--primary);
}

.noti-icon-appointment .noti-type-badge {
  background: var(--secondary);
}

.noti-icon-booking .noti-type-badge {
  background: var(--primary);
}

.noti-icon-payment .noti-type-badge {
  background: var(--success);
}

.noti-icon-message .noti-type-badge {
  background: var(--warning);
}

.topnav-dropdown-header {
  border-bottom: 1px solid var(--gray-200);
  background: var(--body-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  height: auto;
}
.topnav-dropdown-header .notification-title {
  color: var(--title-color);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.topnav-dropdown-header .notification-title .noti-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  padding: 2px 8px;
}
.topnav-dropdown-header .clear-noti {
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.topnav-dropdown-header .clear-noti:hover {
  filter: brightness(0.85);
}

.topnav-dropdown-header,
.topnav-dropdown-footer {
  font-size: 14px;
  padding-left: 18px;
  padding-right: 18px;
}

.topnav-dropdown-footer {
  border-top: 1px solid var(--gray-200);
  background: var(--body-bg);
  padding: 10px 18px;
}
.topnav-dropdown-footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
}
.topnav-dropdown-footer a:hover {
  filter: brightness(0.85);
}

.noti-details {
  color: var(--body-color);
  margin-bottom: 2px;
  font-size: 13.5px;
  position: relative;
  padding-right: 16px;
}

.noti-title {
  color: var(--title-color);
  font-weight: 600;
}

.notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.noti-time {
  margin: 0;
}

.login-body {
  background: radial-gradient(circle at 10% 20%, rgba(0, 208, 241, 0.05) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(147, 104, 233, 0.05) 0%, transparent 40%), var(--body-bg);
  min-height: 100vh;
  height: auto;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.login-body .main-wrapper {
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 767.98px) {
  .login-body .main-wrapper {
    padding: 2.5rem 1rem;
  }
}

.login-wrapper {
  width: 100%;
  max-width: 960px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-wrapper .loginbox {
  background-color: var(--white);
  display: flex;
  width: 100%;
  min-height: 560px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s ease;
}
@media (max-width: 991.98px) {
  .login-wrapper .loginbox {
    max-width: 500px;
    margin: 0 auto;
    min-height: unset;
  }
}
.login-wrapper .loginbox .login-left {
  background: linear-gradient(145deg, var(--title-color) 0%, var(--title-color) 50%, var(--title-color) 100%);
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}
@media (max-width: 991.98px) {
  .login-wrapper .loginbox .login-left {
    display: none;
  }
}
.login-wrapper .loginbox .login-left::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 208, 241, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.login-wrapper .loginbox .login-left::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(147, 104, 233, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.login-wrapper .loginbox .login-left .login-left-header {
  position: relative;
  z-index: 1;
}
.login-wrapper .loginbox .login-left .login-left-header .login-logo {
  max-height: 42px;
  width: auto;
  margin-bottom: 12px;
}
.login-wrapper .loginbox .login-left .login-left-header .badge-admin-portal {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 208, 241, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 208, 241, 0.25);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.login-wrapper .loginbox .login-left .login-left-content {
  position: relative;
  z-index: 1;
  margin: 2rem 0;
}
.login-wrapper .loginbox .login-left .login-left-content h2 {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}
.login-wrapper .loginbox .login-left .login-left-content .login-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.login-wrapper .loginbox .login-left .login-left-content .login-features li {
  display: flex;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.login-wrapper .loginbox .login-left .login-left-content .login-features li:last-child {
  margin-bottom: 0;
}
.login-wrapper .loginbox .login-left .login-left-content .login-features li i {
  background: rgba(0, 208, 241, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 208, 241, 0.25);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}
.login-wrapper .loginbox .login-left .login-left-content .login-features li strong {
  color: var(--white);
  display: block;
}
.login-wrapper .loginbox .login-left .login-left-footer {
  position: relative;
  z-index: 1;
}
.login-wrapper .loginbox .login-left .login-left-footer .security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.login-wrapper .loginbox .login-left .login-left-footer .security-badge i {
  color: var(--success);
}
.login-wrapper .loginbox .login-right {
  width: 52%;
  padding: 3rem 2.75rem;
  display: flex;
  align-items: center;
}
@media (max-width: 991.98px) {
  .login-wrapper .loginbox .login-right {
    width: 100%;
    padding: 2.5rem 2rem;
  }
}
@media (max-width: 575.98px) {
  .login-wrapper .loginbox .login-right {
    padding: 2rem 1.5rem;
  }
}
.login-wrapper .loginbox .login-right .login-right-wrap {
  width: 100%;
}
.login-wrapper .loginbox .login-right .login-right-wrap .login-mobile-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.login-wrapper .loginbox .login-right .login-right-wrap .login-mobile-brand img {
  max-height: 44px;
  width: auto;
}
.login-wrapper .loginbox .login-right .login-right-wrap h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.login-wrapper .loginbox .login-right .login-right-wrap .account-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 1.75rem;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-group-custom {
  margin-bottom: 1.15rem;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-group-custom .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 6px;
  display: block;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-group-custom .input-group-custom {
  position: relative;
  display: flex;
  align-items: center;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-group-custom .input-group-custom .input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s ease;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-group-custom .input-group-custom .form-control {
  background-color: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  height: 44px;
  padding: 8px 14px 8px 40px;
  font-size: 13.5px;
  color: var(--title-color);
  transition: all 0.2s ease-in-out;
  width: 100%;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-group-custom .input-group-custom .form-control:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 208, 241, 0.15);
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-group-custom .input-group-custom .form-control:focus + .input-icon, .login-wrapper .loginbox .login-right .login-right-wrap .form-group-custom .input-group-custom .form-control:focus ~ .input-icon {
  color: var(--primary);
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-group-custom .input-group-custom .form-control::placeholder {
  color: var(--text-muted);
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-group-custom .input-group-custom .btn-password-toggle {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  z-index: 2;
  transition: color 0.2s ease;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-group-custom .input-group-custom .btn-password-toggle:hover {
  color: var(--title-color);
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
  font-size: 13px;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-options-row .form-check {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-options-row .form-check .form-check-input {
  cursor: pointer;
  margin-top: 0;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-options-row .form-check .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-options-row .form-check .form-check-label {
  color: var(--body-color);
  cursor: pointer;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-options-row .forgotpass a {
  color: var(--info);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.login-wrapper .loginbox .login-right .login-right-wrap .form-options-row .forgotpass a:hover {
  color: var(--info);
  text-decoration: underline;
}
.login-wrapper .loginbox .login-right .login-right-wrap .btn-login-submit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
  border: none;
  color: var(--title-color);
  font-weight: 700;
  font-size: 14px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 208, 241, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.login-wrapper .loginbox .login-right .login-right-wrap .btn-login-submit:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(0, 208, 241, 0.45);
  transform: translateY(-1px);
  color: var(--title-color);
}
.login-wrapper .loginbox .login-right .login-right-wrap .btn-login-submit:active {
  transform: translateY(0);
}
.login-wrapper .loginbox .login-right .login-right-wrap .login-or {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}
.login-wrapper .loginbox .login-right .login-right-wrap .login-or .or-line {
  background-color: var(--border-color);
  height: 1px;
  width: 100%;
  display: block;
}
.login-wrapper .loginbox .login-right .login-right-wrap .login-or .span-or {
  background-color: var(--white);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  padding: 0 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.login-wrapper .loginbox .login-right .login-right-wrap .social-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.login-wrapper .loginbox .login-right .login-right-wrap .social-login-grid .btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--title-color);
  text-decoration: none;
  transition: all 0.2s ease;
}
.login-wrapper .loginbox .login-right .login-right-wrap .social-login-grid .btn-social.btn-google i {
  color: #ea4335;
  font-size: 15px;
}
.login-wrapper .loginbox .login-right .login-right-wrap .social-login-grid .btn-social.btn-google:hover {
  background: var(--body-bg);
  border-color: var(--border-color);
  color: var(--title-color);
}
.login-wrapper .loginbox .login-right .login-right-wrap .social-login-grid .btn-social.btn-facebook i {
  color: #1877f2;
  font-size: 15px;
}
.login-wrapper .loginbox .login-right .login-right-wrap .social-login-grid .btn-social.btn-facebook:hover {
  background: var(--body-bg);
  border-color: var(--border-color);
  color: var(--title-color);
}
.login-wrapper .loginbox .login-right .login-right-wrap .dont-have {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}
.login-wrapper .loginbox .login-right .login-right-wrap .dont-have a {
  color: var(--info);
  font-weight: 600;
  text-decoration: none;
}
.login-wrapper .loginbox .login-right .login-right-wrap .dont-have a:hover {
  color: var(--info);
  text-decoration: underline;
}
.login-wrapper .loginbox .login-right .login-right-wrap .otp-inputs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}
.login-wrapper .loginbox .login-right .login-right-wrap .otp-inputs .otp-input {
  flex: 1 1 0;
  min-width: 0;
  max-width: 48px;
  height: 48px;
  padding: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--title-color);
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}
@media (max-width: 575.98px) {
  .login-wrapper .loginbox .login-right .login-right-wrap .otp-inputs .otp-input {
    width: 35px;
    height: 35px;
    max-width: 35px;
    font-size: 16px;
  }
}
.login-wrapper .loginbox .login-right .login-right-wrap .otp-inputs .otp-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #e6f9fd;
  outline: none;
}
.login-wrapper .loginbox .login-right .login-right-wrap .otp-resend {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}
.login-wrapper .loginbox .login-right .login-right-wrap .otp-resend .otp-resend-btn {
  background: none;
  border: 0;
  color: var(--primary);
  font-weight: 700;
  padding: 0;
}
.login-wrapper .loginbox .login-right .login-right-wrap .otp-resend .otp-resend-btn:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}
.login-wrapper .loginbox .login-right .login-right-wrap .lock-user {
  text-align: center;
  margin-bottom: 1.5rem;
}
.login-wrapper .loginbox .login-right .login-right-wrap .lock-user .avatar {
  margin: 0 auto 1rem;
}
.login-wrapper .loginbox .login-right .login-right-wrap .lock-user h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 0;
}

/*-----------------------------------------
    Doccure — Professional Invoice Styles
-----------------------------------------*/
.invoice-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.invoice-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  max-width: 980px;
  margin: 0 auto 30px auto;
  overflow: hidden;
  position: relative;
}
.invoice-card .invoice-card-body {
  padding: 36px 40px;
}
@media (max-width: 767.98px) {
  .invoice-card .invoice-card-body {
    padding: 24px 20px;
  }
}

/* Paid Stamp Watermark */
.invoice-status-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  border: 1.5px solid currentColor;
}
.invoice-status-stamp.status-paid {
  color: var(--success);
  background: rgba(16, 185, 129, 0.08);
}
.invoice-status-stamp.status-pending {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.08);
}
.invoice-status-stamp.status-overdue {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.08);
}

/* Invoice Header Row */
.invoice-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--body-bg);
  margin-bottom: 28px;
}
.invoice-header-row .inv-brand img {
  max-height: 48px;
  width: auto;
  margin-bottom: 8px;
}
.invoice-header-row .inv-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.invoice-header-row .inv-meta-block {
  text-align: right;
}
@media (max-width: 575.98px) {
  .invoice-header-row .inv-meta-block {
    text-align: left;
  }
}
.invoice-header-row .inv-meta-block h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0;
  letter-spacing: -0.5px;
}
.invoice-header-row .inv-meta-block .inv-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}
.invoice-header-row .inv-meta-block .inv-meta-list li {
  margin-bottom: 4px;
}
.invoice-header-row .inv-meta-block .inv-meta-list li strong {
  color: var(--title-color);
}

/* Billing Info Grid */
.invoice-parties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}
@media (max-width: 767.98px) {
  .invoice-parties-grid {
    grid-template-columns: 1fr;
  }
}
.invoice-parties-grid .party-card {
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
}
.invoice-parties-grid .party-card .party-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.invoice-parties-grid .party-card .party-title i {
  color: var(--primary);
}
.invoice-parties-grid .party-card .party-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 6px 0;
}
.invoice-parties-grid .party-card .party-details {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.6;
}
.invoice-parties-grid .party-card .party-details li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}
.invoice-parties-grid .party-card .party-details li i {
  color: var(--text-muted);
  font-size: 13px;
  width: 14px;
}

/* Clinical Items Table */
.invoice-items-table {
  margin-bottom: 28px;
}
.invoice-items-table thead th {
  background: var(--body-bg);
  color: var(--title-color);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}
.invoice-items-table tbody td {
  padding: 16px;
  vertical-align: middle;
  font-size: 14px;
  color: var(--title-color);
  border-bottom: 1px solid var(--body-bg);
}
.invoice-items-table tbody td .item-name {
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 2px;
}
.invoice-items-table tbody td .item-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Bottom Summary Row */
.invoice-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.invoice-summary-row .inv-payment-info {
  flex: 1;
  min-width: 280px;
}
.invoice-summary-row .inv-payment-info .payment-info-box {
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px 20px;
}
.invoice-summary-row .inv-payment-info .payment-info-box h6 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--body-color);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.invoice-summary-row .inv-payment-info .payment-info-box p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.invoice-summary-row .inv-payment-info .payment-info-box p strong {
  color: var(--title-color);
}
.invoice-summary-row .inv-calculation-box {
  width: 320px;
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px 20px;
}
@media (max-width: 575.98px) {
  .invoice-summary-row .inv-calculation-box {
    width: 100%;
  }
}
.invoice-summary-row .inv-calculation-box .calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.invoice-summary-row .inv-calculation-box .calc-row.grand-total-row {
  border-top: 2px dashed var(--border-color);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--title-color);
}
.invoice-summary-row .inv-calculation-box .calc-row.grand-total-row .total-amount-display {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

/* Signatures & Footer */
.invoice-signatures-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--body-bg);
}
.invoice-signatures-row .signature-box {
  text-align: center;
}
.invoice-signatures-row .signature-box .signature-line {
  width: 180px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 6px;
  height: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: "Brush Script MT", cursive, sans-serif;
  font-size: 22px;
  color: var(--title-color);
}
.invoice-signatures-row .signature-box span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Print Styles */
@media print {
  .header,
  .sidebar,
  .page-header,
  .invoice-toolbar,
  #toggle_btn,
  .mobile_btn {
    display: none !important;
  }
  .page-wrapper {
    margin: 0 !important;
    padding: 0 !important;
  }
  .content {
    padding: 0 !important;
  }
  .invoice-card {
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  body {
    background: var(--white) !important;
    color: var(--black) !important;
  }
}
.report-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
}
.report-card-header .rc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  color: var(--info);
  font-size: 15px;
}
.report-card-header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--title-color);
}
.report-card-header small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 2px;
}

.apt-id-tag {
  text-decoration: none;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--info);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

#calendar-events {
  background-color: var(--gray-100);
}

.calendar-events {
  border: 1px solid transparent;
  cursor: move;
  padding: 10px 15px;
}
.calendar-events:hover {
  border-color: var(--gray-300);
  background-color: var(--white);
}
.calendar-events i {
  margin-right: 8px;
}

.calendar {
  float: left;
  margin-bottom: 0;
}

.fc-toolbar.fc-header-toolbar {
  margin-bottom: 1.5rem;
}
@media (max-width: 575.98px) {
  .fc-toolbar .fc-center {
    display: inline-block;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 575.98px) {
  .fc-toolbar .fc-center h2 {
    width: 100%;
  }
}
@media (max-width: 575.98px) {
  .fc-toolbar .fc-left {
    float: none;
    width: 200px;
    margin: 0 auto;
  }
}
@media (max-width: 575.98px) {
  .fc-toolbar .fc-right {
    display: inline-block;
    float: none;
    width: 200px;
    clear: both;
    margin: 10px auto 0;
  }
}
.fc-toolbar h2 {
  font-size: 18px;
  font-weight: 600;
  font-family: "Roboto", sans-serif;
  line-height: 30px;
  text-transform: uppercase;
}
.fc-toolbar .fc-state-active, .fc-toolbar .ui-state-active, .fc-toolbar .ui-state-hover, .fc-toolbar button:hover, .fc-toolbar button:focus {
  z-index: 0;
}

.none-border .modal-footer {
  border-top: none;
}

.fc-day-grid-event .fc-time {
  font-family: "Roboto", sans-serif;
}

.fc-day {
  background: var(--white);
}

.fc th.fc-widget-header {
  background: var(--gray-300);
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  padding: 10px 0;
}

.fc-unthemed th, .fc-unthemed td, .fc-unthemed thead, .fc-unthemed tbody, .fc-unthemed .fc-divider, .fc-unthemed .fc-row, .fc-unthemed .fc-popover {
  border-color: var(--gray-200);
}
.fc-unthemed .fc-today {
  background: var(--white);
}

.fc-basic-view .fc-day-number, .fc-basic-view .fc-week-number {
  padding: 2px 5px;
}
.fc-basic-view td.fc-week-number span {
  padding-right: 8px;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
}
.fc-basic-view td.fc-day-number {
  padding-right: 8px;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
}

.fc-button {
  background: var(--gray-300);
  border: none;
  color: var(--gray-700);
  text-transform: capitalize;
  box-shadow: none !important;
  border-radius: 3px !important;
  height: auto !important;
  margin: 0 3px !important;
  padding: 6px 12px !important;
}

.fc-text-arrow {
  font-family: inherit;
  font-size: 16px;
}

.fc-state-hover {
  background: var(--gray-200);
}

.fc-state-highlight {
  background: var(--gray-300);
}

.fc-state-down, .fc-state-active, .fc-state-disabled {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  text-shadow: none !important;
}

.fc-cell-overlay {
  background: var(--gray-300);
}

.fc-event {
  border: none;
  color: var(--white) !important;
  cursor: move;
  font-size: 13px;
  text-align: center;
  border-radius: 2px;
  margin: 1px 7px;
  padding: 5px 5px;
}

.event-form .input-group .form-control {
  height: 40px;
}

/* Calendar page */
.cal-side-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.05);
}

.cal-side-card .card-body {
  padding: 20px;
}

.cal-side-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cal-side-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

#calendar-events {
  background: transparent;
}

#calendar-events .calendar-events {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: move;
  transition: transform 0.15s, box-shadow 0.15s;
}

#calendar-events .calendar-events:hover {
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}

#calendar-events .calendar-events i {
  font-size: 10px;
}

.cal-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.05);
}

.cal-card .card-body {
  padding: 24px;
}

#calendar .fc-toolbar {
  margin-bottom: 20px;
}

#calendar .fc-toolbar h2 {
  font-size: 20px;
  font-weight: 600;
}

#calendar .fc-button {
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--title-color);
  text-shadow: none;
  box-shadow: none;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
}

#calendar .fc-button:hover {
  background: var(--body-bg);
}

#calendar .fc-state-active, #calendar .fc-button.fc-state-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

#calendar .fc-unthemed th, #calendar .fc-unthemed td, #calendar .fc-unthemed .fc-divider,
#calendar .fc-unthemed .fc-row, #calendar .fc-unthemed .fc-content, #calendar .fc-unthemed .fc-popover {
  border-color: var(--border-color);
}

#calendar .fc-day-header {
  padding: 10px 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--body-bg);
}

#calendar .fc-today {
  background: #e6f9fd !important;
}

#calendar .fc-event {
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 12px;
  border: 0;
}

@media (max-width: 767px) {
  .cal-card .card-body {
    padding: 12px;
  }
  #calendar .fc-toolbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}
/* Flatpickr must sit above Bootstrap modals */
.flatpickr-calendar {
  z-index: 2000 !important;
}

.dropdown-action {
  margin-bottom: 5px;
}
.dropdown-action .dropdown-toggle:after {
  display: none;
}

.table-inbox {
  font-size: 15px;
  margin-bottom: 0;
}
.table-inbox input[type=radio], .table-inbox input[type=checkbox] {
  cursor: pointer;
}
.table-inbox .starred.fa-star, .table-inbox .fa-star {
  color: var(--warning);
}
.table-inbox tr {
  cursor: pointer;
}

.mail-list {
  list-style: none;
  padding: 0;
}
.mail-list > li > a {
  color: var(--body-color);
  display: block;
  padding: 10px;
}
.mail-list > li.active > a {
  color: var(--primary);
  font-weight: 700;
}

.unread .name, .unread .subject, .unread .mail-date {
  color: var(--black);
  font-weight: 600;
}

.table.table-inbox > tbody > tr > th, .table.table-inbox > tbody > tr > td, .table.table-inbox > thead > tr > th, .table.table-inbox > thead > tr > td, .table.table-inbox > tfoot > tr > th, .table.table-inbox > tfoot > tr > td {
  border-bottom: 1px solid var(--gray-200);
  border-top: 0;
}
.table.table-inbox thead {
  background-color: var(--white);
}

.note-editor.note-frame {
  border: 1px solid var(--gray-400);
  box-shadow: inherit;
}
.note-editor.note-frame .note-statusbar {
  background-color: var(--white);
}
.note-editor.note-frame.fullscreen {
  top: 60px;
}
.note-editor.note-frame .btn-light {
  background-color: var(--gray-100);
  box-shadow: unset;
  color: var(--body-color);
}

.mail-title {
  font-weight: 700;
  text-transform: uppercase;
}

.form-control.search-message {
  border-color: var(--gray-500);
  height: 38px;
  width: 180px;
  border-radius: 4px;
}

table.table-inbox tbody tr.checked {
  background-color: #fff6e0;
}

.mail-label {
  font-size: 16px !important;
  margin-right: 5px;
}

.attachments {
  list-style: none;
  margin: 0;
  padding: 0;
}
.attachments li {
  border: 1px solid var(--gray-300);
  float: left;
  margin-bottom: 10px;
  margin-right: 10px;
  width: 180px;
}

.attach-info {
  background-color: var(--gray-200);
  padding: 10px;
}

.attach-file {
  color: var(--gray-700);
  font-size: 70px;
  min-height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.attach-file img {
  height: auto;
  max-width: 100%;
}

.mailview-header, .mailview-footer {
  border-bottom: 1px solid var(--gray-400);
  margin-bottom: 20px;
  padding-bottom: 15px;
}

.mailview-footer .btn-white {
  margin-top: 10px;
  min-width: 102px;
}

.sender-img {
  float: left;
  margin-right: 10px;
  width: 40px;
}

.sender-name {
  display: block;
}

.receiver-name {
  color: var(--gray-700);
}

.right-action, .mail-view-action, .mail-sent-time {
  text-align: right;
}

@media (max-width: 767.98px) {
  .mail-sent-time {
    float: left;
    margin-top: 10px;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .right-action {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .left-action {
    text-align: center;
    margin-bottom: 15px;
  }
}

.mail-view-title {
  font-weight: 500;
  font-size: 24px;
  margin: 0;
}

.inbox-menu {
  display: inline-block;
  width: 100%;
  margin: 0 0 1.875rem;
  padding: 0;
}
.inbox-menu li {
  display: inline-block;
  width: 100%;
}
.inbox-menu li + li {
  margin-top: 2px;
}
.inbox-menu li a {
  color: var(--body-color);
  display: inline-block;
  width: 100%;
  text-transform: capitalize;
  -webkit-transition: 0.3s ease;
  -ms-transition: 0.3s ease;
  transition: 0.3s ease;
  padding: 10px 15px;
}
.inbox-menu li a i {
  font-size: 16px;
  padding-right: 10px;
  color: var(--gray-700);
}
.inbox-menu li a:hover, .inbox-menu li a:focus {
  background: rgba(33, 33, 33, 0.05);
}
.inbox-menu li.active a {
  background: rgba(33, 33, 33, 0.05);
}

.compose-btn {
  margin-bottom: 1.875rem;
}
.compose-btn a {
  font-weight: 600;
  padding: 8px 15px;
}

.error-page {
  align-items: center;
  color: var(--gray-900);
  display: flex;
}
.error-page .main-wrapper {
  height: auto;
  width: 100%;
  min-height: unset;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.error-box {
  max-width: 480px;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding: 1.875rem 0;
}
.error-box h1 {
  color: var(--primary);
  font-size: 10em;
}
@media (max-width: 767.98px) {
  .error-box h1 {
    font-size: 6em;
  }
}
.error-box p {
  margin-bottom: 1.875rem;
}
.error-box .btn {
  font-size: 18px;
  font-weight: 600;
  min-width: 200px;
  border-radius: 50px;
  padding: 10px 20px;
}
@media (max-width: 767.98px) {
  .error-box .btn {
    font-size: 15px;
    min-width: 150px;
    padding: 8px 20px;
  }
}

.error-page-body {
  background: var(--title-color);
  font-family: "Mada", sans-serif;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

.error-wrap {
  align-items: center;
  background: var(--body-bg);
  background: radial-gradient(circle at 50% 0%, var(--white) 0%, var(--body-bg) 60%, var(--border-color) 100%);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 50px 15px;
  position: relative;
  overflow: hidden;
}

/* Background Grids & Ambient Glows */
.error-grid-overlay {
  background-image: linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.error-bg-glow {
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
  z-index: 0;
  animation: glowPulse 10s ease-in-out infinite alternate;
}

.error-glow-1 {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  height: 380px;
  left: -60px;
  top: -40px;
  width: 380px;
}

.error-glow-2 {
  background: linear-gradient(135deg, var(--danger), var(--warning));
  bottom: -80px;
  height: 420px;
  right: -80px;
  width: 420px;
  animation-delay: 3s;
}

@keyframes glowPulse {
  0% {
    transform: scale(1) translateY(0);
  }
  100% {
    transform: scale(1.12) translateY(-20px);
  }
}
/* Premium Card Container */
.error-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
  padding: 44px 48px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.error-card-header {
  margin-bottom: 24px;
}

.error-brand {
  display: inline-block;
  transition: transform 0.2s ease;
}

.error-brand:hover {
  transform: scale(1.02);
}

.error-brand img {
  height: 38px;
  width: auto;
}

/* Visual Display (Graphic + Code) */
.error-graphic-box {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
}

.error-status-indicator {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}

.status-icon-circle {
  align-items: center;
  border-radius: 50%;
  display: flex;
  font-size: 28px;
  height: 72px;
  justify-content: center;
  position: relative;
  width: 72px;
  z-index: 2;
}

.status-500 {
  background: linear-gradient(135deg, #fdeaea, #fdeaea);
  color: var(--danger);
  box-shadow: 0 10px 25px -5px rgba(225, 29, 72, 0.35);
}

.status-404 {
  background: linear-gradient(135deg, #e6f9fd, #e6f9fd);
  color: var(--primary);
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.35);
}

.status-400 {
  background: linear-gradient(135deg, #fff6e0, #fff6e0);
  color: var(--warning);
  box-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.35);
}

.status-pulse-ring {
  border-radius: 50%;
  inset: -10px;
  position: absolute;
  animation: ringPulse 2.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  z-index: 1;
}

.status-500.status-pulse-ring {
  background: rgba(225, 29, 72, 0.18);
}

.status-404.status-pulse-ring {
  background: rgba(2, 132, 199, 0.18);
}

.status-400.status-pulse-ring {
  background: rgba(217, 119, 6, 0.18);
}

@keyframes ringPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
.error-code-display {
  line-height: 1;
  margin-bottom: 6px;
}

.error-num {
  font-family: inherit;
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -3px;
  display: inline-block;
}

.grad-500 {
  background: linear-gradient(135deg, var(--danger) 0%, var(--warning) 45%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grad-404 {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 45%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grad-400 {
  background: linear-gradient(135deg, var(--warning) 0%, var(--danger) 45%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badge */
.error-pill-badge {
  align-items: center;
  border-radius: 50px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  padding: 6px 16px;
  text-transform: uppercase;
}

.badge-500 {
  background: #fdeaea;
  border: 1px solid #fdeaea;
  color: var(--danger);
}

.badge-404 {
  background: #e6f9fd;
  border: 1px solid #e6f9fd;
  color: var(--primary);
}

.badge-400 {
  background: #fff6e0;
  border: 1px solid #fff6e0;
  color: var(--warning);
}

.pulse-dot {
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  width: 8px;
  background: currentColor;
  animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}
/* Typography */
.error-title {
  color: var(--title-color);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.error-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 auto 24px;
  max-width: 560px;
}

/* Incident / Status Bar */
.error-incident-bar {
  align-items: center;
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 14px;
  justify-content: center;
  margin: 0 auto 28px;
  padding: 10px 18px;
}

.incident-item {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.incident-label {
  color: var(--text-muted);
  font-weight: 500;
}

.incident-val {
  font-weight: 600;
}

.incident-divider {
  background: var(--border-color);
  height: 14px;
  width: 1px;
}

.incident-code {
  background: var(--border-color);
  border-radius: 6px;
  color: var(--title-color);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
}

/* Action Buttons */
.error-btn-group {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.btn-error-main {
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
  color: var(--white) !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  min-width: 180px;
  padding: 12px 24px;
  transition: all 0.2s ease;
}

.btn-error-main:hover {
  box-shadow: 0 14px 28px -6px rgba(37, 99, 235, 0.55);
  transform: translateY(-2px);
}

.btn-error-alt {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--title-color) !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  min-width: 150px;
  padding: 12px 24px;
  transition: all 0.2s ease;
}

.btn-error-alt:hover {
  background: var(--body-bg);
  border-color: var(--text-muted);
  color: var(--title-color) !important;
  transform: translateY(-2px);
}

/* Quick Navigation Cards */
.error-quick-cards {
  background: var(--body-bg);
  border: 1px solid var(--body-bg);
  border-radius: 18px;
  margin-bottom: 24px;
  padding: 20px;
  text-align: left;
}

.quick-title {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-align: center;
  text-transform: uppercase;
}

.quick-card {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.quick-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 20px -8px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.quick-card-icon {
  align-items: center;
  border-radius: 10px;
  display: flex;
  flex-shrink: 0;
  font-size: 16px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.icon-blue {
  background: #e6f9fd;
  color: var(--info);
}

.icon-cyan {
  background: #e6f9fd;
  color: var(--primary);
}

.icon-purple {
  background: #f1ebfd;
  color: var(--secondary);
}

.quick-card-text {
  min-width: 0;
  overflow: hidden;
}

.quick-card-text h6 {
  color: var(--title-color);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 2px;
}

.quick-card-text span {
  color: var(--text-muted);
  display: block;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.error-quick-cards .row > [class*=col-] {
  min-width: 0;
}

@media (max-width: 575.98px) {
  .error-quick-cards .row > [class*=col-] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* Card Footer */
.error-card-footer {
  align-items: center;
  border-top: 1px solid var(--body-bg);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 16px;
  justify-content: center;
  padding-top: 18px;
}

.footer-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Search bar on 404 */
.error-search-box {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  gap: 10px;
  margin: 0 auto 24px;
  max-width: 460px;
  padding: 6px 6px 6px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.error-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.error-search-box i {
  color: var(--text-muted);
}

.error-search-box input {
  background: transparent;
  border: 0;
  color: var(--title-color);
  flex: 1;
  font-size: 14px;
  min-width: 0;
  outline: none;
  text-overflow: ellipsis;
}

.error-search-box button {
  flex-shrink: 0;
}

.error-search-box button {
  background: linear-gradient(135deg, var(--primary), var(--info));
  border: 0;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  transition: opacity 0.2s ease;
}

.error-search-box button:hover {
  opacity: 0.92;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .error-card {
    border-radius: 20px;
    padding: 32px 20px;
  }
  .error-num {
    font-size: 72px;
  }
  .status-icon-circle {
    font-size: 22px;
    height: 58px;
    width: 58px;
  }
  .error-title {
    font-size: 20px;
  }
  .error-desc {
    font-size: 14px;
  }
  .error-incident-bar {
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .incident-divider {
    display: none;
  }
  .btn-error-main, .btn-error-alt {
    width: 100%;
  }
}
/*-----------------------------------------
    Doccure — Profile Page Design System
-----------------------------------------*/
.profile-hero-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  overflow: hidden;
}
.profile-hero-card .profile-cover-banner {
  height: 140px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--secondary) 100%);
  position: relative;
}
.profile-hero-card .profile-cover-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
}
.profile-hero-card .profile-hero-body {
  padding: 0 28px 24px 28px;
  position: relative;
}
.profile-hero-card .profile-hero-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: -55px;
  margin-bottom: 20px;
}
.profile-hero-card .profile-hero-main .profile-user-left {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}
.profile-hero-card .profile-hero-main .profile-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}
.profile-hero-card .profile-hero-main .profile-avatar-wrapper .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-hero-card .profile-hero-main .profile-avatar-wrapper .avatar-edit-btn {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.profile-hero-card .profile-hero-main .profile-avatar-wrapper .avatar-edit-btn:hover {
  background: var(--primary);
  transform: scale(1.08);
}
.profile-hero-card .profile-hero-main .profile-avatar-wrapper .avatar-status-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  background: var(--success);
  border: 2px solid var(--white);
  border-radius: 50%;
}
.profile-hero-card .profile-hero-main .profile-info-block {
  margin-bottom: 4px;
}
.profile-hero-card .profile-hero-main .profile-info-block .user-fullname {
  font-size: 22px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.profile-hero-card .profile-hero-main .profile-info-block .user-fullname .role-badge {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  font-weight: 600;
}
.profile-hero-card .profile-hero-main .profile-info-block .user-fullname .role-badge i {
  color: var(--primary);
}
.profile-hero-card .profile-hero-main .profile-info-block .user-meta-pills {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.profile-hero-card .profile-hero-main .profile-info-block .user-meta-pills span {
  font-size: 13.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.profile-hero-card .profile-hero-main .profile-info-block .user-meta-pills span i {
  color: var(--primary);
}
.profile-hero-card .profile-hero-main .profile-actions-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.profile-hero-card .profile-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--body-bg);
}
@media (max-width: 1199.98px) {
  .profile-hero-card .profile-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .profile-hero-card .profile-hero-stats {
    grid-template-columns: 1fr;
  }
}
.profile-hero-card .profile-hero-stats .stat-card-mini {
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}
.profile-hero-card .profile-hero-stats .stat-card-mini:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 208, 241, 0.1);
}
.profile-hero-card .profile-hero-stats .stat-card-mini .stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.profile-hero-card .profile-hero-stats .stat-card-mini .stat-icon.icon-cyan {
  background: rgba(0, 208, 241, 0.12);
  color: var(--primary);
}
.profile-hero-card .profile-hero-stats .stat-card-mini .stat-icon.icon-purple {
  background: rgba(147, 104, 233, 0.12);
  color: var(--secondary);
}
.profile-hero-card .profile-hero-stats .stat-card-mini .stat-icon.icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
}
.profile-hero-card .profile-hero-stats .stat-card-mini .stat-icon.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
}
.profile-hero-card .profile-hero-stats .stat-card-mini .stat-details h6 {
  margin: 0 0 2px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--title-color);
}
.profile-hero-card .profile-hero-stats .stat-card-mini .stat-details span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Nav Tabs for Profile */
.profile-tabs-wrapper {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  padding: 8px 12px;
}
.profile-tabs-wrapper .profile-nav-tabs {
  border-bottom: 0;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}
.profile-tabs-wrapper .profile-nav-tabs::-webkit-scrollbar {
  height: 4px;
}
.profile-tabs-wrapper .profile-nav-tabs::-webkit-scrollbar-track {
  background: var(--body-bg);
  border-radius: 4px;
}
.profile-tabs-wrapper .profile-nav-tabs::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
.profile-tabs-wrapper .profile-nav-tabs .nav-item {
  flex-shrink: 0;
}
.profile-tabs-wrapper .profile-nav-tabs .nav-link {
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.profile-tabs-wrapper .profile-nav-tabs .nav-link i {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.profile-tabs-wrapper .profile-nav-tabs .nav-link:hover {
  background: var(--body-bg);
  color: var(--title-color);
}
.profile-tabs-wrapper .profile-nav-tabs .nav-link:hover i {
  color: var(--primary);
}
.profile-tabs-wrapper .profile-nav-tabs .nav-link.active {
  background: linear-gradient(135deg, rgba(0, 208, 241, 0.12) 0%, rgba(147, 104, 233, 0.12) 100%);
  color: var(--primary);
  font-weight: 600;
}
.profile-tabs-wrapper .profile-nav-tabs .nav-link.active i {
  color: var(--primary);
}

/* Content Cards */
.profile-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
  overflow: hidden;
}
.profile-card .card-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.profile-card .card-header .card-header-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--title-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-card .card-header .card-header-title i {
  color: var(--primary);
  font-size: 18px;
}
.profile-card .card-body {
  padding: 24px;
}

/* Key-Value Details Grid */
.detail-item-row {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--body-bg);
}
.detail-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.detail-item-row:first-child {
  padding-top: 0;
}
.detail-item-row .detail-label {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-item-row .detail-label i {
  color: var(--text-muted);
  font-size: 14px;
  width: 16px;
}
.detail-item-row .detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: var(--title-color);
  font-weight: 600;
  word-break: break-word;
  padding-left: 12px;
}
@media (max-width: 575.98px) {
  .detail-item-row {
    display: block;
    gap: 4px;
  }
  .detail-item-row .detail-label,
  .detail-item-row .detail-value {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    padding-left: 0;
  }
  .detail-item-row .detail-label {
    white-space: nowrap;
    margin-bottom: 4px;
  }
  .detail-item-row .detail-label i {
    display: inline-block;
  }
}

/* Activity Timeline */
.activity-timeline {
  position: relative;
  padding-left: 28px;
}
.activity-timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 9px;
  bottom: 6px;
  width: 2px;
  background: var(--border-color);
}
.activity-timeline .timeline-item {
  position: relative;
  margin-bottom: 20px;
}
.activity-timeline .timeline-item:last-child {
  margin-bottom: 0;
}
.activity-timeline .timeline-item .timeline-bullet {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.activity-timeline .timeline-item .timeline-bullet::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.activity-timeline .timeline-item .timeline-bullet.bullet-success {
  border-color: var(--success);
}
.activity-timeline .timeline-item .timeline-bullet.bullet-success::after {
  background: var(--success);
}
.activity-timeline .timeline-item .timeline-bullet.bullet-purple {
  border-color: var(--secondary);
}
.activity-timeline .timeline-item .timeline-bullet.bullet-purple::after {
  background: var(--secondary);
}
.activity-timeline .timeline-item .timeline-bullet.bullet-amber {
  border-color: var(--warning);
}
.activity-timeline .timeline-item .timeline-bullet.bullet-amber::after {
  background: var(--warning);
}
.activity-timeline .timeline-item .timeline-content h6 {
  margin: 0 0 3px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
}
.activity-timeline .timeline-item .timeline-content p {
  margin: 0 0 4px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.activity-timeline .timeline-item .timeline-content .timeline-time {
  font-size: 12px;
  color: var(--text-muted);
}

/* Device Session Item */
.session-device-item {
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.session-device-item:last-child {
  margin-bottom: 0;
}
.session-device-item .device-info-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.session-device-item .device-info-left .device-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}
.session-device-item .device-info-left .device-text h6 {
  margin: 0 0 2px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--title-color);
}
.session-device-item .device-info-left .device-text p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Permissions Grid */
.permission-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 767.98px) {
  .permission-chip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .permission-chip-grid {
    grid-template-columns: 1fr;
  }
}
.permission-chip-grid .permission-chip {
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--title-color);
}
.permission-chip-grid .permission-chip i {
  color: var(--success);
  font-size: 15px;
}

/* ==========================================================================
   Doccure — Premium Appointment Management Page
   ========================================================================== */
/* Appointment Stats Cards */
.appointment-stat-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 18px;
  box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.05);
  padding: 22px 24px;
  position: relative;
  transition: all 0.25s ease;
  overflow: hidden;
}
.appointment-stat-card:hover {
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.4);
}
.appointment-stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}
.appointment-stat-card.stat-primary::after {
  background: linear-gradient(90deg, var(--primary), var(--info));
}
.appointment-stat-card.stat-success::after {
  background: linear-gradient(90deg, var(--success), var(--success));
}
.appointment-stat-card.stat-warning::after {
  background: linear-gradient(90deg, var(--warning), var(--warning));
}
.appointment-stat-card.stat-info::after {
  background: linear-gradient(90deg, var(--secondary), var(--secondary));
}
.appointment-stat-card.stat-danger::after {
  background: linear-gradient(90deg, var(--danger), var(--danger));
}
.appointment-stat-card .stat-icon-wrapper {
  align-items: center;
  border-radius: 14px;
  display: flex;
  flex-shrink: 0;
  font-size: 20px;
  height: 48px;
  justify-content: center;
  width: 48px;
  transition: transform 0.2s ease;
}
.appointment-stat-card:hover .stat-icon-wrapper {
  transform: scale(1.08);
}
.appointment-stat-card .stat-icon-primary {
  background: #e6f9fd;
  color: var(--info);
}
.appointment-stat-card .stat-icon-success {
  background: #ecf6e2;
  color: var(--success);
}
.appointment-stat-card .stat-icon-warning {
  background: #fff6e0;
  color: var(--warning);
}
.appointment-stat-card .stat-icon-info {
  background: #f1ebfd;
  color: var(--secondary);
}
.appointment-stat-card .stat-icon-danger {
  background: #fdeaea;
  color: var(--danger);
}
.appointment-stat-card .stat-number {
  color: var(--title-color);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.appointment-stat-card .stat-title {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}
.appointment-stat-card .stat-badge {
  align-items: center;
  border-radius: 20px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  gap: 4px;
  padding: 2px 8px;
}
.appointment-stat-card .stat-badge-up {
  background: #ecf6e2;
  color: var(--success);
}
.appointment-stat-card .stat-badge-down {
  background: #fdeaea;
  color: var(--danger);
}
.appointment-stat-card .stat-badge-neutral {
  background: var(--body-bg);
  color: var(--body-color);
}

/* Appointment Filter & Actions Container */
.appointment-filter-panel {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 18px;
  box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.04);
  margin-bottom: 24px;
  padding: 20px 24px;
}

/* Status Filter Tabs (Pills) */
.appointment-status-nav {
  border-bottom: 1px solid var(--body-bg);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 16px;
}
.appointment-status-nav .status-tab-btn {
  align-items: center;
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--body-color);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  padding: 8px 16px;
  transition: all 0.2s ease;
}
.appointment-status-nav .status-tab-btn:hover {
  background: var(--body-bg);
  color: var(--title-color);
  border-color: var(--border-color);
}
.appointment-status-nav .status-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}
.appointment-status-nav .status-tab-btn.active .tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.appointment-status-nav .status-tab-btn .tab-count {
  background: var(--border-color);
  border-radius: 20px;
  color: var(--body-color);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  transition: all 0.2s ease;
}

/* Search Box with Clear Button */
.appointment-search-input-group {
  position: relative;
  width: 100%;
  max-width: 320px;
}
.appointment-search-input-group .search-icon {
  color: var(--text-muted);
  left: 14px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
}
.appointment-search-input-group .form-control {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 13px;
  padding: 9px 36px 9px 38px;
  transition: all 0.2s ease;
}
.appointment-search-input-group .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.appointment-search-input-group .search-clear-btn {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  font-size: 14px;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.appointment-search-input-group .search-clear-btn:hover {
  color: var(--danger);
}

/* Custom Select Dropdowns */
.appointment-select {
  background-color: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--title-color);
  font-size: 13px;
  font-weight: 500;
  height: 44px;
  padding: 0 32px 0 12px;
  transition: all 0.2s ease;
}
.appointment-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Action Buttons */
.btn-book-appointment {
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  color: var(--white) !important;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  padding: 9px 18px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-book-appointment:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-export-dropdown {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--title-color);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  padding: 9px 14px;
  transition: all 0.2s ease;
}
.btn-export-dropdown:hover {
  background: var(--body-bg);
  border-color: var(--text-muted);
  color: var(--title-color);
}

/* Bulk Actions Banner */
.appointment-bulk-bar {
  align-items: center;
  background: #e6f9fd;
  border: 1px solid #e6f9fd;
  border-radius: 12px;
  display: none;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 10px 18px;
}
.appointment-bulk-bar.show {
  display: flex;
  animation: slideDownFade 0.25s ease;
}
.appointment-bulk-bar .bulk-selected-text {
  color: var(--info);
  font-size: 13px;
  font-weight: 600;
}
.appointment-bulk-bar .bulk-actions-btns {
  display: flex;
  gap: 8px;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Table Card & Elements */
.appointment-table-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 18px;
  box-shadow: 0 4px 24px -5px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
.appointment-table-card .table {
  margin-bottom: 0;
}
.appointment-table-card .table thead {
  background: var(--body-bg);
  border-bottom: 1px solid var(--border-color);
}
.appointment-table-card .table thead th {
  color: var(--body-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  text-transform: uppercase;
  user-select: none;
}
.appointment-table-card .table thead th.sortable {
  cursor: pointer;
  transition: color 0.15s ease;
}
.appointment-table-card .table thead th.sortable:hover {
  color: var(--primary);
}
.appointment-table-card .table thead th.sortable .sort-icon {
  color: var(--text-muted);
  font-size: 11px;
  margin-left: 4px;
}
.appointment-table-card .table thead th.sortable.asc .sort-icon {
  color: var(--primary);
}
.appointment-table-card .table thead th.sortable.desc .sort-icon {
  color: var(--primary);
}
.appointment-table-card .table tbody tr {
  border-bottom: 1px solid var(--body-bg);
  transition: background-color 0.15s ease;
}
.appointment-table-card .table tbody tr:hover {
  background-color: var(--body-bg);
}
.appointment-table-card .table tbody tr.selected-row {
  background-color: var(--gray-300) !important;
}
.appointment-table-card .table tbody tr td {
  color: var(--title-color);
  font-size: 14px;
  padding: 14px 16px;
  vertical-align: middle;
}

/* Table Cells Formatting */
.apt-id-badge {
  background: var(--body-bg);
  border-radius: 6px;
  color: var(--title-color);
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 7px;
  display: inline-block;
}

.apt-time-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.apt-time-badge .apt-date {
  color: var(--title-color);
  font-weight: 600;
  font-size: 14px;
}
.apt-time-badge .apt-slot {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* User / Doctor Mini Card inside Table */
.table-user-cell {
  align-items: center;
  display: flex;
  gap: 12px;
}
.table-user-cell .user-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.table-user-cell .user-avatar-wrap .avatar-img {
  border-radius: 50%;
  height: 40px;
  object-fit: cover;
  width: 40px;
  border: 2px solid var(--body-bg);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.table-user-cell .user-avatar-wrap .avatar-status-dot {
  background: var(--success);
  border: 2px solid var(--white);
  border-radius: 50%;
  bottom: 0;
  height: 11px;
  position: absolute;
  right: 0;
  width: 11px;
}
.table-user-cell .user-info {
  line-height: 1.3;
}
.table-user-cell .user-info .user-name {
  color: var(--title-color);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 2px;
  text-decoration: none;
  display: block;
  transition: color 0.15s ease;
}
.table-user-cell .user-info .user-name:hover {
  color: var(--primary);
}
.table-user-cell .user-info .user-subtext {
  color: var(--text-muted);
  font-size: 13px;
}

/* Department Badges */
.badge-dept {
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  display: inline-block;
}
.badge-dept-dental {
  background: #e6f9fd;
  color: var(--info);
}
.badge-dept-cardio {
  background: #fdeaea;
  color: var(--danger);
}
.badge-dept-uro {
  background: #e6f9fd;
  color: var(--primary);
}
.badge-dept-ortho {
  background: #fff6e0;
  color: var(--warning);
}
.badge-dept-neuro {
  background: #f1ebfd;
  color: var(--secondary);
}
.badge-dept-derma {
  background: #fdeaea;
  color: var(--danger);
}
.badge-dept-general {
  background: var(--body-bg);
  color: var(--body-color);
}

/* Consultation Mode Pills */
.consult-pill {
  align-items: center;
  border-radius: 20px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  gap: 5px;
  padding: 4px 10px;
}
.consult-pill-video {
  background: #e6f9fd;
  border: 1px solid #e6f9fd;
  color: var(--primary);
}
.consult-pill-clinic {
  background: #e6f9fd;
  border: 1px solid #e6f9fd;
  color: var(--info);
}
.consult-pill-audio {
  background: #f1ebfd;
  border: 1px solid #f1ebfd;
  color: var(--secondary);
}

/* Status Badges */
.status-pill {
  align-items: center;
  border-radius: 20px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  padding: 4px 10px;
}
.status-pill .status-dot-sm {
  border-radius: 50%;
  display: inline-block;
  height: 6px;
  width: 6px;
  background: currentColor;
}
.status-pill-confirmed {
  background: #ecf6e2;
  color: var(--success);
  border: 1px solid #ecf6e2;
}
.status-pill-pending {
  background: #fff6e0;
  color: var(--warning);
  border: 1px solid #fff6e0;
}
.status-pill-completed {
  background: #e6f9fd;
  color: var(--info);
  border: 1px solid #e6f9fd;
}
.status-pill-cancelled {
  background: #fdeaea;
  color: var(--danger);
  border: 1px solid #fdeaea;
}

/* Action Dropdown & Buttons */
.table-actions-group {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
.table-actions-group .btn-action-icon {
  align-items: center;
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-muted);
  display: inline-flex;
  font-size: 13px;
  height: 32px;
  justify-content: center;
  width: 32px;
  transition: all 0.2s ease;
}
.table-actions-group .btn-action-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}
.table-actions-group .btn-action-icon.btn-delete-icon:hover {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--white);
}

/* Modern Vanilla Pagination & Footer */
.custom-table-footer {
  align-items: center;
  background: var(--white);
  border-top: 1px solid var(--body-bg);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 24px;
}
.custom-table-footer .table-info-text {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.custom-table-footer .table-pagination-nav {
  align-items: center;
  display: flex;
  gap: 6px;
}
.custom-table-footer .table-pagination-nav .page-btn {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--title-color);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0 10px;
  transition: all 0.2s ease;
}
.custom-table-footer .table-pagination-nav .page-btn:hover:not(.disabled) {
  background: var(--body-bg);
  border-color: var(--border-color);
  color: var(--title-color);
}
.custom-table-footer .table-pagination-nav .page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}
.custom-table-footer .table-pagination-nav .page-btn.disabled {
  color: var(--border-color);
  cursor: not-allowed;
  background: var(--body-bg);
}

/* Empty State Box */
.table-empty-state {
  padding: 48px 24px;
  text-align: center;
}
.table-empty-state .empty-icon {
  align-items: center;
  background: var(--body-bg);
  border-radius: 50%;
  color: var(--text-muted);
  display: inline-flex;
  font-size: 32px;
  height: 72px;
  justify-content: center;
  margin-bottom: 16px;
  width: 72px;
}
.table-empty-state h5 {
  color: var(--title-color);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.table-empty-state p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 auto 16px;
  max-width: 340px;
}

/* Interactive Toast Notification */
.doccure-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1090;
}

.doccure-toast {
  align-items: center;
  background: var(--title-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: var(--white);
  display: flex;
  gap: 12px;
  min-width: 280px;
  padding: 12px 18px;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.doccure-toast.toast-success i {
  color: var(--success);
}
.doccure-toast.toast-danger i {
  color: var(--danger);
}
.doccure-toast.toast-info i {
  color: var(--primary);
}

@keyframes toastSlideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Modal Custom Form Groups & Input Fields (Matching Login Style) */
.form-group-custom {
  margin-bottom: 1.15rem;
}
.form-group-custom .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 6px;
  display: block;
}
.form-group-custom .input-group-custom {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.form-group-custom .input-group-custom .input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s ease;
}
.form-group-custom .input-group-custom .form-control,
.form-group-custom .input-group-custom .form-select {
  background-color: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  height: 44px;
  padding: 0 14px 0 40px;
  font-size: 13.5px;
  color: var(--title-color);
  transition: all 0.2s ease-in-out;
  width: 100%;
}
.form-group-custom .input-group-custom .form-control:focus,
.form-group-custom .input-group-custom .form-select:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
  outline: none;
}
.form-group-custom .input-group-custom.textarea-group {
  align-items: flex-start;
}
.form-group-custom .input-group-custom.textarea-group .input-icon {
  top: 14px;
  transform: none;
}
.form-group-custom .input-group-custom.textarea-group .form-control {
  height: auto;
  min-height: 85px;
  padding: 10px 14px 10px 40px;
}

/* Consultation Mode Selection Radio Cards */
.consult-mode-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 575.98px) {
  .consult-mode-selector {
    grid-template-columns: 1fr;
  }
}
.consult-mode-selector .mode-radio-card {
  position: relative;
  cursor: pointer;
}
.consult-mode-selector .mode-radio-card input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.consult-mode-selector .mode-radio-card .mode-card-content {
  align-items: center;
  background: var(--body-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 10px;
  text-align: center;
  transition: all 0.2s ease;
}
.consult-mode-selector .mode-radio-card .mode-card-content i {
  font-size: 18px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.consult-mode-selector .mode-radio-card .mode-card-content span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--title-color);
}
.consult-mode-selector .mode-radio-card:hover .mode-card-content {
  background: var(--white);
  border-color: var(--border-color);
}
.consult-mode-selector .mode-radio-card input[type=radio]:checked + .mode-card-content {
  background: #e6f9fd;
  border-color: var(--info);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}
.consult-mode-selector .mode-radio-card input[type=radio]:checked + .mode-card-content i {
  color: var(--info);
}
.consult-mode-selector .mode-radio-card input[type=radio]:checked + .mode-card-content span {
  color: var(--info);
}

/* Details Modal Enhancements */
.modal-profile-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px;
  height: 100%;
  transition: border-color 0.2s ease;
}
.modal-profile-card:hover {
  border-color: var(--border-color);
}
.modal-profile-card .profile-header-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-profile-card .profile-avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--body-bg);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

@media (max-width: 991.98px) {
  .modal-timing-row .col-sm-4 {
    width: 100%;
  }
}

.modal-vitals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 575.98px) {
  .modal-vitals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.modal-vitals-grid .vital-item {
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.modal-vitals-grid .vital-item .vital-label {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}
.modal-vitals-grid .vital-item .vital-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--title-color);
}

/* Payment Status Pill Badge */
.badge-payment-pill {
  align-items: center;
  border-radius: 20px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  padding: 4px 12px;
  transition: all 0.2s ease;
}
.badge-payment-pill i {
  font-size: 11px;
}
.badge-payment-pill.badge-payment-paid {
  background: #ecf6e2;
  border: 1px solid #ecf6e2;
  color: var(--success);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
}
.badge-payment-pill.badge-payment-pending {
  background: #fff6e0;
  border: 1px solid #fff6e0;
  color: var(--warning);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.12);
}
.badge-payment-pill.badge-payment-refunded {
  background: #fdeaea;
  border: 1px solid #fdeaea;
  color: var(--danger);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.12);
}

/* Modal Layout & Balanced Spacing */
.modal-appointment-content {
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
  overflow: hidden;
}
.modal-appointment-content .modal-header {
  background: var(--body-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 28px;
}
.modal-appointment-content .modal-body {
  padding: 28px 28px !important;
}
.modal-appointment-content .modal-body .modal-section {
  margin-bottom: 24px;
}
.modal-appointment-content .modal-body .modal-section:last-child {
  margin-bottom: 0;
}
.modal-appointment-content .modal-body .modal-section-divider {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 24px 0;
  opacity: 1;
}
.modal-appointment-content .modal-footer {
  background: var(--body-bg);
  border-top: 1px solid var(--border-color);
  padding: 18px 28px;
  gap: 10px;
}
.modal-appointment-content .modal-footer .btn {
  height: 40px !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 0 20px;
}

/* Responsive Styling */
@media (max-width: 991.98px) {
  .appointment-filter-panel {
    padding: 16px;
  }
  .appointment-search-input-group {
    max-width: 100%;
  }
  .modal-appointment-content .modal-header,
  .modal-appointment-content .modal-body,
  .modal-appointment-content .modal-footer {
    padding: 18px 20px !important;
  }
}
@media (max-width: 575.98px) {
  .modal-appointment-content .modal-footer {
    flex-direction: column;
    gap: 10px;
    align-items: stretch !important;
  }
  .modal-appointment-content .modal-footer .btn {
    width: 100%;
  }
  .modal-appointment-content .modal-footer .modal-footer-actions {
    width: 100%;
    display: flex;
    gap: 8px;
  }
  .modal-appointment-content .modal-footer .modal-footer-actions .btn {
    flex: 1;
  }
}
@media (max-width: 575.98px) {
  .custom-table-footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .custom-table-footer .table-pagination-nav {
    justify-content: center;
  }
}
/*-----------------------------------------
    Settings Page Styles
-----------------------------------------*/
.settings-tabs-wrapper {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  padding: 8px 12px;
}
.settings-tabs-wrapper .settings-nav-tabs {
  border-bottom: 0;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}
.settings-tabs-wrapper .settings-nav-tabs::-webkit-scrollbar {
  height: 4px;
}
.settings-tabs-wrapper .settings-nav-tabs::-webkit-scrollbar-track {
  background: var(--body-bg);
  border-radius: 4px;
}
.settings-tabs-wrapper .settings-nav-tabs::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
.settings-tabs-wrapper .settings-nav-tabs .nav-item {
  flex-shrink: 0;
}
.settings-tabs-wrapper .settings-nav-tabs .nav-link {
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.settings-tabs-wrapper .settings-nav-tabs .nav-link i {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.settings-tabs-wrapper .settings-nav-tabs .nav-link:hover {
  background: var(--body-bg);
  color: var(--title-color);
}
.settings-tabs-wrapper .settings-nav-tabs .nav-link:hover i {
  color: var(--primary);
}
.settings-tabs-wrapper .settings-nav-tabs .nav-link.active {
  background: linear-gradient(135deg, rgba(0, 208, 241, 0.12) 0%, rgba(147, 104, 233, 0.12) 100%);
  color: var(--primary);
  font-weight: 600;
}
.settings-tabs-wrapper .settings-nav-tabs .nav-link.active i {
  color: var(--primary);
}

.settings-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
  overflow: hidden;
}
.settings-card .card-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.settings-card .card-header .card-header-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--title-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.settings-card .card-header .card-header-title i {
  color: var(--primary);
  font-size: 18px;
}
.settings-card .card-header .card-header-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 2px 0 0 0;
}
.settings-card .card-body {
  padding: 24px;
}
.settings-card .card-body > * {
  margin-bottom: 24px;
}
.settings-card .card-body > *:last-child {
  margin-bottom: 0;
}
.settings-card .card-footer {
  background: var(--body-bg);
  border-top: 1px solid var(--border-color);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.settings-card .card-footer:first-child {
  border-top: 0;
}
@media (max-width: 575.98px) {
  .settings-card .card-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .settings-card .card-footer .btn {
    width: 100%;
  }
}

/* Upload Zone */
.settings-upload-box {
  border: 2px dashed var(--border-color);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  background: var(--body-bg);
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}
.settings-upload-box:hover {
  border-color: var(--primary);
  background: #ecf6e2;
}
.settings-upload-box .upload-preview {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 6px;
}
.settings-upload-box .upload-preview-favicon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 6px;
  background: var(--white);
  padding: 4px;
  border: 1px solid var(--border-color);
}
.settings-upload-box .upload-icon {
  font-size: 28px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.settings-upload-box .upload-text {
  font-size: 13px;
  color: var(--body-color);
  font-weight: 500;
  margin-bottom: 4px;
}
.settings-upload-box .upload-text span {
  color: var(--primary);
  font-weight: 600;
}
.settings-upload-box .upload-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}
.settings-upload-box input[type=file] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Gateway & Integration Cards */
.gateway-card {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  background: var(--white);
  transition: all 0.25s ease;
  margin-bottom: 16px;
}
.gateway-card:hover {
  border-color: var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.gateway-card .gateway-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.gateway-card .gateway-body > * {
  margin-bottom: 20px;
}
.gateway-card .gateway-body > *:last-child {
  margin-bottom: 0;
}
.gateway-card .gateway-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gateway-card .gateway-brand .gateway-icon-badge {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}
.gateway-card .gateway-brand .gateway-icon-badge.stripe-badge {
  background: #635bff;
  color: var(--white);
}
.gateway-card .gateway-brand .gateway-icon-badge.paypal-badge {
  background: #003087;
  color: var(--white);
}
.gateway-card .gateway-brand .gateway-icon-badge.razorpay-badge {
  background: var(--title-color);
  color: var(--info);
}
.gateway-card .gateway-brand .gateway-icon-badge.twilio-badge {
  background: var(--danger);
  color: var(--white);
}
.gateway-card .gateway-brand .gateway-icon-badge.agora-badge {
  background: var(--primary);
  color: var(--white);
}
.gateway-card .gateway-brand .gateway-icon-badge.offline-badge {
  background: var(--success);
  color: var(--white);
}
.gateway-card .gateway-brand .gateway-info h5 {
  margin: 0 0 2px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--title-color);
}
.gateway-card .gateway-brand .gateway-info p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* Custom Switch Toggle */
.custom-switch .form-check-input {
  width: 42px;
  height: 22px;
  cursor: pointer;
  background-color: var(--border-color);
  border-color: var(--border-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
  transition: background-color 0.2s ease, border-color 0.2s ease, background-position 0.2s ease;
}
.custom-switch .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.custom-switch .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 208, 241, 0.25);
}

/* Notification Matrix Table */
.notification-matrix-table {
  margin: 0;
}
.notification-matrix-table thead th {
  background: var(--body-bg);
  color: var(--body-color);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}
.notification-matrix-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  font-size: 14px;
  color: var(--title-color);
  border-bottom: 1px solid var(--body-bg);
}
.notification-matrix-table tbody td .notify-event-title {
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 2px;
}
.notification-matrix-table tbody td .notify-event-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Password Input Group With Eye Toggle */
.input-password-wrapper {
  position: relative;
}
.input-password-wrapper .password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 4px 6px;
  cursor: pointer;
  z-index: 5;
  transition: color 0.2s ease;
}
.input-password-wrapper .password-toggle-btn:hover {
  color: var(--title-color);
}

/* Test Action Box */
.test-action-box {
  background: var(--body-bg);
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* ==========================================================================
   Doccure — Specialities Management Page (extends appointments.scss system)
   ========================================================================== */
/* Round Icon Badge shown in table rows in place of an avatar image */
.spec-icon-badge {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 40px;
  width: 40px;
  justify-content: center;
  font-size: 16px;
  border: 2px solid var(--body-bg);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.spec-icon-badge.spec-icon-dental {
  background: #e6f9fd;
  color: var(--info);
}
.spec-icon-badge.spec-icon-cardio {
  background: #fdeaea;
  color: var(--danger);
}
.spec-icon-badge.spec-icon-uro {
  background: #e6f9fd;
  color: var(--primary);
}
.spec-icon-badge.spec-icon-ortho {
  background: #fff6e0;
  color: var(--warning);
}
.spec-icon-badge.spec-icon-neuro {
  background: #f1ebfd;
  color: var(--secondary);
}
.spec-icon-badge.spec-icon-derma {
  background: #fdeaea;
  color: var(--danger);
}
.spec-icon-badge.spec-icon-gyno {
  background: #f1ebfd;
  color: var(--secondary);
}
.spec-icon-badge.spec-icon-pedia {
  background: #ecf6e2;
  color: var(--success);
}
.spec-icon-badge.spec-icon-ent {
  background: #fff6e0;
  color: var(--warning);
}
.spec-icon-badge.spec-icon-eye {
  background: #f1ebfd;
  color: var(--secondary);
}
.spec-icon-badge.spec-icon-psych {
  background: #f1ebfd;
  color: var(--secondary);
}
.spec-icon-badge.spec-icon-general {
  background: var(--body-bg);
  color: var(--body-color);
}

/* Icon selection grid inside the Add / Edit Speciality modal */
.spec-icon-preview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 767.98px) {
  .spec-icon-preview-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 575.98px) {
  .spec-icon-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.spec-icon-preview-grid .spec-icon-radio-card {
  position: relative;
  cursor: pointer;
}
.spec-icon-preview-grid .spec-icon-radio-card input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.spec-icon-preview-grid .spec-icon-radio-card .spec-icon-card-content {
  align-items: center;
  background: var(--body-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 6px;
  text-align: center;
  transition: all 0.2s ease;
}
.spec-icon-preview-grid .spec-icon-radio-card .spec-icon-card-content i {
  font-size: 17px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.spec-icon-preview-grid .spec-icon-radio-card .spec-icon-card-content span {
  font-size: 11px;
  font-weight: 600;
  color: var(--title-color);
}
.spec-icon-preview-grid .spec-icon-radio-card:hover .spec-icon-card-content {
  background: var(--white);
  border-color: var(--border-color);
}
.spec-icon-preview-grid .spec-icon-radio-card input[type=radio]:checked + .spec-icon-card-content {
  background: #e6f9fd;
  border-color: var(--info);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}
.spec-icon-preview-grid .spec-icon-radio-card input[type=radio]:checked + .spec-icon-card-content i {
  color: var(--info);
}
.spec-icon-preview-grid .spec-icon-radio-card input[type=radio]:checked + .spec-icon-card-content span {
  color: var(--info);
}

.spec-desc {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  max-width: 280px;
  overflow: hidden;
  white-space: normal;
}

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