/* Diagnostic styles for debugging hotspot positioning */

/* Debug mode indicator */
.debug-indicator {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 9999;
    font-family: monospace;
    min-width: 150px;
}

.debug-indicator > div:first-child {
    font-weight: bold;
    color: #ff5555;
    margin-bottom: 8px;
    text-align: center;
}

.debug-indicator label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
    cursor: pointer;
}

.debug-indicator input[type="checkbox"] {
    cursor: pointer;
}

/* Touch optimization for canvas */
#instructionCanvas {
    touch-action: none; /* Prevent default touch behaviors */
}

/* Canvas statistics */
.canvas-stats {
    position: fixed; 
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 11px;
    font-family: monospace;
    z-index: 9998;
    display: none;
    max-width: 200px;
    line-height: 1.4;
}

.debug-mode .canvas-stats {
    display: block;
}

/* Debug toggle button enhancements */
#debug-toggle {
    position: fixed; 
    bottom: 10px; 
    left: 10px; 
    z-index: 9999; 
    font-size: 12px;
    background: rgba(0,0,0,0.5); 
    color: white; 
    border: none; 
    padding: 5px 10px;
    border-radius: 4px; 
    cursor: pointer; 
    opacity: 0.5;
    transition: opacity 0.2s;
}

#debug-toggle:hover {
    opacity: 1;
}

#debug-toggle.active {
    background: rgba(255,0,0,0.5);
    opacity: 1;
}

/* Hotspot Info overlay */
.hotspot-debug-info {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    z-index: 9998;
    display: none;
    max-width: 250px;
    line-height: 1.4;
}

.debug-mode .hotspot-debug-info {
    display: block;
}
