/* General */
.clickable-item {
  cursor: pointer;
}
.text-bold {
  font-weight: bold;
}
/* Portlet */
.portlet.light > .portlet-title .inputs.inputs-full-width {
  display: block;
  float: none;
}
/* Tree */
.tree-item-icon-color {
  color: #dfba49;
}
.page-sidebar .page-sidebar-menu > li > a > i.fa,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li > a > i.fa {
  margin-left: 1px;
  margin-right: 4px;
  top: 3px;
}
/* Forms */
.form-group.form-md-line-input.no-hint {
  margin-bottom: 15px;
}
.form-group.form-md-line-input.has-error .form-control {
  border-bottom-color: red;
}
.form-group.form-md-line-input.has-error .help-block-info {
  display: none;
}
/* DateRangePicker */
.daterangepicker_input .input-mini {
  width: 120px !important;
}
/* Portlets */
.portlet.light > .portlet-title.portlet-title-filter {
  border: none;
  margin-bottom: 0;
}
/* Buttons */
.btn + .btn {
  margin-left: 5px;
}
/* FamFamFam Flags */
.famfamfam-flags {
  display: inline-block;
}
/* Social Login Icons */
.external-logins form a i.fa-openidconnect::before {
  content: "\f19b";
}
.external-logins a i.fa-wsfederation::before {
  content: "\f20e";
}
.margin-bottom-0 {
  margin-bottom: 0 !important;
}
/* Make user menu wider */
.page-header.navbar .top-menu .navbar-nav > li.dropdown-dark .dropdown-menu {
  width: 250px;
}
/* Fix for issue #407 */
br {
  font-family: Verdana;
}
span.phone-number-verified {
  border-bottom: #36c6d3 2px solid !important;
}
.margin-top-20 {
  margin-top: 20px;
}
.margin-bottom-10 {
  margin-bottom: 10px;
}
/* Sweet alert */
.swal-title {
  overflow-wrap: break-word;
}
.swal-footer {
  text-align: center;
}
@keyframes glowing {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}
.glowing {
  animation: glowing 2s infinite;
}
.toast-error {
  background-color: red !important;
}
.bootstrap-datetimepicker-widget {
  width: 275px !important;
}
@media (max-width: 768px) {
  .btn-md-icon {
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
}
.kt-widget14__legend {
  text-align: left;
}
.kt-widget14__legend-bullet {
  width: 12px;
  height: 12px;
  margin-right: 12px;
  display: inline-block;
}
.long-select2 .select2-results .select2-results__options {
  max-height: 350px!important;
}
:root {
  --kt-progress-bar-color: #ffffff;
  --kt-progress-bar-bg: #009ef7;
}
.fileinput-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
label.required:after {
  content: "*";
  color: var(--kt-form-label-color) !important;
}
button i.flaticon-search-1 {
  margin-right: 0!important;
}
.btn i.flaticon-search-1 {
  padding-right: 0!important;
}
.menu-icon span {
  display: flex;
}
.hide-overflown {
  width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pwstrength-div {
  position: relative;
}
.pwstrength-div .progress {
  height: 8px;
  width: 64px;
  text-align: right;
  position: absolute;
  right: -28px;
  top: 28.5px;
  transform: rotate(-90deg);
  border-radius: 0 0 1.25rem 1.25rem;
}
.pwstrength-div .password-verdict {
  height: 10px;
  width: 100px;
  text-align: right;
  position: absolute;
  right: 24px;
  top: 25px;
  font-size: 12px;
  opacity: 0.6;
}

/* inter-100 - vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100;
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-100.eot');
  /* IE9 Compat Modes */
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-100.eot') format('embedded-opentype'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-100.woff2') format('woff2'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-100.woff') format('woff'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-100.ttf') format('truetype'), url('./Inter/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-100.svg#Inter') format('svg');
  /* Legacy iOS */
}
/* inter-200 - vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-200.eot');
  /* IE9 Compat Modes */
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-200.eot') format('embedded-opentype'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-200.woff2') format('woff2'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-200.woff') format('woff'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-200.ttf') format('truetype'), url('./Inter/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-200.svg#Inter') format('svg');
  /* Legacy iOS */
}
/* inter-300 - vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.eot');
  /* IE9 Compat Modes */
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.eot') format('embedded-opentype'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.woff2') format('woff2'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.woff') format('woff'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.ttf') format('truetype'), url('./Inter/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.svg#Inter') format('svg');
  /* Legacy iOS */
}
/* inter-regular - vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.eot');
  /* IE9 Compat Modes */
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.eot') format('embedded-opentype'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2') format('woff2'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff') format('woff'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf') format('truetype'), url('./Inter/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.svg#Inter') format('svg');
  /* Legacy iOS */
}
/* inter-500 - vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.eot');
  /* IE9 Compat Modes */
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.eot') format('embedded-opentype'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.woff2') format('woff2'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.woff') format('woff'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.ttf') format('truetype'), url('./Inter/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.svg#Inter') format('svg');
  /* Legacy iOS */
}
/* inter-600 - vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.eot');
  /* IE9 Compat Modes */
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.eot') format('embedded-opentype'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2') format('woff2'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.woff') format('woff'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.ttf') format('truetype'), url('./Inter/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.svg#Inter') format('svg');
  /* Legacy iOS */
}
/* inter-700 - vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.eot');
  /* IE9 Compat Modes */
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.eot') format('embedded-opentype'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2') format('woff2'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.woff') format('woff'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.ttf') format('truetype'), url('./Inter/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.svg#Inter') format('svg');
  /* Legacy iOS */
}
/* inter-800 - vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-800.eot');
  /* IE9 Compat Modes */
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-800.eot') format('embedded-opentype'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-800.woff2') format('woff2'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-800.woff') format('woff'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-800.ttf') format('truetype'), url('./Inter/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-800.svg#Inter') format('svg');
  /* Legacy iOS */
}
/* inter-900 - vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-900.eot');
  /* IE9 Compat Modes */
  src: url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-900.eot') format('embedded-opentype'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-900.woff2') format('woff2'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-900.woff') format('woff'), url('/dist/fonts/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-900.ttf') format('truetype'), url('./Inter/inter-v12-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-900.svg#Inter') format('svg');
  /* Legacy iOS */
}

