/* ============================================
   MASTER STYLESHEET — GIS MAP APPLICATION
   (Refined, De-Duplicated, Production-Ready)
   ============================================ */

/* ===== RESET & BASE ===== */
html,
body {
   margin: 0;
   padding: 0;
   height: 100%;
   font-size: small;
   overflow: hidden;
}

/* ===== UTILITY ===== */
.Active {
   display: block !important;
}

.Inactive {
   display: none !important;
}

.map {
   width: 100%;
   height: 100vh;
}

/* ===== OL POPUP ===== */
.ol-popup {
   padding: 10px;
   border-radius: 6px;
   min-width: 520px !important;
}

/* ===== SCROLLBARS ===== */
::-webkit-scrollbar {
   width: 4px;
   height: 4px;
}

::-webkit-scrollbar-track {
   background: rgba(15, 23, 42, 0.6);
   border-radius: 10px;
}

::-webkit-scrollbar-thumb {
   background: linear-gradient(180deg, #007bff, #00c6ff);
   border-radius: 10px;
   box-shadow: 0 0 6px rgba(0, 229, 255, 0.3), inset 0 0 2px rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
   background: linear-gradient(180deg, #0056b3, #00e5ff);
   box-shadow: 0 0 10px rgba(0, 229, 255, 0.6), 0 0 20px rgba(0, 229, 255, 0.3);
}

/* ===== MAP TITLE (LEGACY) ===== */
#mapTitle {
   font-size: small;
   position: absolute;
   top: 0;
   left: 15px;
   z-index: 10;
   pointer-events: none;
   display: flex;
   align-items: center;
   gap: 14px;
   padding: 8px 6px;
   border-radius: 6px;
   background: black;
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

#mapTitle::after {
   content: "";
   position: absolute;
   left: 18px;
   right: 18px;
   bottom: 6px;
   height: 2px;
   border-radius: 2px;
   background: linear-gradient(90deg, transparent, #38bdf8, transparent);
   opacity: 0.8;
}

.map-title-logo {
   height: 34px;
   width: auto;
   object-fit: contain;
   filter: drop-shadow(0 0 6px rgba(0, 180, 255, 0.45));
}

.map-title-text {
   font-size: 20px;
   font-weight: 700;
   letter-spacing: 1px;
   color: #eaf6ff;
   text-transform: uppercase;
   white-space: nowrap;
}

/* ===== CURSOR COORDINATE PANEL ===== */
.showOnMap {
   position: absolute;
   z-index: 10;
}

.cursorPointer {
   position: absolute;
   right: 2.5%;
   bottom: 6%;
   z-index: 20;
   pointer-events: none;
   width: 180px;
   padding: 6px 15px;
   border-radius: 5px;
   background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.92));
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.12);
   box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
   font-family: "Segoe UI", system-ui, sans-serif;
   border: 1px dashed #6c99e1;
}

.cursorPointer::after {
   content: "";
   position: absolute;
   left: 16px;
   right: 16px;
   bottom: 6px;
   height: 2px;
   border-radius: 2px;
   background: linear-gradient(90deg, transparent, #38bdf8, transparent);
   opacity: 0.6;
}

.coord-row {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-bottom: 6px;
}

.coord-row:last-child {
   margin-bottom: 0;
}

.coord-label {
   min-width: 18px;
   font-size: 11px;
   font-weight: 600;
   letter-spacing: 0.8px;
   text-transform: uppercase;
   color: #38bdf8;
}

.coord-value {
   font-size: 12.5px;
   font-family: "Consolas", "Courier New", monospace;
   color: #e5f3ff;
   white-space: nowrap;
}

/* ===== MAP TYPE PANEL ===== */
.maptype-panel {
   position: absolute;
   top: 90px;
   right: 80px;
   width: 269px;
   background: #1f2a36;
   color: #fff;
   border-radius: 10px;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
   z-index: 1000;
}

.maptype-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   position: sticky;
   padding: 12px 14px;
   background: #273444;
   font-weight: 600;
   gap: 8px;
   border-bottom: 1px solid rgba(255, 255, 255, 0.08);
   /* border-radius: 19%; */
}

.maptype-option {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 12px 14px;
   cursor: pointer;
   transition: background 0.25s;
   font-size: 14px;
}

.maptype-option:hover {
   background: rgba(255, 255, 255, 0.05);
}

.maptype-option input {
   display: none;
}

.custom-radio {
   width: 14px;
   height: 14px;
   border-radius: 50%;
   border: 2px solid #6b7c93;
   position: relative;
}

.maptype-option input:checked+.custom-radio {
   border-color: #1da1f2;
}

.maptype-option input:checked+.custom-radio::after {
   content: "";
   width: 6px;
   height: 6px;
   background: #1da1f2;
   border-radius: 50%;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}

.maptype-option.disabled {
   opacity: 0.45;
   cursor: not-allowed;
}

.lock-icon {
   margin-left: auto;
   font-size: 13px;
   color: #ff5c5c;
}

/* ===== LAYER & LEGEND PANELS ===== */
.maptype-panel-Layer {
   position: absolute;
   top: 66px;
   left: 19px;
   width: 260px;
   background: rgba(11, 11, 11, 0.7) !important;
   color: #fff;
   border-radius: 10px;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
   z-index: 1000;
   height: 376px;
}

.maptype-panel-Legend {
   position: absolute;
   top: 445px;
   left: 19px;
   width: 260px;
   background: #1f2a36;
   color: #fff;
   border-radius: 10px;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
   z-index: 1000;
   height: 275px;
}

/* ===== PANEL CLOSE BUTTONS ===== */


.closePanelLayer {
   cursor: pointer;
   padding-top: 2px;
   padding-left: 112px;
   color: #faa4a4;
}

.closePanelLegend {
   cursor: pointer;
   padding-top: 2px;
   padding-left: 152px;
   color: #faa4a4;
}

