/* ── Click ripple — expands from cursor, fades out ── */
.click-ripple {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.28) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    animation: clickRipple 0.55s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
    z-index: 99999;
}

@keyframes clickRipple {
    0%   { transform: translate(-50%, -50%) scale(0);   opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

/* ── Cursor follower dot — smooth lag follow ─────── */
.cursor-circle {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.55);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 99999;
    transition: left 0.06s ease, top 0.06s ease, transform 0.1s ease;
}

/* Shrink dot when hovering a clickable element */
a:hover ~ .cursor-circle,
button:hover ~ .cursor-circle {
    transform: translate(-50%, -50%) scale(1.6);
}

/* ── Global interaction smoothness ───────────────── */

/* Buttons — scale-press feedback */
.btn {
    transition: background-color 0.18s ease, border-color 0.18s ease,
                color 0.18s ease, box-shadow 0.18s ease,
                transform 0.1s ease !important;
}
.btn:active {
    transform: scale(0.94) !important;
    box-shadow: none !important;
}

/* Links & nav */
a, .nav-link, .dropdown-item, .breadcrumb-item a, .page-link {
    transition: color 0.15s ease, background-color 0.15s ease,
                opacity 0.15s ease !important;
}

/* Sidebar menu items */
.sidebar-wrapper .metismenu a {
    transition: background-color 0.18s ease, color 0.18s ease,
                padding-left 0.18s ease !important;
}

/* Cards */
.card {
    transition: box-shadow 0.22s ease, transform 0.22s ease !important;
}

/* Table rows */
.table tbody tr {
    transition: background-color 0.15s ease !important;
}

/* Form inputs */
.form-control, .form-select {
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

/* Offcanvas & modal */
.offcanvas, .modal-content {
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Badges */
.badge {
    transition: background-color 0.15s ease, opacity 0.15s ease !important;
}

p.mb-0.text-white {
    font-size: 20px;
}

 /* Loader Start */
 .loader_hidden {
     display: none;
 }

 td,
 th {
     text-align: left;
 }

 div#myModal2 {
     width: 30%;
 }

 .card {
     --bs-card-spacer-y: 0.5rem !important;
     --bs-card-spacer-x: 0.5rem !important;
 }

 .select2-container--default .select2-selection--single {
     border: 1px solid #e1e1e1;
 }

 a.text-secondary.fw-600 {
     font-weight: 700;
     font-size: 20px;
 }

 span.badge.badge-secondary {
     background: #d1d1d1;
     color: black;
 }

 .offcanvas,
 .offcanvas-lg,
 .offcanvas-md,
 .offcanvas-sm,
 .offcanvas-xl,
 .offcanvas-xxl {
     --bs-offcanvas-zindex: 1051 !important;
 }

 #loaderImg {
     position: fixed;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     width: clamp(40px, 4vw, 80px);
     /* responsive size */
     height: auto;
     animation: rotate 1s infinite linear;
     z-index: 999999;
 }

 td {
     border: none;
     border-bottom: 1px solid #dee2e6 !important;
 }

 .card {
     box-shadow: 1px 1px 2px 2px lightgray;
 }

 .select2-container .select2-selection--single {
     height: 36px;
 }

 .detail-row {
     padding: 8px 0;
     border-bottom: 1px solid #f1f1f1;
 }

 .detail-label {
     font-weight: 600;
     color: #666;
     font-size: 13px;
 }

 .detail-value {
     font-weight: 600;
     color: #111;
     font-size: 13px;
     word-break: break-word;
 }

 .wrap-path {
     word-break: break-all;
 }

 /* Mobile view label and value */
 @media (max-width: 768px) {
     .detail-label {
         margin-bottom: 4px;
         font-size: 12px;
         color: #888;
     }

     .detail-value {
         font-size: 13px;
         font-weight: 700;
     }
 }

 .offcanvas-header {
     position: sticky;
     top: 0;
     background: #fff;
     z-index: 999;
     border-bottom: 1px solid #ddd;
 }

 .logo-lg {
     display: block;
     height: 44px;
 }

 .logo-sm {
     display: none;
     height: 44px;
 }

 /* When sidebar collapsed */
 .sidebar-wrapper.sidebar-collapsed .logo-lg {
     display: none;
 }

 .sidebar-wrapper.sidebar-collapsed .logo-sm {
     display: block;
     margin: auto;
 }

 .toggled .logo-lg {
     display: none;
 }

 .toggled .logo-sm {
     display: block;
 }

 .logo-sm {
     display: none;
 }

 .logo-lg {
     display: block;
 }

 /* Sidebar collapsed */
 .wrapper.toggled .logo-lg {
     display: none;
 }
 .bg-green-light{
        background-color: #ccf8cc !important;
 }

 table tbody tr.active-row>td {
     background-color: #a5cafa !important;
     transition: 0.3s;
 }

 .sidebar-wrapper .metismenu ul {
     background: #000000;
 }

 .wrapper.toggled .logo-sm {
     display: block;
 }

 /* When collapsed sidebar is hovered */
 .wrapper.toggled.sidebar-hovered .logo-lg {
     display: block;
 }

 .wrapper.toggled.sidebar-hovered .logo-sm {
     display: none;
 }

 /* On mobile the sidebar slides in as a full overlay — show full logo, not icon */
 @media screen and (max-width: 1024px) {
     .wrapper.toggled .logo-lg {
         display: block !important;
     }
     .wrapper.toggled .logo-sm {
         display: none !important;
     }

     /* Suppress transition during page-load close so there is no visible flash */
     .wrapper.sidebar-no-transition .sidebar-wrapper {
         transition: none !important;
     }
 }

 /* Default */
 .logo-small {
     display: none;
 }

 /* When collapsed */
 .sidebar-collapsed .logo-full {
     display: none;
 }

 .sidebar-collapsed .logo-small {
     display: block;
     text-align: center;
 }

 .pace {
     display: none;
 }

 @media (min-width: 768px) {
     .w-md-auto {
         width: auto !important;
     }
 }



 .opacity-25 {
     opacity: 0.5 !important;
 }

 .offcanvas-footer {
     position: sticky;
     bottom: 0;
     background: #fff;
     z-index: 10;
 }

 /* Desktop */
 @media (min-width: 768px) {
     .w-md-auto {
         width: auto !important;
     }
 }

 /* Mobile offcanvas full width */
 @media (max-width: 576px) {
     .offcanvas-end {
         width: 100% !important;
     }
 }

 .bg-gradient-ibiza {
     /* background: linear-gradient(45deg, #8c5bb1, #97745b) !important; */
     background: #8c5bb1 !important;

 }

 .bg-gradient-cosmic {
     /* background: linear-gradient(to right, #768ad5, #399393) !important; */
     background: #768ad5 !important;
 }

 .bg-gradient-ohhappiness {
     /* background: linear-gradient(45deg, #9b863b, #91b74e) !important; */
     background: #9b863b !important;
 }

 .bg-gradient-security {
     /* background: linear-gradient(135deg, #1e3c72, #2a5298); */
     background: #2a5298;
 }

 tbody td {
     font-family: "Segoe UI", Roboto, Arial, sans-serif;
     font-size: 15px;
 }

 a.nav-link {
     color: black;
     font-weight: 600;
     font-size: 14px;
 }

 a.modalData {
     color: darkcyan;
 }

 .table tbody tr:hover {
     background-color: #f1f6ff;
 }

 .offcanvas-header {
     border-bottom: 1px solid lavender;
 }

 .table thead th {
     top: 0;
     background: #ebebeb;
     /* color: #831fdd; */
     color: rgb(22, 45, 248);
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 .table th,
 .table td {
     padding: 10px 12px;
     font-size: 14px;
     vertical-align: middle;
     font-family: "Segoe UI", Roboto, Arial, sans-serif;
 }

 .btn {
     letter-spacing: 0px;
 }

 li.mm-active {
     background: #0d6efd;
 }

 .sidebar-wrapper .metismenu ul li.mm-active {
     background: #ffffff;
 }

 .sidebar-wrapper .metismenu ul li.mm-active > a {
     color: #000000 !important;
 }

 .form-select {
     padding: .375rem 1.25rem .375rem .75rem;
 }

 a {
     color: #2776b7;
 }

 /* Loader End */
 thead th {
     position: sticky;
     /* z-index: 999; */
     /* background-color: #558fe6 !important;
     color: #ffffff !important; */
     font-weight: 600 !important;
     font-size: 15px;
 }

 .bx-user-circle {
     font-size: 29px;
     margin-right: -8px;
     /* color: royalblue; */
     /* color: white !important; */
 }

 table.table-bordered.dataTable tbody th,
 table.table-bordered.dataTable tbody td {
     /* border: 1px solid #c0fcc6; */
     border-bottom: 1px solid lightgray;
     padding: 10px;
 }

 div.dataTables_wrapper div.dataTables_paginate ul.pagination {
     margin: -5px 0;
     white-space: nowrap;
     float: right;
     position: absolute;
     right: 15px;
 }

 svg.w-5.h-5 {
     width: 3%;
 }

 p.text-sm.text-gray-700.leading-5.dark\:text-gray-600 {
     margin-top: 13px;
 }

 span.badge {
     font-weight: 500;
 }

 span.badge.badge-warning {

     background: #fff5cb;
     color: #b9a12d;
 }

 span.badge.badge-primary {
     background: #e9effd;
     color: #376cec;
     border: #e9effd;
 }

 span.badge.badge-purple {
     background: #f3edfd;
     color: #7c45ee;
 }

 span.badge.badge-green {
     background: #e8f6f1;
     color: #479f72;
 }

 span.badge.badge-orange {
     background: #fbf1e6;
     color: #da7d06;
 }

 span.badge.badge-dark {
     background: #c9c9c9;
     color: #727474;
 }

 .select2-container--default .select2-selection--single .select2-selection__rendered {
     line-height: 32px;
     margin-left: 9px;
 }

 .select2-container--default .select2-selection--single .select2-selection__arrow {
     top: 2px;
 }

 span.badge.badge-brown {
     background: green;
 }

 .required:after {
     content: " *";
     color: red;
 }

 .btn i {
     margin-right: 0px !important;
 }

 .switch {
     position: relative;
     display: inline-block;
     width: 50px;
     height: 22px;
 }

 .switch input {
     opacity: 0;
     width: 0;
     height: 0;
 }

 .slider {
     position: absolute;
     cursor: pointer;
     background-color: #f70a0a;
     border-radius: 34px;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     transition: 0.4s;
 }

 .slider:before {
     position: absolute;
     content: "";
     height: 16px;
     width: 17px;
     left: 6px;
     bottom: 3px;
     background-color: white;
     border-radius: 50%;
     transition: 0.4s;
 }

 input:checked+.slider {
     background-color: #008cff;
 }

 input:checked+.slider:before {
     transform: translateX(24px);
 }

 .slider:after {
     content: "Disable";
     position: absolute;
     right: -10px;
     top: 4px;
     font-size: 10px;
     color: white;
 }

 input:checked+.slider:after {
     content: "Enable";
     left: 6px;
     right: auto;
 }

 .logo-icon {
     width: 182px;
 }

 .page-content {
     padding: 1rem 1rem 0.7rem 1rem;
 }

 fieldset {
     border: 1px solid #dcdcdc;
     border-radius: 6px;
     border-bottom: 0px solid gray !important;
 }



 /* legend {
     font-size: 19px;
     margin-top: -31px;
     background: white;
     color: #338eff;
     border: 1px solid #acb4b7;
     border-radius: 50px;
     padding: 0%;
     
     padding-right: 7.5rem;
     padding-left: 7.5rem;
 } */
 .cursor-pointer {
     cursor: pointer;
 }

 legend {
     font-size: 19px;
     text-align: center;
     margin-top: -31px;
     background: white;
     color: #338eff;
     border: 1px solid #acb4b7;
     border-radius: 50px;
     padding: 0%;
     padding-right: 1rem;
     padding-left: 1rem;
 }

 html.color-sidebar .logo-icon {
     filter: invert(0);
 }

 .simplebar-mask,
 .topbar {
     /* background: black !important; */
     /* background-image: linear-gradient(to top, #6d028d, #0e0241) !important; */
     color: black !important;
 }

 /* .user-info .user-name,
 .designattion {
     color: white !important;

 } */


 table tbody tr td {
     transition: all 0.2s ease-in-out !important;
 }

 .btn {
     --bs-btn-padding-x: 0.5rem;
     --bs-btn-padding-y: 0.3rem;
 }

 .form-control {
     padding: .375rem .25rem;
 }

 table tbody tr:hover td {
     background-color: #f1f5ff !important;
 }

 @media (min-width: 1200px) {
     .modal-xl {
         --bs-modal-width: 1377px;
     }
 }

 .card {
     transition: all 0.2s ease-in-out;
 }

 /* .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
} */
 /* Colors */
 .tag {
     display: inline-block;
     padding: 2px 5px;
     font-size: 12px;
     font-weight: 600;
     border-radius: 2px;
     border-radius: 6px;
     margin-right: 0px;
     margin-bottom: 2px;
     white-space: nowrap;
 }

 .tag-green {
     background: #e8f6f1;
     color: #479f72;
 }

 .tag-primary {
     background: #e9effd;
     color: #376cec;
 }

 .tag-dark {
     background: #e7e7e7;
     color: #727474;
 }

 .tag-purple {
     background: #f3edfd;
     color: #7c45ee;
 }

 .tag-warning {
     background: #fff5cb;
     color: #b9a12d;
 }

 .btn-success {
     color: #fff;
     background-color: #008000;
     border-color: #008000;
 }

 span.badge.badge-success {
     background: #05966917;
     border: #05966917;
     color: #059669;
 }

 span.badge.badge-danger {
     background: #fcebeb;
     color: #df266c;
 }

 span.badge.badge-info {
     background: #e8f4fd;
     color: #0c63a4;
     border: 1px solid #b6d9f5;
 }

 div#TablePagination {
     margin-top: 1rem;
 }

 .dropdown-menu {
     --bs-dropdown-min-width: 5rem;
 }

 th {
     white-space: nowrap;
     /* stop text going to next line */
     vertical-align: middle;
 }

 th i {
     display: inline-block;
     margin-right: 2px;
     vertical-align: middle;
 }

 th span {
     vertical-align: middle;
 }

 tbody,
 td,
 tfoot,
 th,
 thead,
 tr {
     border-style: none;
 }

 .telemetry-header {
     background: linear-gradient(90deg, #f8f9fa, #ffffff);
     border: 1px solid #eee;
 }

 .telemetry-tabs .nav-link {
     font-weight: 600;
     color: #444;
     border: none !important;
     border-radius: 10px 10px 0 0;
     padding: 10px 16px;
     transition: 0.2s;
 }

 .telemetry-tabs .nav-link:hover {
     background: #f4f6ff;
     color: #0d6efd;
 }

 .telemetry-tabs .nav-link.active {
     background: #0c6ffd;
     color: #fff !important;
     box-shadow: 0px 4px 10px rgba(13, 110, 253, 0.25);
 }

 .telemetry-tabs .nav-link.active i {
     color: #fff !important;
 }

 .telemetry-content {
     border: 1px solid #eee;
     border-top: none;
     border-radius: 0 0 12px 12px;
     background: #fff;
     padding: 15px;
 }

 .tab-icon i {
     font-size: 18px;
 }

 .tab-scroll {
     overflow-x: auto;
     white-space: nowrap;
     scrollbar-width: thin;
 }

 .tab-scroll::-webkit-scrollbar {
     height: 5px;
 }

 .tab-scroll::-webkit-scrollbar-thumb {
     background: #ccc;
     border-radius: 10px;
 }

/* Breadcrumb — polished pill style */
:root {
    --bs-breadcrumb-divider: "›";
    --bs-breadcrumb-divider-color: #adb5bd;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    background: #f0f4ff;
    border: 1px solid #dce6fb;
    border-radius: 30px;
    padding: 5px 14px;
    margin-bottom: 0;
    font-size: 12.5px;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #93aee8;
    font-size: 15px;
    line-height: 1;
    vertical-align: middle;
    font-weight: 400;
}

.breadcrumb-item a {
    color: #3b6fd4;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: color .15s;
}

.breadcrumb-item a:hover {
    color: #0d6efd;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
}

nav[aria-label="breadcrumb"] {
    margin-bottom: 1rem;
}