* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'inter', sans-serif;
    /*background: linear-gradient(to right, #fff 3%, #1B4D3E 3%);*/
    min-height: 100vh;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
img,
ul,
li,
a {
    margin: 0;
    padding: 0;
}

h3{
  font-weight:700;
}

.w-30{
  width: 30%;
}

.w-70{
  width: 70%;
}

.w-10 {
  width: 10% !important;
}

a {
    text-decoration: none;
    display: inline-block;
}

li {
    list-style: none;
}

.step_3_text li{
  list-style: disc !important;
}

@font-face {
    font-family: 'inter';
    src: url(../fonts/Inter-VariableFont_opsz\,wght.ttf);
}

.hide {
    display: none !important;
}

.show:not(.dropdown-toggle, .notification_box, .notification_bell_icon) {
    display: block !important;
}

@supports (-moz-orient: inline) {
    html {
        scrollbar-width: thin;
        scrollbar-color: #c1c1c1 transparent;
    }

    html[data-app-theme="dark"] {
        scrollbar-color: #4a534f transparent;
    }
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Stepper arrows */
::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 100px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.search_icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translate(0, -50%)
}

.cursor-pointer {
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 10px;
    overflow: clip;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border: none
}

thead {
    background-color: var(--tx-thead);
    color: var(--tx-thead-ink);
    border-radius: 10px;
    position: sticky;
    top: 0;
    z-index: 200;
}

thead > tr > th,
.table > thead > tr > th,
.table-bordered > thead > tr > th {
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
}

thead > tr:first-child,
.table-bordered > thead > tr:first-child {
    border-top-width: 0;
}

.table-responsive {
    max-height: 70vh;
    overflow: auto;
}

.table>:not(caption)>*>* {
    vertical-align: middle;
}

th,
td {
    padding: 17px 12px !important;
    text-align: left;
    font-size: 14px;
    border: 1px solid transparent;
}

td {
    padding: 11.8px 12px !important;
    vertical-align: middle;
}

tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

tbody tr td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

tbody tr:hover {
    background-color: #e0f7fa;
}


.notification_bell_icon {
    background: #F5F5F5;
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items:center ;
    position: relative;
}

.notification_dot{
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FF4942;
    border-radius: 50%;
    top: 4px;
    right: 5px;
}
.notification_box {
    display: flex;
    gap: 15px;
}
.notification_box a i{
    padding: 8px;
    color: #606060;

}

.internal_testing_list_select .date_icon{
    text-transform: capitalize;
    color: #292C31;
    font-size: 12px;
}

select:focus{
    outline: none;
}

select option {
  padding: 10px;
  font-size: 16px;
}
select{
    border: 1px solid #ccc;
  border-radius: 8px;
}
.dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding-top: 0;
}

#notification-list {
    width: 350px;
}

.notification-button {
    border-radius: 50px;
    padding: 5px 10px;
    background: var(--primary, #19c4c0);
    color: #fff;
    border: unset;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 12px;
    text-transform: capitalize;
    margin-left: auto;
}

.notification-button:hover {
    color: #fff;
}

.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    background: rgba(var(--primary-rgb, 25, 196, 192), .11);
    margin-bottom: 10px;
}

.notification-item:last-child {
    margin-bottom: 0;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item strong {
    font-weight: 600;
}

.notification-time {
    font-size: 12px;
    color: #6c757d;
}

.notification-user {
    font-size: 12px;
    color: #6c757d;
}

.dropdown-toggle::after {
    display: none;
}

input[type="range"] {
    width: 160px;
    height: 4px;
    appearance: none;
    background: #a9a3a3;
    border-radius: 2px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 10px;
    height: 10px;
    background: #198754;
    border-radius: 50%;
    cursor: pointer;

}

input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--primary, #19c4c0);
    border-radius: 50%;
    cursor: pointer;
}

