/**
 * Ms. Luminara Quiz - Dev Panel Styles
 * Toggle with Ctrl+D
 */

.dev-panel {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 280px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  z-index: 9999;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.dev-panel.hidden {
  transform: translateX(300px);
  opacity: 0;
  pointer-events: none;
}

.dev-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(245, 158, 11, 0.1);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px 12px 0 0;
  color: #f59e0b;
  font-weight: 600;
}

.dev-close {
  background: none;
  border: none;
  color: #f59e0b;
  font-size: 20px;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  transition: color 0.2s;
}

.dev-close:hover {
  color: #ef4444;
}

.dev-panel-content {
  padding: 12px;
  max-height: 70vh;
  overflow-y: auto;
}

.dev-section {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.dev-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.dev-section h4 {
  color: #94a3b8;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.dev-btn {
  display: block;
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 6px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 6px;
  color: #c4b5fd;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.dev-btn:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.5);
}

.dev-btn:active {
  transform: scale(0.98);
}

.dev-section label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94a3b8;
  margin-bottom: 8px;
  font-size: 11px;
}

.dev-section input[type="color"] {
  width: 40px;
  height: 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
}

.dev-section input[type="range"] {
  width: 100px;
  height: 4px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 2px;
  cursor: pointer;
}

#devInfo {
  color: #64748b;
  font-size: 10px;
  line-height: 1.6;
}

#devInfo strong {
  color: #94a3b8;
}

/* Dev mode indicator */
.dev-mode-indicator {
  position: fixed;
  bottom: 10px;
  right: 10px;
  padding: 6px 12px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 20px;
  color: #c4b5fd;
  font-size: 10px;
  font-family: 'Consolas', monospace;
  z-index: 9998;
  cursor: pointer;
  transition: all 0.2s;
}

.dev-mode-indicator:hover {
  background: rgba(139, 92, 246, 0.3);
}

/* Toast notifications for dev actions */
.dev-toast {
  position: fixed;
  bottom: 50px;
  right: 10px;
  padding: 10px 16px;
  background: rgba(16, 185, 129, 0.9);
  border-radius: 8px;
  color: white;
  font-size: 12px;
  font-family: 'Consolas', monospace;
  z-index: 10000;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 1.7s forwards;
}

@keyframes toastIn {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100px); opacity: 0; }
}
