@font-face {
  font-family: Poppins-SemiBold;
  src: url(/assets/fonts/Poppins-SemiBold.otf);
}

@font-face {
  font-family: Poppins-Regular;
  src: url(/assets/fonts/Poppins-Regular.otf);
}

.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #eeeeee;
  right: 25px;
  margin-left: -1.5px;
}

.timeline>li {
  margin-bottom: 20px;
  position: relative;
}

.timeline>li:before,
.timeline>li:after {
  content: " ";
  display: table;
}

.timeline>li:after {
  clear: both;
}

.timeline>li:before,
.timeline>li:after {
  content: " ";
  display: table;
}

.timeline>li:after {
  clear: both;
}

.timeline>li>.timeline-panel {
  width: calc(100% - 75px);
  float: left;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  padding: 20px;
  position: relative;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline>li>.timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}

.timeline>li>.timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}

.timeline>li>.timeline-badge {
  color: #fff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 16px;
  right: 0px;
  margin-left: -25px;
  background-color: #999999;
  z-index: 100;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
}

.timeline>li.timeline-inverted>.timeline-panel {
  float: right;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}

.timeline-badge.primary {
  background-color: #2e6da4 !important;
}

.timeline-badge.success {
  background-color: #3f903f !important;
}

.timeline-badge.warning {
  background-color: #f0ad4e !important;
}

.timeline-badge.danger {
  background-color: #d9534f !important;
}

.timeline-badge.info {
  background-color: #5bc0de !important;
}

.timeline-title {
  margin-top: 0;
  color: inherit;
}

.timeline-body>p,
.timeline-body>ul {
  margin-bottom: 0;
}

.timeline-body>p+p {
  margin-top: 5px;
}

/*
 * Skin: Blue
 * ----------
 */
.main-header .sidebar-toggle {
  font-family: 'Font Awesome 5 Duotone';
}

.skin-blue-light .main-header .navbar {
  background-color: #05396b;
}

.skin-blue-light .main-header .navbar .nav>li>a {
  color: #ffffff;
}

.skin-blue-light .main-header .navbar .nav>li>a:hover,
.skin-blue-light .main-header .navbar .nav>li>a:active,
.skin-blue-light .main-header .navbar .nav>li>a:focus,
.skin-blue-light .main-header .navbar .nav .open>a,
.skin-blue-light .main-header .navbar .nav .open>a:hover,
.skin-blue-light .main-header .navbar .nav .open>a:focus,
.skin-blue-light .main-header .navbar .nav>.active>a {
  background: rgba(0, 0, 0, 0.1);
  color: #f6f6f6;
}

.skin-blue-light .main-header .navbar .sidebar-toggle {
  color: #ffffff;
}

.skin-blue-light .main-header .navbar .sidebar-toggle:hover {
  color: #f6f6f6;
  background: rgba(0, 0, 0, 0.1);
}

.skin-blue-light .main-header .navbar .sidebar-toggle {
  color: #fff;
}

@media (max-width: 767px) {
  .skin-blue-light .main-header .navbar .dropdown-menu li.divider {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .skin-blue-light .main-header .navbar .dropdown-menu li a {
    color: #fff;
  }

  .skin-blue-light .main-header .navbar .dropdown-menu li a:hover {
    background: #367fa9;
  }
}

.skin-blue-light .main-header .logo {
  background-color: #05396b;
  color: #ffffff;
  border-bottom: 0 solid transparent;
  height: 54px;
}

.skin-blue-light .main-header li.user-header {
  background-color: #05396b;
}

.skin-blue-light .content-header {
  background: #f9fafc;
  border-bottom: 1px solid #d2d6de;
  padding: 15px 15px 15px 15px;
}

.skin-blue-light .wrapper {
  background-color: #f9fafc;
}

.skin-blue-light .main-sidebar,
.skin-blue-light .left-side {
  background-color: #05396b;
}
.main-sidebar{
  z-index: 0;
  /* Pin sidebar to the viewport so its background always spans the full visible
     height — fixes the dark-blue background "running out" when the page scrolls.
     Layout (content-wrapper margin-left: 230px) is already compatible with fixed.
     The header has z-index 1030 so it correctly renders above the sidebar's top
     padding-top:50px area, and the existing collapse/mobile transforms still work. */
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Subtle scrollbar inside the now-fixed sidebar (only shows if menu overflows) */
.main-sidebar::-webkit-scrollbar { width: 6px; }
.main-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 3px;
}
.main-sidebar::-webkit-scrollbar-track { background: transparent; }

.skin-blue-light .main-sidebar {
  border-right: 1px solid #042a52;
}

.skin-blue-light .user-panel>.info,
.skin-blue-light .user-panel>.info>a {
  color: #ffffff;
}

.skin-blue-light .sidebar-menu>li {
  -webkit-transition: border-left-color 0.3s ease;
  -o-transition: border-left-color 0.3s ease;
  transition: border-left-color 0.3s ease;
}

.skin-blue-light .sidebar-menu>li.header {
  color: rgba(255,255,255,0.55);
  background: transparent;
}

/* Navigation Header Button Styling */
.sidebar-menu>li.nav-header-btn {
  padding: 15px 12px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 8px;
}

.sidebar-menu>li.nav-header-btn a {
  padding: 0 !important;
  background: transparent !important;
}

.btn-new-board {
  background-color: #5cdb94 !important;
  color: white !important;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  width: 100%;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-new-board i {
  margin-right: 8px;
  font-size: 14px;
}

.btn-new-board:hover {
  background-color: #4ec57d !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(92, 219, 148, 0.3);
}

/* Add menu dropdown (sidebar "+ Add" button) */
.add-menu-li { position: relative; }
.add-menu-li .btn-new-board {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.add-menu-li .add-menu-caret {
  font-size: 11px !important;
  margin-left: 4px;
  margin-right: 0 !important;
  opacity: 0.85;
}
.add-menu-li.open .add-menu-caret { transform: rotate(180deg); }

.add-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 12px;
  right: 12px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.08);
  padding: 6px;
  margin: 0;
  list-style: none;
  z-index: 1100;
  border: 1px solid #e5eaf1;
  animation: addMenuIn 0.12s ease-out;
}
@keyframes addMenuIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.add-menu li { margin: 0; padding: 0; list-style: none; }
.add-menu li > a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 8px;
  background: transparent !important;
  color: #0f172a !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.12s;
}
.add-menu li > a:hover {
  background: #f1f5f9 !important;
  color: #05396b !important;
}
.add-menu li > a > i {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(92, 219, 148, 0.16);
  color: #05396b;
  font-size: 13px;
  margin-right: 0 !important;
}

