@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

.text-info {
  color: #1e9dd8 !important ;
}

.alert-warning {
    --bs-alert-color: black !important;
    --bs-alert-bg: #fff3cd;
    --bs-alert-border-color: #ffecb5;
}

/* Style the inline status label text */
.status-label {
  font-weight: bold;
  font-size: 1rem;
}

/* Override Bootstrap popover styling */
.bs-popover-auto, 
.bs-popover-top, 
.bs-popover-bottom, 
.bs-popover-start, 
.bs-popover-end {
  background-color: #000 !important;
  color: #fff;
  border: 2px solid #1e9dd8;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.3);
}

.bs-popover-auto .popover-header,
.bs-popover-top .popover-header,
.bs-popover-bottom .popover-header,
.bs-popover-start .popover-header,
.bs-popover-end .popover-header {
  background-color: #000 !important;
  color: #fff;
  border-bottom: 1px solid #1e9dd8;
  font-weight: bold;
}

.popover-body {
  font-size: 0.85rem;
  padding: 1rem;
  background-color: #000 !important;
  color:white
}


  .status-info-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }

  .status-info-panel {
    display: none;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e1e1e;
    color: #fff;
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #1e9dd8;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    width: 240px;
    z-index: 1000;
    text-align: left;
    font-size: 0.85rem;
  }

  .status-info-panel::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #1e9dd8 transparent transparent transparent;
  }

  /* Show panel on hover for non-touch devices */
  @media (hover: hover) {
    .status-info-icon:hover .status-info-panel {
      display: block;
    }
  }

  /* Show panel if toggled on mobile */
  .status-info-panel.show {
    display: block !important;
  }

.modal-pm-container {
  position: fixed;
  top: 50%;
  left: -310px; /* now slides from the left */
  width: 300px;
  height: 50%;
  transform: translateY(-50%);
  background-color: #1e1e1e;
  color: #fff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
  z-index: 1050;
  transition: left 0.4s ease;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 3px solid #1e9dd8;
  border-radius: 10px;
}

.modal-pm-container.open {
  left: 0;
}

/* Button now sticks to the right of the sliding panel */
.modal-pm-trigger {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1e9dd8;
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 0.75rem 1rem;
  font-weight: bold;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.modal-pm-close {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-pm-body p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: white;
}

.modal-pm-body h1 {
  color: #1e9dd8;
}

.modal-pm-body a {
  color: #1e9dd8;
  text-decoration: underline;
}

.custom-search-result-item small {
  color: #ffffff !important;
  font-style: normal;
}
.custom-search-result-item small {
  color: #ffffff !important;
  font-style: normal;
}

.flag-green {
  color: green;
}

.subgrid.sharepoint-grid {
    padding-top: 50px
}

.flag-amber {
  color: orange;
}

.flag-red {
  color: red;
}

.navbar-dark .navbar-nav > li > a:hover,
.navbar-dark .navbar-nav > li > a:focus,
.navbar-dark .navbar-nav > li > a:active,
.navbar-dark .navbar-nav > li > a:visited,
.navbar-dark .navbar-nav > li.dropdown > a:hover,
.navbar-dark .navbar-nav > li.dropdown > a:focus,
.navbar-dark .navbar-nav > li.dropdown > a:active {
    background-color: #83358d !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 10px !important;
}

.navbar-dark .navbar-nav > li > a.active,
.navbar-dark .navbar-nav > li.dropdown > a.active {
    background-color: #83358d !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

.navbar-dark .navbar-toggler {
  border: 1px solid #83358d;
  border-radius: 10px Important;
}
  .navbar-dark .navbar-toggler:hover {
    background-color: #83358d;
    border-color: #83358d;
    }
  .navbar-dark .navbar-toggler:focus {
    border: 1px solid #83358d;
    background-color: #83358d;
    }


.custom-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background: #1e1e1e;
  border: 1px solid #444;
  border-radius: 6px;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  padding: 0;
  margin-top: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.custom-search-result-item {
  list-style: none;
  padding: 0.75rem 1rem;
  color: #fff;
  border-bottom: 1px solid #333;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.custom-search-result-item:last-child {
  border-bottom: none;
}

.custom-search-result-item:hover {
  background-color: #2a2a2a;
  color: #1e9dd8;
}

/* Title (bold) */
.custom-search-result-item .fw-bold {
  color: #1e9dd8; /* Mercury blue glow tone */
  font-size: 1.05rem;
}

/* Description text */
.custom-search-result-item small {
  color: #ffffff;
  font-size: 0.9rem;
  font-style: normal;
}

/* Keywords specifically */
.custom-search-result-item .text-muted small {
  color: #ffffff;
  font-style: italic;
}  
  
  .kbarticle-title {
    color: #1e9dd8;
    font-size: 1.5rem;
}

.kbarticle-tile a:hover {
  color: #b19cd9 !important; /* Light purple */
}


.kbarticle-tile {
  position: relative;
  padding-bottom: 10px;
}


.kbarticle-tile::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  border-bottom: 1px solid;
}

.kbarticle-row {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 30px
}


.kb-tile {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 2rem 1rem;
  transition: all 0.3s ease-in-out;
  height: 100%;
  color: white;
}

.kb-tile i {
  color: white;
  opacity: 0.9;
}

.kb-tile:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-4px);
  box-shadow: 0 0 10px rgba(131, 53, 141, 0.5);
}

.kb-tile h5 {
  font-weight: 600;
}