/* =============================================================================
   TeamHub Custom Design System
   Shared design tokens, dark mode, and utility primitives for all modern
   UI sections: User Journey, Learning Dashboard, Holiday Management, etc.

   Auto-included in the common-styles bundle via the glob in bundles.json:
     wwwroot/Common/Styles/ ** / *.css  (spaces added — actual glob has no spaces)

   Usage in component CSS:
     .my-component { --mc-primary: var(--th-primary); }
   ============================================================================= */
/* ---------------------------------------------------------------------------
   Design Tokens - Light Mode (default)
   --------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --th-primary: #3699ff;
  --th-primary-rgb: 54, 153, 255;
  --th-primary-light: #eef5ff;
  --th-success: #50cd89;
  --th-success-rgb: 80, 205, 137;
  --th-success-light: #e8fff3;
  --th-warning: #ffc700;
  --th-warning-rgb: 255, 199, 0;
  --th-warning-light: #fff8dd;
  --th-danger: #f1416c;
  --th-danger-rgb: 241, 65, 108;
  --th-danger-light: #fff5f8;
  --th-info: #7239ea;
  --th-info-rgb: 114, 57, 234;
  --th-info-light: #f8f5ff;
  /* Greyscale */
  --th-gray-100: #f5f8fa;
  --th-gray-200: #e4e6ef;
  --th-gray-300: #d1d3e0;
  --th-gray-500: #a1a5b7;
  --th-gray-600: #5e6278;
  --th-text: #3f4254;
  /* Surfaces */
  --th-bg-card: #ffffff;
  --th-bg-hover: #eef5ff;
  --th-border: #e4e6ef;
  /* Elevation */
  --th-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  --th-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.11);
  --th-shadow-modal: 0 8px 40px rgba(0, 0, 0, 0.14);
  /* Shape */
  --th-radius: 8px;
  --th-radius-sm: 6px;
  --th-radius-xs: 4px;
  /* Motion */
  --th-transition: 150ms ease;
  --th-transition-slow: 300ms ease;
}
/* ---------------------------------------------------------------------------
   Dark Mode
   Covers all Metronic/ABP/Bootstrap theme selectors used across the app.
   --------------------------------------------------------------------------- */
html[data-theme='dark'],
html[data-bs-theme='dark'],
body[data-kt-app-theme='dark'],
body.dark-mode,
.dark {
  --th-primary-light: rgba(54, 153, 255, 0.15);
  --th-success-light: rgba(80, 205, 137, 0.12);
  --th-warning-light: rgba(255, 199, 0, 0.12);
  --th-danger-light: rgba(241, 65, 108, 0.12);
  --th-info-light: rgba(114, 57, 234, 0.12);
  --th-gray-100: #121212;
  --th-gray-200: #2b2b40;
  --th-gray-300: #3f3f56;
  --th-gray-500: #a1a5b7;
  --th-gray-600: #c5c8d6;
  --th-text: #f5f8fa;
  --th-bg-card: #131313;
  --th-bg-hover: rgba(54, 153, 255, 0.15);
  --th-border: #2b2b40;
  --th-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --th-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.4);
  --th-shadow-modal: 0 8px 40px rgba(0, 0, 0, 0.5);
}
/* ---------------------------------------------------------------------------
   Shared Animation
   Referenced by component CSS as: animation: th-fadeInUp 0.35s ease forwards;
   --------------------------------------------------------------------------- */
@keyframes th-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* =============================================================================
   SECTION 5: REUSABLE UI COMPONENTS
   Generic, reusable patterns for all TeamHub features.
   Use .th-* prefix for cross-feature consistency.
   ============================================================================= */
