h2 {
    vertical-align: middle;
    text-align: center;
    margin-bottom: 20px;
    color: #747c7c;
}

h3 {
    margin-bottom: 20px;
    text-align: center;
}

h4, h5 {
    text-align: center;
    color: #747c7c;
}

h5 {
    margin-bottom: 10;
}

p {
    text-align: center;
    margin-bottom: 0px;
}

label {
    vertical-align: middle;
}

.text-grey {
    color: #747c7c;
}

.myform {
    padding: 0 20% 0;
    text-align: center;
}

table {
    margin-bottom: 0px;
}

thead, th {
    position: sticky;
    top: 0;
    z-index: 1;
}

td {
    padding-top: 0;
    padding-bottom: 0;
}



.filter-entity {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    height: 30px;
    width: auto;
}

/* Entities card */

.card-header {
    background-color: rgba(116,124,124, 0.05);/*rgba(4,188,236, 0.15)*/
    position: relative;
}


.card-body {
    overflow-y: auto;
    position: relative;
}

.card-footer {
    background-color: rgba(116,124,124, 0.05);/*rgba(116,124,124, 0.15)*/
}

.navbar-brand {
    font-size: 1.5rem;
    font-family: 'Open Sans', sans-serif;
}

.navbar-nav .nav-link {
    font-family: 'Open Sans', sans-serif; /* Change to Open Sans */
}

.navbar {
    margin-bottom: 10px;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 999;
    background-color: white;
}

.navbar-custom::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(to left, #00bdee, #747c7c);
}

.blue-text {
    color: #00bdee;
}

.center-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center {
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
}

.btn-choice {
    width: 100px;
}

.btn-app {
    background-color: #04bcec;
    color: white;
    border-color: #04bcec;
    margin-bottom: 0px;
    transition: all 0.5s ease;
}

.btn-app:hover, .custom-btn:focus {
    background-color: #04bcec;
    color: white;
    border-color: #04bcec;
    opacity: 0.7;
}

.btn-app:disabled {
    background-color: #04bcec;
    color: white;
    border-color: #04bcec;
    opacity: 0.5;
    cursor: not-allowed;
}


.btn-app-reverse {
    background-color: white;
    color: #04bcec;
    border-color: #04bcec;
    margin-bottom: 0px;
}

.btn-app-reverse:hover,
    .custom-btn:focus {
      background-color: #04bcec;
      border-color: #04bcec;
      color: white;
}

.btn-app-reverse.active {
    background-color: #04bcec;
    border-color: #04bcec;
    color: white;
}

.btn-default-reverse {
    background-color: white;
    color: #747c7c;
    border-color: #747c7c;
    margin-bottom: 0px;
}

.btn-default-reverse:hover,
    .custom-btn:focus {
      background-color: #747c7c;
      border-color: #747c7c;
      color: white;
}

.btn-default-reverse.active {
    background-color: #747c7c;
    border-color: #747c7c;
    color: white;
}

.btn-app-red {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
    margin-bottom: 0px;
}

.entity-select-btn {
    height: 26px;
    padding-top:0px;
    padding-bottom:0px;
    padding-left: 3px;
    padding-right: 3px;
}

.btn-app-red:hover,
    .custom-btn:focus {
      background-color: white;
      border-color: #dc3545;
      color: #dc3545;
}

.btn-grey {
    background-color: #747c7c;
    color: white;
    border-color: #747c7c;
    margin-bottom: 0px;
}

.btn-grey:hover,
    .custom-btn:focus {
      background-color: white;
      border-color: #747c7c;
      color: #747c7c;
}

.btn-app-disabled {
    background-color: #04bcec;
    color: white;
    border-color: #04bcec;
    margin-bottom: 0px;
}

.btn-app-radio {
    border-color: #04bcec;
    color: #04bcec;
    background-color: white;
}
/* Prevent hover effect for unchecked buttons */
.btn-check:not(:checked) + .btn-app-radio:hover {
    border-color: #04bcec;
    color: #04bcec;
    background-color: white;
}
.btn-check:checked + .btn-app-radio {
    background-color: #04bcec;
    color: white;
    border-color: #04bcec;
}

/* Tooltips */
.default-tooltip {
    --bs-tooltip-bg: #747c7c;
    --bs-tooltip-color: white;
}