/* ===== PANEL SECTIONS ===== */
.panel-section {
   padding: 10px 14px;
   font-size: 13px;
   padding-bottom: 0px;
}

.panel-section label {
   color: #9fb3c8;
}

.panel-section select,
#printFileName,
#printTitleInput {
   width: 100%;
   background: #1c3d41;
   border: 1px solid #08a9bc;
   color: #fff;
   padding: 6px;
   border-radius: 6px;
   margin-top: 5px;
   margin-bottom: 15px;
}

#btnProfessionalPrint,
#btnPrintScreenshot {
   width: 100%;
   background: #255f94;
   border: 1px solid #08a9bc;
   color: #fff;
   padding: 6px;
   border-radius: 6px;
}

.checkbox-row {
   display: flex;
   align-items: center;
   gap: 8px;
   font-size: 13px;
   color: #cfd8e3;
}

.panel-footer {
   padding: 10px 14px;
   text-align: center;
}

.panel-footer button {
   width: 100%;
   background: #3a4a5e;
   border: none;
   color: #fff;
   padding: 8px;
   border-radius: 6px;
   cursor: pointer;
}

.panel-footer button:hover {
   background: #4b5f77;
}

/* ===== MEASUREMENT SIDE-BY-SIDE ===== */
.measure-type-row {
   display: flex;
   justify-content: space-between;
}

.measure-type-row .maptype-option {
   flex: 1;
}

/* ===== NAVBAR ===== */
.navbar {
   height: 40px;
}

.navbar-brand {
   color: #e2f5ff;
   font-size: medium;
   cursor: pointer;
   display: flex;
   align-items: center;
   gap: 10px;
   font-size: 18px;
}

.btn-outline-danger {
   border-radius: 20px;
}

.footer {
   background: #252d3e;
}

/* ===== BASEMAP RADIO ===== */
.image-radio {
   cursor: pointer;
   position: relative;
   border-radius: 10px;
   padding: 6px;
   width: 70px;
   text-align: center;
   background: #1e1e2f;
   transition: all 0.2s ease;
   border: 2px solid transparent;
}

.image-radio input {
   display: none;
}

.image-radio img {
   cursor: pointer;
   transition: all 0.25s ease;
   border: 2px solid transparent;
   border-radius: 6px;
   width: 25px;
   height: 28px;
   object-fit: cover;
}

.image-radio span {
   display: block;
   font-size: 11px;
   color: #fff;
   margin-top: 4px;
}

.image-radio:hover img {
   transform: scale(1.12);
   border: 2px solid #00e5ff !important;
   box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.image-radio input:checked+img {
   border: 2px solid #00e5ff !important;
   transform: scale(1.15);
   box-shadow: 0 0 4px rgba(0, 229, 255, 0.9), 0 0 16px rgba(0, 229, 255, 0.6);
}

.image-radio:hover {
   transform: scale(1.05);
   border-color: #1082b7;
}

.basemap-options {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 10px;
   padding: 10px;
}

/* ===== BOOKMARK TABLE ===== */
#BookmarkTableBody tr {
   border-bottom: 1px solid #2f2f2f;
   transition: all 0.2s ease;
}

#BookmarkTableBody tr:hover {
   background: #1e1e1e;
}

.bookmark-name {
   cursor: pointer;
   font-size: 12px;
   font-weight: 300;
   padding: 10px 8px;
   color: white;
}

.bookmark-name i {
   font-size: 11px;
}

.bookmark-btn {
   border: none;
   background: transparent;
   color: #ccc;
   margin-left: 4px;
   transition: 0.2s;
}

.bookmark-btn:hover {
   color: white;
   transform: scale(1.15);
}

#bookmarkdata tbody tr.bookmark-row {
   border-bottom: 1px solid #d3d3d3;
}

#bookmarkdata tbody tr.bookmark-row td {
   padding: 10px 8px;
}

/* ===== LAYER PANEL — GLASS STYLES ===== */
.layer-table-wrapper {
   max-height: 70vh;
   background: rgba(15, 23, 42, 0.6);
   backdrop-filter: blur(10px);
   border-radius: 10px;
}

.layer-table {
   width: 100% !important;
   border-collapse: collapse;
   font-size: 12.5px;
}

.layer-table thead th {
   position: sticky;
   top: 0;
   z-index: 5;
   background: linear-gradient(135deg, #111c43, #0f2a5c);
   color: #eaf6ff;
   padding: 10px;
   text-align: center;
   white-space: nowrap;
   border-bottom: 1px solid rgba(255, 255, 255, 0.08);
   box-shadow: inset 0 -1px 0 rgba(56, 189, 248, 0.3);
}

.layer-table tbody td {
   padding: 8px;
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
   color: #dbeafe;
   white-space: nowrap;
   transition: all 0.2s ease;
}

.layer-table tbody tr {
   transition: all 0.25s ease;
   cursor: pointer;
}

.layer-table tbody tr:hover {
   background: rgba(15, 23, 42, 0.9);
   box-shadow: inset 3px 0 0 #38bdf8;
}

.layer-table tbody tr.active {
   background: rgba(0, 229, 255, 0.15);
   box-shadow: inset 0 0 0 1px #00e5ff;
}

/* ===== LAYER ROW ===== */
.layer-row {
   display: flex;
   align-items: flex-start;
}

.layer-left {
   display: flex;
   align-items: flex-start;
   gap: 6px;
   flex: 1;
   min-width: 0;
}

.layer-checkbox {
   margin-top: 2px;
}

.layer-name {
   white-space: normal;
   line-height: 1.2;
   font-size: 12px;
   word-break: break-word;
}

.layer-right {
   display: flex;
   align-items: center;
   justify-content: flex-end;
   gap: 6px;
   width: 120px;
   flex-shrink: 0;
}

.opacity-value {
   width: 35px;
   text-align: right;
   font-size: 12px;
}

.opacity-slider {
   width: 50px;
   height: 3px;
   background: #ccc;
   border-radius: 2px;
   outline: none;
   appearance: none;
   -webkit-appearance: none;
   flex-shrink: 0;
}

.opacity-slider::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 8px;
   height: 8px;
   border-radius: 50%;
   background: #007bff;
   cursor: pointer;
   margin-top: -2px;
}