/* Hide caret + close menu when sidebar is collapsed (icon-only) */
.sidebar-mini.sidebar-collapse .add-menu-caret { display: none; }
.sidebar-mini.sidebar-collapse .add-menu { display: none !important; }

/* Invisible backdrop for click-outside-to-close */
.add-menu-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1099;
  background: transparent;
}

/* Board details: + Add case header */
.board-cases-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px 14px;
  border-bottom: 1px solid #eef1f6;
  margin-bottom: 12px;
}
.board-cases-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.2px;
}
.btn-add-case {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: #05396b !important;
  color: #ffffff !important;
  border: none !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.15s;
}
.btn-add-case:hover {
  background: #042a52 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
.btn-add-case i { font-size: 11px; }

/* Navigation Links — dark sidebar */
.skin-blue-light .sidebar-menu>li>a {
  border-left: 3px solid transparent;
  font-weight: 500;
  padding: 14px 12px 14px 20px;
  transition: all 0.2s ease;
  color: rgba(255,255,255,0.85);
}

.skin-blue-light .sidebar-menu>li>a > .fa,
.skin-blue-light .sidebar-menu>li>a > i {
  color: rgba(255,255,255,0.7);
}

.skin-blue-light .sidebar-menu>li:hover>a {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}
.skin-blue-light .sidebar-menu>li:hover>a > .fa,
.skin-blue-light .sidebar-menu>li:hover>a > i {
  color: #5cdb94;
}

.skin-blue-light .sidebar-menu>li.active>a {
  background: rgba(92, 219, 148, 0.18);
  border-left-color: #5cdb94;
  color: #ffffff;
  font-weight: 600;
}
.skin-blue-light .sidebar-menu>li.active>a > .fa,
.skin-blue-light .sidebar-menu>li.active>a > i {
  color: #5cdb94;
}

.skin-blue-light .sidebar-menu>li.active {
  border-left-color: #5cdb94;
}

.skin-blue-light .sidebar-menu>li>.treeview-menu {
  background: rgba(0,0,0,0.18);
}

.skin-blue-light .sidebar a {
  color: rgba(255,255,255,0.85);
}

.skin-blue-light .sidebar a:hover {
  text-decoration: none;
}

.skin-blue-light .sidebar-menu .treeview-menu>li>a {
  color: rgba(255,255,255,0.7);
}

.skin-blue-light .sidebar-menu .treeview-menu>li.active>a,
.skin-blue-light .sidebar-menu .treeview-menu>li>a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.05);
}

.skin-blue-light .sidebar-menu .treeview-menu>li.active>a {
  font-weight: 600;
}

@media (min-width: 768px) {
  .skin-blue-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu {
    border-left: 1px solid #d2d6de;
  }
}

.skin-blue-light .main-footer {
  border-top-color: #d2d6de;
}

.skin-blue.layout-top-nav .main-header>.logo {
  background-color: #05396b;
  color: #ffffff;
  border-bottom: 0 solid transparent;
}

/** Custom here ***/
.separator {
  border-top: 1px solid #eee;
}

.clinera-logo.invert {
  color: #fff;
  font-weight: 700;
  font-size: 1.5em;
  font-family: Poppins-SemiBold;
}

.logo-mini {
  font-size: 1.5em !important;
}

.btn-clinera-green,
.btn-clinera-green:hover,
.btn-clinera-green:active,
.btn-clinera-green:visited {
  background: #5cdb94;
  border: none;
  font-family: Poppins-SemiBold;
  color: white;
}