/* ---------------------------------------------------------------------------
   5.1 Card System
   --------------------------------------------------------------------------- */
.th-card {
  background: var(--th-bg-card);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius);
  box-shadow: var(--th-shadow);
  overflow: hidden;
  animation: th-fadeInUp 0.35s ease forwards;
}
.th-card + .th-card {
  margin-top: 1.25rem;
}
.th-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--th-border);
  background: var(--th-gray-100);
}
.th-card-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--th-radius-sm);
  background: var(--th-primary-light);
  color: var(--th-primary);
  flex-shrink: 0;
}
.th-card-header-icon--large {
  width: 48px;
  height: 48px;
}
.th-card-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--th-text);
  flex: 1;
}
.th-card-body {
  padding: 1.25rem;
}
.th-card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--th-border);
  background: var(--th-gray-100);
}
/* ---------------------------------------------------------------------------
   5.2 Filter Section
   --------------------------------------------------------------------------- */
.th-filter-section {
  background: var(--th-bg-card);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius);
  box-shadow: var(--th-shadow);
  margin-bottom: 1.5rem;
  animation: th-fadeInUp 0.35s ease forwards;
}
.th-filter-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--th-border);
  background: var(--th-gray-100);
}
.th-filter-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--th-text);
}
.th-filter-body {
  padding: 1.5rem;
}
/* When th-filter-body contains Bootstrap rows, remove negative margins */
.th-filter-body > .row {
  margin-left: 0;
  margin-right: 0;
}
.th-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 200px;
}
.th-filter-group--grow {
  flex: 1;
  min-width: 300px;
}
.th-filter-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--th-gray-600);
  margin-bottom: 0;
}
/* Radio/Checkbox Group */
.th-radio-group,
.th-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.th-radio-option,
.th-checkbox-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  background: var(--th-bg-card);
  cursor: pointer;
  transition: all var(--th-transition);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0;
  min-height: 44px;
  /* Touch target */
}
.th-radio-option:hover,
.th-checkbox-option:hover {
  border-color: var(--th-primary);
  background: var(--th-primary-light);
}
.th-radio-option:has(input:checked),
.th-checkbox-option:has(input:checked) {
  border-color: var(--th-primary);
  background: var(--th-primary-light);
  color: var(--th-primary);
  font-weight: 600;
}
.th-radio-input,
.th-checkbox-input {
  margin: 0;
}
/* Mobile responsive */
@media (max-width: 768px) {
  .th-filter-body {
    flex-direction: column;
  }
  .th-filter-group {
    min-width: 100%;
  }
  .th-radio-group,
  .th-checkbox-group {
    flex-direction: column;
  }
}
/* ---------------------------------------------------------------------------
   5.3 Badge System
   --------------------------------------------------------------------------- */
.th-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.4;
}
.th-badge-success {
  background: var(--th-success-light);
  color: var(--th-success);
}
.th-badge-warning {
  background: var(--th-warning-light);
  color: var(--th-warning);
  border: 1px solid rgba(var(--th-warning-rgb), 0.25);
}
.th-badge-danger {
  background: var(--th-danger-light);
  color: var(--th-danger);
  border: 1px solid rgba(var(--th-danger-rgb), 0.25);
}
.th-badge-primary {
  background: var(--th-primary-light);
  color: var(--th-primary);
}
.th-badge-info {
  background: var(--th-info-light);
  color: var(--th-info);
}
.th-badge-neutral {
  background: var(--th-gray-100);
  color: var(--th-gray-600);
  border: 1px solid var(--th-border);
}
/* Larger badge variant */
.th-badge-lg {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}
/* Badge with icon */
.th-badge i {
  font-size: 0.875em;
}
/* ---------------------------------------------------------------------------
   5.4 Action Button System
   --------------------------------------------------------------------------- */