.status-flag {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  vertical-align: middle;
}


div#content {
    margin-top: 5px;
    padding-right: 30px;
    padding-left: 30px;
    padding-top: 8px;
    padding-bottom: 8px;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 10px;
    backdrop-filter: blur(8px);
}

.stage-progress {
    width: 100%;
    display: flex
;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0;
    gap: 0;
    overflow-x: auto;
    padding-right: 24px;
    padding-top: 10px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;                       /* don’t grow/shrink the step itself */
}

.connector {
    flex: 1;
    height: 6px;
    background: #ccc;
    margin: 0;
    position: relative;
    top: calc(1rem - 40px);
    z-index: 1;
}

.circle {
    width: 6rem;
    height: 6rem;
    border-radius: 30px;
    display: flex
;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: background-color 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 2;
}

/* Completed */
.step.completed .circle   { background: #1e9dd8; }
.connector.completed       { background: #1e9dd8; }

.step.completed .circle {
  box-shadow:
    0 0 0.9rem #1e9dd8,  /* subtle white rim */
    0 0 0.9rem #1e9dd8;   /* gentle outer glow */
}

/* Active */
.step.active .circle {
  background: #8a2be2;
  box-shadow: 0 0 6px rgba(138,43,226,0.8);
}
.connector.active         { background: #8a2be2; }

/* Upcoming */
.step.upcoming .circle    { background: #e0e0e0; }
.connector.upcoming       { background: #e0e0e0; }

/* Labels */
.label {
    margin-top: 0.25rem;
    font-size: 1rem;
    white-space: nowrap;
    font-weight: 700;
}

.step.active .circle svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.step.completed .circle svg path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step.active .circle.active-icon {
  color: white;
  animation: pulse 1.5s infinite ease-in-out;
}



/* Desktop: remove scroll, evenly distribute */
@media (min-width: 768px) {
  .stage-progress {
    overflow-x: visible;
  }
}

.step.active .circle {
  /* static glow layers */
  box-shadow:
    0 0 0.25rem rgba(255,255,255,0.6),        /* inner white rim */
    0 0 0.75rem rgba(138,43,226,0.8),         /* strong purple glow */
    0 0 1.5rem rgba(138,43,226,0.6);          /* softer wider halo */
  animation: pulse-glow-purple 2s ease-in-out infinite;
}

@keyframes pulse-glow-purple {
  0%, 100% {
    box-shadow:
      0 0 0.2rem rgba(255,255,255,0.5),
      0 0 0.6rem rgba(138,43,226,0.7),
      0 0 1.2rem rgba(138,43,226,0.5);
  }
  50% {
    box-shadow:
      0 0 0.4rem rgba(255,255,255,0.8),
      0 0 1rem   rgba(138,43,226,1),
      0 0 2rem   rgba(138,43,226,0.8);
  }
}
/* Scroll bar */

/* Container you want to style (e.g., entire page) */
body {
  /* Fallback scrollbar width on Firefox */
  scrollbar-width: thin;
  scrollbar-color: #1e9dd8 black;
}

/* Width of the scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;          /* for horizontal scrollbar */
  background: #f1f1f1;   /* track background */
}

/* Track */
::-webkit-scrollbar-track {
  background: black;
  border-radius: 6px;
}

/* Thumb */
::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 6px;
  border: 3px solid #f1f1f1;  /* adds padding around the thumb */
}

/* Thumb on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}


/* Scroll Bar End */

.knowledge-card .accordion {
  width: 100%;
  margin-top: 15px
}

body {
  background-image: url('/ManageData.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}


  .article-card {
    background-color: #1e9dd8;
    color: white;
    transition: background 0.3s ease;
  }

  .article-card:hover {
    background-color: #0080ff;
    cursor: pointer;
  }


.knowledge-card .accordion-item {
    background-color:  rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    margin-bottom: 0px;
    border: 0px solid #1e9dd8;
}

.knowledge-card .accordion-button::after {
  display: none;
}

.knowledge-card .accordion-button {
  transition: color 0.2s ease;
}

.knowledge-card .accordion-button:hover {
  color: #83358d;
}

span.accordion-subject.ms-3.flex-grow-1.text-truncate {
    color: white;
    font-size: small;
}

.accordion-button {
  background-color:  rgba(0, 0, 0, 0.8);
  color: #1e9dd8;
  font-weight: bold;
}

.accordion-button:not(.collapsed) {
  background-color:  rgba(0, 0, 0, 0.8);
  color: #1e9dd8;
}


.project-progress .glass-card {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 12px;
}

.bpf-timeline {
  gap: 1rem;
}

.bpf-stage {
  flex: 1 1 100px;
  min-width: 80px;
}

.bpf-dot {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-radius: 50%;
  background-color: #1e9dd8;
}

.bpf-stage.current .bpf-dot {
  border: 3px solid white;
  background-color: #1e9dd8;
}

.bpf-label {
  margin-top: 0.25rem;
  font-weight: 500;
}

.bpf-date {
  font-size: 0.75rem;
  color: #ccc;
}

.info-block {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 1rem;
}




.cards-row {
  overflow-x: hidden;
}

.info-card {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f1f1f1;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 0px solid rgba(0, 0, 0, 0.4);
  height: 100%;
}

.info-card {
  color: #f1f1f1; 
  text-decoration: none  !important;/* Or your preferred static color */
}

.info-card:hover,
.info-card:focus,
.info-card:active,
.info-card:visited {
  color: #f1f1f1;
  text-decoration: none;
}

.info-card .card-label {
  color: inherit;
}

.card-label .badge {
  font-size: 1.2rem;
  vertical-align: middle; /* lifts the badge slightly if needed */
}

.badge, .badge.badgeColor {
    float: none;
    min-width: 13px;
    padding: 3px 7px;
    border-radius: 10px;
    font-size: 13px;
}

.card-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.card-label {
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
}

.glass-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1rem;
    color: #f1f1f1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.glass-card p {
  color: white;
}

.section-title {
    color: #1e9dd8;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
}


/* Page layout setup */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper-body {
  flex-grow: 1;
}

  .zindex-dropdown {
    z-index: 1050;
  }
  .search-wrapper {
    position: relative;
    max-width: 70%;
  }

  #articleSearch::placeholder {
  color: lightslategray;
  font-style: italic;
  font-size: 1rem;
}

  .knowledge-card h2 {
    font-size: xx-large;
}

.features .card-body {
    background-color: rgba(0, 0, 0, 0.8);
    color: white !important;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}
.project-meta .glass-card table {
  font-size: 1rem;
}
.project-meta .glass-card table th,
.project-meta .glass-card table td {
  vertical-align: top;
}

h2.card-title {
    color: #1e9dd8
}

h5.card-title {
    color: white;
    font-size: 1.5rem;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -6px;    /* half of the gap to counteract child padding */
}
.features-grid > div {
  /* each card will try to take up at least 150px and then grow */
  flex: 1 1 150px;
  padding: 6px;    /* half of the desired 12px gap */
  box-sizing: border-box;
}



#searchResults {
    position: absolute;
    z-index: 1050;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 370px;
    overflow-y: auto;
}

  .form-control-lg {
    width: 100%;
  }

  .knowledge-card {
    position: relative;
  }

  mark {
    background-color: #83358d;
    padding: 3 3px;
    border-radius: 5px;
    color: white
  }

body, html {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Hero background and blur */
.hero-container {
  background: url('/assets/images/blurred_background.png') center center / cover no-repeat;
  min-height: 300px;
  position: relative;
}

.hero-home h1.hero-heading-title {
  font-size: 3rem !important;
}

.hero-home {
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
    overflow-x: auto;
    padding-bottom: 40px;
    padding-top: 40px;
}

.hero-home h1 {
  color: white;
}

.hero-home p {
  color: white;
}

.hero-home-subtext {
  margin-top: 40px;
}

.hero-home-banner.d-flex.flex-column.flex-md-row.align-items-center.justify-content-center.text-md-start.mb-3 {
    padding-top: 30px;
}

.hero-overlay {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.3);
  height: 100%;
  padding: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-home {
    padding: 1rem 0.5rem;
  }

  .hero-home h1.hero-heading-title {
    font-size: 2rem !important;
}

  .hero-heading-title {
    font-size: 1.5rem;
  }

  .hero-home-banner {
    flex-direction: column;
    text-align: center;
  }

  .hero-home-banner img {
    max-width: 80px;
    margin-bottom: 1rem;
  }

  .hero-home-subtext p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .hero-home-subtext .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
  }
}

.process-flow-container {
    background: rgba(0, 0, 0, 0.8);
    padding: 5rem 1rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    overflow-x: auto;
}

.process-flow-container > .d-flex {
    max-width: 90%;
    margin: 0 auto;
    padding: 9px 60px;
    position: relative;
}

.hero-logo img {
    max-height: 200px;
    width: auto;
}

.hero-logo {
  margin-right: 1.5rem; /* adjust if needed */
}


/* Wrapper container */
.custom-bpf {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  align-items: center;
  justify-content: space-between;
  gap: 0; /* Let spacing be handled by line */
  padding: 50px;
}

/* Group stage + line */
.custom-bpf-stage-wrapper {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 100px;
  position: relative;
}


/* Stage container */
.custom-bpf-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  text-align: center;
}