.custom-tooltip {
    --bs-tooltip-bg: #04bcec;
    --bs-tooltip-color: white;
}

.tooltip {
    --bs-tooltip-bg: #04bcec;
    --bs-tooltip-color: white;
}

.dropdown-menu {
    position: absolute;
    top: 100%; /* Align the dropdown below the button */
    left: 0;
    z-index: 1000; /* Ensure dropdown is above other elements */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow */
    border: none; /* Optional: Removes default border */
}

.dropdown-item {
    cursor: pointer;
}

.offcanvas {
    z-index: 2000 !important;  /* Set higher than 1060 */
    top: 66px !important; /* Push the offcanvas down by 20px */
    height: calc(100% - 66px) !important; /* Adjust height so it fits properly */
}

.modal {
    z-index: 2500 !important;
}

.modal-backdrop {
    z-index: 2400 !important; /* Just below the modal (2500), but above the offcanvas (2000) */
}

.justify {
    text-align: justify;
}

footer {
    margin-top: 10px;
    /*background: linear-gradient(to left, #00bdee, #747c7c);*/
    width: 100%;
}

.chat-right-side {
    border-left: 1px solid #ddd;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
}

.chat-left-side {
    position: relative;
}

.chat-footer {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
}

.chat-cloud {
  border-radius: 10px;
  padding: 10px;
  margin: 5px;
  max-width: 80%;
  display: inline-block;
  word-wrap: break-word;
}

.chat-name {
  margin-top: 0px;
  margin-bottom: 5px;
  text-align: left;
}

.chat-text {
  margin: 0;
  text-align: left;
  white-space: pre-wrap;
}

.bot-name {
    color: rgba(116,124,124, 1);
}

.bot-cloud {
    background-color: rgba(116,124,124, 0.1);
}

.prompt-cloud {
    background-color: rgba(4,188,236, 1);
}

.prompt-text {
    color: white;
}

.fixed-bottom {
    position: fixed;
    bottom: 0;
}

.mfa-input {
    width: 40px; /* Adjust width as needed */
    height: 40px; /* Adjust height as needed */
    text-align: center;
    margin: 0 5px; /* Adjust spacing between boxes */
}

.chart {
    height: 670px;
}

.add-btn {
    height: 30px;
    width: 30px;
    vertical-align: middle;
    text-align: center;
    font-size: 15px;
    padding: 0;
}

table {
    vertical-align: middle;
    text-align: center;
}


.header-cell {
    background-color: #00b8d4;
}

td {
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.compare-row {
    height: 250px;
}

.sttable {
    background-color: #00b8d4;
    border-radius: 15px;
}

.img-flag {
    height: 20px;
    width: 20px;
  }

.hidden {
    display: none;
}

#autocomplete-list {
    list-style-type: none;
    padding: 0;
}
#autocomplete-list li {
    cursor: pointer;
    padding: 5px;
}
#autocomplete-list li:hover {
    background-color: lightgray;
}

.result-box ul {
    color: #000;
    background-color: #ffffff;
    padding: 5px 5px;
    border-radius: 10px;
}

.result-box ul li {
    list-style: none;
    padding: 5px 5px;
    border-radius: 5px;
}

.result-box ul li:hover{
    background: #B2EBF2;
}

.dropdown {
    margin: 2px;
}

.dropdown-toggle {
    height: 32px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.dropdown-item:hover{
    background-color: rgba(4, 188, 236, 0.1);
}

.result-box {
    max-height: 300px;
    overflow-y: scroll;
    z-index: 1;
    width: 100%;
    border: 1px solid rgba(11, 143, 164, 0.1);
    border-radius: 10px;
}

.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Shaded background */
    justify-content: center;
    display: none;
    align-items: center;
    z-index: 10; /* Ensure it's on top of other content */
    border-radius: inherit; /* Maintain border radius */
}

.spinner-edit-labels {
    position: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 10; /* Ensure it's on top of other content */
    border-radius: inherit; /* Maintain border radius */
}

.chat-grow-spinner {
  color: #960aff !important;
}

/* Timeline */
.tl-menubar {
    top: 110px !important;
}