.th-action-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.th-action-group--horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.th-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  background: var(--th-bg-card);
  color: var(--th-text);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--th-transition);
  white-space: nowrap;
  text-decoration: none;
  min-height: 38px;
}
.th-action-btn:hover:not(:disabled) {
  border-color: var(--th-primary);
  background: var(--th-primary-light);
  color: var(--th-primary);
  text-decoration: none;
}
.th-action-btn:focus-visible {
  outline: 2px solid var(--th-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(var(--th-primary-rgb), 0.15);
}
.th-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Button variants */
.th-action-btn--primary {
  background: var(--th-primary);
  border-color: var(--th-primary);
  color: #fff;
}
.th-action-btn--primary:hover:not(:disabled) {
  background: rgba(var(--th-primary-rgb), 0.85);
  border-color: rgba(var(--th-primary-rgb), 0.85);
  color: #fff;
}
.th-action-btn--success {
  background: var(--th-success);
  border-color: var(--th-success);
  color: #fff;
}
.th-action-btn--success:hover:not(:disabled) {
  background: rgba(var(--th-success-rgb), 0.85);
  border-color: rgba(var(--th-success-rgb), 0.85);
  color: #fff;
}
.th-action-btn--warning {
  background: var(--th-warning);
  border-color: var(--th-warning);
  color: var(--th-text);
}
.th-action-btn--warning:hover:not(:disabled) {
  background: rgba(var(--th-warning-rgb), 0.85);
  border-color: rgba(var(--th-warning-rgb), 0.85);
}
.th-action-btn--danger {
  background: var(--th-danger);
  border-color: var(--th-danger);
  color: #fff;
}
.th-action-btn--danger:hover:not(:disabled) {
  background: rgba(var(--th-danger-rgb), 0.85);
  border-color: rgba(var(--th-danger-rgb), 0.85);
  color: #fff;
}
/* Icon sizing */
.th-action-btn i {
  color: #ffffff;
  font-size: 1rem;
}
/* Small variant */
.th-action-btn--sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  min-height: 32px;
}
.th-action-btn--sm i {
  font-size: 0.875rem;
}
/* Large variant */
.th-action-btn--lg {
  padding: 0.625rem 1.125rem;
  font-size: 0.9375rem;
  min-height: 44px;
}
/* Icon-only button */
.th-action-btn--icon-only {
  width: 38px;
  padding: 0.5rem;
}
.th-action-btn--icon-only.th-action-btn--sm {
  width: 32px;
  padding: 0.375rem;
}
.th-action-btn--icon-only.th-action-btn--lg {
  width: 44px;
  padding: 0.625rem;
}
/* Loading state */
.th-action-btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.th-action-btn.is-loading::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  left: 50%;
  margin-left: -7px;
  margin-top: -7px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-right-color: transparent;
  animation: th-spin 0.6s linear infinite;
}
@keyframes th-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Mobile - make buttons full width */
@media (max-width: 768px) {
  .th-action-group:not(.th-action-group--horizontal) .th-action-btn {
    width: 100%;
    justify-content: flex-start;
  }
}
/* ---------------------------------------------------------------------------
   5.5 Tab System
   --------------------------------------------------------------------------- */
.th-tabs {
  border-bottom: 2px solid var(--th-border);
  margin-bottom: 1.5rem;
}
.th-tabs .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  color: var(--th-gray-600);
  font-weight: 500;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--th-transition);
}
.th-tabs .nav-link:hover {
  color: var(--th-primary);
  border-bottom-color: var(--th-border);
}
.th-tabs .nav-link.active {
  color: var(--th-primary);
  border-bottom-color: var(--th-primary);
  font-weight: 600;
}
.th-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.375rem;
  border-radius: 99px;
  background: var(--th-gray-200);
  color: var(--th-gray-600);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}
.th-tabs .nav-link.active .th-tab-count {
  background: var(--th-primary-light);
  color: var(--th-primary);
}
.th-tab-count--primary {
  background: var(--th-primary-light);
  color: var(--th-primary);
}
.th-tab-count--warning {
  background: var(--th-warning-light);
  color: var(--th-warning);
}
.th-tab-count--danger {
  background: var(--th-danger-light);
  color: var(--th-danger);
}
/* ---------------------------------------------------------------------------
   5.6 Table Enhancements
   --------------------------------------------------------------------------- */
.th-table-enhanced tbody tr {
  position: relative;
  transition: background var(--th-transition);
}
.th-table-enhanced tbody tr:hover {
  background: var(--th-bg-hover);
}
/* Status accent border (left edge) */
.th-table-row-status::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  opacity: 0;
  transition: opacity var(--th-transition);
}
.th-table-row-status.status-success::before {
  background: var(--th-success);
  opacity: 1;
}
.th-table-row-status.status-warning::before {
  background: var(--th-warning);
  opacity: 1;
}
.th-table-row-status.status-danger::before {
  background: var(--th-danger);
  opacity: 1;
}
.th-table-row-status.status-primary::before {
  background: var(--th-primary);
  opacity: 1;
}
.th-table-row-status.status-neutral::before {
  background: var(--th-gray-400);
  opacity: 1;
}
/* ---------------------------------------------------------------------------
   5.7 Loading States (Skeleton Screens)
   --------------------------------------------------------------------------- */
.th-skeleton {
  background: var(--th-gray-200);
  border-radius: var(--th-radius-xs);
  animation: th-pulse 1.5s ease-in-out infinite;
}
.th-skeleton-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--th-radius-sm);
  background: var(--th-gray-200);
}
.th-skeleton-avatar--sm {
  width: 48px;
  height: 48px;
}
.th-skeleton-avatar--lg {
  width: 120px;
  height: 120px;
}
.th-skeleton-text {
  height: 16px;
  background: var(--th-gray-200);
  border-radius: var(--th-radius-xs);
  margin-bottom: 0.5rem;
}
.th-skeleton-text--sm {
  height: 12px;
}
.th-skeleton-text--lg {
  height: 20px;
}
.th-skeleton-text--short {
  width: 60%;
}
.th-skeleton-text--medium {
  width: 80%;
}
.th-skeleton-button {
  height: 38px;
  width: 100px;
  border-radius: var(--th-radius-sm);
  background: var(--th-gray-200);
}
@keyframes th-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .th-skeleton {
    animation: none;
  }
}
/* ---------------------------------------------------------------------------
   5.8 Empty State
   --------------------------------------------------------------------------- */