/* Dot */
.custom-bpf-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: transparent;
  border: 6.64px solid #1e9dd8;
  z-index: 2;
}

.custom-bpf-stage.completed .custom-bpf-dot,
.custom-bpf-stage.active .custom-bpf-dot {
  background-color: #1e9dd8;
  box-shadow: 0 0 10px #1e9dd8, 0 0 20px #1e9dd8, 0 0 30px #1e9dd8;
}

/* Line connector */
.custom-bpf-line {
  flex-grow: 1;
  height: 6px;
  background-color: #1e9dd8;
  border-radius: 2px;
  position: relative;
  top: -20px;
  z-index: 0;
  margin: 0 0.25rem;
}

/* Stage label */
.custom-bpf-label {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.5rem;
}

/* Date under label */
.custom-bpf-date {
    font-size: 1rem;
    color: white;
    margin-top: 0.25rem;
    min-height: 1.2rem;
    display: flex
;
    align-items: center;
    justify-content: center;
}
/* Responsive fallback */
@media (max-width: 767.98px) {
  .custom-bpf {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
  }

  .custom-bpf-stage-wrapper {
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .custom-bpf-line {
    display: none !important;
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 8px #1e9dd8, 0 0 16px #1e9dd8, 0 0 24px #1e9dd8;
  }
  50% {
    box-shadow: 0 0 12px #1e9dd8, 0 0 24px #1e9dd8, 0 0 54px #1e9dd8;
  }
  100% {
    box-shadow: 0 0 8px #1e9dd8, 0 0 16px #1e9dd8, 0 0 24px #1e9dd8;
  }
}

.custom-bpf-stage.active .custom-bpf-dot {
  animation: glowPulse 1s ease-in-out infinite;
}





/* Step group */
.step-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  margin-top: 10px;
  margin-bottom: 1rem;
  padding-top: 10px; /* Ensure space for top glow */
}

