/* Import Rubik font */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');

/* Apply Rubik font to entire dashboard */
.custom-page,
.custom-page * {
    font-family: 'Rubik', sans-serif !important;
}

.content-wrapper:has(.custom-page){
	background-color: var(--main-background) !important;
	background: var(--main-background) !important;
}
.custom-page {
	background-color: var(--main-background) !important;
	background: var(--main-background) !important;
}


.mb-4 {
	margin-bottom: 4rem;
}

/* Override page title and text colors */
.custom-page h1,
.custom-page h2,
.custom-page h3,
.custom-page h4,
.custom-page h5,
.custom-page h6 {
    color: var(--h-text-color) !important;
}

.custom-page p,
.custom-page label,
.custom-page .text-muted {
    color: var(--muted-text) ;
}


.custom-page span{
	color: var(--contrast-text) ;
}

/* Force light form controls */
.custom-page .form-control,
.custom-page .form-select,
.custom-page input,
.custom-page select,
.custom-page textarea {
    background-color: var(--card-background) !important;
    color: var(--normal-text) !important;
    border-color: var(--soft-border) !important;
}

/* Project Selector */
.selector {
    background: var(--card-background);
    border-radius: 5px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Main container styling */
.dashboard-container {
    background: var(--card-background);
    border-radius: 5px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
}
/* Force light Form-Control */

.strong-border {
	border: 1px solid var(--strong-background) !important;
}

.custom-page .form-control .tab-like {
	background-color: var(--card-background) !important;
    border-color: var(--strong-border) !important;
}

/* Force light Select2 */
.custom-page .select2-container--default .select2-selection--multiple {
    background-color: var(--card-background) !important;
    border-color: var(--soft-border) !important;
}

.custom-page .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #191C20 !important;
    color: var(--contrast-text) !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 4px 8px !important;
}

.custom-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--contrast-text) !important;
    margin-right: 4px !important;
}

.custom-page .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ff6b6b !important;
    background: transparent !important;
}

.custom-page .select2-dropdown {
    background-color: var(--card-background) !important;
    border-color: --soft-border !important;
}

.custom-page .select2-results__option {
    color: var(--normal-text) !important;
}

.custom-page .select2-results__option--highlighted {
    background-color: var(--strong-background) !important;
    color: var(--contrast-text) !important;
}

/* KPI Table */
.table-container {
    background: var(--card-background);
    border-radius: 5px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow-x: auto;
}

.table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    margin: 0;
    background-color: var(--card-background);
    color: var(--normal-text);
    table-layout: auto;
	overflow: auto; 
}

.table thead {
    background: var(--card-background);
}

.table thead th {
    color: var(--normal-text);
    font-weight: 500;
    padding: 6px 4px;
    text-align: center;
    font-size: 11px;
    border: none;
	vertical-align: bottom;
    white-space: nowrap;
	border-right: 1px solid var(--strong-border);
}

.table thead th:first-child {
    text-align: left;
    min-width: 170px;
	max-width: 220px;
	z-index: 1;
	background: var(--card-background)
}

.table thead th:not(:first-child) {
    min-width: 30px;
    text-overflow: ellipsis;
}

.table thead th .header-icon {
    display: block;
    font-size: 18px;
    margin-bottom: 2px;
}

.table tbody tr {
    border-bottom: 1px solid var(--table-b-border);
    transition: var(--background-color) 0.2s;
}

.table tbody tr span{
	cursor: grab;
	margin: 0 10px; 
	font-size: 18px; 
	color: var(--normal-text) !important;
}

.table tbody tr:hover {
    background-color: var(--card-background--hover);
}

.table tbody tr:last-child {
    border-bottom: none;
}

.table tbody td {
    border: 1px solid var(--soft-border);
    padding: 4px 6px !important;
    font-size: 11px;
    text-align: center;
    vertical-align: middle;
}

.table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--normal-text);
	min-width: 170px;
    max-width: 240px;
}

.table tbody td:not(:first-child) {
    min-width: 50px;
}

