/* Write your custom CSS here */
.float-left{
    float: left;
}

.modal-open .modal{
    z-index: 1050 !important;
}

.panel .panel-heading {
  padding: 10px !important;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel .panel-heading .panel-title{
  padding-top: 2px;
}

/* Enhanced Spinner Styles */
.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
  border: 0.25em solid currentColor;
  border-right-color: transparent !important;
  border-radius: 50%;
  -webkit-animation: spinner-border 0.75s linear infinite;
  animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
  width: 1.5rem;
  height: 1.5rem;
  border-width: 0.2em;
}

@-webkit-keyframes spinner-border {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner-border {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Light spinner (white) */
.spinner-border.text-light {
  border-color: rgba(255, 255, 255, 0.75);
  border-right-color: transparent !important;
}

/* Primary spinner (blue) */
.spinner-border.text-primary {
  border-color: #007bff;
  border-right-color: transparent !important;
}

/* Success spinner (green) */
.spinner-border.text-success {
  border-color: #28a745;
  border-right-color: transparent !important;
}

/* Spinner container for centering */
.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
} 

.mt-2 {
  margin-top: 0.5vh;
}



/**
  * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
  *
  * @version v3.4 (MODDED)
  * @homepage https://bttstrp.github.io/bootstrap-switch
  * @author Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)
  * @license MIT
  */
  .bootstrap-switch {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    cursor: pointer;
    direction: ltr !important;
    display: inline-block;
    line-height: .5rem;
    overflow: hidden;
    position: relative;
    text-align: left;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    z-index: 0;
  }
  
  .bootstrap-switch .bootstrap-switch-container {
    border-radius: 0.25rem;
    display: inline-block;
    top: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  
  .bootstrap-switch:focus-within {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on,
  .bootstrap-switch .bootstrap-switch-handle-off,
  .bootstrap-switch .bootstrap-switch-label {
    box-sizing: border-box;
    cursor: pointer;
    display: table-cell;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2rem;
    padding: .25rem .5rem;
    vertical-align: middle;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on,
  .bootstrap-switch .bootstrap-switch-handle-off {
    text-align: center;
    z-index: 1;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default {
    background: #e9ecef;
    color: #1f2d3d;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
    background: #007bff;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-secondary,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-secondary {
    background: #6c757d;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success {
    background: #28a745;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info {
    background: #17a2b8;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning {
    background: #ffc107;
    color: #1f2d3d;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger {
    background: #dc3545;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-light,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-light {
    background: #f8f9fa;
    color: #1f2d3d;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-dark,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-dark {
    background: #343a40;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-lightblue,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-lightblue {
    background: #3c8dbc;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-navy,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-navy {
    background: #001f3f;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-olive,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-olive {
    background: #3d9970;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-lime,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-lime {
    background: #01ff70;
    color: #1f2d3d;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-fuchsia,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-fuchsia {
    background: #f012be;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-maroon,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-maroon {
    background: #d81b60;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-blue,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-blue {
    background: #007bff;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-indigo,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-indigo {
    background: #6610f2;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-purple,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-purple {
    background: #6f42c1;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-pink,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-pink {
    background: #e83e8c;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-red,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-red {
    background: #dc3545;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-orange,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-orange {
    background: #fd7e14;
    color: #1f2d3d;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-yellow,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-yellow {
    background: #ffc107;
    color: #1f2d3d;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-green,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-green {
    background: #28a745;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-teal,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-teal {
    background: #20c997;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-cyan,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-cyan {
    background: #17a2b8;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-white,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-white {
    background: #fff;
    color: #1f2d3d;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-gray,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-gray {
    background: #6c757d;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-gray-dark,
  .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-gray-dark {
    background: #343a40;
    color: #fff;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-on {
    border-bottom-left-radius: 0.1rem;
    border-top-left-radius: 0.1rem;
  }
  
  .bootstrap-switch .bootstrap-switch-handle-off {
    border-bottom-right-radius: 0.1rem;
    border-top-right-radius: 0.1rem;
  }
  
  .bootstrap-switch input[type='radio'],
  .bootstrap-switch input[type='checkbox'] {
    filter: alpha(opacity=0);
    left: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    visibility: hidden;
    z-index: -1;
  }
  
  .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,
  .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,
  .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label {
    font-size: .875rem;
    line-height: 1.5;
    padding: .1rem .3rem;
  }
  
  .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,
  .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,
  .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label {
    font-size: .875rem;
    line-height: 1.5;
    padding: .2rem .4rem;
  }
  
  .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,
  .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,
  .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label {
    font-size: 1.25rem;
    line-height: 1.3333333rem;
    padding: .3rem .5rem;
  }
  
  .bootstrap-switch.bootstrap-switch-disabled, .bootstrap-switch.bootstrap-switch-readonly, .bootstrap-switch.bootstrap-switch-indeterminate {
    cursor: default;
  }
  
  .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,
  .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,
  .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label, .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,
  .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,
  .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label, .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,
  .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,
  .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label {
    cursor: default;
    filter: alpha(opacity=50);
    opacity: .5;
  }
  
  .bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container {
    transition: margin-left .5s;
  }
  
  .bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on {
    border-radius: 0 0.1rem 0.1rem 0;
  }
  
  .bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off {
    border-radius: 0.1rem 0 0 0.1rem;
  }
  
  .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label,
  .bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label {
    border-bottom-right-radius: 0.1rem;
    border-top-right-radius: 0.1rem;
  }
  
  .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label,
  .bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label {
    border-bottom-left-radius: 0.1rem;
    border-top-left-radius: 0.1rem;
  }
  
  .dark-mode .bootstrap-switch {
    border-color: #6c757d;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default {
    background-color: #3a4047;
    color: #fff;
    border-color: #454d55;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
    background: #3f6791;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-secondary,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-secondary {
    background: #6c757d;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success {
    background: #00bc8c;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info {
    background: #3498db;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning {
    background: #f39c12;
    color: #1f2d3d;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger {
    background: #e74c3c;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-light,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-light {
    background: #f8f9fa;
    color: #1f2d3d;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-dark,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-dark {
    background: #343a40;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-lightblue,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-lightblue {
    background: #86bad8;
    color: #1f2d3d;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-navy,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-navy {
    background: #002c59;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-olive,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-olive {
    background: #74c8a3;
    color: #1f2d3d;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-lime,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-lime {
    background: #67ffa9;
    color: #1f2d3d;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-fuchsia,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-fuchsia {
    background: #f672d8;
    color: #1f2d3d;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-maroon,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-maroon {
    background: #ed6c9b;
    color: #1f2d3d;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-blue,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-blue {
    background: #3f6791;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-indigo,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-indigo {
    background: #6610f2;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-purple,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-purple {
    background: #6f42c1;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-pink,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-pink {
    background: #e83e8c;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-red,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-red {
    background: #e74c3c;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-orange,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-orange {
    background: #fd7e14;
    color: #1f2d3d;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-yellow,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-yellow {
    background: #f39c12;
    color: #1f2d3d;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-green,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-green {
    background: #00bc8c;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-teal,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-teal {
    background: #20c997;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-cyan,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-cyan {
    background: #3498db;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-white,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-white {
    background: #fff;
    color: #1f2d3d;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-gray,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-gray {
    background: #6c757d;
    color: #fff;
  }
  
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-gray-dark,
  .dark-mode .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-gray-dark {
    background: #343a40;
    color: #fff;
  }



  .trace_type_icon {
    color: #007bff;
  }

  .trace_status_icon {
    color: #28a745;
  }