.th-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--th-gray-500);
}
.th-empty-state-icon {
  font-size: 2.5rem;
  color: var(--th-gray-300);
  margin-bottom: 1rem;
}
.th-empty-state-icon i {
  font-size: inherit;
}
.th-empty-state-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--th-text);
  margin-bottom: 0.5rem;
}
.th-empty-state-text {
  font-size: 0.875rem;
  color: var(--th-gray-500);
  max-width: 400px;
  margin-bottom: 1.5rem;
}
.th-empty-state-action {
  /* Use .th-action-btn for empty state actions */
}
/* Compact inline variant */
.th-empty-state--inline {
  flex-direction: row;
  justify-content: flex-start;
  padding: 1rem 1.25rem;
  text-align: left;
}
.th-empty-state--inline .th-empty-state-icon {
  font-size: 1.5rem;
  margin-right: 0.75rem;
  margin-bottom: 0;
}
/* ---------------------------------------------------------------------------
   5.9 Search Input
   --------------------------------------------------------------------------- */
.th-search-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.th-search-icon {
  position: absolute;
  left: 0.875rem;
  color: var(--th-gray-500);
  pointer-events: none;
  font-size: 1rem;
}
.th-search-input {
  flex: 1;
  padding: 0.625rem 0.875rem 0.625rem 2.5rem;
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  background: var(--th-bg-card);
  color: var(--th-text);
  font-size: 0.875rem;
  transition: all var(--th-transition);
  min-height: 38px;
}
.th-search-input::placeholder {
  color: var(--th-gray-500);
}
.th-search-input:focus {
  outline: none;
  border-color: var(--th-primary);
  box-shadow: 0 0 0 3px rgba(var(--th-primary-rgb), 0.1);
}
.th-search-input:focus-visible {
  outline: 2px solid var(--th-primary);
  outline-offset: 2px;
}
/* Searching state (loading spinner) */
.th-search-input.is-searching {
  padding-right: 2.5rem;
}
.th-search-loading {
  position: absolute;
  right: 0.875rem;
  width: 16px;
  height: 16px;
  border: 2px solid var(--th-gray-300);
  border-radius: 50%;
  border-right-color: var(--th-primary);
  animation: th-spin 0.6s linear infinite;
  pointer-events: none;
}
/* ---------------------------------------------------------------------------
   5.10 Utility Classes
   --------------------------------------------------------------------------- */
/* Focus ring for keyboard navigation */
.th-focus-ring:focus-visible {
  outline: 2px solid var(--th-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(var(--th-primary-rgb), 0.15);
}
/* Accessible skip link */
.th-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--th-primary);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--th-radius-sm) 0;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.th-skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: -2px;
}
/* Spacing utilities */
.th-stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap, 1rem);
}
.th-stack--sm {
  --gap: 0.5rem;
}
.th-stack--lg {
  --gap: 1.5rem;
}
.th-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap, 0.75rem);
  align-items: center;
}
.th-cluster--sm {
  --gap: 0.5rem;
}
.th-cluster--lg {
  --gap: 1.25rem;
}
/* =============================================================================
   SECTION 6: FEATURE-SPECIFIC COMPONENTS
   Components specific to individual features.
   Use feature prefix: .sm-* (ShiftManagement), .uj-* (User Journey), etc.
   ============================================================================= */
/* ---------------------------------------------------------------------------
   6.1 ShiftManagement Components
   --------------------------------------------------------------------------- */