.opacity-slider::-moz-range-thumb {
   width: 8px;
   height: 8px;
   border-radius: 50%;
   background: #007bff;
   cursor: pointer;
   border: none;
}

.opacity-slider::-moz-range-track {
   height: 3px;
   background: #ccc;
   border-radius: 2px;
}

/* ===== FILE ICON ===== */
.file-icon {
   width: 22px;
   height: 22px;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
   border-radius: 6px;
   background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
   border: 1px solid rgba(255, 255, 255, 0.08);
   box-shadow: 0 0 6px rgba(0, 229, 255, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
   transition: all 0.25s ease;
}

.file-icon i {
   font-size: 13px;
   color: #38bdf8;
   transition: all 0.25s ease;
   cursor: pointer;
}

.file-icon:hover {
   transform: scale(1.1);
   border-color: #00e5ff;
   box-shadow: 0 0 8px rgba(0, 229, 255, 0.6), 0 0 18px rgba(0, 229, 255, 0.3);
}

.file-icon:hover i {
   color: #00e5ff;
}

.file-icon.pdf i {
   color: #ff5c5c;
}

.file-icon.img i {
   color: #22c55e;
}

.file-icon.doc i {
   color: #3b82f6;
}

.file-icon.xls i {
   color: #16a34a;
}

.file-icon.default i {
   color: #cbd5f5;
}

/* ===== ZOOM BUTTON ===== */
.zoom-btn {
   background: linear-gradient(135deg, #1082b7, #0d6efd);
   border: none;
   color: #fff;
   padding: 4px 8px;
   border-radius: 5px;
   transition: all 0.25s ease;
}

.zoom-btn:hover {
   background: linear-gradient(135deg, #0d6efd, #00c6ff);
   transform: scale(1.1);
   box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

/* ===== DATA TABLE WRAPPER ===== */
#layerDataTable_wrapper {
   padding: 15px;
}

#layerDataHeader {
   background: #06083c;
   /* border-radius: 10px; */
}

.dt-top {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: nowrap;
   gap: 10px;
}

.dt-top .dt-buttons {
   display: flex;
   align-items: center;
}

.dt-top .dataTables_filter {
   margin: 0;
}

.dt-top .dataTables_filter label {
   display: flex;
   align-items: center;
   gap: 6px;
}

.dataTables_length {
   display: none !important;
}

.dt-bottom {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding-top: 8px;
   flex-wrap: nowrap;
}

.dataTables_info {
   display: block !important;
   font-size: 12px;
   color: #94a3b8;
   margin: 0;
}

#areaUnits,
#lengthUnits {
   margin-bottom: 15px !important;
}

/* Fix #areaDropdown conflict from styles.css where it assumed it was a select element */
div#areaDropdown {
   height: auto !important;
   background-color: transparent !important;
   border: none !important;
}

.dataTables_paginate {
   margin: 0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
   padding: 4px 10px;
   margin: 2px;
   font-size: 12px;
   color: #cbd5f5 !important;
   background: rgba(15, 23, 42, 0.7);
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: 6px;
   transition: all 0.25s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
   color: #00e5ff !important;
   border-color: #00e5ff;
   box-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
   background: linear-gradient(135deg, #007bff, #00c6ff);
   color: #fff !important;
}

/* ===== MAIN LAYER LIST ===== */
#main_layer_list {
   max-height: 250px;
   overflow-y: auto;
}

#main_legend_list {
   max-height: 155px;
   overflow-y: auto;
}

#main_legend_list::-webkit-scrollbar {
   width: 6px;
}

#main_legend_list::-webkit-scrollbar-thumb {
   background: #3a4b63;
   border-radius: 4px;
}

.main-group-title {
   background: var(--c-teal-dim);
   padding: 6px 12px;
   font-size: 11px;
   font-weight: 600;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   border-radius: var(--r-sm);
   margin-top: 8px;
   color: #fff;
}

.sub-group-title {
   background: var(--c-bg-card);
   padding: 6px 10px;
   margin-top: 3px;
   font-size: 13px;
   border-radius: var(--r-sm);
   display: flex;
   align-items: center;
   cursor: pointer;
   transition: background var(--t-fast);
   color: var(--c-text-secondary);
}

.sub-group-title:hover {
   background: var(--c-bg-hover);
   color: var(--c-text-primary);
}

.sub-group-title input {
   margin-right: 8px;
   accent-color: var(--c-teal);
}

.toggle-icon {
   margin-left: auto;
   font-size: 11px;
   color: var(--c-text-muted);
   transition: transform var(--t-fast);
}

.layer-item {
   display: flex;
   align-items: center;
   padding: 4px 12px;
   font-size: 13px;
   border-radius: var(--r-sm);
   transition: background var(--t-fast);
   color: var(--c-text-secondary);
   cursor: pointer;
}

.layer-item:hover {
   background: var(--c-bg-hover);
   color: var(--c-text-primary);
}

.layer-item input {
   margin-right: 8px;
   accent-color: var(--c-teal);
}

.layer-item span {
   flex: 1;
}

.layer-arrow {
   font-size: 10px;
   margin-left: auto;
   color: var(--c-text-muted);
}

/* ===== LOGOUT MODAL ===== */
.logout-modal {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.6);
   display: none;
   align-items: center;
   justify-content: center;
   z-index: 9999;
}

