/* Reusable Glass Panel effect */
.glass-panel {
    background-color: #111F13;
    border: 1px solid #1D3B23;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #1D3B23;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #2a554f;
}

/* Tabs */
.metric-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9CA3AF;
    /* gray-400 */
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.metric-tab:hover {
    color: #E5E7EB;
    /* gray-200 */
}

.metric-tab.active {
    color: #22C55E;
    /* brand-primary */
    border-bottom-color: #22C55E;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

/* Modal Animations */
#alert-modal:not(.hidden) {
    opacity: 1;
}

#alert-modal:not(.hidden) #alert-modal-content {
    transform: scale(1);
}

/* Value Status Colors */
.val-good {
    color: #22C55E;
}

.val-needs-improvement {
    color: #F97316;
}

.val-poor {
    color: #EF4444;
}