/* Event Header Card */
.sm-event-header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--th-gray-100);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius);
  box-shadow: var(--th-shadow);
  animation: th-fadeInUp 0.35s ease forwards;
}
.sm-event-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--th-radius);
  background: var(--th-primary-light);
  color: var(--th-primary);
}
.sm-event-info {
  min-width: 0;
}
.sm-event-info h6 {
  font-size: 0.75rem;
  color: var(--th-gray-600);
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sm-event-info div:not(h6) {
  font-size: 0.9375rem;
  color: var(--th-text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sm-event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sm-event-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}
.sm-last-updated {
  font-size: 0.75rem;
  color: var(--th-gray-600);
  text-align: right;
}
.sm-last-updated h6 {
  font-size: 0.6875rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 992px) {
  .sm-event-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .sm-event-actions {
    align-items: stretch;
  }
  .sm-last-updated {
    text-align: left;
  }
}
/* Clocking Controls Panel */
.sm-clocking-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sm-clocking-info {
  font-size: 0.875rem;
  color: var(--th-text);
}
.sm-clocking-time {
  font-weight: 600;
  color: var(--th-primary);
}
.sm-clocking-time-highlight {
  font-weight: bold;
  color: var(--th-warning);
}
/* Survey Score Badges */
.sm-survey-score {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--th-radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  max-width: 80px;
}
.sm-survey-score--excellent {
  background: var(--th-success-light);
  color: var(--th-success);
  border: 1px solid rgba(var(--th-success-rgb), 0.25);
}
.sm-survey-score--good {
  background: var(--th-warning-light);
  color: #856404;
  /* Darker yellow for contrast */
  border: 1px solid rgba(var(--th-warning-rgb), 0.25);
}
.sm-survey-score--poor {
  background: var(--th-danger-light);
  color: var(--th-danger);
  border: 1px solid rgba(var(--th-danger-rgb), 0.25);
}
/* Face Recognition Warning */
.sm-facerec-warning {
  color: var(--th-warning);
  margin-left: 0.375rem;
}
/* Uniform Section */
.sm-uniform-section {
  padding-top: 0.75rem;
  border-top: 1px solid var(--th-border);
}
.sm-uniform-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--th-gray-600);
  margin-bottom: 0.375rem;
}
.sm-uniform-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--th-text);
}
.sm-uniform-edit {
  color: var(--th-gray-500);
  cursor: pointer;
  transition: color var(--th-transition);
}
.sm-uniform-edit:hover {
  color: var(--th-primary);
}
.sm-uniform-input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sm-uniform-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  font-size: 0.875rem;
  background: var(--th-bg-card);
  color: var(--th-text);
}
.sm-uniform-input:focus {
  outline: none;
  border-color: var(--th-primary);
  box-shadow: 0 0 0 3px rgba(var(--th-primary-rgb), 0.1);
}
/* Staff Card (Table Cell Content) */
.sm-staff-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
}
.sm-staff-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.sm-profile-image {
  border-radius: var(--th-radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.sm-staff-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--th-text);
  margin-bottom: 0.25rem;
}
.sm-staff-name:hover {
  color: var(--th-primary);
}
.sm-staff-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .sm-staff-card {
    grid-template-columns: 1fr;
  }
  .sm-staff-content {
    grid-template-columns: 1fr;
  }
  .sm-staff-profile {
    flex-direction: row;
    justify-content: flex-start;
  }
}

