:root {
  /* og sec col: #4eb5e7; */
  --c-orange: var(--bs-orange);
  --c-light-green: rgb(140, 198, 62);
}

ol {
  margin-bottom: 1rem !important;
}

.card-browser-states .browser-states {
  margin-top: 0;
}

.c-max-width-16 {
  max-width: 16%;
}

.c-max-width-30 {
  max-width: 30%;
}

.c-score-low {
  color: var(--bs-danger);
}

.c-score-average {
  color: var(--bs-warning);
}

.c-score-good {
  color: var(--c-light-green);
}

.c-score-best {
  color: var(--bs-success);
}

.c-score-low-bg {
  background-color: rgba(var(--bs-danger-rgb), 0.3);
}

.c-score-average-bg {
  background-color: rgba(var(--bs-warning-rgb), 0.3);
}

.c-score-good-bg {
  background-color: rgba(140, 198, 62, 0.3);
}

.c-score-best-bg {
  background-color: rgba(var(--bs-success-rgb), 0.3);
}

.c-border-colour-score-low {
  border-color: red;
}

.c-border-colour-score-average {
  border-color: #e0d20b;
}

.c-border-colour-score-good {
  border-color: var(--c-light-green);
}

.c-border-colour-score-best {
  border-color: green;
}

.c-score-bar {
  background: linear-gradient(to right,
      red 0%,
      red 50%,
      #e0d20b 50%,
      #e0d20b 70%,
      var(--c-light-green) 70%,
      var(--c-light-green) 90%,
      green 90%,
      green);
}

.c-bg-label-good {
  background-color: rgba(140, 198, 62, 0.2) !important;
  color: var(--c-light-green) !important;
}

.c-bg-label-low {
  background-color: rgba(255, 0, 0, 0.2) !important;
  color: red !important;
}

.c-bg-label-average {
  background-color: rgba(224, 210, 11, 0.2) !important;
  color: #e0d20b !important;
}

.c-bg-label-success {
  background-color: rgba(0, 128, 0, 0.2) !important;
  color: green !important;
}

.c-left-minus-100 {
  left: -100px !important;
}

.fa-custom-size {
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  font-size: 20px;
  margin: 4px;
  text-align: center;
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 10px;
  padding-top: 15px;
  cursor: pointer;
}

.fa-custom-size:hover {
  background-color: #f0f0f0;
}

.fa-height {
  max-height: 30vh;
  justify-content: space-around;
  overflow: auto;
}

.c-object-fit-cover {
  object-fit: cover;
  object-position: center;
}

.c-object-fit-contain {
  object-fit: contain;
  object-position: right;
}

.c-object-position-left {
  object-position: left;
}

.table-hover tbody tr {
  cursor: unset;
}

.c-heading-text-color {
  color: var(--bs-c-colour-title);
  font-weight: bold;
}

.c-text-yellow {
  color: var(--bs-warning);
}

.c-bg-yellow {
  background-color: var(--bs-warning);
}

.c-border-yellow {
  border-color: var(--bs-warning) !important;
}

.c-score-lg {
  border-radius: 50%;
  width: 96px;
  height: 96px;
  font-size: 48px;
}

.c-fs-48px {
  font-size: 48px;
}

.c-left-0 {
  left: 0px;
}

.c-right-0 {
  right: 0px;
}

/* html report */
.text-c-colour-subtitle {
  color: var(--bs-c-colour-subtitle);
}

.c-text-light-blue {
  color: var(--bs-c-colour-title);
}

.c-fs-128px {
  font-size: 128px;
}

.c-w-250 {
  width: 250px !important;
}

.c-w-150 {
  width: 150px !important;
}

.c-graph-label {
  height: 24px;
  width: 60px;
}

.c-border-bottom {
  border: 1px solid #073550;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.c-graph-bg {
  background-color: #e1f0fa !important;
}

.c-width-20 {
  width: 20%;
}

.c-width-24 {
  width: 24%;
}

.c-bg-danger {
  --bs-table-accent-bg: red !important;
}

