.loading {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 40px;
    background-color: #FFFFFF;
    border: 1px solid #1b1e21;
    border-radius: 20px;
    width: 400px;
    margin: 0px auto;
}

.data-table tr td:first-child {
    padding-left: 20px;
}

.data-table tr td:last-child {
    padding-right: 20px;
    text-align: right;
}

.data-table tr th {
    background-color: #FFFFFF;
}
thead th {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 2;
    box-shadow: inset 0 -1px 0 #dee2e6;
}

.is-disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.devices-loading-indicator {
    font-size: 0.9rem;
    color: #495057;
    padding: 6px 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.data-table tr:nth-child(2n) {
    background-color: #FFFFFF;
}

.data-table tr:hover {
    background-color: #EEEEFF;
}

.data-table tr.chat-viewed td {
    background-color: #dbe9ff;
}

.data-table th {
    text-align: left;
    white-space: nowrap;
    font-weight: bold;
}

.data-table span.fas {
    cursor: pointer;
}

.data-table tr td {
    vertical-align: middle;
    padding: 2px 4px;
    max-width: 50vw;
}

.data-table tr.dirty td:first-child {
    background-color: #FFCCCC;
}

.data-table tr.active {
    background-color: #FFFFBB;
}

.data-table th.btn-tray {
    min-width: 140px;
    text-align: right;
}

.data-table tr.active:hover {
    background-color: #FFFFBB;
}

.data-table tr.active td {
    padding: 2px;
}

.data-table tr.active td:first-child {
    padding-left: 20px;
}

.data-table tr.active td:last-child {
    padding-right: 20px;
    text-align: right;
}

.data-table tr td input {
    margin: 2px;
    width: 100%;
    min-width: 50px;
}

.navbar ul.navigation {
    display: inline-flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0px;
    padding-left: 0;
}

.form-container {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 32px;
}

.navbar ul.navigation li {
    display: inline-block;
    padding: 4px;
    margin-right: 8px;
 }

.navbar ul.navigation li a {
    font-weight: 600;
}

.section-subnav-wrap {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
}

.section-subnav {
    margin: 0;
    padding: 8px 0;
    list-style: none;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.section-subnav li {
    display: inline-flex;
    align-items: center;
}

.section-subnav a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #d9dde1;
    border-radius: 20px;
    color: #2e343b;
    font-size: 0.875rem;
    text-decoration: none;
    background: #fff;
}

.section-subnav a:hover {
    background: #f1f4f8;
    text-decoration: none;
}

.section-subnav a.active {
    background: #3490dc;
    border-color: #3490dc;
    color: #fff;
}

.section-subnav .muted {
    color: #6c757d;
    font-size: 0.85rem;
    padding: 6px 8px;
}

@media (max-width: 767.98px) {
    .navbar ul.navigation li {
        margin-right: 4px;
    }

    .navbar ul.navigation li a {
        font-size: 0.9rem;
    }
}

.small-container {
    max-width: 500px;
    margin: 0px auto;
}

.button-group {
    text-align: center;
    padding: 8px;
    display:flex;
}

.button-group.left {
    text-align: left;
    max-width: 600px;
    margin: 0px auto;
    padding: 8px 0px;
}

.form-buttons.center {
    text-align: center;
}

.form-buttons.right {
    text-align: right;
}


.toggle {
    cursor: pointer;
    display: inline-block;
  }

  .toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 58px;
    height: 32px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
  }
  .toggle-switch:before, .toggle-switch:after {
    content: "";
  }
  .toggle-switch:before {
    display: block;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    width: 24px;
    height: 24px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left 0.25s;
  }
  .toggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
  }
  .toggle-checkbox:checked + .toggle-switch {
    background: #56c080;
  }
  .toggle-checkbox:checked + .toggle-switch:before {
    left: 30px;
  }

  .toggle-checkbox {
    position: absolute;
    visibility: hidden;
  }

  .toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
  }

.small-container {
    width: 500px;
    margin: 0px auto;
}

.custom-inline-form {
    display: flex;
    flex-direction: row;
}

.custom-inline-form > div {
    flex: 1;

    margin-right: 4px;
}

.custom-inline-form > div:last-child {
    margin-right: 0px;
}

.form-group.highlighted {
    background-color: #EEEEEE;
    border-radius: 4px;
    padding: 4px;
}