.logout-box {
   background: #1e1e2f;
   padding: 20px;
   border-radius: 10px;
   text-align: center;
   color: #fff;
   width: 280px;
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.logout-box h4 {
   margin-bottom: 10px;
}

.logout-actions {
   margin-top: 15px;
   display: flex;
   justify-content: space-between;
}

.logout-actions button {
   padding: 6px 12px;
   border: none;
   border-radius: 6px;
   cursor: pointer;
}

#cancelLogout {
   background: #555;
   color: #fff;
}

#confirmLogout {
   background: #e74c3c;
   color: #fff;
}

/* ===== SCROLLABLE CONTENT ===== */
.gis-body {
   max-height: 300px;
   overflow: hidden;
   display: flex;
   flex-direction: column;
}

.gis-content {
   overflow-y: auto;
   flex: 1;
   padding-right: 5px;
}

.gis-content::-webkit-scrollbar {
   width: 8px;
}

.gis-content::-webkit-scrollbar-track {
   background: #f1f1f1;
   border-radius: 10px;
}

.gis-content::-webkit-scrollbar-thumb {
   background: linear-gradient(180deg, #007bff, #00c6ff);
   border-radius: 10px;
}

.gis-content::-webkit-scrollbar-thumb:hover {
   background: linear-gradient(180deg, #0056b3, #00e5ff);
   box-shadow: 0 0 10px rgba(0, 229, 255, 0.6), 0 0 20px rgba(0, 229, 255, 0.3);
}

/* ===== SWEETALERT OVERRIDES ===== */
.custom-swal-popup {
   border-radius: 12px;
   padding: 20px;
   font-family: 'Segoe UI', sans-serif;
}

.custom-confirm-btn {
   background-color: #dc3545;
   color: white;
   border: none;
   padding: 8px 18px;
   border-radius: 6px;
   margin-right: 10px;
   font-size: 14px;
}

.custom-confirm-btn:hover {
   background-color: #c82333;
}

.custom-cancel-btn {
   background-color: #6c757d;
   color: white;
   border: none;
   padding: 8px 18px;
   border-radius: 6px;
   font-size: 14px;
}

.custom-cancel-btn:hover {
   background-color: #5a6268;
}

.swal2-modal {
   display: grid;
   background: rgba(10, 10, 10, 0.68);
   border: 1px solid #686e6d;
}



/* ===== TOOLTIP ===== */
.tooltipm-measure {
   background-color: rgba(0, 0, 0, 0.7);
   color: #ffffff;
   font-weight: bold;
   padding: 4px 8px;
   border-radius: 6px;
   white-space: nowrap;
}

/* ===== MISC ===== */
.border-bottom {
   border-bottom: 1px solid #ccc;
}

.text-primary-dark {
   color: #090984 !important;
}

.cardBorder {
   border: 1px solid pink;
   border-radius: 1%;
}

#land-doc-panel {
   width: 300px;
   top: 47px;
}

#basemap-panel {
   top: 419px;
}

#popup-setting-panel {
   top: 295px;
}

#logoutHead {
   border-bottom: 1px solid #898587;
   padding-bottom: 10px;
}

#droneBtnWrapper {
   position: absolute;
   bottom: 68px;
   left: 14px;
   z-index: 1200;
}

#step_1,
#step_2 {
   padding: 10px 14px;
}

#edit-panel-content {
   height: 490px;
   overflow: auto;
}

/* ===== LOADER ===== */
#loader {
   position: fixed;
   inset: 0;
   background: url('../assets/images/loader/loading-loader.gif');
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 9999999;
   left: 45%;
   top: 40%;
   display: none;
}

/* ===== MAP LOADER OVERLAY ===== */
.map-loader-overlay {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 99999;
   background: rgba(0, 0, 0, 0.19);
}

.popup-map-loader {
   position: absolute;
   inset: 0;
   display: flex;
   justify-content: center;
   align-items: center;
   background: rgba(7, 18, 32, 0.22);
   backdrop-filter: blur(4px);
   z-index: 99999;
   animation: loaderFade 0.25s ease;
}