.step-circle {
  width: 60px;
  height: 60px;
  background-color: #1e9dd8;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  box-shadow: 0 0 10px #1e9dd8, 0 0 20px #1e9dd8, 0 0 30px #1e9dd8;
  transition: box-shadow 0.3s ease;
}

.step-circle:hover {
  box-shadow: 0 0 15px #1e9dd8, 0 0 30px #1e9dd8, 0 0 45px #1e9dd8;
}


/* Step label */
.step-label {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
}

/* Connecting lines */
.step-line {
  flex-grow: 1;
  height: 4px;
  background-color: #1e9dd8;
  margin: 0 -40px;
  align-self: center;
  position: relative;
  top: -10px; /* <-- adjust as needed (try 0, 1px, 2px) */
  border-radius: 2px;
}

/* Home Page End */

/* Sticky Footer */
.footer {
  background-color: #000;
  font-size: 0.85rem;
}

.hero-home {
  margin-top: 10px;
}

.hero-home-banner {
  margin-bottom: 20px;
} 

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');



body, h1, h2, h3, h4, h5, h6, p, a, li, button, input, textarea, select {
  font-family: 'Montserrat', sans-serif !important;
}

@media (min-width: 1400px) {
    .row.sectionBlockLayout > .container, .row.sectionBlockLayout > .container-lg, .row.sectionBlockLayout > .container-md, .row.sectionBlockLayout > .container-sm, .row.sectionBlockLayout > .container-xl, .row.sectionBlockLayout > .container-xxl {
        max-width: 85%;
    }
}

@media (min-width: 1200px) {
    .row.sectionBlockLayout > .container, .row.sectionBlockLayout > .container-lg, .row.sectionBlockLayout > .container-md, .row.sectionBlockLayout > .container-sm, .row.sectionBlockLayout > .container-xl {
        max-width: 85%;
    }
}

.navbar-dark .navbar-nav a.show, .navbar-dark .navbar-nav a.dropdown-toggle.show {
    color: #ffffff;
    background-color: black !important;
    text-decoration: Underline;
}

.navbar-dark .navbar-nav .show.dropdown-menu {
    background-color: black !important;
    text-decoration: none;
}

.navbar-dark .navbar-nav a.show, .navbar-dark .navbar-nav a.dropdown-toggle.show {
    color: #ffffff;
    background-color: #83358d !important;
    text-decoration: none !important;
}

/* Breadcrumb */

.breadcrumb
 {
    background-color: rgba(0, 0, 0, 0.8) !important;
    margin-bottom: 12px;
    margin-top: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
}

  .breadcrumb  li a {
    color: white; }

    .breadcrumb li a:hover {
      color: white; 
    }

  .breadcrumb .active {
    color: #1e9dd8; 
  }

/* KB Article Styling */

.kb-article-content {
    background-color: white;
    border-radius: 8px;
    text-align: justify;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 50px;
    padding-right: 50px;
    margin-top: 25px;
    font-size: 16px;
}

.kb-article-content h1
{
    color: #83368D !important;
}
 
.kb-article-content h2
{
    color: #1e9dd8 !important;
    font-size: 1.5rem !important;
}
 
::marker {
      color: #3694D7 !important;
}
 
.kb-article-content *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  font-size: 16px;
  color: #000;
}

.kb-article-content h1 { font-size: 32px; }
.kb-article-content h2 { font-size: 28px; }
.kb-article-content h3 { font-size: 24px; }
.kb-article-content h4 { font-size: 20px; }
.kb-article-content h5 { font-size: 18px; }
.kb-article-content h6 { font-size: 16px; }
 
::marker {
      color: #3694D7 !important;
}




/* Header */

.static-top.navbar-dark {
  background-color: black;
  position: sticky;
  top: 0;
  z-index: 1000; /* Ensure the header stays on top of other content */
  width: 100%;
}

.navbar-toggler {
  background-color: #1e9dd8;
}

.navbar-dark .navbar-nav > li > a, .navbar-dark .navbar-nav > li.dropdown > a {
    color: white;
    font-family: Arial;
    font-weight: 400;
    font-size: 20px;
}

footer .footer-bottom p {
    margin: 0;
    color: #fff;
    font-weight: 100;
    font-size: 15px;
}