.switch-bg{
    background-color: var(--primary, #19c4c0);
}

/* Tables Paginator code */
.dataTables_paginate .page-item .page-link {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    line-height: 32px;
    text-align: center;
    border: none;
    margin: 0 4px;
    background-color: #f5f5f5;
    color: #000;
    font-weight: 500;
}

/* Active page */
.dataTables_paginate .page-item.active .page-link {
    background-color: var(--primary, #19c4c0);
    /* Teal color from image */
    color: #fff;
    font-weight: bold;
}

/* Prev/Next arrows */
.dataTables_paginate .page-item.previous .page-link,
.dataTables_paginate .page-item.next .page-link {
    background: none;
    font-size: 18px;
    color: #000;
    padding: 0 8px;
    width: auto;
    height: auto;
    line-height: normal;
    border-radius: 0;
}

/* Disabled arrows */
.dataTables_paginate .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

.dataTables_paginate .page-item.previous .page-link::before {
    content: '<';
    font-size: 16px;
}

.dataTables_paginate .page-item.next .page-link::before {
    content: '>';
    font-size: 16px;
}

/* Hide the actual "Previous"/"Next" text */
.dataTables_paginate .page-item.previous .page-link,
.dataTables_paginate .page-item.next .page-link {
    color: #000;
    font-size: 0;
    /* hide original text */
    background: none;
    border: none;
    box-shadow: none;
}

/* Style the arrow buttons */
.dataTables_paginate .page-item.previous .page-link::before,
.dataTables_paginate .page-item.next .page-link::before {
    font-size: 20px;
    color: #000;
    font-weight: bold;
    line-height: 32px;
}

/* Optional: reduce spacing */
.dataTables_paginate .pagination {
    gap: 4px;
}

.jconfirm .jconfirm-box .popup_yes_force {
  background-color: #1B4D3E !important;
  color: white !important;
  border-color: #1B4D3E !important;
}

.jconfirm .jconfirm-box .popup_no_force {
  background-color: #e7f4e4 !important;
  color: #000 !important;
  border-color: #e7f4e4 !important;
}

.jconfirm .jconfirm-box .popup_cancel_force {
  background-color: #ff4942 !important;
  color: white !important;
  border-color: #ff4942 !important;
}

/* Project progress bar START*/
.project_progress_steps fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative
}


.project_progress_steps fieldset:not(.active) {
    display: none
}


.project_progress_steps #progressbar {
    overflow: hidden;
    color: lightgrey
}

.project_progress_steps #progressbar .completed {
    color: var(--primary);
}

.project_progress_steps #progressbar .active {
    color: var(--color-pending);
}


.project_progress_steps #progressbar li {
    list-style-type: none;
    font-size: 15px;
    width: 25%;
    float: left;
    position: relative;
    font-weight: 400;
    text-align: center;
}

.project_progress_steps #progressbar #step1:before {
    content: "1"
}

.project_progress_steps #progressbar #step2:before {
    content: "2"
}

.project_progress_steps #progressbar #step3:before {
    content: "3"
}

.project_progress_steps #progressbar #step4:before {
    content: "4"
}

.project_progress_steps #progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 20px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px;
    position: relative;
    z-index: 2;
}

.project_progress_steps #progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: 1;
}

.project_progress_steps #progressbar li.completed:before,
.project_progress_steps #progressbar li.completed:after {
    background: var(--primary);
}

.project_progress_steps #progressbar li.active:before,
.project_progress_steps #progressbar li.active:after {
    background: var(--color-pending);
}

.project_progress_steps .progress {
    height: 20px
}

.project_progress_steps .progress-bar {
    background-color: #2F8D46
}
/* Project progress bar END */


/* MAIN.CSS */

#project_list_table_filter, #project_files_list_table_filter, #project_symbol_table_filter {
    display: none !important;
}

.select2-dropdown{
  z-index: 1000000;
}

.h-50p {
  height: 50px !important;
}

.h-85p {
  height: 85px !important;
}

/* Make tagify input same height as symbol name dropdown */
.tagify {
  height: auto !important;
  display: flex !important;
  align-items: center !important;
}

/* Fix symbol studio dropdown width and text truncation */
.angle-flip-dropdown-group .col-6 {
  flex: 1 1 0;
  min-width: 0;
}

.angle-flip-dropdown-group .col-6 select {
  width: 100% !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

.angle-flip-dropdown-group .col-6 select option {
  white-space: nowrap !important;
}


#symbol-name:not(:placeholder-shown),
#symbol-other:not(:placeholder-shown) {
  padding-top: 20px !important;
}

.h-50p {
  height: 50px !important;
}

.h-80p {
  height: 80px !important;
}

.h-35 {
  height: 35px !important;
}

.w-90{
  width: 90%;
}

.vh-90 {
    height: 90vh;
}

.vh-60 {
    height: 60vh;
}

.vh-75 {
    height: 75vh!important
}


/* LOADER SPINNER START */
#overlay_loader {
  background: #ffffff;
  color: var(--primary);
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 5000;
  top: 0;
  left: 0;
  float: left;
  text-align: center;
  padding-top: 15%;
  opacity: .90;
}