.log-entry::before {
  content: "● ";
  font-size: 18px;
  color: var(--status-color, black);
}
.log-entry.green {
  --status-color: var(--bs-success-border-subtle);
}
.log-entry.amber {
  --status-color: var(--bs-warning-border-subtle);
  /* Amber */
}
.log-entry.red {
  --status-color: var(--bs-danger-border-subtle);
  /* Red */
}
.alternate-grey {
  background-color: var(--bs-gray-200) !important;
}
.disabled-div {
  pointer-events: none;
  opacity: 0.5;
}
.hover {
  cursor: pointer;
}
.hover-delete {
  cursor: not-allowed;
}
.filter-checkbox-group {
  max-height: 300px;
  overflow-y: scroll;
}
.form-label-header {
  color: var(--bs-gray-400);
  font-weight: bold;
}
.alert-primary .form-check-label {
  color: inherit;
  /* Inherit color from the parent */
}
.pointer {
  cursor: pointer;
}
td.control-buttons {
  min-width: 60px;
  text-align: center;
}
td.name-section {
  min-width: 250px;
}
.rag-status-red {
  color: #990000;
}
.rag-status-amber {
  color: #EE9900;
}
.rag-status-green {
  color: #009900;
}
.js-faq-section {
  border: 1px solid var(--bs-gray-300);
  border-radius: 5px;
  padding: 5px;
  display: flex;
}
.faq-menu {
  border-right: 1px solid var(--bs-gray-300);
  padding-right: 5px;
  min-width: 200px;
  height: auto;
  overflow-y: auto;
}
.faq-container img {
  border: solid 2px;
  width: 100%;
}
.faq-item-selected {
  font-weight: bold;
}
.faq-content {
  flex-grow: 1;
}
table.table-standard td {
  border: 1px solid var(--bs-gray-300);
  padding: 3px;
  text-align: left;
}
/*Survey js changes */
.sv-popup__body-content {
  min-height: 400px;
}
.sv-list__item--selected {
  color: #000000 !important;
}
/*END: Survey js changes */
.error-text {
  color: #990000;
  font-weight: bold;
}
.error-colour {
  color: #990000;
}
.warning-colour {
  color: #FFA800;
}
.warning-text {
  color: #FFA800;
  font-weight: bold;
}
.clear-background {
  background-color: #FFFFFF;
}
.form-section {
  background-color: #F3F6F9;
  border: 1px solid #E4E6EF;
  padding: 5px;
  border-radius: 5px;
}
/*User initials in a circle. Fixed colour for demo*/
[data-letters]:before {
  content: attr(data-letters);
  display: inline-block;
  font-size: 1em;
  width: 2.5em;
  height: 2.5em;
  line-height: 2.5em;
  text-align: center;
  border-radius: 50%;
  background: plum;
  vertical-align: middle;
  margin-right: 1em;
  color: white;
}
/* bd-callout*/
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #eee;
  border-left-width: 1.25rem;
  border-radius: 0.25rem;
}
.bd-callout h4 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}
.bd-callout p:last-child {
  margin-bottom: 0;
}
.bd-callout code {
  border-radius: 0.25rem;
}
.bd-callout + .bd-callout {
  margin-top: -0.25rem;
}
.bd-callout-info {
  border-left-color: #5bc0de;
}
.bd-callout-info h4 {
  color: #5bc0de;
}
.bd-callout-warning {
  border-left-color: #f0ad4e;
}
.bd-callout-warning h4 {
  color: #f0ad4e;
}
.bd-callout-danger {
  border-left-color: #d9534f;
}
.bd-callout-danger h4 {
  color: #d9534f;
}
.bd-callout-primary {
  border-left-color: #007bff;
}
.bd-callout-primaryh4 {
  color: #007bff;
}
.bd-callout-success {
  border-left-color: #28a745;
}
.bd-callout-successh4 {
  color: #28a745;
}
.bd-callout-default {
  border-left-color: #6c757d;
}
.bd-callout-defaulth4 {
  color: #6c757d;
}
/* end bd-callout*/
@keyframes highlighter {
  from {
    background-color: yellow;
  }
  to {
    background-color: none;
  }
}
.highlight-animated {
  animation-name: highlighter;
  animation-duration: 4s;
}
.icon-menu {
  display: inline;
  margin-top: -5px;
}
.icon-menu li {
  list-style: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  width: 16%;
  padding: 15px;
  /* this will be applied internally, due to       
box-sizing property */
}
.button__badge {
  background-color: #fa3e3e;
  border-radius: 2px;
  color: white;
  padding: 1px 3px;
  font-size: 10px;
  /*position: absolute; /* Position the badge within the relatively positioned button */
  top: 0;
  right: 0;
}
.icon-danger {
  color: red;
}
.new-item {
  background-color: red;
  /* Change the background color to highlight */
  color: white;
  /* Change the font color for emphasis */
  font-weight: bold;
  /* Make the text bold */
  padding: 1px;
  border-radius: 3px;
  border: solid 1px red;
  position: relative;
  top: -10x;
}
.img-border {
  border: solid 1px #999999;
  border-radius: 0.42rem;
}
.profile-panel {
  /*border: solid 1px #CCCCCC;
    border-radius: 0.42rem;*/
}
.profile-photo-guide-images {
  margin-left: auto;
  margin-right: auto;
}
/* 
			feed items
		*/