.btn-info-clinera,
.btn-info-clinera:hover {
  font-family: Poppins-SemiBold;
  background-color: #00c0ef;
  border: none;
  color: white;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited {
  background: #5cdb94;
  border: none;
  font-family: Poppins-SemiBold;
  color: white;
}

.btn-primary-1,
.btn-primary-1:focus,
.btn-primary-1:active,
.btn-primary-1:visited {
  background: #05396b;
  border: none;
  font-family: Poppins-SemiBold;
  color: white;
}

.btn-primary-1:hover {
  background: #04305a;
  color: white;
}

.btn-outlined {
  background-color: #fff;
  border: 1px solid gray;
}

.btn-outlined.selected {
  background-color: #fff;
  border: 1px solid #2ecc71;
}

.sidebar-menu>li>a>.fa,
.sidebar-menu>li>a>.far,
.sidebar-menu>li>a>.glyphicon,
.sidebar-menu>li>a>.ion,
.sidebar-menu>li>a>.fad,
.sidebar-menu>li>a>.fal,
.sidebar-menu>li>a>.fas {
  color: #6c757d;
  font-size: 20px;
  width: 35px;
  text-align: center;
  margin-right: 12px;
  transition: color 0.2s ease;
}

.sidebar-menu>li:hover>a>.fa,
.sidebar-menu>li:hover>a>.far,
.sidebar-menu>li:hover>a>.glyphicon,
.sidebar-menu>li:hover>a>.ion,
.sidebar-menu>li:hover>a>.fad,
.sidebar-menu>li:hover>a>.fal,
.sidebar-menu>li:hover>a>.fas {
  color: #5cdb94;
}

.sidebar-menu>li.active>a>.fa,
.sidebar-menu>li.active>a>.far,
.sidebar-menu>li.active>a>.glyphicon,
.sidebar-menu>li.active>a>.ion,
.sidebar-menu>li.active>a>.fad,
.sidebar-menu>li.active>a>.fal,
.sidebar-menu>li.active>a>.fas {
  color: #5cdb94;
}

.sidebar-menu>li>a>span {
  font-size: 15px;
  vertical-align: middle;
}

/* Clinera AI sidebar icon — green tile on the dark sidebar */
.sidebar-menu .clinera-ai-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 5px;
  background: #5cdb94; color: #05396b;
  font-size: 10px; margin-right: 12px;
  vertical-align: middle;
  transition: all 0.2s ease;
}
.sidebar-menu>li:hover .clinera-ai-icon,
.sidebar-menu>li.active .clinera-ai-icon {
  background: #ffffff; color: #05396b;
  box-shadow: 0 0 0 2px rgba(92, 219, 148, 0.4);
}

/* Clinera AI top-bar button alignment */
.nav.navbar-nav>li>a.clinera-ai-topbar-btn {
  margin-top: 8px;
  padding: 7px 14px;
}

/* Collapsed Sidebar Styles */
@media (min-width: 768px) {
  .sidebar-mini.sidebar-collapse .sidebar-menu>li>a>i {
    margin-right: 0;
    font-size: 22px;
    width: 100%;
    text-align: center;
  }
  
  .sidebar-mini.sidebar-collapse .sidebar-menu>li>a {
    padding: 16px 0;
    text-align: center;
    border-left: none !important;
  }
  
  .sidebar-mini.sidebar-collapse .sidebar-menu>li.nav-header-btn {
    padding: 12px 8px 15px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 8px;
  }
  
  .sidebar-mini.sidebar-collapse .btn-new-board {
    padding: 10px 8px;
    font-size: 0;
    border-radius: 6px;
  }
  
  .sidebar-mini.sidebar-collapse .btn-new-board i {
    font-size: 18px;
    margin: 0;
  }
  
  .sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>a,
  .sidebar-mini.sidebar-collapse .sidebar-menu>li.active>a {
    border-left: none !important;
  }
}

.small-box.bg-clinera,
.bg-clinera-green {
  background-color: #5cdb94 !important;
}

.text-clinera-green {
  color: #5cdb94 !important;
}

.text-dark-gray {
  color: gray;
}

.row .table {
  padding: 28px 0;
}

.text-center h1,
.text-center h1 a {
  color: #05396b;
  font-size: 30px;
  font-weight: 300;
  text-decoration: none;
}

.breadcrumb {
  border-bottom: 1px solid lightgray;
  background-color: #fff;
  margin-bottom: 0;
}

.steps-indicator li.done a:before {
  background-color: #2ecc71 !important;
}