.spinner {
    margin: 0 auto;
    width: 300px;
}

#spinner-percentage{
  position: relative;
  font-weight: 700;
  font-size: x-large;
}

#loader_text{
  font-weight: 700;
  font-size: 20px;
}

/* LOADER SPINNER END*/

.bg-primary {
    background: var(--primary) !important;
}

.bg-second-primary{
  background: var(--secondary) !important;
}

.bg-green {
  background: green !important;
}

.bg-muted {
    background: var(--color-muted) !important;
}

.bg-success{
  background: var(--color-success) !important;
}

.bg-locked{
  background: var(--color-locked) !important;
}

.bg-error{
  background: var(--color-failed) !important;
}

.bg-highlight{
  background: var(--color-light-background) !important;
}

.bg-selected{
  background: bisque !important;
}

.bg-verified{
  background: var(--color-success) !important;
}

.bg-locked{
  background: var(--color-locked) !important;
}

.bg-not-attached {
  background: var(--color-light-background);
}

.btn-primary {
  border: none !important;
}

.z-10000{
  z-index: 10000;
}

.readonly{
  background: lightgray !important;
}

::-webkit-input-placeholder {
   font-size: 13px!important;
}

:-moz-placeholder { /* Firefox 18- */
      font-size: 13px!important;
}
::-moz-placeholder {  /* Firefox 19+ */
      font-size: 13px!important;
}

.search-box:focus{
  border-color: #ced4da;
}

.input-search input:focus{
    box-shadow: none !important;
}

.input-search span{
    border-top-left-radius: var(--input-round-radius);
    border-bottom-left-radius: var(--input-round-radius);
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 18px !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

.select2-selection__arrow{
  height: 100% !important;
}

.select2-dropdown{
  width: max-content !important;
}

.select2-container--default .select2-selection--single {
  overflow: visible !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  max-width: none !important;
  overflow: visible !important;
}

.button_badge {
  background-color: #fa3e3e;
  border-radius: 2px;
  color: white;
  padding: 1px 3px;
  font-size: 10px;
  position: absolute;

  &.jump{
    animation: jump 0.5s infinite alternate;
  }
}

.live_notify_badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background-color: #fa3e3e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 999px;

  &.jump{
    animation: jump 0.5s infinite alternate;
  }
}

.blink {
  animation: blink 1s steps(5, start) infinite;
  -webkit-animation: blink 1s steps(5, start) infinite;
}

.vr {
    border-right: 2px solid var(--color-highlight);
}

.color_primary {
    color: var(--primary) !important;
}

.project_super_name .fa-edit{
  color: var(--primary);
  font-size: 14px;
}

.project_sub_name {
    color: #5D5D5D;
}

tr.selected_project{
    background: var(--color-highlight) !important;
}

.selected_project button{
    background: var(--primary);
    color: var(--white);
}

.alert-warning{
   color: #664d03 !important;
   background-color: #fff3cd !important;
   border-color: #ffecb5 !important;
}
.hover-bold:hover{
  font-weight: bold;
}

.btn-outline-primary.disabled, .btn-outline-primary:disabled{
  color: var(--primary);
}

.w-available{
  width: -webkit-fill-available;
}

.wh-75{
  height: 75vh !important;
}

.wh-60{
  height: 60vh !important;
}

.progress .start {
    background: var(--color-progress-start) !important;
}

.progress .middle {
    background: var(--color-progress-middle) !important;
}

.progress .above-middle {
    background: var(--color-progress-above-middle) !important;
}

.progress .complete {
    background: var(--primary) !important;
}

.dashboard_project_list_container .card-header{
    background: var(--color-header-background) !important;
    padding: 0.75rem;
}

.hideAlert {
    display: none;
}

.showAlert {
    display: block !important;
    z-index: 10000;
    opacity: 1 !important;
    width: 100%;
}

#toastContainer {
    position: fixed;
    top: 10px;
    left: 10%;
    z-index: 1000000;
    width: 70%;
    pointer-events: none;
}

.bubble-toast {
    border-radius: 50px;
    padding: 15px;
    opacity: 1;
    width: fit-content;
    max-width: 50%;
    margin: auto;
    font-size: .875rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    animation: fadeOutMove 10s forwards;
}

.toast {
  background-color: none;
}