/* Optional extra table class for future specialization */
.levels-matrix-table {
    font-size: 12px;
}

td:first-child {
	position: sticky;
  }

.table tr td:first-child,
.table th:first-child {
  position: sticky;
  left: 0; /* Sticks to the left of the container */
   
  z-index: 1; /* Ensures column is above other body cells */
}

.table tr td:first-child{
	background-color: var(--card-background);
}

.first-col {
    position: sticky;
    background: var(--card-background);
    z-index: 2;
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    overflow: hidden;
}


.first-col-content {
	display: flex;
	align-items: center;
    white-space: nowrap;
    will-change: transform;
}

.first-col-scrollbar-wrapper {
    width: 241px;
    background: var(--main-background);
    position: sticky;
    left: 0;
    top: 0;
    z-index: 10;
    padding-bottom: 4px;
	border: 1px solid var(--soft-border);
	border-radius: 0 0 3px 3px;
}

#firstColScrollbar {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    height: 16px;
}

#firstColScrollbarInner {
    height: 5px;
}

.custom-page .selector .select2-container {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}

/* --- Dual-progress cell layout --- */

.cell-dual-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 18px;
}

.cell-quality-pct {
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    color: #222 !important;
}

.phys-bar-row {
    display: block;
    margin: 5px -5px -5px;
    width: calc(100% + 10px);
    height: 8px;
    pointer-events: none;
}

.phys-bar-row.phys-bar-placeholder {
    visibility: hidden;
}

.phys-bar-track {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f0f0f0, #fff);
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.phys-bar-fill {
    height: 100%;
    background: linear-gradient(180deg, #ff6a1a, #ff5300);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phys-bar-fill::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15));
}

/* --- Total row tooltip (modern card) --- */

.total-tooltip {
    background: #fff !important;
    color: #333 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08) !important;
    text-align: left !important;
    min-width: 180px;
    font-size: 12px;
}

.total-tt-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.total-tt-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.total-tt-label {
    flex: 1;
    font-weight: 500;
    color: #555 !important;
    font-size: 12px !important;
}

.total-tt-val {
    font-weight: 700;
    font-size: 14px !important;
    color: #222 !important;
}

.total-tt-bar {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin: 5px 0 2px;
    overflow: hidden;
}

.total-tt-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.2s ease;
}

.total-tt-sep {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

/* --- Total row thin progress bars --- */

.total-progress-thin {
    height: 8px;
    min-height: 8px;
}

.total-progress-thin .progress-bar {
    height: 8px;
}

/* Edit mode banner */

.edit-mode-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(90deg, #ff5300, #ff7b33);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 20;
}

.edit-mode-banner i {
    font-size: 16px;
}

.edit-mode-banner span {
    color: #fff !important;
}

.edit-mode-active {
    outline: 2px solid #ff5300 !important;
    outline-offset: -1px;
}

/* Cell selection in edit mode */

.cell-selected {
    outline: 3px solid #0d6efd !important;
    outline-offset: -3px;
    box-shadow: inset 0 0 0 100px rgba(13, 110, 253, 0.2) !important;
    position: relative;
    z-index: 2;
}

.edit-mode-active .matrix-cell {
    cursor: pointer !important;
    user-select: none;
    -webkit-user-select: none;
}

.edit-mode-active .matrix-cell.edit-cell:hover {
    box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.08);
}

.edit-mode-active .matrix-cell.edit-cell-empty {
    cursor: not-allowed !important;
    opacity: 0.4;
}

.edit-mode-active .matrix-cell.edit-cell-empty:hover {
    box-shadow: none;
}

/* Elevate hovered cell above siblings so tooltip is not clipped */

.table tbody td.tooltip-hover:hover,
.table tbody td.matrix-cell:hover {
    z-index: 10;
    position: relative;
}

/* --- Modal Backdrop & Container --- */

.pp-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.pp-modal {
    width: 280px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0, 0, 0, 0.12);
    font-family: 'Rubik', sans-serif;
    animation: ppModalIn 0.2s ease-out;
}