.timer {
  background-color: #f4f4f4;
  color: #444;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  display: inline-block;
  margin-bottom: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

.table-empty-row {
  text-align: center;
  font-weight: bold;
  background-color: #f4f4f4;
}

.table-row-warning {
  background-color: #fcf8e3 !important;
}

.form-control.single-input {
  text-align: center;
  margin-left: 10px;
  margin-bottom: 5px;
  margin-top: 5px;
  height: 30px;
  width: 35px;
}

.right-button {
  float: right;
  margin: 0.25% 8% 0% 5%;
  transform: translateY(-5%);
}

.center {
  text-align: center;
}

.table-button {
  margin: auto;
}

.box-head {
  color: #444;
  display: block;
  padding-left: 10px !important;
  position: relative;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}

/** Throbber */

.throbber-content.success {
  background-color: #51a351;
}

.throbber-content.error {
  background-color: #bd362f;
}

.throbber-content.info {
  background-color: #2f96b4;
}

.throbber-content.warning {
  background-color: #f89406;
}

.cg-busy-default-wrapper {
  text-align: center;
}

.throbber-content {
  display: inline-block;
  position: relative;
  z-index: 1002;
  padding-bottom: 6px;
  color: #fff;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  border-top-width: 0;
  border-radius: 0 0 7px 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.throbber-content-text {
  margin: 13px 12px 6px 15px;
  font-size: 16px;
  color: #fff;
  text-align: left;
  max-width: 400px;
}

.light-border {
  border-width: 1px !important;
}

.no-pointer {
  cursor: default !important;
}

li a.just-line {
  display: none;
}

a.just-line+ul {
  padding-top: 74px;
}

a.just-line+ul:before {
  height: 74px;
}

.clear-button {
  font-size: 20px;
  color: #8b0000;
}

@media only screen and (max-width: 768px) {
  .vertical-center {
    margin-top: 0px !important;
  }
}

.img-wrap {
  position: relative;
  float: left;
}

.img-wrap button {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 100;
}

.image-center {
  display: block;
  margin: 0 auto;
}

.error-text {
  color: #dd4b39 !important;
}

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

.success-text-bold {
  color: #3c763d !important;
  font-weight: bold;
}

.form-group.has-success label {
  color: #3c763d !important;
}

.form-group .control-label {
  width: 100%;
}

.box.box-success {
  border-top-color: #3c763d !important;
}

.box.box-error {
  border-top-color: #dd4b39 !important;
}

.alert-info-override-theme {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-danger {
  color: #a94442 !important;
  background-color: #f2dede !important;
  border-color: #ebccd1 !important;
}

.admin-nav {
  background: 0 !important;
}

/* LOADER START */
.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}

.loader {
  color: #ffffff;
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}

.loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loader:after {
  left: 3.5em;
}

@-webkit-keyframes load7 {

  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }

  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

@keyframes load7 {

  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }

  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

/* Loader END */


.content-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 30;
  pointer-events: all;
}

.content-loading-overlay .loader {
  color: #3f6791;
  margin: 0 auto 12px;
}

.content-loading-overlay .loader-text {
  color: #3f6791;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hiddenBlock {
  display: none;
}

.w-100 {
  width: 100%;
}

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

.w-50 {
  width: 50vw !important;
}

.clinera-card {
  padding: 30px;
  margin: 0.7em 0;
  border: 1px solid #e5e6ec;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 3%);
}

.clinera-progress {
  height: 20px;
  margin: 0;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
}

.clinera-progress-bar {
  float: left;
  width: 0;
  height: 100%;
  font-size: 16px;
  line-height: 20px;

  color: #fff;
  text-align: center;
  -webkit-box-shadow: inset 0 -1px 0 rgb(0 0 0 / 15%);
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 15%);
  -webkit-transition: width 0.6s ease;
  -o-transition: width 0.6s ease;
  transition: width 0.6s ease;
}

.flex-grid {
  display: flex;
}

.col {
  flex: 1;
}

@media (max-width: 500px) {
  .flex-grid-thirds {
    display: block !important;
  }

  .flex-grid-thirds .col {
    width: 100% !important;
    margin-top: 10px;
    margin-left: 0 !important;
  }
}

@media (max-width: 400px) {
  .flex-grid {
    display: block;
  }
}

.flex-grid-thirds {
  display: flex;
  justify-content: space-between;
}

.flex-grid-thirds .col {
  width: 32%;
}

.dashboard-boxes {
  min-height: 440px;
}

@media (max-width: 400px) {
  .dashboard-boxes {
    min-height: auto !important;
  }
}

.fc-event-main {
  overflow: hidden;
}

.gridjs-wrapper {
  border-radius: none !important;
  border-top-width: 0 !important;
  box-shadow: none !important;
}

.gridjs-footer {
  border-radius: none !important;
  border-bottom-width: 0 !important;
  box-shadow: none !important;
}

.gridjs-table {
  width: 100%;
}

.filepond--credits {
  display: none;
}

#editor-wrapper .tagify--mix {
  min-height: 300px;
}

/* ==========================================
   GLOBAL CARD STYLES
   ========================================== */

/* Modern page cards */
.page-card {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
  padding: 12px 14px !important;
  margin-bottom: 14px;
}

.modern-card {
  background: #ffffff;
  border-radius: 3px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #d2d6de;
}

.modern-card-header {
  background: #f9fafc;
  color: #444;
  padding: 15px 20px;
  border-bottom: 1px solid #d2d6de;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modern-card-body {
  padding: 20px;
}

