* {
  text-decoration: none;
}
.input-container {
  position: relative; /* Allows positioning of the vertical bar */
}
.m-2 {
  margin: 20px;
}
.vertical-bar {
  display: none; /* Hides the bar by default */
  position: absolute; /* Absolute positioning to place it to the right of the input */
  top: 0;
  left: -10px; /* Adjust the distance as needed */
  width: 5px; /* Thickness of the bar */
  height: 90%; /* Takes the height of the input */
  background-color: green; /* Color of the bar */
  margin: auto;
}

/* Displays the bar if the input contains text */
.barVerticalGreen input:focus + label + .vertical-bar,
.barVerticalGreen input:not(:placeholder-shown) + label + .vertical-bar {
  display: block; /* Displays the bar when the input has text or is focused */
}

/* Displays the bar when the "bar-visible" class is added */
.bar-visible .vertical-bar {
  display: block;
}

.table-responsive {
  overflow-x: auto;
}
.pagination-container {
  display: flex;
  justify-content: center;
}

label.required:before {
  content: "*";
  color: red;
}

table {
  margin-top: 20px;
}
th,
td {
  text-align: left;
}
thead tr {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #f8f9fa; /* Same color as the th background */
  transition: opacity 0.4s ease;
}
.table thead th {
  background-color: #cfe2ff;
  border-bottom: 2px solid #4e73df;
  height: 40px;
}
.table tbody tr td > th {
  max-width: 200px;
}
th.dragging {
  background-color: #f0f0f0;
  border: 2px dashed #ccc;
}

/* Change the cursor on columns */
th {
  cursor: move;
}
.custom-popover {
  background-color: #f0f8ff;
  color: #333;
  border: 2px solid #5674e2;
}

.custom-popover .popover-header {
  background-color: #5674e2;
  color: white;
}

.custom-popover .popover-body {
  font-size: 14px;
}

tr.hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}

tr.visible {
  opacity: 1;
  display: table-row;
}

.min-width30 {
  min-width: 30%;
}

.form-check-input:checked {
  background-color: #28a745; /* vert bootstrap (success) */
  border-color: #28a745;
}

#overlayLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
}

.overlay-bg {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