@keyframes fadeOutMove {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    20% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px);
    }
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-second-primary {
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-second-primary:hover{
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.btn-outline-primary:hover, .btn-check:checked + .btn-outline-primary, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show, .btn-outline-primary:active, .btn-check:active + .btn-outline-primary, .page-item.active .page-link, #qc-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.top-text-block{
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333;
  cursor: pointer;
  white-space: inherit !important;
  border-bottom:1px solid #f4f4f4;
  position:relative;
  &:hover {
        &:before {
        content: '';
        width: 4px;
        background: #f05a1a;
        left: 0;
        top: 0;
        bottom: 0;
        position: absolute;
    }
  }
  &.unread {
    background:var(--color-header-background);
  }

  .top-text-light {
    color: #999;
    font-size: 12px;
  }
}

#notification-list {
  min-width: 20vw;
  /* tall enough for a full page of five plus the header row */
  max-height: 65vh;
  overflow-y: auto;
  left: -5vw;
  z-index: 1050;
  padding: 0;
}

/* pager and "mark all as read" share one row that stays put while the
 * notifications under it scroll */
.notification-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(var(--primary-rgb, 25, 196, 192), .25);
}

.notification-header #mark-all-read {
  margin-left: auto;
}

.notification-mark-all {
  width: 30px;
  height: 26px;
  padding: 0;
  font-size: 12px;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(var(--primary-rgb, 25, 196, 192), .35);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notification-mark-all:hover {
  color: inherit;
  background: rgba(var(--primary-rgb, 25, 196, 192), .18);
}

.notification-pager {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-page-count {
  font-size: 12px;
  opacity: .75;
}

.notification-page-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  font-size: 11px;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(var(--primary-rgb, 25, 196, 192), .35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notification-page-btn:hover:not(:disabled) {
  color: inherit;
  background: rgba(var(--primary-rgb, 25, 196, 192), .18);
}

.notification-page-btn:disabled {
  opacity: .35;
}

.notification-row {
  position: relative;
}

.notification-row .notification-item {
  padding-right: 38px;
}

.notification-dismiss {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  padding: 0;
  font-size: 11px;
  line-height: 1;
  color: inherit;
  opacity: .45;
  background: transparent;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notification-dismiss:hover {
  color: inherit;
  opacity: 1;
  background: rgba(var(--primary-rgb, 25, 196, 192), .25);
}

.top-text-heading{
  font-size: 14px;
}

#notification-button:focus{
  box-shadow: none !important;
  border-color: white !important;
}

.focus_none:focus, .focus_none:focus-visible{
    box-shadow: none !important;
    border-width: 0px;
    outline: none;
}

.focus_outline_none:focus, .focus_outline_none:focus-visible{
    box-shadow: none !important;
    outline: none;
}

.d-right {
    display:flex;
    justify-content: end;
}

.d-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: end;
}

.d-left {
    display:flex;
    justify-content: start;
}

.d-center {
    display:flex;
    justify-content: center;
}

.d-auto {
    display:flex;
    justify-content: space-evenly;
}

.d-space {
    display:flex;
    justify-content: space-between;
}

.fs-medium {
    font-size: medium;
}

.fs-tag{
  font-size: 12px !important;
}

.fs-small {
    font-size: small;
}

.fs-smaller {
    font-size: smaller;
}

.fs-large {
    font-size: large;
}

.fs-xlarge {
    font-size: x-large;
}

.btn:focus, .btn-check:focus + .btn-outline-primary, .page-link:focus{
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem var(--color-shadow-primary);
}

.page-link, .page-link:hover, .page-link:focus{
    color: var(--primary);
}
.form-label{
  font-weight: bold;
}

.bg-inherit{
  background: inherit !important;
}

.hover_scale:hover{
  cursor: pointer;
  transform: scale(1.1);
  transition: all 0.4s ease-in-out
}

.fs-xsmall{
  font-size: x-small;
}

#image-viewer {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
}


#image-viewer canvas{
  position: absolute;
  cursor: move;
}

#canvas-container {
  margin: auto;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  width: 400px;
  height: 400px;
}

.cursor_crosshair{
  cursor: crosshair !important;
}

.cursor_grab{
  cursor: grab;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

#image-viewer .close {
  /*position: absolute;
  top: 15px;
  right: 35px;*/
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

#image-viewer .close:hover,
#image-viewer .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* SLIDER SWITCH WITH LABEL START */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 36px;
  background-color: #e3efef;
  border-radius: 999px;
  font-family: sans-serif;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  border: 1px solid #cfd8dc;
}

.switch-toggle input {
  display: none;
}

.switch-toggle-labels {
  display: flex;
  height: 100%;
  position: relative;
  z-index: 2;
}

