/**
 * Debug Panel CSS
 * Styling for the debug panel and related components
 */

/* Debug panel styles */
#debugPanel {
  position: fixed; 
  top: 0; 
  left: -300px; 
  width: 300px; 
  height: 100%; 
  background: #333; 
  color: white; 
  z-index: 30000; 
  transition: left 0.3s ease; 
  box-shadow: 0 0 10px rgba(0,0,0,0.5); 
  padding: 20px; 
  box-sizing: border-box; 
  overflow-y: auto;
}

/* Debug panel button styles */
#debugPanel button {
  margin-bottom: 5px;
  transition: all 0.2s ease;
}

#debugPanel button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Debug toggle button styles */
#debugMenuBtn {
  position: fixed; 
  bottom: 20px; 
  left: 20px; 
  background-color: transparent; 
  border: 2px solid #f44336; 
  color: #f44336; 
  padding: 8px 15px; 
  border-radius: 5px; 
  cursor: pointer; 
  z-index: 9999; 
  font-weight: bold; 
  text-decoration: none; 
  display: inline-block; 
  box-shadow: 0 0 5px rgba(0,0,0,0.2); 
  transition: all 0.3s ease;
}

#debugMenuBtn:hover {
  background-color: rgba(244, 67, 54, 0.2);
  color: #ff6b6b;
  border-color: #ff6b6b;
  box-shadow: 0 0 8px rgba(244, 67, 54, 0.5);
}

/* Container adjustments when debug panel is open */
body.debug-open .container {
  max-width: 800px;
  margin-left: 300px;
  margin-right: auto;
}

/* Debug toggle (secondary style) */
#debugToggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: rgba(244, 67, 54, 0.1);
  border: 2px solid #f44336;
  color: #f44336;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  text-decoration: none;
  z-index: 9999;
  transition: all 0.3s ease;
}

#debugToggle:hover {
  background-color: rgba(244, 67, 54, 0.2);
  color: #ff6b6b;
  border-color: #ff6b6b;
  transform: translateY(-2px);
  box-shadow: 0 2px 10px rgba(244, 67, 54, 0.3);
}

/* Media queries for mobile devices */
@media (max-width: 768px) {
  #debugPanel {
    width: 100% !important;
    z-index: 30000 !important;
  }
  
  body.debug-open .container {
    margin: 20px auto !important;
    max-width: 800px !important;
  }
}

/* Dark mode specific styles for debug panel */
body.dark-mode #debugPanel {
  background: #222;
  color: #e0e0e0;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
}

body.dark-mode #debugPanel button {
  background-color: #444;
  color: #e0e0e0;
  border: 1px solid #555;
}

body.dark-mode #debugPanel button:hover {
  background-color: #555;
} 