@keyframes loaderFade {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

.popup-loader-card {
   min-width: 290px;
   padding: 7px 11px;
   display: flex;
   align-items: center;
   gap: 18px;
   border-radius: 18px;
   background: rgba(255, 255, 255, 0.96);
   border: 1px solid rgba(255, 255, 255, 0.65);
   box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.loader-animation {
   position: relative;
   width: 64px;
   height: 64px;
   display: flex;
   justify-content: center;
   align-items: center;
}

.loader-ring {
   position: absolute;
   width: 64px;
   height: 64px;
   border-radius: 50%;
   border: 4px solid rgba(13, 110, 253, 0.12);
   border-top: 4px solid #0d6efd;
   animation: ringRotate 0.9s linear infinite;
}

.loader-ring-inner {
   position: absolute;
   width: 42px;
   height: 42px;
   border-radius: 50%;
   border: 4px solid rgba(38, 198, 218, 0.15);
   border-bottom: 4px solid #00bcd4;
   animation: ringRotateReverse 1.3s linear infinite;
}

.loader-dot {
   width: 10px;
   height: 10px;
   background: #0d6efd;
   border-radius: 50%;
   animation: pulse 1s ease infinite;
}

.loader-content {
   display: flex;
   flex-direction: column;
}

.loader-title {
   font-size: 17px;
   font-weight: 700;
   color: #1f2937;
   margin-bottom: 4px;
}

.loader-subtitle {
   font-size: 13px;
   color: #6b7280;
   letter-spacing: 0.3px;
}

@keyframes ringRotate {
   from {
      transform: rotate(0deg);
   }

   to {
      transform: rotate(360deg);
   }
}

@keyframes ringRotateReverse {
   from {
      transform: rotate(360deg);
   }

   to {
      transform: rotate(0deg);
   }
}

@keyframes pulse {
   0% {
      transform: scale(0.6);
      opacity: 0.5;
   }

   50% {
      transform: scale(1.2);
      opacity: 1;
   }

   100% {
      transform: scale(0.6);
      opacity: 0.5;
   }
}

/* ===== PRELOADER ===== */
.preloader {
   position: absolute;
   inset: 0;
   display: flex;
   justify-content: center;
   align-items: center;
   background: white;
   backdrop-filter: blur(2px);
   z-index: 9999;
}

.preloader.d-none {
   display: none;
}

.loader {
   --color-1: #942b13;
   --color-2: #ff3d00;
   --size: 1x;
   width: calc(64 * var(--size));
   height: calc(64 * var(--size));
   position: relative;
   background-repeat: no-repeat;
   background-size: calc(16 * var(--size)) calc(16 * var(--size));
   background-position: left top, left bottom, right top, right bottom;
   animation: rotate 1s linear infinite;
}

@keyframes rotate {
   0% {
      width: calc(64 * var(--size));
      height: calc(64 * var(--size));
      transform: rotate(0deg);
   }

   50% {
      width: calc(30 * var(--size));
      height: calc(30 * var(--size));
      transform: rotate(180deg);
   }

   100% {
      width: calc(64 * var(--size));
      height: calc(64 * var(--size));
      transform: rotate(360deg);
   }
}

/* ===== FLY ZONE ===== */
.fly-zone-wrapper {
   position: relative;
}

.fly-zone-list {
   position: absolute;
   top: 42px;
   left: 0;
   width: 250px;
   max-height: 300px;
   overflow: auto;
   background: #1f2a36;
   border-radius: 10px;
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
   border: 1px solid #2a3a4c;
   display: none;
   z-index: 9999;
}

.fly-zone-list::-webkit-scrollbar {
   width: 6px;
}

.fly-zone-list::-webkit-scrollbar-track {
   background: #1f2a36;
   border-radius: 10px;
}

.fly-zone-list::-webkit-scrollbar-thumb {
   background: #475569;
   border-radius: 10px;
}

.fly-zone-list::-webkit-scrollbar-thumb:hover {
   background: #9ca3af;
}

.fly-zone-item {
   padding: 10px 15px;
   cursor: pointer;
   border-bottom: 1px solid #2a3a4c;
   color: #cfd8e3;
   transition: 0.2s;
}

.fly-zone-item:hover {
   background: #2a3a4c;
   color: #08a9bc;
}

.map-title-home .home {
   display: flex;
   align-items: center;
   gap: 5px;
   margin: 0;
   padding: 0;
   list-style: none;
}

.map-title-home .home li {
   display: flex;
   align-items: center;
   position: relative;
}

.map-title-home .ctrlBtn:hover {
   background: #85fff0;
   color: #fff;
}

.fly-zone-icon,
.go_to_home {
   width: 22px;
   height: 22px;
   object-fit: contain;
   display: block;
}

/* ===== SATELLITE DATE ===== */
.satellite-date {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 0px 17px;
   border-radius: 30px;
   background: rgba(255, 255, 255, 0.08);
   border: 1px solid rgba(255, 215, 0, 0.4);
   font-size: 13px;
   font-weight: 600;
   white-space: nowrap;
}

.satellite-date i {
   color: #ffd700;
}

.satellite-date strong {
   color: #ffffff;
}

.satellite-date .blink {
   animation: blinkDate 1.2s infinite;
   font-weight: 500;
   color: #88ffba;
}

/* ===== DT MODAL ===== */
#DT_Modal .modal-dialog {
   position: fixed;
   top: 80px;
   right: 20px;
   width: 900px;
   max-width: 900px;
   margin: 0;
}

#DT_Modal .modal-content {
   height: 600px;
   right: 40%;
   top: -28px !important;
}



#DT_Modal .modal-body {
   overflow: hidden;
   display: flex;
   flex-direction: column;
}

#dtable_res_wrapper,
#dtable_res_spat_wrapper {
   flex: 1;
   overflow-y: auto;
}

/* ===== QUARTER TABLE HEADER ===== */
.quarter-thead-row th {
   background: #0f2076 !important;
   color: #fff !important;
   text-align: center;
   vertical-align: middle;
   font-weight: 600;
   border-color: #32408f !important;
}

/* ===== ANALYSIS WARNING ===== */
.analysis-warning {
   background: rgba(255, 193, 7, 0.12);
   border-left: 5px solid #ffc107;
   padding: 10px 15px;
   border-radius: 21px;
   font-weight: 500;
   color: #facfcf !important;
   letter-spacing: 0.3px;
}

/* ===== LAYER SEARCH ===== */
.layer-search-box input {
   font-size: 10px;
   border-radius: 6px;
}

.layer-search-box {
   position: relative;
}

#clearLayerSearch {
   position: absolute;
   right: 10px;
   top: 50%;
   transform: translateY(-50%);
   cursor: pointer;
   font-size: 14px;
   color: #888;
   display: none;
}

#clearLayerSearch:hover {
   color: red;
}

/* ============================================================
   MODERN TOP BAR — COMPLETE REDESIGN
   ============================================================ */

.modern-top-bar {
   position: absolute;
   top: 8px;
   left: 50%;
   transform: translateX(-50%);
   width: 96%;
   max-width: 1400px;
   height: 52px;
   background: #00000094;
   border-radius: 50px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0 20px;
   z-index: 1000;
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
   border: 1px solid rgba(255, 255, 255, 0.05);
}

/* === LEFT SECTION === */
.tb-left {
   display: flex;
   align-items: center;
   gap: 30px;
}

.tb-brand {
   display: flex;
   align-items: center;
   gap: 10px;
}

.tb-status-dot {
   width: 8px;
   height: 8px;
   background: #22c55e;
   border-radius: 50%;
   box-shadow: 0 0 8px #22c55e;
}

.tb-title {
   color: #fff;
   font-weight: 600;
   font-size: 15px;
   position: relative;
   padding-bottom: 2px;
}