.switch-toggle-labels span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

.switch-toggle-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background-color: #ffffff;
  border-radius: 999px;
  z-index: 1;
  transition: left 0.3s;
  box-shadow: inset 0 0 0 1px #cfd8dc;
}


.switch6-light span span {  color: #2b2b2b; }
.switch6-light span span.light {  color: white; }

.switch-toggle a,
.switch6-light span span { display: none; }

.switch6-light { display: block; height: 30px; position: relative; overflow: visible; padding: 0px; margin-left:0px; }
.switch6-light * { box-sizing: border-box; }
.switch6-light a { display: block; transition: all 0.3s ease-out 0s; }

.switch6-light label,
.switch6-light > span { line-height: 30px; vertical-align: middle;}

.switch6-light label {font-weight: 700; margin-bottom: px; max-width: 100%;}

.switch6-light input:focus ~ a, .switch6-light input:focus + label { outline: 1px dotted rgb(136, 136, 136); }
.switch6-light input { position: absolute; opacity: 0; z-index: 5; }
.switch6-light input:not(:checked) ~ a { right: 0%; }
.switch6-light input:checked + span span.switch-on { color: white !important; }
.switch6-light input:not(:checked) + span span.switch-off { color: white !important; }

.switch6-light input:checked + span span.switch-on-light { color: black !important; background: white; }
.switch6-light input:not(:checked) + span span.switch-off-light { color: black !important; background: white; }

.switch6-light > span { position: absolute; left: -100px; width: 100%; margin: 0px; padding-right: 100px; text-align: left; }
.switch6-light > span span { position: absolute; top: 0px; left: 0px; z-index: 5; display: block; width: 50%; margin-left: 100px; text-align: center; }
.switch6-light > span span:last-child { left: 50%; }
.switch6-light a { position: absolute; right: 50%; top: 0px; z-index: 4; display: block; width: 50%; height: 100%; padding: 0px; }
/* SLIDER SWITCH WITH LABEL END */

/* Drawing Type Selector */
.drawing-type-selector {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  margin-left: 8px;
}

.drawing-type-selector-trigger {
  min-width: 158px;
  height: 34px;
  border: 1px solid #bfe9ea;
  background: #ffffff;
  color: var(--brand-21484d, #21484d);
  border-radius: 17px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 32px;
  box-shadow: 0 10px 22px rgba(20, 77, 84, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.drawing-type-selector-trigger:hover {
  border-color: var(--primary, #19c4c0);
  box-shadow: 0 12px 24px rgba(var(--primary-rgb, 25, 196, 192), 0.14);
}

.drawing-type-selector-trigger:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb, 25, 196, 192), 0.18);
}

.drawing-type-selector.open .drawing-type-selector-trigger {
  border-color: var(--primary, #19c4c0);
  box-shadow: 0 0 0 0.18rem rgba(var(--primary-rgb, 25, 196, 192), 0.12), 0 12px 24px rgba(var(--primary-rgb, 25, 196, 192), 0.14);
}

.drawing-type-selector-value {
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.drawing-type-selector-arrow {
  color: #5f6f72;
  font-size: 11px;
  transition: transform 0.2s ease;
}

.drawing-type-selector.open .drawing-type-selector-arrow {
  transform: rotate(180deg);
}

.drawing-type-selector-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 196px;
  background: #ffffff;
  border: 1px solid #dcecec;
  border-radius: 16px;
  box-shadow: 0 20px 34px rgba(20, 77, 84, 0.16);
  padding: 10px;
  z-index: 10020;
  display: none;
}

.drawing-type-selector.open .drawing-type-selector-menu {
  display: block;
}

.drawing-type-selector-header {
  font-size: 11px;
  font-weight: 700;
  color: #6a7f83;
  padding: 4px 10px 10px;
  border-bottom: 1px solid #eef6f6;
  margin-bottom: 6px;
}

.drawing-type-option {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 12px;
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--brand-26474c, #26474c);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.drawing-type-option + .drawing-type-option {
  margin-top: 3px;
}

.drawing-type-option:hover {
  background: #f4fbfb;
  color: var(--brand-0f6d73, #0f6d73);
}

.drawing-type-option.active {
  background: #e8f9f8;
  color: var(--brand-0f6d73, #0f6d73);
  box-shadow: inset 3px 0 0 var(--primary, #19c4c0);
}

.drawing-type-option:focus {
  outline: none;
  background: #f3fbfb;
}

.drawing-type-option-check {
  color: var(--primary, #19c4c0);
  font-size: 12px;
  opacity: 0;
}

.drawing-type-option.active .drawing-type-option-check {
  opacity: 1;
}

.drawing-type-option.disabled {
  color: #93a5a7;
  cursor: not-allowed;
}

.drawing-type-option.disabled:hover,
.drawing-type-option.disabled:focus {
  background: transparent;
  color: #93a5a7;
}

.drawing-type-option-note {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #7c8c8e;
  background: #F1F5F5;
  border: 1px solid #E1E9E9;
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

/* PFD-PNID Toggle Styles */
.pfd-pnid-toggle-container {
  display: inline-flex;
  align-items: center;
}

.pfd-pnid-switch-toggle {
  width: 150px;
  height: 32px;
}

#pfd-pnid-toggle:checked + .switch-toggle-slider {
  left: 50%;
  background-color: var(--primary, #19c4c0);
  box-shadow: inset 0 0 0 1px var(--primary, #19c4c0);
}

#pfd-pnid-toggle:not(:checked) + .switch-toggle-slider {
  left: 0;
  background-color: var(--primary, #19c4c0);
  box-shadow: inset 0 0 0 1px var(--primary, #19c4c0);
}

#pfd-pnid-toggle:checked ~ .switch-toggle-labels span:last-child {
  color: #ffffff;
  font-weight: 600;
}

#pfd-pnid-toggle:not(:checked) ~ .switch-toggle-labels span:first-child {
  color: #ffffff;
  font-weight: 600;
}

#pfd-pnid-toggle:checked ~ .switch-toggle-labels span:first-child {
  color: #666666;
  font-weight: 400;
}

#pfd-pnid-toggle:not(:checked) ~ .switch-toggle-labels span:last-child {
  color: #666666;
  font-weight: 400;
}

/* HMB Toggle Styles */
#hmb-toggle:checked + .switch-toggle-slider {
  left: 50%;
  background-color: var(--primary, #19c4c0);
  box-shadow: inset 0 0 0 1px var(--primary, #19c4c0);
}

#hmb-toggle:not(:checked) + .switch-toggle-slider {
  left: 0;
  background-color: var(--primary, #19c4c0);
  box-shadow: inset 0 0 0 1px var(--primary, #19c4c0);
}

#hmb-toggle:checked ~ .switch-toggle-labels span:last-child {
  color: #ffffff;
  font-weight: 600;
}

#hmb-toggle:not(:checked) ~ .switch-toggle-labels span:first-child {
  color: #ffffff;
  font-weight: 600;
}

#hmb-toggle:checked ~ .switch-toggle-labels span:first-child {
  color: #666666;
  font-weight: 400;
}

#hmb-toggle:not(:checked) ~ .switch-toggle-labels span:last-child {
  color: #666666;
  font-weight: 400;
}

.split-pdf-toggle-container {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

.split-type-picker {
  display: inline-flex;
  align-items: stretch;
  height: 28px;
  padding: 2px;
  background-color: #e3efef;
  border: 1px solid #cfd8dc;
  border-radius: 14px;
}

.split-type-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.split-type-picker label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 0 12px;
  margin: 0;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 400;
  color: #666666;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, font-weight 0.3s;
}

.split-type-picker input:checked + label {
  color: #ffffff;
  font-weight: 600;
}

.split-type-picker input[value="pnid"]:checked + label {
  background-color: #0066ff;
  box-shadow: 0 2px 4px rgba(0, 102, 255, 0.3);
}

.split-type-picker input[value="pfd"]:checked + label {
  background-color: #dc3545;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.split-type-picker input[value="isometric"]:checked + label {
  background-color: #198754;
  box-shadow: 0 2px 4px rgba(25, 135, 84, 0.3);
}

.split-type-picker input:focus-visible + label {
  outline: 2px solid #0066ff;
  outline-offset: 1px;
}

.split-page-card.selected.pnid {
  border-color: #0066ff;
  box-shadow: 0 0 0 0.15rem rgba(0, 102, 255, 0.25);
}

.split-page-card.selected.pfd {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

.split-page-card.selected.isometric {
  border-color: #198754;
  box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.25);
}

.my_button_2  {
    background-color: #eef2f2 !important;
    border-radius: 20px 20px 0px 0px !important;
    padding: 10px 24px;
    box-shadow: 4px -2px 8px rgba(0, 0, 0, 5%);
    position: relative;
    border: 1px solid #E3E9E9 !important;
    border-bottom: 0 !important;
    color: #6B7580;
    font-weight: 500;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.my_button_2:hover{
    background-color: #e7eeee !important;
    color: #2B3A3A;
}

.my_button_3, .my_button_4, .my_button_5, .my_button_6, .my_button_7, .my_button_8{
  position: relative;
  margin-left: 0;
  border-radius: 20px 20px 0px 0px;
}

.my_button_3{
    z-index: 10;
}
.my_button_4{
    z-index: 9;
}
.my_button_5{
    z-index: 7;
}
.my_button_6{
    z-index: 6;
}
.my_button_7{
    z-index: 8;
}
.my_button_8{
    z-index: 5;
}
.my_button_9{
    z-index: 4;
}

.hover-black:hover{
  color: black !important;
}
.select2-dropdown, .dropdown-menu { z-index: 99999; }

.search-overlay {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  z-index: 9999;
  padding: 20px;
}

.search-box {
  max-width: 600px;
  margin: 50px auto 20px auto;
}

#floatingHelpBtn{
  z-index: 999999999;
}
.sub-checklist {
  list-style-type: none !important;
  margin-left: 35px;
  margin-top: -5px;
  margin-bottom: 8px;
  color: #444;
  font-size: 13px;
  line-height: 1.4;
}

.sub-checklist li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 3px;
}

.sub-checklist li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #666;
  font-weight: 600;
}

.dboard-dropdown-menu {
    min-width: 120px !important;
    padding: 4px 0 !important;
    z-index: 100000 !important;
}

.dboard-dropdown-menu .dropdown-item {
    padding: 4px 12px !important;
    font-size: 15px;
}

#pfd_asset_connect_table {
  max-height: 100vh;     /* adjust as you like */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;   /* avoids scrollbar overlay */
}

/* ERP pill-style tabs */
.erp-pill-tabs {
  display: inline-flex;
  background: #e9f3f2;
  border-radius: 30px;
  padding: 4px;
  gap: 4px;
  margin: 0 auto;
}

.erp-pill {
  border: none;
  background: transparent;
  padding: 10px 28px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  color: #5f6f73;
  cursor: pointer;
  transition: all 0.25s ease;
}

.erp-pill:hover {
  background: rgba(0, 0, 0, 0.05);
}

.erp-pill.active {
  background: var(--primary, #19c4c0);
  color: #fff;
  box-shadow: 0 3px 8px rgba(var(--primary-rgb, 25, 196, 192), 0.35);
}

body.dark .erp-pill-tabs {
  background: #1a2620;
}

/* JSON Viewer */
.json-viewer {
  font-family: monospace;
  font-size: 13px;
  max-height: 70vh;
  overflow: auto;
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
}

.json-toggle {
  cursor: pointer;
  margin-right: 6px;
  color: #555;
}

.json-key {
  color: #0b7285;
  font-weight: 600;
}

.json-value.string {
  color: #087f5b;
}

.json-value.number {
  color: #1c7ed6;
}

.json-value.boolean {
  color: #d9480f;
}

.json-value.null {
  color: #868e96;
}

.json-brace {
  color: #343a40;
  font-weight: bold;
}

.json-comma {
  color: #868e96;
}

.json-item {
  margin: 2px 0;
}

.reportPreviewModal .modal-body {
  overflow: hidden;
}

.reportPreviewModal #reportPreviewContent {
  max-height: 65vh;      /* 👈 CRITICAL */
  overflow: auto;
}

/* HTML report previews open full screen */
.report-preview-html-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 65vh;
  border: 0;
  background: #fff;
}