footer .footer-bottom {
    width: 100%;
    min-height: 30px;
    background-color: black;
    font-size: 14px;
    display: flex
;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.status-green {
    background: linear-gradient(135deg, #83c16a, #0000);
}

.status-amber {
  background: linear-gradient(135deg, #f9d976, #f9d976);
}

.status-red {
  background: linear-gradient(135deg, #f08080, #f08080);
}



/* Dropdown toggle buttons - dark theme */
.btn-outline-primary,
.btn-outline-dark,
.btn-outline-secondary {
  color: #eee;
  border-color: rgba(255, 255, 255, 0.4);
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

/* Dropdown menu background and text */
.dropdown-menu {
  background-color: #222; /* Dark background */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.4rem;
  min-width: 12rem;
}

/* Dropdown menu items */
.dropdown-menu .dropdown-item {
  color: #ddd;
  padding: 0.4rem 1.2rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item.active {
  background-color: #444;
  color: #fff;
}

/* Special styling for urgent priority */
.dropdown-menu .dropdown-item.fw-bold.text-danger {
  color: #ff5c5c;
}

.dropdown-menu .dropdown-item.fw-bold.text-danger:hover,
.dropdown-menu .dropdown-item.fw-bold.text-danger:focus {
  background-color: #b22222;
  color: #fff;
}

/* Reset button styling */
#resetFilters {
  color: #eee;
  border-color: rgba(255, 255, 255, 0.4);
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#resetFilters:hover,
#resetFilters:focus {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

/* Background 
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #8e44ad, #1e9dd8);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
  }
*/

  html, body {
    width: 100%;
    overflow-x: hidden;
  }
  
  /* Table header (thead) */
table#projectsTable thead th {
    background-color: transparent;
    color: #1e9dd8 !important;
    font-weight: 700;
    border: none;
}

/* Table body rows */
table#projectsTable tbody tr {
    background-color: transparent;
    color: white !important;
}

/* Table body cell text */
table#projectsTable tbody td {
  color: white !important;
}

/* Optional: Hover effect (light grey) */
table#projectsTable tbody tr:hover {
  background-color: rgba(70, 130, 180, 0.2) !important; /* steelblue with transparency */
  color: #333 !important;
}

/* Optional: Remove zebra striping (if needed) */
table#projectsTable.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent;
}

.table-bordered>:not(caption)>*>* {
    border-width: 1px 0px !important;
}

table a {
  color: #1e9dd8 !important;
  text-decoration: none; /* Optional: removes the underline */
  font-weight: 700;
}

table a:hover {
  text-decoration: underline; /* Optional: underline on hover */
  color: #1e9dd8; /* Optional: lighter blue on hover */
  font-weight: 700 ;
}

  /* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #f1f1f1;
}

.container-article {
  width: 90%;
  margin: 0 auto;
  background-color: whitesmoke;
}

.hero {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    padding: 1rem 1rem 2rem 1rem;
    border-radius: 10px;
    margin-bottom: 12px;
}

.features .card-body-kb {
    background-color: #1e9dd8;
    color: white !important;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.features .card-kb
 {
    border: none !important;
    border-radius: 10px;
    transition: transform 0.2s ease;
    background-color: #1e9dd8 !important;
    backdrop-filter: blur(10px);
}

  .quickstart-header {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  }

.quickstart-header h1 {
  color: white
}

.quickstart {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 400px;

  display: flex;
  flex-direction: column;
}

.body {
  min-height: 150px; /* Same height for all body sections */
  display: flex;
  align-items: center; /* vertically center content */
  justify-content: center; /* center icons and table */
}

.footer {
  margin-top: auto; /* Push footer to bottom */
}


.filters {
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 1rem 1rem 2rem 1rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
}

#description {
  overflow-y: auto;
  resize: none;
  min-height: 60px;
  max-height: 400px;
  line-height: 1.4;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.hero h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.hero p {
  font-size: 1.1rem;
  color: #dddddd;
}

.hero-buttons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  border: 0px;
  transition: background-color 0.2s ease;
}

.btn.primary {
  background: #1e9dd8;
  color: white;
}

.btn.primary:hover {
  background: linear-gradient(135deg, #8e44ad, #1e9dd8);
}

#uploadBtn:enabled {
  background-color: #1e9dd8 !important;
  color: white !important;
  border-color: #1e9dd8 !important;
  opacity: 1;
}

#uploadBtn:disabled {
  background-color: lightslategrey !important; 
  color: white !important;
  border-color: lightslategrey !important;
  opacity: 1;
}

.btn.secondary {
  background-color: #444;
  color: white;
}

.btn.secondary:hover {
  background-color: #555;
}

  table.dataTable.dtr-inline.collapsed>tbody>tr>td.control:before {
    background-color: purple !important;
    color: white !important;
    border: none;
  }


.dropdown-item {
  text-decoration: none !important;
  padding: 0.5rem 1rem;
  transition: none; /* Prevents animation shifts */
}

.dropdown-item:hover,
.dropdown-item:focus {
  text-decoration: none !important;
  background-color: #2a2a2a; /* or your dark theme color */
  color: #fff; /* optional: keeps text readable */
  transform: none !important;
}

/* Button Styles */
.btn-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 5px;
  background-color: #0078d4;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.btn-link:hover {
  background-color: #005a9e;
  transform: translateY(-2px);
}

.btn-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.5);
}

/* Optional: Add a subtle shadow for better visibility */
.feature-card button {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Adjust button width for responsiveness */
.feature-card button {
  width: 100%;
  max-width: 200px;
}

/* Make button look like a link (no border, underline effect) */
.btn-link {
  background-color: transparent;
  color: #0078d4;
  border: none;
  text-decoration: underline;
  font-weight: 400;
}

.btn-link:hover {
  color: #005a9e;
}


/* Search Bar */
.search-bar {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 8px;
  margin-top: 1rem;
  margin-bottom: -1rem;
}

.search-input {
  width: 100%;
  max-width: 600px;
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
}

.features-grid {
    display: flex
;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 12px;
}

section.project-meta {
    margin-bottom: 12px;
}

/* Feature Cards */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.feature-card {
  flex: 1 1 300px;
  background-color: rgba(0, 0, 0, 0.8); /* fallback if image fails */
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  padding: 1.5rem;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* push content to bottom */
  text-align: center;
  position: relative;
  min-height: 250px;
  overflow: hidden;
}

.content-card {
  flex: 1 1 300px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 1.5rem;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.content-card-wrapper {
  border-radius: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.8);
  flex: 1 1 300px;
  padding: 1rem;
}

#cardview, #listview {
  box-sizing: border-box;  /* Ensures padding and border are part of the total width */
}