.tl-storyslider, .td-slide-content {
    height: 110px !important;
}

button.tl-slidenav-previous, button.tl-slidenav-next {
    top: 0px !important;
}

.tl-attribution {
    display: none;
}

.tl-text-headline-container h2.tl-headline {
    font-size: 20px !important;
    margin-bottom: 0px;
    color: #04bcec;
}


/*
.spinner-div {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 50px;
}

.spinner {
    width: 50px;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
*/

.circular-img {
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
    border: 1px solid #00bdee;
}

.text-left {
    text-align: left;
}

.bold {
    font-weight: bold;
}

.hr-10 {
    margin-top: 16px;
    margin-bottom: 16px;
}

.date-time {
    color: white;
    text-align: center;
}

.grey-text {
    color: #747c7c;
}

.right-align {
    text-align: right;
}

.badge {
    z-index: 100;
}

.app-badge {
    background-color: #04bcec !important; /* Custom background color */
    color: white !important; /* Custom text color */
}

.kb-badge {
    background-color: #e100ff !important; /* Custom background color */
    color: white !important; /* Custom text color */
}

.form-switch .form-check-input.andor-option:checked {
    background-color: #04bcec;
    border-color: #04bcec;
}

.form-switch .form-check-input.switch-app:checked {
    background-color: #04bcec;
    border-color: #04bcec;
}


.form-switch .form-check-input.not-option:checked {
    background-color: #dc3545;
    border-color: #dc3545;
    cursor: pointer;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: rgba(4, 188, 236, 0.1);
    -webkit-box-shadow: none;
}

/* Entities info buttons */
.entity-info, .entity-info:hover {
    background-color: #04bcec;
    color: white;
    border-color: #04bcec;
    padding-top: 3px;
    padding-bottom: 3px;
    margin: 2px;
    cursor: default;
    width: 70px;
}

/* Entities nav pills */

/* Pills margin and padding  */
button.nav-link {
    margin: 2px;
    padding-top: 3px;
    padding-bottom: 3px;
}

/* Default entities pills colors */
.nav-link.entity-default {
    background-color: white;
    color: #747c7c;
    border: 1px solid #747c7c;
}

.nav-link.entity-default.active, .nav-link.entity-default:hover {
    background-color: #747c7c;
    color: white;
    border: 1px solid #747c7c;
}

/*
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: white;
    background-color: #04bcec;
    border-color: #04bcec;
}
*/
.dropdown-item.active, .dropdown-item:active {
    color: black;
    background-color: rgba(4, 188, 236, 0.1);
}

.nav-link.entity-custom {
    background-color: white;
    color: #00bdee;
    border: 1px solid #00bdee;
}

.nav-link.entity-custom.active, .nav-link.entity-custom:hover {
    background-color: #00bdee;
    color: white;
    border: 1px solid #00bdee;
}

/* Recognized entities button colors */

.btn-label {
    border-radius: 5px;
    cursor: default !important;
    margin: 2px;
    background-color: rgba(4,188,236, 0.1);
    color: black;
    border: 1px solid rgba(4,188,236, 0.5);
}

.btn-label .close {
    margin-left: 0.5rem;
    font-size: 1.2rem;
    color: black;
    cursor: pointer;
}

.btn-label-system {
    border-radius: 5px;
    cursor: default !important;
    margin: 2px;
    background-color: rgba(4,188,236, 0.1);
    color: black;
    border: 1px solid rgba(4,188,236, 0.5);
}

.btn-label-own {
    border-radius: 5px;
    cursor: default !important;
    margin: 2px;
    background-color: rgba(46, 204, 113, 0.1);
    color: black;
    border: 1px solid rgba(46, 204, 113, 0.5);
}

.btn-label-team {
    border-radius: 5px;
    cursor: default !important;
    margin: 2px;
    background-color: rgba(86, 101, 115, 0.1);
    color: black;
    border: 1px solid rgba(86, 101, 115, 0.5);
}

.suggestion {
    position: absolute;
    top: 100%;
    background-color: white;
    padding-left: 12px;
    padding-right: 12px;
    margin-right: 12px;
    border-radius: 5px;
    z-index: 1;
}

.suggestion-item:hover {
    background-color: #EBF5FB;
}