.reportPreviewModal.report-preview-window .modal-content {
  height: 100%;
}

.reportPreviewModal.report-preview-window .modal-body {
  padding: 0;
  overflow: hidden;
}

.reportPreviewModal.report-preview-window #reportPreviewContent {
  max-height: none;
  height: 100%;
  overflow: hidden;
}

.reportPreviewModal.report-preview-window #reportPreviewLoader {
  padding: 1rem;
}

/* Single source of scrolling */
.table-scroll-container {
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: auto;
}

/* Sticky header (correct) */
.table-sticky thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--tx-thead);
  color: var(--tx-thead-ink);
  box-shadow: inset 0 -1px 0 #dee2e6;
}

.annotation-type-switch .form-check {
  margin-left: 1rem;
}

.annotation-type-switch .form-check-label {
  cursor: pointer;
}

.annotation-type-label {
  font-size: 1.1rem;      /* slightly bigger */
  font-weight: 600;
  cursor: pointer;
}

.annotation-complete {
  background: #d1e7dd;       /* Bootstrap success-light */
  border-radius: 6px;
  padding: 4px 8px;
}

.form-check-input:checked + .annotation-type-label {
  text-decoration: underline;
}

.force-hide {
    display: none !important;
}

.network-card-group{
    display:flex;
    flex-direction:column;
    gap:12px;
    width: 220px;
    margin:auto;
}

