/**
 * FongDebug Mobile Debug Area Styles
 * Mod by Fong on 2025-07-01--17-02-PM
 * 
 * Tách từ: wp-content/plugins/fong_de_lms/public/js/helpers/FongDebug-class-helper.js
 * Mục đích: Tối ưu hóa loading và dễ maintain CSS
 * 
 * @package     Fong_De_LMS
 * @subpackage  Public/CSS
 * @since       1.0.0
 * 
 * @related_files
 * - public/js/helpers/FongDebug-class-helper.js            Core FongDebug JavaScript class
 * - includes/enqueue/fong-js-helper-enqueue.php           CSS enqueue handler
 */

/* Mobile Debug Area Styles */
#fong-mobile-debug-area {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  font-family: monospace;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.95);
  color: #00ff00;
  border-top: 2px solid #333;
  max-height: 50vh;
  overflow: hidden;
  transition: all 0.3s ease;
  transform: translateY(100%);
}

#fong-mobile-debug-area.show {
  transform: translateY(0);
}

#fong-debug-toggle {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1000000;
  background: #007cba;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

#fong-debug-toggle:hover {
  background: #005a87;
  transform: scale(1.1);
}

#fong-debug-header {
  background: #333;
  padding: 8px 12px;
  border-bottom: 1px solid #555;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

#fong-debug-controls {
  display: flex;
  gap: 8px;
}

#fong-debug-controls button {
  background: #007cba;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 10px;
  cursor: pointer;
}

#fong-debug-controls button:hover {
  background: #005a87;
}

#fong-debug-content {
  max-height: calc(50vh - 40px);
  overflow-y: auto;
  padding: 8px;
  line-height: 1.4;
}

.fong-debug-entry {
  margin-bottom: 12px;
  padding: 6px;
  border-left: 3px solid #007cba;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.fong-debug-entry.level-error {
  border-left-color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
}

.fong-debug-entry.level-warn {
  border-left-color: #ffaa00;
  background: rgba(255, 170, 0, 0.1);
}

.fong-debug-entry.level-success {
  border-left-color: #00aa00;
  background: rgba(0, 170, 0, 0.1);
}

.fong-debug-header-info {
  font-size: 10px;
  color: #ccc;
  margin-bottom: 4px;
}

.fong-debug-label {
  color: #66ccff;
  font-weight: bold;
  margin-bottom: 4px;
}

.fong-debug-data {
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: 2px;
  white-space: pre-wrap;
  overflow-x: auto;
  max-height: 200px;
  overflow-y: auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #fong-mobile-debug-area {
    max-height: 60vh;
  }
  
  #fong-debug-toggle {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }
} 