.flip {
    transform: scaleX(-1); /* Flip horizontally */
}






.image-btn {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.image-btn img {
    display: block;
    width: 70px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
}

.bottom-place {
    position: absolute;
    bottom: 10%; /* Adjust bottom margin as needed */;
    width: 100%;
    align-items: center;
}

.qr-desc {
    position: absolute;
    bottom: 10px; /* Adjust bottom margin as needed */;
    width: 100%;
    align-items: center;
}

.unread {
    background-color: #EBF5FB;
    cursor: pointer;
}

.notif-div {
    padding-top: 10px;
    padding-bottom: 10px;
}

.content-container {
    padding-top: 74px;
    height: 100%;
}

.transparency {
    opacity: 0.3;
}

.btn-notif {
    background-color: #0c2b2d;
    color: white;
    margin-bottom: 0px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-notif:hover,
    .custom-btn:focus {
      background-color: #ffffff;
      border-color: #0c2b2d;
      color: #0c2b2d;
    }

.btn-notif.show {
      background-color: #ffffff;
      border-color: #0c2b2d;
      color: #0c2b2d;
    }

.btn-main {
    height: 140px;
    width: 100%;
    /*background-color: #0c2b2d;*/
    color: white;
}

.btn-green {
    background-color: #27AE60;
}

.btn-red {
    background-color: #E74C3C;
}

.btn-orange {
    background-color: #F39C12;
}

.btn-blue {
    background-color: #3498DB;
}

.btn-purple {
    background-color: #8E44AD;
}

.btn-main:disabled {
    background-color: #0c2b2d;
    color: white;
    opacity: 0.5;
}

.wide-bottom {
    margin-bottom: 10px;
}

.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.fixed-div {
    padding-left: 5px;
    padding-right: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.toast-header {
    background-color: #747c7c;
    color: white;
}

.toast-header-fail {
    background-color: #f28e2f;
    color: white;
}

.toast-body {
    background-color: white;
}


/* CSS to position the spinner */
.spinner-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001; /* Ensure spinner is on top of overlay */
  display: none;
}

.left-align {
    text-align: left;
}

.right-align {
    text-align: right;
}

.pointer {
    cursor: pointer;
}

.no-margin {
    margin: 0;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Configure entities containers */
.container-entities {
    height: 700px;
    margin-bottom: 10px;
}

.scrollable-nowrap {
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: scroll;
}

/* ---- Particles ---- */

.particles-js {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #1e969f, #18569b, #1e969f); /*  #ffffff; */
  position: fixed; /* Stays in place even when scrolling */
  top: 0;
  left: 0;
  z-index: -1;
}


/* --- Drive directory --- */
.folder::before {
    /* content: "📂"; */
    margin-right: 5px;
}
.file::before {
    /* content: "📄"; */
    margin-right: 5px;
}
.toggle-icon {
    cursor: pointer;
    margin-right: 5px;
}

/* --- Knowledge base chat --- */
.kb-chat-border {
    border-bottom: 4px solid;
    border-image: linear-gradient(to left, #00bdee, #960aff, #e100ff) 1; /*linear-gradient(to right, #747c7c, #00bdee) 1;*/
}

/* AI chat input text */
.kb-chat-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-end;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.kb-text-input {
    flex: 1;
    border: none;
    outline: none;
    resize: none; /* Disable manual resizing */
    padding-right: 30px;
    height: 32px;
    max-height: 150px; /* Maximum height */
    min-height: 32px; /* Minimum height */
    overflow-y: auto; /* Enable scrolling when max height is reached */
}

.send-icon {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 24px; /* Adjust size */
    height: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.send-icon:hover {
    opacity: 1;
}



.htFocusCatcher {
  display: none !important;
}

.marked-cell {
  background-color: #04bcec !important;
  opacity: 0.4;
  font-weight: bold;
  color: #2d3436;
  border: 1px solid #e17055;
}


/* Edit / delete buttons */
.edit-icon {
    color: #04bcec;
}

.delete-icon {
    color: red;
}

.copy-icon {
    color: #A6A09B;
}

.edit-icon,
.delete-icon,
.copy-icon:hover {
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.edit-icon:hover,
.delete-icon:hover,
.copy-icon:hover {
    opacity: 0.7;
}