.network-card{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px;
    font-weight:600;
    border-radius:10px;
    text-decoration:none;
    color:#fff;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.network-card i{
    font-size:18px;
}

.card-network{
    background: linear-gradient(135deg,#0d6efd,#3d8bfd);
}

.card-graph{
    background: linear-gradient(135deg,#198754,#43c27c);
}

.card-erp{
    background: linear-gradient(135deg,#6f42c1,#9a6bff);
}

.network-card:hover{
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    text-decoration:none;
    color:#fff;
}

.network-card:active{
    transform: scale(0.97);
}

.image-container {
  position: relative;
  display: inline-block;
}

.retrain-status-dot {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid white;
  z-index: 3;
}

.retrain-status-dot.retrained {
  background-color: #28a745;
}

.retrain-status-dot.needs-retrain {
  background-color: #dc3545;
}

.text-dangerous {
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { opacity: .4; }
  50% { opacity: 1; }
  100% { opacity: .4; }
}

.symbol-studio-btn {
  position: relative;
}

.retrain-alert-badge {
  position: absolute;
  top: 0px;
  right: -4px;
  background: #dc3545;
  color: white;
  font-size: 11px;
  font-weight: bold;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: blinkAlert 1.2s infinite;
  box-shadow: 0 0 0 2px white;
}

@keyframes blinkAlert {
  0%   { transform: scale(1); opacity: .7; }
  50%  { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: .7; }
}

/* XML Parse CSS */
.xml-container {
  max-height: 500px;
  overflow: auto;
  background: #1e1e1e;
  border-radius: 6px;
  padding: 10px;
}

.xml-viewer {
  color: #d4d4d4;
  font-family: monospace;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre;
}

.dxf-preview {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
}

.dxf-toolbar {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.dxf-zoom-label {
  min-width: 62px;
  font-variant-numeric: tabular-nums;
}

.dxf-theme-btn {
  border: 1px solid #dee2e6;
  background: #ffffff;
}

.dxf-theme-btn.active {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
}

.dxf-canvas {
  position: relative;
  height: 68vh;
  overflow: hidden;
  background: #ffffff;
  cursor: grab;
  touch-action: none;
}

.dxf-canvas.is-grabbing {
  cursor: grabbing;
}

.dxf-preview[data-theme="dark"] .dxf-canvas {
  background: #1e1e1e;
}

.dxf-preview[data-theme="blueprint"] .dxf-canvas {
  background: #0b5394;
}

.dxf-stage {
  transform-origin: 0 0;
  will-change: transform;
}

/* ezdxf auto-sizes the page to the drawing extents (e.g. width="9267mm"),
   so the intrinsic size is dropped and the viewBox aspect ratio drives layout. */
.dxf-stage svg {
  display: block;
  width: 100%;
  height: auto;
  shape-rendering: geometricPrecision;
}

.dxf-hint {
  padding: 0.35rem 0.5rem;
  font-size: 11px;
  color: #6c757d;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.xml-tree-viewer {
  font-family: monospace;
  font-size: 13px;
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 10px;
  border-radius: 6px;
  max-height: 500px;
  overflow: auto;
}

.xml-node {
  margin-left: 16px;
}

.xml-line {
  display: flex;
  align-items: center;
}

.xml-toggle {
  cursor: pointer;
  color: #569cd6;
  margin-right: 6px;
}

.xml-tag {
  color: #569cd6;
}

.xml-attr {
  color: #9cdcfe;
}

.xml-value {
  color: #ce9178;
}

.xml-text {
  color: #dcdcaa;
}

.back_nav_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid var(--tx-line, #e2e8e6);
  background: var(--tx-surface-2, #fff);
  color: var(--tx-muted, #5a6b65);
  text-decoration: none;
  transition: all .15s;
}

.back_nav_btn:hover {
  background: var(--tx-surface-3, #eef3f1);
  color: var(--tx-ink, #0f2e27);
  transform: scale(1.08);
}

.back_nav_btn svg {
  width: 21px;
  height: 21px;
  flex: none;
}