.tb-title::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 2px;
   background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.tb-nav {
   display: flex;
   align-items: center;
   gap: 12px;
}

.tb-nav-item {
   display: flex;
   align-items: center;
}

.tb-icon-btn {
   width: 32px;
   height: 32px;
   background: #3b82f6;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #fff;
   font-size: 14px;
   cursor: pointer;
   transition: transform 0.2s, background 0.2s;
   text-decoration: none;
}

.tb-icon-btn:hover {
   transform: scale(1.1);
   background: #2563eb;
   color: #fff;
}

/* === SEARCH SECTION === */
.modern-top-bar .tb-search-wrapper {
   flex: 1;
   max-width: 400px;
   margin: 0 20px;
   position: relative;
   min-width: 0;
}

.modern-top-bar .tb-search-box {
   width: 100%;
   height: 38px;
   background: rgba(255, 255, 255, 0.06);
   border-radius: 25px;
   display: flex;
   align-items: center;
   padding: 0 15px !important;
   border: 1px solid rgba(255, 255, 255, 0.1);
   margin: 0;
   box-shadow: none;
   position: relative;
   min-width: 0;
}

.modern-top-bar .tb-search-box input {
   flex: 1;
   background: transparent;
   border: none;
   color: #fff;
   padding: 0 10px;
   outline: none;
   font-size: 14px;
   height: 100%;
   width: 100%;
   border-radius: 0;
   margin: 0;
}

.modern-top-bar .tb-search-box input::placeholder {
   color: #94a3b8;
}

.tb-search-icon {
   color: #94a3b8;
   font-size: 15px;
}

.modern-top-bar .tb-clear,
.modern-top-bar .tb-spinner {
   color: #94a3b8;
   cursor: pointer;
   right: 15px;
   position: absolute;
}

.modern-top-bar .search-results {
   top: 50px;
   width: 100%;
}

/* === RIGHT ACTIONS === */
.tb-actions {
   display: flex;
   align-items: center;
   gap: 15px;
}

.tb-action-icon {
   color: #94a3b8;
   font-size: 18px;
   cursor: pointer;
   transition: color 0.2s;
}

.tb-action-icon:hover {
   color: #fff;
}

.tb-gradient-btn {
   background: linear-gradient(90deg, #1654A5 0%, #0F3460 60%, #000000 100%) !important;
   color: #fff;
   border: none;
   padding: 6px 14px;
   border-radius: 20px;
   font-weight: 600;
   font-size: 14px;
   cursor: pointer;
   transition: opacity 0.2s;
}

.tb-gradient-btn:hover {
   opacity: 0.9;
}

.tb-logout-wrapper {
   width: 34px;
   height: 34px;
   background: rgba(255, 255, 255, 0.05);
   /* border: 1px solid rgba(255, 255, 255, 0.1); */
   border-radius: 13px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: background 0.2s;
}

.tb-logout-wrapper:hover {
   background: rgba(255, 255, 255, 0.1);
}

.tb-logout-btn {
   color: #fda4af;
   font-size: 16px;
   cursor: pointer;
}

.tb-logout-wrapper .logout-icon {
   background: transparent !important;
   border: none !important;
   box-shadow: none !important;
   width: auto !important;
   height: auto !important;
}

.tb-logout-wrapper .logout-icon:hover {
   background: transparent !important;
   border: none !important;
   box-shadow: none !important;
   transform: none !important;
}

/* === LEGACY POSITION OVERRIDES === */
.modern-top-bar .map-title-home,
.modern-top-bar .map-right-info,
.modern-top-bar .fly-zone-wrapper,
.modern-top-bar .map-search-wrapper,
.modern-top-bar .map-search,
.modern-top-bar .core-map-btn,
.modern-top-bar .logout-icon {
   position: relative !important;
   top: auto !important;
   left: auto !important;
   right: auto !important;
   bottom: auto !important;
   margin: 0 !important;
   transform: none !important;
}

.modern-top-bar .map-title-home,
.modern-top-bar .map-right-info,
.modern-top-bar .fly-zone-wrapper,
.modern-top-bar .map-search-wrapper {
   padding: 0 !important;
   background: transparent !important;
   box-shadow: none !important;
}

.modern-top-bar #mapTitle {
   position: relative !important;
   top: auto !important;
   left: auto !important;
   background: transparent !important;
   padding: 0 !important;
   box-shadow: none !important;
   backdrop-filter: none !important;
   -webkit-backdrop-filter: none !important;
   pointer-events: auto !important;
   border: none !important;
}

.modern-top-bar #mapTitle::after {
   display: none !important;
}