.modern-card-footer {
  background: #f9fafc;
  padding: 15px 20px;
  border-top: 1px solid #d2d6de;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================
   GLOBAL LOADER / SPINNER STYLES
   ========================================== */

/* Loading overlay for content areas */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(25, 42, 86, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  color: white;
  transition: opacity 0.5s ease-out;
}

/* Calendar/Table loading overlay */
.calendar-loading-overlay,
.table-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.table-loading-overlay {
  pointer-events: auto;
}

/* Override cg-busy default styling */
.table-loading-overlay.cg-busy,
.calendar-loading-overlay.cg-busy {
  background: rgba(248, 250, 252, 0.98) !important;
  backdrop-filter: blur(8px);
  position: absolute !important;
}

.table-loading-overlay .cg-busy-backdrop,
.calendar-loading-overlay .cg-busy-backdrop {
  display: none !important;
}

.table-loading-overlay .cg-busy-animation,
.calendar-loading-overlay .cg-busy-animation {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  position: static !important;
}

/* Loading spinner container */
.loading-spinner-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 155, 122, 0.12);
  position: relative;
  z-index: 1001;
}

.loading-spinner-container .fa-spinner {
  color: #0f9b7a;
  font-size: 3rem;
}

.spinner {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #7AC88A;
  animation: spin 1s ease-in-out infinite;
}

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

.loading-text {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin: 0;
  letter-spacing: -0.01em;
}

.table-loading-overlay .cg-busy-default-wrapper,
.calendar-loading-overlay .cg-busy-default-wrapper {
  display: none !important;
}

/* ==========================================
   GLOBAL BUTTON STYLES
   ========================================== */

/* Filter, Sort, and Clean buttons */
.btn-filter,
.btn-sort,
.btn-clean {
  background: white;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  height: 38px;
}

.btn-filter:hover,
.btn-sort:hover,
.btn-clean:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.btn-filter:active,
.btn-sort:active,
.btn-clean:active {
  transform: scale(0.98);
}

.btn-filter i,
.btn-sort i,
.btn-clean i {
  font-size: 12px;
  color: #6b7280;
}

/* Small Clean Button for Tables */
.btn-clean-sm {
  background: white;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 500;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  height: 28px;
  text-decoration: none;
}

.btn-clean-sm:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #1f2937;
  text-decoration: none;
}

.btn-clean-sm i {
  font-size: 11px;
  color: #6b7280;
}

/* ==========================================
   GLOBAL MODAL STYLES
   ========================================== */

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

.modal-header {
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  padding: 20px 25px;
  border-radius: 8px 8px 0 0;
}

.modal-title {
  font-weight: 600;
  color: #333;
  font-size: 1.25rem;
}

.modal-body {
  padding: 25px;
  background: #fff;
}

/* ==========================================
   GLOBAL SEARCH/INPUT STYLES
   ========================================== */

/* Search wrapper */
.search-wrapper {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  z-index: 5;
  transition: color 0.2s ease;
  font-size: 14px;
}

.search-input {
  width: 100%;
  border-radius: 8px;
  padding: 8px 16px 8px 38px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  height: 38px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-size: 14px;
  color: #374151;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-input:hover {
  border-color: #d5dde7;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12);
}

.search-input:focus {
  border-color: #5cdb94;
  box-shadow: 0 0 0 3px rgba(92, 219, 148, 0.15);
  outline: none;
}

.search-wrapper:hover .search-icon,
.search-wrapper:focus-within .search-icon {
  color: #5cdb94;
}

/* ==========================================
   GLOBAL CONTAINER STYLES
   ========================================== */

.table-container-wrapper,
.calendar-container-wrapper {
  position: relative;
}

/* ==========================================
   GLOBAL TABLE STYLES
   ========================================== */

/* Common table styling for patients, boards, etc. */
.modern-table,
.patients-table,
.box .table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.modern-table thead th,
.patients-table thead th,
.box .table thead th {
  background: #f5f7fb;
  color: #4b5563;
  font-weight: 700;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 10px;
  border-top: none;
}

.modern-table thead th:first-child,
.patients-table thead th:first-child,
.box .table thead th:first-child {
  border-top-left-radius: 12px;
}

.modern-table thead th:last-child,
.patients-table thead th:last-child,
.box .table thead th:last-child {
  border-top-right-radius: 12px;
}

.modern-table tbody td,
.patients-table tbody td,
.box .table tbody td {
  border-top: 1px solid #f0f2f5;
  padding: 10px;
  color: #374151;
}

.modern-table tbody tr:nth-child(even),
.patients-table tbody tr:nth-child(even),
.box .table tbody tr:nth-child(even) {
  background: #fafbfc;
}

.modern-table tbody tr:hover,
.patients-table tbody tr:hover,
.box .table tbody tr:hover {
  background: #f0f4ff;
}