.feedItem-alert {
  background-color: #FFFACC;
  /*background-color: #fff3cd; FFFACC;*/
  border: solid 1px #CCCCCC;
  border-radius: 0.42rem;
}
.feedItem-alert-2 {
  background-color: #E0F0FF;
  /*background-color: #d1ecf1; E0F0FF*/
  border: solid 1px #CCCCCC;
  border-radius: 0.42rem;
}
.feedItem-alert h3 {
  /*background-color: #FFAA00;*/
}
/*SurveyJs Forms*/
.highlight-circle {
  display: inline-block;
  width: 100px;
  /* Adjust the width and height as needed */
  height: 100px;
  border-radius: 50%;
  /* Makes it a circle */
  /*background-color: green;*/
  /* Set the background color to green */
  border-color: green;
  color: green;
  /* Set text color to white */
  text-align: center;
  line-height: 100px;
  /* Center the text vertically */
  font-size: 1.5em;
  /* Adjust font size as needed */
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Survey Styles */
.survey-container {
  padding: 20px;
}
.survey-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
.survey-question {
  margin-bottom: 10px;
}
.survey-answer {
  margin-left: 20px;
}
.survey-submit-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}
.survey-submit-button:hover {
  background-color: #0056b3;
}
/* Radio Buttons and Checkboxes */
.sv_q_radiogroup {
  margin-bottom: 10px;
}
.sv_q_checkbox {
  margin-bottom: 10px;
}
/* Text Input Fields */
.sv_q_text_root {
  margin-bottom: 10px;
}
/* Dropdowns */
.sv_q_dropdown_control {
  margin-bottom: 10px;
}
/* Other Custom Styles */
/* Add your custom styles here */
/* Hide the "Clear" button */
.sd-action[title="Clear"] {
  display: none !important;
}
/* Hide the "More" button */
.sv-action-bar-item[title="More"] {
  display: none !important;
}
.sd-row__question {
  margin-bottom: 20px;
}
.sv-action__content {
  margin-bottom: 10px;
}
/*alerts*/
.highlight-alert {
  border-radius: 5px;
  text-align: center;
}
.custom-date-time-range-picker {
  /*border: solid 1px #E4E6EF;
    border-radius: 5px;
    margin: 0px;
    padding: 5px;*/
}
/* Tab controls */
/* General styling for the nav-link elements */
.nav-link {
  background-color: var(--bs-gray-200);
  /* Default background for inactive tabs */
  color: var(--bs-gray-700);
  /* Text color for inactive tabs */
  border: 1px solid #ddd;
  /* Border around the tabs */
  padding: 10px 15px;
  /* Padding to make the tabs look better */
  margin-right: 5px;
  /* Spacing between tabs */
  border-radius: 4px 4px 0 0;
  /* Rounded corners */
  transition: background-color 0.3s;
  /* Smooth transition when switching tabs */
}
/* Styling for the active tab */
.nav-link.active {
  color: var(--bs-gray-700);
  /* Text color for active tab */
  border-bottom: 1px solid white;
  /* Make the border bottom of the active tab white to blend with the content below */
}
.clocking-edit {
  min-width: 500px;
}
.pulse {
  animation: pulse 10s infinite;
}
/*location sections*/
.standard-location {
  background-color: #FFFFFF;
  color: #AAAAAA;
}
.standard-location input[type="text"] {
  color: #AAAAAA;
}
.highlight-location {
  background-color: #EEEEEE !important;
}
.standard-location label,
.highlight-location label {
  margin-inline-end: 5px;
}
.standard-location input[type="text"],
.highlight-location input[type="text"] {
  min-width: 300px;
}
.location-table {
  padding: 5px;
}
/* end location sections*/
.planner-event-highlight {
  border: 1px solid red !important;
}
.event-container {
  border: solid 1px #CCCCCC;
  background-color: #F7F7F7;
  color: #000000;
  padding: 5px;
  min-width: 150px;
}
.shift-container {
  padding: 5px;
  border: solid 1px #CCC;
  background-color: #FFF;
}
/* planner */
.planner-event-link {
  cursor: pointer;
}
.progress-bar-vacant {
  background-color: var(--bs-danger-border-subtle);
  color: var(--bs-gray-900);
}
.progress-bar-allocated {
  background-color: var(--bs-primary-border-subtle);
  color: var(--bs-gray-900);
}
.progress-bar-accepted {
  background-color: var(--bs-warning-border-subtle);
  color: var(--bs-gray-900);
}
.progress-bar-confirmed {
  background-color: var(--bs-success-border-subtle);
  color: var(--bs-gray-900);
}
.fc-daygrid-event {
  white-space: normal;
}
/* end planner */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* Tool tips */
.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  border-color: var(--bs-info);
}
.tooltip-icon {
  font-size: 14px;
  margin-left: 5px;
  color: var(--bs-gray-400);
}
.tooltip-text {
  visibility: hidden;
  background-color: var(--bs-info-light);
  /* Bootstrap alert-info background */
  color: var(--bs-info) !important;
  /* Bootstrap alert-info text color */
  text-align: left;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid var(--bs-info);
  /* Bootstrap alert-info border */
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}
.action-button {
  background-color: var(--bs-app-header-base-bg-color) !important;
}
.wizard-step {
  display: none;
}
.wizard-step.active {
  display: block;
}
/*internal transport controls*/
.transport-container {
  display: flex;
  flex-direction: column;
  padding: 10px !important;
}
.journey-container {
  display: flex;
  justify-content: space-between;
}
.outward-journey,
.return-journey {
  width: 45%;
}
.internal-transport-highlight {
  background-color: var(--bs-primary-light);
  border: 2px solid var(--bs-primary-border);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.6);
  /* Optional shadow effect */
}
.chart-container-outer {
  padding: 5px;
}
.chart-container {
  padding: 5px;
  margin: 5px;
  border: solid 1px #AAAAAA;
  background-color: #FFFFFF;
}
.chart-content {
  height: 300px;
}
.series-toggle-container {
  padding-bottom: 10px;
  font-size: 0.9rem;
}
.daterangepicker {
  z-index: 9999 !important;
  /* Ensure it's above the modal */
}
.test-header {
  background-color: #FF0000 !important;
}
@media print {
  @page {
    size: A4 landscape;
    margin: 50mm;
  }
  .no-print {
    display: none !important;
  }
  .app-sidebar,
  .btn,
  .nav,
  .app-header-menu,
  .app-navbar {
    display: none !important;
  }
  /* Table break section - not very reliable */
  table {
    page-break-inside: auto;
    border-collapse: collapse;
    width: 100%;
  }
  thead {
    display: table-header-group;
    /* repeats table header on each page */
  }
  tfoot {
    display: table-footer-group;
    /* repeats footer if you have one */
  }
  tr,
  td,
  th {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
}

.pdfobject-container {
  height: 30rem;
  border: 1rem solid rgba(0, 0, 0, 0.1);
}

.table-content-wrap {
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}