.c-html-report-detail {
  border: 3px solid var(--bs-c-colour-title);
  border-left: 0;
  border-right: 0;
  margin-bottom: 15px;
  margin-top: 15px;
}

.c-w-48px {
  width: 48px;
}

.c-min-w-100 {
  min-width: 100%;
}

.c-circular-chart {
  display: block;
  margin: 4px auto;
  max-width: 60%;
  max-height: 80px;
}

.c-circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 3.8;
}

.c-circle {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  animation: progress 1s ease-out forwards;
}

/* stroke color */
.c-stroke-title .c-circle {
  stroke: var(--bs-c-colour-title);
}

.c-stroke-light-green .c-circle {
  stroke: var(--c-light-green);
}

.c-stroke-secondary .c-circle {
  stroke: var(--bs-secondary);
}

.c-stroke-orange .c-circle {
  stroke: var(--c-orange);
}

.c-stroke-red .c-circle {
  stroke: var(--bs-danger);
}

.c-stroke-blue .c-circle {
  stroke: var(--bs-c-colour-title);
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}

.c-percentage {
  fill: #666;
  font-size: 16px;
  text-anchor: middle;
}

/* overwrite bootstrapclass */
.table> :not(caption)>*>* {
  padding: 0.48rem;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-toggle {
  padding-left: 0;
  padding-right: 0;
}

.c-score-pie {
  border-radius: 100%;
  border-width: 5px;
  border-style: solid;
}

.c-disabled {
  pointer-events: none;
}

.c-disabled.c-read-only {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
  opacity: 0.5 !important;
}

.ns-resize {
  cursor: ns-resize !important;
}

.c-sidebar {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable !important;
}

.btn-group .btn-check:checked+span+label.btn-outline-primary {
  color: #3498db !important;
  background-color: #dfeff9 !important;
  border-color: #3498db !important;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

@media print {
  .c-page-break-before-always {
    page-break-before: always !important;
    display: block;
  }

  .c-page-break-after-always {
    page-break-after: always !important;
    display: block;
  }

  .c-page-break-after-avoid {
    page-break-after: avoid;
  }

  .c-break-inside-avoid {
    break-inside: avoid;
  }

  .c-break-inside-avoid-all,
  .c-break-inside-avoid-all>* {
    break-inside: avoid;
  }

  .slide-card,
  section[id^="slide_"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0.25in !important;
    padding-right: 0.25in !important;
  }

  .slide-card {
    min-height: 7.5in !important;
    width: 10.5in !important;
    height: 7.5in !important;
    max-height: 7.5in !important;
  }

  html,
  body {
    height: 100%;
    background: white !important;
    -webkit-print-color-adjust: exact;
    /* ensures background prints */
    print-color-adjust: exact;
    margin: 0;
    padding: 0;
  }
}

.c-input-colour {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  height: auto;
  padding: 0;
  width: 5em;
}

.c-input-colour input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.c-input-colour input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 0;
}

.c-input-colour input[type="color"]::-moz-color-swatch,
.c-input-colour input[type="color"]::-moz-focus-inner {
  border: 0;
}

.c-input-colour input[type="color"]::-moz-focus-inner {
  padding: 0;
}

ul>li>a {
  text-decoration: none !important;
}

.bg-menu-theme .menu-sub>.menu-item>.menu-link::before {
  display: none !important;
}

.menu-vertical .menu-sub .menu-link {
  padding-left: 1.35rem !important;
}

.c-h-100vh {
  height: 100vh;
}

.c-dot {
  min-height: 12px;
  min-width: 12px;
  border-radius: 50%;
  display: inline-block;
}

.c-verticle {
  border-left: 1px solid;
  height: 48px;
}

.c-cursor-pointer {
  cursor: pointer;
}

.c-checkbox-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.c-h-56px {
  height: 56px !important;
}

.c-h-160px {
  min-height: 160px !important;
  max-height: 160px !important;
}

.c-min-h-56px {
  min-height: 56px !important;
}

.c-line-height-inherit {
  line-height: inherit !important;
}

.c-pointer-events-none {
  pointer-events: none !important;
  cursor: not-allowed !important;
}

.c-cursor-progress {
  cursor: progress !important;
}

p:empty::before {
  content: "";
  display: inline-block;
}

.c-notes-add-edit {
  display: none !important;
  align-items: flex-start;
  margin-left: .5rem;
}

.card-body:hover>div>div>div.c-notes-add-edit {
  display: flex !important;
}

#tableImport td {
  padding: 0.30rem;
}

