* {
    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;
}

@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;
}

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

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 100px;
}

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

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

.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: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border: none
}

thead {
    background-color: #1B4D3E;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

.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 {
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding-top: 0;
}

.notification-button {
    border-radius: 50px;
    padding: 5px 10px;
    background: #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: #19c4c01c;
    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: #28CFD1;
    border-radius: 50%;
    cursor: pointer;
}

.switch-bg{
    background-color: #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: #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-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-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-not-attached {
  background: var(--color-light-background);
}

.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, .live_notify_badge {
  background-color: #fa3e3e;
  border-radius: 2px;
  color: white;
  padding: 1px 3px;
  font-size: 10px;
  position: absolute;

  &.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%;
}

.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;
  max-height: 40vh;
  overflow-y: auto;
  left: -5vw;
  z-index: 1050;
  padding: .5rem 0;
}

.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 */

.my_button_2  {
    background-color: #eee !important;
    border-radius: 20px 20px 0px 0px !important;
    padding: 10px 24px;
    box-shadow: 8px -3px 9px rgba(0, 0, 0, 7%);
    position: relative;
    border: 1px solid #E5E5E5 !important;
    border-bottom: 0 !important;
    color: #292D32;
}
.my_button_2:hover{
    color: #292D32;
}

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

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

.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;
}