@media (max-width: 768px) {
  /* Ensures that on mobile, both views take full width */
  .content-card-wrapper {
    width: 100%;
  }
}

.support-card {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 1.5rem;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.2s ease;
  margin-top: 1rem;
}

/* Optional: dark overlay to ensure text readability */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* adjust for more/less darkness */
  z-index: 1;
}

.feature-card-content {
  position: relative;
  z-index: 2;
}

.feature-card:hover {
  box-shadow: 0 3px 6px rgba(255, 255, 255, 0.1);
}

.feature-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.feature-card h2 {
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.feature-card h1 {
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.feature-card p {
  color: #dddddd;
  margin-bottom: 1rem;
}

.content-card:hover {
  box-shadow: 0 3px 6px rgba(255, 255, 255, 0.1);
}

.content-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.content-card h2 {
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.content-card h1 {
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.content-card p {
  color: #dddddd;
  margin-bottom: 1rem;
}

.btn-link {
  color: #66b2ff;
  text-decoration: none;
  font-weight: 500;
}

.btn-link:hover {
  text-decoration: underline;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .search-input {
    width: 90%;
  }

  .feature-card {
    flex: 1 1 100%;
  }
}


.knowledge-card {
    flex: 1 1 300px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 1.5rem;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.2s ease;
    display: flex
;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Override card background with higher specificity */
.features .card {
    border: none !important;
    border-radius: 10px;
    transition: transform 0.2s ease;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.features .card-body-article {
  background: white !important;
  color: #333 !important;
  border-radius: 8px;
  padding: 5px;
  margin-bottom: 5px;
}

.card-header.bg-primary.text-white {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

h5.mb-0.article-title {
  color: white;
  font-size: 1rem;
}

/* Card hover effect */
.features .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Card title override */
.features .card .knowledge-title {
  background-color: #000 !important;
  color: #fff !important;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
}

/* Ensure description text is visible */
.features .card .card-body p {
  color: whitesmoke !important;
  margin: 0;
}

/* Optional: remove underline on hover */
.features a.text-decoration-none:hover {
  text-decoration: none !important;
}


.search-bar {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 8px;
  margin-top: 1rem;
  margin-bottom: -.5rem;
}

.search-bar .search-input {
  display: inline-block;
  width: 60%;
  max-width: 500px;
  min-width: 200px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 4px;
  border: none;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1rem; /* Add some horizontal padding on smaller screens */
}

.category-card .card {
  width: 100%;
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.card-header {
  background-color: #000 !important;
  padding: 1rem;
  border-top-right-radius: 8px !important;
  border-top-left-radius: 8px !important;
}

.mb-4 {
  margin-bottom: -1.5rem !important;
}

.knowledge-title {
  color: #fff;
  margin: 0;
  font-size: 1.25rem;
}

.gradient-bg {
  background: linear-gradient(to bottom right, #dee2e6, #adb5bd); /* darker grey gradient */
  color: #333;
  padding: 1rem;
  border-top: 1px solid #ccc;
}

@media (min-width: 768px) {
  .category-list {
    padding: 0; /* Remove horizontal padding for medium and larger screens */
  }
}

@media (max-width: 576px) {
  .knowledge-title {
    font-size: 1.1rem; /* Smaller font size on small screens */
  }

  .gradient-bg {
    padding: 0.75rem; /* Adjust padding for smaller screens */
  }
}


.article-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.article-content img,
.article-content table {
  max-width: 100%;
  height: auto;
}

.article-content table {
  display: block;
  overflow-x: auto;
}


.knowledge-card p {
  font-size: 14px;
}


/* support */


/* Table styling */
table {
  width: 100%;
  background-color: transparent; /* Transparent background */
  color: white; /* White text color */
  border-collapse: collapse; /* Ensures clean borders between cells */
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd; /* Light gray border for rows */
}

/* Ticket Number links */
table td a {
  color: #6f42c1; /* Purple color for ticket numbers */
  text-decoration: none;
}

table td a:hover {
  text-decoration: underline; /* Underline effect on hover */
}

/* Styling for table headers */
th {
  background-color: transparent; /* Transparent background for headers */
  color: white; /* White text for headers */
}

/* Optional: Styling for row hover effect to highlight */
table tr:hover {
  background-color: rgba(0, 0, 0, 0.1); /* Light shading when hovering over rows */
}

.mb-3 {
  margin-bottom: 0.5rem !important;
}

.table-striped, .table-info, .table-striped > tbody > tr:nth-of-type(odd) > *, .form-control:focus, .dropdown-menu, .datepicker button
Specificity
 {
    color: black;
}

.crmEntityFormView, .entitylist, .modal-content, .popover-content {
  background-color: #1d3452;
  color: black;
  border: 1px solid #f2f2f2;
  border-radius: 8px;
  padding: 0.5rem;
}

.case-card .card-body {
  background: #f9f9f9 !important;
  color: #222 !important;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.case-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.case-card .card-footer {
  background-color: transparent;
  border-top: 1px solid #eee;
}

/* Badge Styling */
.case-card .badge {
  font-size: 0.875rem;
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.case-card .badge.bg-info {
  background-color: #17a2b8;
  color: #fff;
}

.case-card .badge.bg-info:hover {
  background-color: #138496;
  transform: scale(1.05);
}

.case-card .badge.bg-info.text-dark {
  color: #fff;
}

/* "View" Button Styling */
.case-card .btn-outline-primary {
  font-size: 0.875rem;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  color: #007bff;
  border: 2px solid #007bff;
  transition: all 0.3s ease;
}

.case-card .btn-outline-primary:hover {
  color: #fff;
  background-color: #007bff;
  border-color: #0056b3;
}

/* Optional: Button on Hover */
.case-card .btn-outline-primary:focus, .case-card .btn-outline-primary:active {
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

/* Default for Larger Screens: List View */
.list-view .card {
  display: none; /* Hide card layout */
}

.list-view .table {
  display: block; /* Show table layout */
}

/* Default for Larger Screens: List View */
.list-view .content-card {
  display: none; /* Hide content card layout */
}

.list-view .table {
  display: block; /* Show table layout */
}

/* Default for Mobile Screens: Card View */
.card-view .table {
  display: none; /* Hide table layout */
}

.card-view .content-card {
  display: block; /* Show content card layout */
}

/* Optional: Style for the View Toggle Buttons */
#toggleToCard, #toggleToList {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

#toggleToCard:hover, #toggleToList:hover {
  background-color: #f0f0f0;
}

  .arrow-icon {
    margin-left: 5px;
    font-size: 0.8em;
    color: #888;
  }

  .arrow-icon.asc::after {
    content: "▲";
    color: green;
  }

  .arrow-icon.desc::after {
    content: "▼";
    color: red;
  }

  th {
    cursor: pointer;
  }

  header {
  position: sticky;
  top: 0;
  z-index: 1000; /* Ensure the header stays on top of other content */
  width: 100%;
}


/* Override default Responsive control icons */
table.dataTable.dtr-inline.collapsed > tbody > tr > td.control:before {
  content: "+" !important;
  background: purple !important;
  color: white !important;
  border-radius: 50%;
  font-weight: bold;
  text-align: center;
  line-height: 1.5em;
  width: 1.2em;
  height: 1.2em;
  display: inline-block;
  font-size: 1em;
  box-sizing: border-box;
  border: none !important;
}

/* When row is expanded, show “−” instead of “+” */
table.dataTable.dtr-inline > tbody > tr > td.control:before {
  content: "−" !important;
  background: purple !important;
  color: white !important;
  border-radius: 50%;
  font-weight: bold;
  text-align: center;
  line-height: 1.5em;
  width: 1.2em;
  height: 1.2em;
  display: inline-block;
  font-size: 1em;
  box-sizing: border-box;
  border: none !important;
}


/* Style the column visibility button container */
.dt-buttons {
  margin-bottom: 1rem;
}

/* Style the Show/Hide Columns button */
div.dt-button-collection {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: .75em 0;
    border: 1px solid rgba(0, 0, 0, 0.4);
    background-color: slategray !important;
    overflow: hidden;
    z-index: 2002;
    border-radius: 5px;
    box-shadow: 3px 4px 10px 1px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

/* Isolate styles to only this section */
.project-cards-section .project-card {
    background-color: transparent;
    border-left: 4px solid #1e9dd8;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.project-cards-section .project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 90, 158, 0.2);
}

.project-cards-section .card-title {
    color: green;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e9dd8;
}

.project-cards-section .card-text {
    font-size: 1rem;
    color: white;
}

.files .crmEntityFormView, .entitylist, .modal-content, .popover-content {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    padding: 0.5rem;
}

.files .crmEntityFormView .tab-title
 {
    border-bottom: 1px solid #eee;
    -ms-text-rendering: optimizelegibility;
    text-rendering: optimizelegibility;
    visibility: hidden;
    margin-bottom: -70px;
}

.files .grid-actions {
    border-bottom: none;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.files span {
    color: white;
}

abbr[title] {
    -webkit-text-decoration: underline dotted;
    text-decoration: none;
    cursor: help;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    color: white;
}






button.remove-file {
    float: right; /* Align to the right */
    font-size: 0.75rem; /* Smaller text = smaller height */
    padding: 2px 8px; /* Reduce padding = smaller button */
    border-radius: 6px; /* Optional: slightly round */
    line-height: 1; /* Compact vertical alignment */
    height: auto; /* Let padding control height */
    box-shadow: none !important; /* Remove any shadow */
}

button.icon-button.submit-comment-btn {
    border: none;
    color: black;
    padding-left: 5px;
}

.fa-paperclip:before
 {
    content: "\f0c6";
    color: black;
    padding-right: 5px;
}

.input-group {
  display: flex;
  align-items: flex-start; /* Important: let items align to top so they grow downward */
  gap: 8px;
}

.input-group textarea.form-control {
  flex: 1;
  overflow-y: hidden;
  resize: none;
  min-height: 60px;
  line-height: 1.4;
}

.icon-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #333;
}

.submit-comment-btn {
    border: none;
    border-radius: 6px;
    box-shadow: none;
}




/* Conversation Panel */
/* Conversation panel base */
.conversation-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 600px;
  max-width: 100%;
  background: #fff;
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

/* Open state for desktop */
.conversation-panel.open {
  transform: translateX(0);
}

/* Mobile: slide-up full screen modal */
/* Desktop (min-width: 1200px) */
@media (min-width: 1200px) {
  .conversation-panel {
    top: 73px;
    right: 0;
    bottom: 0;
    height: calc(100vh - 117px);
    width: 600px;
    max-width: 100%;
    background: #262c4e;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
  }

  .conversation-panel.open {
    transform: translateX(0);
  }

  #mainContent.shifted {
    margin-right: 600px;
  }
}

form#postPortalComment {
    background-color: white;
    padding: 5px;
    border-radius: 10px;
}

/* Mobile (max-width: 1199px) */
@media (max-width: 1199px) {
  .conversation-panel {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    transform: translateY(100%);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
    z-index: 1050;
    background: #262c4e;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
  }

  .conversation-panel.open {
    transform: translateY(0);
  }

  #mainContent.shifted {
    margin-right: 0;
  }
}

/* Ensure body scrolls when panel is open */
body.modal-open {
  overflow-y: scroll;
}

/* Ensure conversation content scrolls inside panel */
.conversation-body {
  flex-grow: 1;
  overflow-y: auto;
  background-color: #262c4e;
  padding: 1rem;
  scrollbar-width: thin;
  scrollbar-color: white rgb(50, 49, 48);
}


/* Keep the header fixed inside the panel */
.conversation-header {
  padding: 1rem;
  z-index: 1;
}

.conversation-header h5 {
  color: white;
  margin: 0;
}


.fab {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  border: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.fab:hover {
  background-color: #0056b3;
}

.fab.hidden {
  opacity: 0;
  pointer-events: none;
}

.hidden {
  display: none !important;
}
.conversation-header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.conversation-header h5 {
    color: white;
}

.conversation-body {
  flex-grow: 1;
  overflow-y: scroll;
     background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
  max-height: 80%;
}

.conversation-input.border-top.p-3 {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.conversation-body p {
font-size: 1rem;
color: white;
}

.message {
  margin: 0.5rem 0;
  padding: 0.75rem;
  border-radius: 20px;
  max-width: 80%;
}

.conversation-input input {
  background-color: #2a2a2a;
  border: none;
  color: #fff;
}

.conversation-input input::placeholder {
  color: #aaa;
}

.conversation-input .btn {
  border: none;
}


hr {
    margin-bottom: 1rem;
    color: inherit;
    border: 0;
    border-top: 3px solid;
    opacity: .50;
}

#noResultsMessage {
  display: none;
  margin: 20px auto;      /* centers horizontally with auto left/right */
  max-width: 400px;       /* optional: limit width */
  text-align: center;     /* center text inside the alert */
}



/* Portal Comment Messaging UI */ 
.message-background {
    width: 50%;
    margin: 0 auto;
    background: grey;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.message {
    background: rgb(230, 229, 235);
    max-width: 80%;
    padding: 1rem;
    margin: .5rem 0;
    border-radius: 1rem;
    color: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2), inset 0 1px 1px rgba(255, 255, 255, .3), 0 2px 5px rgba(0, 0, 0, .2);
    transition: transform .3s ease;
    white-space: normal;     /* ✅ allow line breaks */
  word-wrap: break-word;   /* ✅ break long words */
  overflow-wrap: break-word; /* ✅ modern equivalent */
}

.container.compose-message {
    border-left: 2px solid white
}

.container.compose-message label {
    background-color: white;
    padding: 6px;
    margin-left: 25px;
    cursor: pointer;
}

.message[data-direction="2"] {
    background-color: mediumpurple;
    color: #fff;
    margin-right: auto;
    text-align: left;
}

.message[data-direction="1"] {
  background-color: #3794fa;
  color: #fff;
  margin-left: auto;
  text-align: right;
}

/*.message:hover {
    transform: scale(1.05);
}
*/

.flex-end {
    display: flex;
    justify-content: flex-end;
}

.message[data-direction="1"] a {
    color: unset;
    opacity: .8;
}

.message[data-direction="2"] a {
    color: unset;
    opacity: .8;
}


/* Create Case Form Syling */ 

.create-case .entity-form label {
  font-weight: 600;
  color: white;
  background-color: transparent;
}

.create-case .entity-form input,
.create-case .entity-form select,
.create-case .entity-form textarea {
  border-radius: 0.375rem;
  border: 1px solid #ccc;
  padding: 0.5rem;
}

.create-case th, td
 {
    padding: 10px;
    text-align: left;
	border: none
}

.create-case .crmEntityFormView, .entitylist{
	background-color: transparent;
	border: none
	}

.create-case .launchentitylookup {
  background-color: #1e88e5; /* Better blue */
  color: white;
  border: none;
  border-radius: 999px; /* Fully rounded */
  transition: background-color 0.2s ease;
  padding: 10px 20px; /* Optional: controls button size */
}

.create-case .launchentitylookup:hover {
  background-color: #1565c0; /* Darker on hover */
}
.create-case .input-group {
    display: flex;
    align-items: flex-end;
    gap: 0px;
}

.create-case .modal-content, .popover-content {
    background-color: white;
    color: black;
    border: 1px solid white;
    border-radius: 10px;
    padding: 0.5rem;
    margin-top: 100px;
}

.modal .modal-title {
  color: #000 !important;
}

  /* Center the spinner */
  #fileListLoader {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100px; /* Adjust height as needed */
  }
  /* Card spacing */
  #fileList .card {
    margin-bottom: 1rem;
  }

 .data-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    border: 4px solid white;
}