.c-preview-container {
  aspect-ratio: 11 / 8.5;
  max-height: calc(100vh - 200px);
  width: 100%;
}

.c-preview-content-wrapper {
  /* position: absolute; */
  width: 1056px;
  height: 816px;
  min-width: 1056px;
  min-height: 816px;
  max-width: 1056px;
  /* max-height: 816px; */
  scroll-snap-type: y mandatory;
}

.slide-image-wrapper {
  position: relative;
  overflow: hidden;
}

.svg-container {
  transition: filter 0.3s ease;
}

.c-slide-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

/* Make all cards in a row equal height by stretching */
.d-flex.flex-wrap.gap-4>.c-slide-card {
  align-self: stretch;
}

.c-slide-card:hover .svg-container {
  filter: blur(2px);
}

.svg-container svg {
  width: auto !important;
}

.overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1000;
}

.c-slide-card:hover .overlay-btn {
  display: flex;
}

#deckPreviewContainer {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#deckPreviewContainer::-webkit-scrollbar {
  display: none;
}

.c-h-90 {
  height: 90% !important;
}

.c-max-h-4rem {
  max-height: 4rem;
}

.c-max-h-2rem {
  max-height: 2rem;
}

.c-max-h-3_5rem {
  max-height: 3.5rem;
}

.c-max-h-3rem {
  max-height: 3rem;
}

.c-max-h-2_5rem {
  max-height: 2.5rem;
}

.c-background-top {
  top: 17%;
}

.c-top-60 {
  top: 60%;
}

.c-accent-line {
  width: 72px;
  height: 6px;
}

/* Dynamic column width for slide cards */
.c-slide-col {
  flex: 1 1 0;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 1.5rem;
}

.c-slide-col:first-child {
  padding-left: 0;
}

.c-slide-col:last-child {
  padding-right: 0;
}

.c-background-top_25 {
  top: 25%;
  height: 50%;
}

.c-background-top_75 {
  top: 0;
  height: 75%;
  background-color: #f8f9fa;
}

/* Dynamic chart bar height based on value (max 220px for demo) */
.dynamic-bar {
  transition: height 0.4s cubic-bezier(.4, 2, .6, 1);
  min-height: 30px;
  max-height: 220px;
  height: 130px;
  /* fallback */
}


.number-badge {
  left: -37px;
  width: 35px;
  height: 35px
}

.c-top-accent-line {
  top: -3px;
}

.c-left-6 {
  left: 24px;
}


.c-top-25 {
  top: 25%;
}


.c-left-24 {
  left: 24px;
}

.c-step-circle {
  min-width: 40px;
  min-height: 40px;
  width: 40px;
  height: 40px;
  font-weight: bold;
  font-size: 20px;
}

.c-bottom-15 {
  left: 0;
  bottom: -15px;
}

.c-icon-box {
  width: 56px;
  height: 56px;
  z-index: 2;
}

.c-column-height {
  height: 95%;
}

.c-content-shift-left {
  margin-left: -35px;
}

.c-p-in-05 {
  padding: 0.5in !important;
}
 /* Floating Action Button for Support */
 .c-floating-support-btn {
  position: fixed;
  bottom: 1.6rem;
  right: 1.25rem;
  z-index: 1000;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bs-primary);
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  text-decoration: none;
  will-change: transform;
}

.c-floating-support-btn:hover {
  transform: translateY(-0.125rem);
  color: white;
  background: var(--bs-primary);
  opacity: 0.95;
}

.c-floating-support-btn i {
  transition: transform 0.2s ease;
}

.c-floating-support-btn:hover i {
  transform: scale(1.1);
}