.bg-success2 {
  background-color: rgb(112, 223, 2) !important;
  color: #fff !important;
}

.bg-warning2 {
  background-color: rgb(250, 186, 91) !important;
  color: #fff !important;
}

.content__wrap {
  padding: 0.3rem !important;
}

.mn--max .brand-img {
  display: none !important;
}

.mn--min .brand-img {
  display: block !important;
}

.brand-title {
  font-size: 15px !important;
}

.ql-toolbar {
  background: white !important;
  border: inherit !important;
}

.dselect-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

.form-select {
  border-radius: 0 !important;
  height: 100%;
  text-align: left;
}

.block_element {
  margin: 0px;
  padding: 0px;
  color: black;
  font-size: 25px;
  position: absolute;
  cursor: grab;
  resize: both;
  overflow: hidden;
}

.background-visible {
  background: rgba(17, 211, 251, 0.6);
}

.form-check-label {
  cursor: pointer;
}

.inactive {
  opacity: 0.5;
  cursor: not-allowed;
}

.highlight {
  background-color: rgba(159, 204, 46, 0.1);
}

.button-group-10 {
  min-width: 12% !important;
}

input[type="checkbox"] {
  cursor: pointer;
}

.bg-blue {
  background: #24447f;
}

.bg-purple {
  background: #5c296b;
}

.bg-excel {
  background-color: #217346;
  color: #fff;
}

.bg-excel:hover,
.bg-excel:focus {
  background-color: #1a5f39;
}

.bg-pdf {
  background-color: #e2231a;
  color: #fff;
}

.bg-pdf:hover,
.bg-pdf:focus {
  background-color: #c71d15;
}

.cursor-pointer {
  cursor: pointer;
}

.bg-bd {
  background: var(--bs-body-bg) !important;
  color: var(--bs-card-title-color) !important;
}

.bg-bd-2 {
  background: var(--bs-body-bg) !important;
}

.dselect-tag {
  overflow-x: hidden;
}

.perc {
  float: left;
  margin: 0;
  padding: 0;
  width: 0%;
  text-align: center;
  overflow: hidden;
  vertical-align: middle;
  font-weight: bold;
  cursor: pointer;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit !important;
}

.gridjs-table {
  border-collapse: collapse;
  width: 100%;
}

.gridjs-table td,
.gridjs-table th {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.gridjs-table tr {
  border-bottom: 1px solid black !important;
}

.gridjs-search input {
  width: 300px !important;
  border: 1px solid black;
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 2rem;
}

.gridjs-tr:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.overview-container {
  display: flex;
  flex-wrap: wrap;
}

.overview-machine-outer {
  padding: 2px;
  margin: 0;
  width: 40px;
}

.overview-status-row {
  display: flex;
  width: 100%;
  margin-top: 2px;
}

.overview-status {
  width: 50%;
  height: 3px;
}

.imgcont1 {
  overflow: auto;
  direction: rtl;
}

.frame {
  position: relative;
  height: 100px;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.canvas-container {
  background: yellow;
  height: 100px;
  width: 100%;
}

.graph-img {
  padding: 0;
  margin: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.selectiondiv {
  position: absolute;
  top: 0; /* budeme meniť len left/width */
  left: 0;
  height: 100%;
  display: none;
  background: rgba(100, 149, 237, 0.25); /* ľahký modrý závoj */
  outline: 2px solid #6495ed; /* obrys */
  z-index: 5000;
  pointer-events: none; /* aby overlay neblokoval udalosti myši na frame */
  user-select: none;
}

#fm-tree .list-group-item {
  cursor: pointer;
}
.fm-machine-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 0;
  padding: 0.25rem 0;
  font-weight: 600;
}
.fm-chevron {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  transition: transform 0.18s ease-in-out;
}
.fm-chevron::before {
  content: "›"; /* jednoduchá šípka */
  display: inline-block;
  transform: translateY(-1px);
}
.fm-machine-btn[aria-expanded="true"] .fm-chevron {
  transform: rotate(90deg);
}

.fm-collapse {
  display: none;
  margin-top: 0.25rem;
}
.fm-collapse.show {
  display: block;
}

.fm-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fm-monospace {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}