@keyframes ppModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.pp-modal-accent {
    height: 4px;
    background: linear-gradient(90deg, #ff5300, #ff8c42);
}

.pp-modal-header {
    display: flex;
    align-items: center;
    padding: 14px 16px 8px;
    gap: 8px;
}

.pp-modal-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.pp-modal-icon {
    font-size: 18px;
    color: #ff5300;
}

.pp-modal-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.pp-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff5300;
    color: #fff !important;
    font-weight: 700;
    font-size: 11px;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    padding: 0 6px;
    flex-shrink: 0;
}

.pp-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
    padding: 0;
    margin-left: 4px;
    transition: color 0.15s;
}

.pp-modal-close:hover {
    color: #333;
}

.pp-modal-body {
    padding: 8px 20px 18px;
}

.pp-modal-value-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 10px;
}

.pp-modal-number {
    width: 70px;
    border: none;
    border-bottom: 2px solid #eee;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #ff5300 !important;
    background: transparent !important;
    outline: none;
    padding: 0;
    -moz-appearance: textfield;
    transition: border-color 0.2s;
}

.pp-modal-number:focus {
    border-bottom-color: #ff5300;
}

.pp-modal-number::-webkit-inner-spin-button,
.pp-modal-number::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pp-modal-pct {
    font-size: 20px;
    font-weight: 600;
    color: #999 !important;
}

/* Custom range slider */

.pp-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    outline: none;
    margin: 6px 0 16px;
    background: linear-gradient(
        to right,
        #ff5300 0%,
        #ff5300 var(--slider-pct, 0%),
        #eee var(--slider-pct, 0%),
        #eee 100%
    );
}

.pp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff5300;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s;
}

.pp-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.pp-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff5300;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.pp-slider::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: #eee;
}

.pp-slider::-moz-range-progress {
    height: 6px;
    border-radius: 3px;
    background: #ff5300;
}

.pp-save-btn {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff5300, #ff7b33);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: opacity 0.15s, transform 0.1s;
}

.pp-save-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.pp-save-btn:active {
    transform: translateY(0);
}

.pp-save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pp-modal-footer {
    font-size: 11px;
    color: #999;
    text-align: center;
    padding: 8px 16px 12px;
    border-top: 1px solid #f0f0f0;
}

/* Gap utility for older bootstrap */

.gap-2 {
    gap: 0.5rem;
}

/* --- Fullscreen action button --- */

.fullscreen-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #444 !important;
    border-color: #999 !important;
}

.fullscreen-action-btn:hover {
    color: #fff !important;
    background-color: #555 !important;
    border-color: #555 !important;
}

.fullscreen-action-btn i {
    font-size: 18px;
}

/* --- Fullscreen table overlay --- */

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.fullscreen-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    z-index: 2;
}

.fullscreen-title {
    font-size: 15px;
    font-weight: 600;
    color: #333 !important;
}

.fullscreen-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fullscreen-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.fullscreen-tool-btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

.fullscreen-zoom-label {
    display: inline-block;
    min-width: 45px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #555 !important;
    user-select: none;
}

.fullscreen-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 6px;
    background: #ff5300;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.15s;
}

.fullscreen-close-btn:hover {
    background: #e04a00;
}

.fullscreen-table-wrapper {
    flex: 1;
    overflow: auto;
    padding: 20px;
    position: relative;
}

#fullscreen-table-container {
    display: inline-block;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 8px;
}

#fullscreen-table-container table {
    border-collapse: collapse;
    font-size: 12px;
}

#fullscreen-table-container table thead th {
    color: var(--normal-text);
    font-weight: 500;
    padding: 6px 4px;
    text-align: center;
    font-size: 11px;
    border: none;
    vertical-align: bottom;
    white-space: nowrap;
    border-right: 1px solid var(--strong-border);
    background: var(--card-background);
}

#fullscreen-table-container table thead th:first-child {
    text-align: left;
    min-width: 170px;
}