/* ===== SEARCH RESULTS ===== */
.search-results {
   position: absolute;
   top: 100%;
   left: 0;
   width: 100%;
   margin-top: 8px;
   background: rgba(30, 40, 50, 0.98);
   border-radius: 12px;
   max-height: 260px;
   overflow-y: auto;
   z-index: 999999;
   display: none;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
   border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-item {
   padding: 10px 12px;
   border-bottom: 1px solid rgba(255, 255, 255, 0.08);
   color: #fff;
   cursor: pointer;
   font-size: 13px;
   transition: 0.2s;
}

.result-item:hover {
   background: linear-gradient(135deg, #1e90ff, #00c6ff);
   color: #000;
}

.result-item strong {
   font-size: 11px;
   color: #00e5ff;
}

.search-results::-webkit-scrollbar {
   width: 6px;
}

.search-results::-webkit-scrollbar-track {
   background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
   background: linear-gradient(180deg, #00e5ff, #0072ff);
   border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
   background: #00c6ff;
}

#searchInput::placeholder {
   color: #7a6a6a;
}

.search-loader {
   position: absolute;
   right: 35px;
   top: 50%;
   transform: translateY(-50%);
   width: 14px;
   height: 14px;
   border: 2px solid rgba(255, 255, 255, 0.3);
   border-top: 2px solid #00e5ff;
   border-radius: 50%;
   animation: spin 0.7s linear infinite;
   display: none;
}

@keyframes spin {
   0% {
      transform: translateY(-50%) rotate(0deg);
   }

   100% {
      transform: translateY(-50%) rotate(360deg);
   }
}

/* ===== TYPE BUTTONS ===== */
.type-btn {
   background: rgba(255, 255, 255, 0.05);
   border: none;
   padding: 7px 14px;
   border-radius: 30px;
   color: #ddd;
   font-size: 12px;
   font-weight: 600;
   white-space: nowrap;
   transition: 0.25s;
   cursor: pointer;
}

.type-btn:hover {
   background: rgba(0, 229, 255, 0.12);
   color: white;
   transform: translateY(-1px);
}

.type-btn.active {
   background: linear-gradient(135deg, #00d9ff, #0078ff);
   color: white;
   box-shadow: 0 6px 18px rgba(0, 153, 255, 0.3);
}

.type-btn.disabled {
   opacity: 0.45;
   cursor: not-allowed;
}

/* ===== MOBILE TOP MENU ===== */
.mobile-top-menu {
   display: none;
   position: absolute;
   top: 68px;
   left: 50%;
   transform: translateX(-50%);
   width: 96%;
   max-width: 1400px;
   background: rgba(15, 23, 42, 0.95);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   border-radius: 20px;
   padding: 15px 10px;
   z-index: 999;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
   border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-top-menu.show {
   display: block !important;
   animation: slideDownMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownMobile {
   from {
      opacity: 0;
      transform: translate(-50%, -10px);
   }

   to {
      opacity: 1;
      transform: translate(-50%, 0);
   }
}

.mobile-menu-content {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: center;
   gap: 12px;
}

.mobile-menu-content>div {
   display: flex;
   align-items: center;
   justify-content: center;
}

.mobile-top-menu .tb-icon-btn {
   width: 40px !important;
   height: 40px !important;
   font-size: 18px !important;
   background: #2563eb !important;
   box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3) !important;
}

.mobile-top-menu .core-map-btn {
   height: 40px !important;
   border-radius: 20px !important;
   font-size: 14px !important;
   padding: 0 18px !important;
   display: flex !important;
   align-items: center !important;
   justify-content: center !important;
}

.mobile-top-menu .tour-trigger-icon {
   width: 40px !important;
   height: 40px !important;
   background: rgba(255, 255, 255, 0.1) !important;
   border: 1px solid rgba(255, 255, 255, 0.15) !important;
   border-radius: 50% !important;
   display: flex !important;
   align-items: center !important;
   justify-content: center !important;
   color: #fff !important;
   font-size: 18px !important;
   cursor: pointer !important;
}

.mobile-top-menu .tb-logout-wrapper {
   width: 40px !important;
   height: 40px !important;
   border-radius: 50% !important;
   background: rgba(239, 68, 68, 0.2) !important;
   border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.mobile-top-menu .tb-logout-btn {
   color: #fca5a5 !important;
   font-size: 18px !important;
}

.mobile-top-menu .fly-zone-list {
   position: fixed !important;
   top: 130px !important;
   left: 50% !important;
   transform: translateX(-50%) !important;
   width: 90% !important;
   max-width: 300px !important;
}

.mobile-top-menu .map-title-home,
.mobile-top-menu .map-title-location,
.mobile-top-menu .fly-zone-wrapper,
.mobile-top-menu .map-right-info,
.mobile-top-menu .core-map-btn,
.mobile-top-menu .logout-icon {
   position: relative !important;
   top: auto !important;
   left: auto !important;
   right: auto !important;
   bottom: auto !important;
   margin: 0 !important;
   transform: none !important;
   display: inline-block !important;
}

.mobile-top-menu .map-right-info {
   position: relative !important;
   left: 81%;
}

.mobile-menu-btn {
   display: none;
   width: 42px;
   height: 42px;
   border: none;
   border-radius: 12px;
   background: #1f2b39;
   color: #fff;
   cursor: pointer;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1100px) {
   .modern-top-bar {
      width: 98%;
      padding: 0 10px;
   }

   .modern-top-bar .tb-search-wrapper {
      margin: 0 10px;
   }

   .tb-left {
      gap: 15px;
   }
}

@media (min-width: 992px) and (max-width: 1599px) {
   .map-title-unique {
      display: none !important;
   }
}

@media (max-width: 991px) {
   .modern-top-bar {
      height: 52px !important;
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: space-between !important;
      padding: 0 15px !important;
      border-radius: 50px !important;
      top: 8px !important;
   }

   .tb-left,
   .tb-actions {
      display: none !important;
   }

   .modern-top-bar .tb-search-wrapper {
      margin: 0 !important;
      max-width: calc(100% - 45px) !important;
      flex: 1 !important;
      order: 1 !important;
   }

   .modern-top-bar .tb-search-box {
      width: 100% !important;
   }

   .mobile-menu-btn {
      display: flex !important;
      align-items: center;
      justify-content: center;
   }

   .map-title-unique {
      display: none !important;
   }

   .map-title-home {
      display: none !important;
   }

   .map-right-info {
      display: none !important;
   }

   .core-map-btn {
      display: none !important;
   }

   .logout-icon {
      display: none !important;
   }
}

@media (max-width: 768px) {

   .maptype-panel-Layer,
   .maptype-panel-Legend {
      left: 10px;
      width: 220px;
   }

   .maptype-panel-Layer {
      top: 70px;
      height: 280px;
   }

   .maptype-panel-Legend {
      top: 370px;
      height: 240px;
   }

   .right-sidebar {
      right: 5px;
      top: auto;
      bottom: 20px;
      height: auto;
   }

   .maptype-panel {
      position: fixed !important;
      left: 0;
      width: 76%;
      border-radius: 18px 18px 0 0;
      transition: bottom 0.3s ease;
   }

   .map-title-unique span {
      display: none;
   }

   .modern-top-bar {
      width: calc(100% - 12px);
   }
}

@media (max-width: 480px) {

   .maptype-panel-Layer,
   .maptype-panel-Legend {
      left: 5px;
      width: 180px;
      border-radius: 8px;
   }

   .maptype-panel-Layer {
      top: 60px;
      height: 240px;
   }

   .maptype-panel-Legend {
      top: 320px;
      height: 200px;
   }
}

@media (min-width: 1600px) {
   .map-title-unique {
      display: flex;
   }
}

/* ===== MODAL BACKDROP ===== */
.modal-backdrop {
   pointer-events: none !important;
}

/* ===== RIGHT SIDEBAR ===== */
.right-sidebar {
   position: fixed;
   right: 9px;
   top: 52px;
   width: 41px;
   height: 57vh;
   background: transparent;
   z-index: 999;
   transition: none !important;
}

/* CORE MAP BUTTON */
.core-map-btn {
   height: 29px;

   padding: 0 18px;

   border: none;

   border-radius: 14px;

   background:
      linear-gradient(135deg,
         #7b2ff7,
         #00c6ff);

   color: white;

   font-size: 13px;
   font-weight: 600;

   letter-spacing: 0.4px;

   transition: all 0.25s ease;

   box-shadow:
      0 8px 20px rgba(0, 198, 255, 0.22);
}

.core-map-btn:hover {
   transform: translateY(-2px);

   box-shadow: 0 12px 24px rgba(123, 47, 247, 0.35);
}

/* ===== USER DROP-DOWN MENU & INITIALS ===== */
.tb-logout-wrapper.dropdown {
   margin-right: 10px;
}

.user-profile-badge {
   width: 32px;
   height: 32px;
   border-radius: 50%;
   background: linear-gradient(90deg, #1654A5 0%, #0F3460 60%, #000000 100%) !important;
   /* border: 1.5px solid var(--c-teal); */
   font-size: 13px;
   color: white;
   font-family: var(--font-ui);
   line-height: 1;
}

.user-dropdown-menu {
   min-width: 200px;
   z-index: 1050;
}

.user-dropdown-menu .dropdown-header-item {
   font-weight: 500;
}

.user-dropdown-menu .user-icon-color {
   color: var(--c-teal);
}

.user-dropdown-menu .logout-action {
   font-size: 14px;
   transition: background 0.2s;
}

.user-dropdown-menu .dropdown-item:hover {
   background-color: rgba(224, 82, 82, 0.15) !important;
   color: #ff4d4d !important;
}

#search-wrapper-coreMap {
   left: 18% !important;
}

.maptype-panel-landUsed {
   width: 410px;
   height: 500px;
}

#landuseOpacity {
   writing-mode: bt-lr;
   -webkit-appearance: slider-vertical;
   width: 8px;
   height: 120px;
   padding: 0;
}

.landuse-visibilymgmt {
   display: flex;
   flex-direction: column;
   align-items: center;
}

.legend-header-left {
   display: flex;
   align-items: center;
   gap: 8px;
}

.legend-header-left p {
   margin: 0;
   font-weight: 600;
}

.closePanel {
   margin-left: auto;
   font-size: 20px;
   cursor: pointer;
   color: #faa4a4;
}

.closePanel:hover {
   color: #b02a37;
}

div:where(.swal2-icon).swal2-warning {
   border-color: #f70a0a !important;
   color: #ff0002 !important;
}

/*.swal2-title {
   color: #f70a0a !important;
}*/

/* ==============================
   PLI GRAPH STYLES poonam
   ============================== */
   #pli-graph-panel {
      position: absolute;
      left: 20px;
      top: 90px;
      width: 340px;
      background: #1f2a36;
      color: #fff;
      border-radius: 10px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
      z-index: 1000;
      display: block;
   }
   
   .pli-graph-header {
      padding: 10px 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      justify-content: space-between;
      align-items: center;
   }
   
   .pli-graph-icon {
      color: #00e5ff;
   }
   
   .pli-graph-title {
      font-weight: bold;
      margin-left: 8px;
   }
   
   .pli-graph-close {
      cursor: pointer;
      font-size: 1.2rem;
      color: #ff4d4d;
   }
   
   .pli-graph-body {
      padding: 15px;
      max-height: 450px;
      overflow-y: auto;
   }
   
   .pli-graph-item {
      margin-bottom: 15px;
   }
   
   .pli-graph-item-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      margin-bottom: 4px;
   }
   
   .pli-graph-item-name {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
      margin-right: 10px;
   }
   
   .pli-graph-item-value {
      color: #00e5ff;
      font-weight: bold;
      white-space: nowrap;
      flex-shrink: 0;
      text-align: right;
   }
   
   .pli-graph-bar-bg {
      width: 100%;
      background: rgba(255, 255, 255, 0.1);
      height: 12px;
      border-radius: 6px;
      overflow: hidden;
   }
   
   .pli-graph-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, #007bff, #00e5ff);
      border-radius: 6px;
      transition: width 0.5s ease-in-out;
   }
   
   .pli-graph-empty {
      text-align: center;
      color: #888;
   }
   
   #btn-open-pli-graph {
      position: absolute;
      left: 20px;
      top: 90px;
      z-index: 999;
      width: 40px;
      height: 40px;
      border-radius: 8px;
      background: #1f2a36;
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: #00e5ff;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      display: none;
      align-items: center;
      justify-content: center;
      cursor: pointer;
   }
   
   .pli-graph-open-icon {
      font-size: 1.2rem;
   }
   
   .pli-graph-item-percent {
      font-size: 10px;
      color: #fff3f3;
      margin-left: 4px;
      font-weight: normal;
   }