/* Override global table padding */
.row .modern-table,
.row .patients-table,
.row .box .table {
  padding: 0 !important;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

/* Spacing utilities */
.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-20 { margin-top: 20px !important; }
.p-20 { padding: 20px !important; }

/* Flex utilities */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.gap-10 { gap: 10px !important; }
.gap-20 { gap: 20px !important; }

/* Border radius utilities */
.rounded-8 { border-radius: 8px !important; }
.rounded-12 { border-radius: 12px !important; }

/* Common transitions */
.transition-all {
  transition: all 0.2s ease !important;
}

.transition-colors {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease !important;
}

/* Guidelines Panel */
.guidelines-panel .guideline-rec-card:hover {
  background-color: #f9f9f9;
}
.guidelines-panel .table-condensed > thead > tr > th,
.guidelines-panel .table-condensed > tbody > tr > td {
  padding: 6px 8px;
  vertical-align: middle;
}
.guidelines-panel .callout {
  border-radius: 4px;
}
.guidelines-panel .label {
  font-weight: 500;
}
.guidelines-panel .box-success > .box-header {
  background-color: #00a65a;
  color: #fff;
}
.guidelines-panel .box-success > .box-header .box-title {
  color: #fff;
}

/* Concordance badges */
.concordance-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.concordance-badge.concordant { background: #dcfce7; color: #166534; }
.concordance-badge.justified-deviation { background: #fef3c7; color: #92400e; }
.concordance-badge.unjustified-deviation { background: #fee2e2; color: #991b1b; }
.concordance-badge.not-assessed { background: #f3f4f6; color: #6b7280; }

/* =====================================================
   GUIDELINES & CONCORDANCE — MODERN THEME
   Matches .page-card / patient-hero / board-hero patterns
   ===================================================== */

/* Shared elements */
.gl-link { color: #5cdb94; font-weight: 600; }
.gl-link:hover { color: #4ac882; text-decoration: underline; }
.gl-muted { color: #94a3b8; }

.gl-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 20px; color: #94a3b8;
}
.gl-loading i { color: #5cdb94; }
.gl-loading p { margin-top: 12px; font-size: 14px; }

.gl-empty {
  text-align: center; padding: 60px 20px; color: #94a3b8;
}
.gl-empty i { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.gl-empty h4 { color: #374151; font-weight: 600; margin-bottom: 6px; }
.gl-empty p { font-size: 14px; }

/* Badge system */
.badge-count-alt { background: #e0f2fe; color: #0284c7; }

.gl-badge {
  display: inline-block; padding: 3px 10px; border-radius: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.3px; white-space: nowrap;
}
.gl-badge-source { background: #dbeafe; color: #1d4ed8; }
.gl-badge-cancer { background: #f3f4f6; color: #374151; }
.gl-badge-count { background: #dcfce7; color: #166534; }
.gl-badge-count-sm { background: #dbeafe; color: #1d4ed8; font-size: 10px; padding: 2px 8px; border-radius: 10px; margin-left: 6px; }

/* Tier pills — used across explorer, concordance, settings */
.gl-tier-pill {
  display: inline-block; padding: 3px 10px; border-radius: 14px;
  font-size: 11px; font-weight: 600; text-transform: capitalize; letter-spacing: 0.3px;
}
.gl-tier-pill.small { padding: 2px 8px; font-size: 10px; }
.tier-basic { background: #dcfce7; color: #166534; }
.tier-core { background: #dbeafe; color: #1d4ed8; }
.tier-enhanced { background: #ede9fe; color: #5b21b6; }

/* Green action button */
.btn-clinera-action {
  background: linear-gradient(135deg, #5cdb94 0%, #4ac882 100%);
  color: #fff; border: none; border-radius: 10px;
  padding: 9px 18px; font-weight: 700; font-size: 13px;
  cursor: pointer; transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(92, 219, 148, 0.2);
}
.btn-clinera-action:hover {
  background: linear-gradient(135deg, #4ac882 0%, #3db870 100%);
  box-shadow: 0 6px 16px rgba(92, 219, 148, 0.3);
  transform: translateY(-1px); color: #fff;
}
.btn-clinera-action:active { transform: translateY(0); }
.btn-clinera-action:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-clinera-action.btn-block { display: block; width: 100%; text-align: center; }

/* Reusable table (regimens, sources, priority types, summary) */
.gl-regimen-table {
  width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 0;
}
.gl-regimen-table thead th {
  background: #f5f7fb; color: #4b5563; font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 10px 12px; border-bottom: 1px solid #e5e7eb; border-top: none;
}
.gl-regimen-table thead th:first-child { border-top-left-radius: 10px; }
.gl-regimen-table thead th:last-child { border-top-right-radius: 10px; }
.gl-regimen-table tbody td {
  padding: 10px 12px; border-top: 1px solid #f0f2f5; color: #374151; font-size: 13px;
}
.gl-regimen-table tbody tr:nth-child(even) { background: #fafbfc; }
.gl-regimen-table tbody tr:hover { background: #f0f4ff; }

/* Drug pills */
.gl-drug {
  display: inline-block; background: #f0f4ff; border-radius: 12px;
  padding: 2px 9px; font-size: 11px; margin: 1px 2px; color: #1d4ed8; font-weight: 500;
}

/* Preferred regimen highlight */
.gl-preferred { background: #f0fdf4 !important; }
.gl-preferred-tag {
  display: inline-block; background: #dcfce7; color: #166534;
  font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 6px;
  margin-left: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}

/* Section wrapper used in settings page */
.gl-section {
  border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden;
  margin-bottom: 20px; box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
}
.gl-section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: #f9fafc; border-bottom: 1px solid #e5e7eb;
}
.gl-section-header h3 {
  margin: 0; font-size: 15px; font-weight: 700; color: #1f2937;
}
.gl-section-header h3 i { margin-right: 8px; color: #5cdb94; }

/* Checkbox modern */
.gl-checkbox {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: #4b5563; margin: 8px 0;
}

/* ---- GUIDELINES EXPLORER PAGE ---- */
.gl-explorer-hero {
  padding: 24px 28px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 100%);
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0;
}
.gl-explorer-hero-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.gl-explorer-hero .title-block {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.gl-explorer-hero .title-block h2 {
  margin: 0; font-weight: 700; color: #1f2937; font-size: 28px; letter-spacing: -0.3px;
}
.gl-search-row {
  margin-bottom: 12px;
}
.gl-search-row .search-wrapper {
  max-width: 420px;
}
.gl-filters-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: nowrap;
}
.gl-select {
  width: auto !important;
  height: 38px; border-radius: 8px !important; border: 1px solid #e5e7eb !important;
  font-size: 13px; min-width: 150px; max-width: 220px;
  background-color: #fff;
}
.gl-select:focus {
  border-color: #5cdb94 !important; box-shadow: 0 0 0 3px rgba(92, 219, 148, 0.15) !important;
}

/* Guideline card list */
.gl-cards-list { padding: 20px 28px; }
.gl-card {
  border: 1px solid #e5e7eb; border-radius: 14px; margin-bottom: 12px;
  overflow: hidden; transition: box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
}
.gl-card:hover { box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08); }
.gl-card-expanded { box-shadow: 0 8px 24px rgba(17, 24, 39, 0.10); }

.gl-card-header {
  padding: 14px 18px; cursor: pointer; transition: background-color 0.15s;
}
.gl-card-header:hover { background-color: #f9fafc; }
.gl-card-expanded .gl-card-header {
  background: linear-gradient(135deg, #5cdb94 0%, #4ac882 100%);
}
.gl-card-expanded .gl-card-header,
.gl-card-expanded .gl-card-header .gl-card-title,
.gl-card-expanded .gl-card-header .gl-card-meta,
.gl-card-expanded .gl-card-header .gl-card-meta a,
.gl-card-expanded .gl-card-header i,
.gl-card-expanded .gl-card-header .gl-chevron { color: #fff !important; }
.gl-card-expanded .gl-card-header .gl-badge-source { background: rgba(255,255,255,0.25); color: #fff; }
.gl-card-expanded .gl-card-header .gl-badge-cancer { background: rgba(255,255,255,0.2); color: #fff; }
.gl-card-expanded .gl-card-header .gl-badge-count { background: rgba(255,255,255,0.25); color: #fff; }

.gl-card-title-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.gl-card-title { font-size: 15px; font-weight: 700; color: #1f2937; display: flex; align-items: center; gap: 8px; }
.gl-card-title i { color: #5cdb94; }
.gl-card-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gl-chevron { color: #94a3b8; font-size: 12px; }

.gl-card-meta {
  display: flex; gap: 14px; font-size: 12px; color: #94a3b8; margin-top: 4px;
}
.gl-card-meta i { margin-right: 3px; }

.gl-card-body { padding: 18px 20px; }
.gl-summary { color: #64748b; font-size: 13px; margin-bottom: 16px; line-height: 1.6; }

/* Recommendation groups */
.gl-rec-group { margin-bottom: 20px; }
.gl-rec-group-title {
  font-size: 14px; font-weight: 700; color: #1d4ed8;
  border-bottom: 2px solid #dbeafe; padding-bottom: 6px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.gl-rec-group-title i { font-size: 13px; }

.gl-rec {
  background: #fff; border: 1px solid #e5e7eb; border-left: 4px solid #e5e7eb;
  border-radius: 10px; padding: 14px 16px; margin-bottom: 10px;
  transition: box-shadow 0.15s;
}
.gl-rec:hover { box-shadow: 0 4px 12px rgba(17, 24, 39, 0.06); }
.gl-rec-tier-basic { border-left-color: #22c55e; }
.gl-rec-tier-core { border-left-color: #3b82f6; }
.gl-rec-tier-enhanced { border-left-color: #8b5cf6; }

.gl-rec-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gl-rec-desc { font-size: 14px; font-weight: 600; color: #1f2937; line-height: 1.5; flex: 1; }
.gl-rec-details {
  display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #94a3b8; margin-top: 8px;
}
.gl-rec-details i { margin-right: 3px; }

/* Regimens & Biomarkers sub-sections */
.gl-regimens, .gl-biomarkers {
  margin-top: 14px; border-top: 1px solid #f0f2f5; padding-top: 12px;
}
.gl-regimens h5, .gl-biomarkers h5 {
  font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 8px;
}
.gl-regimens h5 i, .gl-biomarkers h5 i { margin-right: 5px; }

/* Biomarker chips */
.gl-biomarker-list { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-biomarker {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px;
  padding: 5px 12px; font-size: 12px;
}
.gl-gene {
  background: #ede9fe; border-radius: 6px; padding: 1px 6px;
  font-size: 10px; font-weight: 700; color: #7c3aed; font-style: normal;
}
.gl-condition { color: #64748b; }
.gl-test { color: #94a3b8; font-size: 11px; }

.gl-card-footer {
  display: flex; justify-content: flex-end; padding-top: 12px;
  border-top: 1px solid #f0f2f5; margin-top: 8px;
}

.gl-pagination {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 20px;
}
.gl-page-info { font-size: 13px; color: #64748b; }

/* ---- CONCORDANCE DASHBOARD ---- */
.conc-hero {
  display: flex; flex-direction: column; gap: 16px; padding: 16px 20px;
}
.conc-hero-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.conc-hero .title-block {
  display: flex; align-items: center; gap: 10px;
}
.conc-hero .title-block h2 {
  margin: 0; font-weight: 700; color: #1f2937; font-size: 28px; letter-spacing: -0.3px;
}

.conc-filters {
  display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap;
}
.conc-filter-item { display: flex; flex-direction: column; gap: 4px; min-width: 150px; flex: 1; }
.conc-filter-item label { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
.conc-filter-actions { display: flex; gap: 8px; align-items: flex-end; }

.conc-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: 0 20px 20px;
}
.conc-stat-card {
  position: relative; border-radius: 14px; padding: 20px; overflow: hidden;
  border: 1px solid #e5e7eb; box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
}
.conc-stat-value { font-size: 32px; font-weight: 700; line-height: 1; }
.conc-stat-value small { font-size: 18px; }
.conc-stat-label { font-size: 12px; font-weight: 600; margin-top: 4px; color: #64748b; }
.conc-stat-icon { position: absolute; right: 16px; top: 16px; font-size: 28px; opacity: 0.15; }
.conc-stat-green { background: #f0fdf4; }
.conc-stat-green .conc-stat-value { color: #16a34a; }
.conc-stat-blue { background: #eff6ff; }
.conc-stat-blue .conc-stat-value { color: #2563eb; }
.conc-stat-amber { background: #fffbeb; }
.conc-stat-amber .conc-stat-value { color: #d97706; }
.conc-stat-red { background: #fef2f2; }
.conc-stat-red .conc-stat-value { color: #dc2626; }

.conc-charts-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding: 0 20px 14px;
}
.conc-bottom-row {
  display: grid; grid-template-columns: 2fr 1fr; gap: 14px;
  padding: 0 20px 20px;
}
.conc-chart-card {
  border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
}
.conc-chart-header {
  padding: 12px 18px; background: #f9fafc; border-bottom: 1px solid #e5e7eb;
}
.conc-chart-header h4 { margin: 0; font-size: 14px; font-weight: 700; color: #1f2937; }
.conc-chart-header h4 i { margin-right: 6px; color: #5cdb94; }
.conc-chart-body { padding: 16px; }

/* ---- SETTINGS GUIDELINES ADMIN ---- */
.gl-settings-hero {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; gap: 16px; flex-wrap: wrap;
}
.gl-settings-hero h2 {
  margin: 0; font-weight: 700; color: #1f2937; font-size: 24px; letter-spacing: -0.3px;
}
.gl-settings-hero p { margin: 4px 0 0; color: #64748b; font-size: 13px; }
.gl-settings-hero-stats { display: flex; gap: 8px; }

.gl-admin-stats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  padding: 0 20px 20px;
}
.gl-admin-stat {
  position: relative; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 16px; box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
  overflow: hidden;
}
.gl-admin-stat-value { font-size: 28px; font-weight: 700; color: #1f2937; line-height: 1; }
.gl-admin-stat-label { font-size: 11px; font-weight: 600; color: #94a3b8; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.4px; }
.gl-admin-stat-icon { position: absolute; right: 14px; top: 14px; font-size: 24px; opacity: 0.15; }

.gl-action-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding: 0 20px 20px;
}
.gl-action-card {
  border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
  transition: box-shadow 0.2s ease;
}
.gl-action-card:hover { box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08); }
.gl-action-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 12px;
}
.gl-action-card h4 { font-size: 16px; font-weight: 700; color: #1f2937; margin: 0 0 8px; }
.gl-action-card p { font-size: 13px; color: #64748b; line-height: 1.5; margin-bottom: 10px; }
.gl-action-card code { background: #f5f7fb; padding: 1px 5px; border-radius: 4px; font-size: 12px; }
.gl-action-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.gl-action-card-note { font-size: 12px; color: #3b82f6; margin-bottom: 4px; }

/* Responsive */
@media (max-width: 991px) {
  .gl-admin-stats { grid-template-columns: repeat(3, 1fr); }
  .gl-action-cards { grid-template-columns: 1fr; }
  .conc-stats-row { grid-template-columns: repeat(2, 1fr); }
  .conc-charts-row, .conc-bottom-row { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .gl-admin-stats { grid-template-columns: repeat(2, 1fr); }
  .gl-filters-row { flex-wrap: wrap; }
  .gl-filters-row .gl-select { width: 100% !important; max-width: 100%; min-width: 100%; }
  .gl-search-row .search-wrapper { max-width: 100%; }
}