#fullscreen-table-container table tbody td {
    border: 1px solid var(--soft-border);
    padding: 4px 6px;
    font-size: 11px;
    text-align: center;
    vertical-align: middle;
}

#fullscreen-table-container table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
    position: static;
}

#fullscreen-table-container table th:first-child {
    position: static;
}


/* --- Protocols Status Matrix V2 --- */

.protocols-matrix {
    border-collapse: separate;
    border-spacing: 1.5px;
    width: 100%;
}

.protocols-matrix tbody tr {
    border-bottom: none;
    transition: background-color 0.15s ease;
}

.protocols-matrix tbody tr:nth-child(even) td:first-child {
    background-color: #f7f8f9;
}

.protocols-matrix tbody tr:nth-child(even) td:last-child {
    background-color: rgba(0, 0, 0, 0.02);
}

.protocols-matrix tbody tr:hover {
    background-color: transparent;
}

.protocols-matrix tbody tr:hover td:first-child {
    color: #ff5300;
}

.protocols-matrix td {
    padding: 0 !important;
    margin: 0;
    border: none !important;
    min-width: 0 !important;
    line-height: 0;
    height: 1px;
}

.protocols-matrix td:first-child {
    padding: 6px 10px !important;
    border-right: 2px solid var(--soft-border) !important;
    border-bottom: 1px solid var(--table-b-border) !important;
    line-height: normal;
    width: 220px;
    min-width: 220px !important;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fafbfc;
}

.protocols-matrix td:last-child {
    padding: 4px 10px !important;
    border-left: 2px solid var(--soft-border) !important;
    line-height: normal;
    width: 100px;
    min-width: 100px !important;
    background: rgba(0, 0, 0, 0.02);
}

.protocols-matrix thead th {
    border-right: none;
    padding: 6px 2px !important;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.02em;
    position: sticky;
    top: 0;
    background: #fafbfc;
    z-index: 3;
}

.protocols-matrix thead th:not(:first-child):not(:last-child) div {
    margin: 0 auto;
}

.protocols-matrix thead th:first-child {
    border-right: 2px solid var(--soft-border);
    width: 220px;
    min-width: 220px;
    font-size: 11px;
    left: 0;
    z-index: 4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #777;
}

.protocols-matrix thead th:last-child {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #777;
}

.protocols-matrix thead th:not(:first-child):not(:last-child) {
    min-width: 28px;
}

.matrix-square {
    width: 100%;
    min-width: 28px;
    min-height: 26px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.matrix-square:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.matrix-square-empty {
    background-color: #eee;
    cursor: default;
    border-radius: 3px;
}

.matrix-square-empty:hover {
    transform: none;
    box-shadow: none;
}

.matrix-square-alert {
    cursor: not-allowed;
}

.matrix-square-alert .mdi-alert {
    font-size: 13px;
    color: #fff;
}

.matrix-square-alert:hover {
    transform: none;
    box-shadow: none;
}

/* Total column progress enhancement */
.protocols-matrix td:last-child .progress {
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
}

.protocols-matrix td:last-child .progress-bar {
    border-radius: 3px;
}

/* --- PSM Filters & Stage Tabs --- */

.psm-filters {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.psm-label {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-bottom: 6px;
    display: block;
}

.psm-stage-select-hidden {
    display: none !important;
}

.psm-stage-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 2px 0;
}

.psm-stage-tab {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    background: #fff;
    border: 1.5px solid #ddd;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
}

.psm-stage-tab:hover {
    border-color: #aaa;
    color: #333;
    background: #f0f0f0;
}

.psm-stage-tab.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(26, 26, 46, 0.25);
}

/* Status legend pills */
.status-legend-item {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Instant CSS tooltip for v2 matrix cells */

.v2-tip {
    position: relative;
}

.v2-tip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.92);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: pre-line;
    text-align: center;
    width: max-content;
    max-width: 360px;
    pointer-events: none;
    opacity: 0;
    z-index: 100;
    transition: opacity 0.12s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.v2-tip:hover::after {
    opacity: 1;
}