/**
 * Bot UI Styles for VaporRacer
 * 
 * This file contains styles for the bot control UI elements.
 */

/* Bot Toggle Button */
#bot-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  padding: 8px 15px;
  background-color: #e98c00;
  color: #000;
  border: none;
  border-radius: 5px;
  font-family: 'digital_font', Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(233, 140, 0, 0.5);
  transition: all 0.2s ease;
}

#bot-toggle:hover {
  background-color: #ff9d00;
  transform: scale(1.05);
}

#bot-toggle:active {
  transform: scale(0.95);
}

/* Bot Control Panel */
#bot-control-panel {
  position: fixed;
  top: 60px;
  right: 10px;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px;
  border-radius: 5px;
  border: 2px solid #e98c00;
  color: #fff;
  font-family: 'digital_font', Arial, sans-serif;
  box-shadow: 0 0 15px rgba(233, 140, 0, 0.3);
  display: none;
  width: 250px;
}

#bot-control-panel h3 {
  color: #e98c00;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bot-control-group {
  margin-bottom: 15px;
}

.bot-control-group label {
  display: block;
  margin-bottom: 5px;
  color: #e98c00;
}

.bot-control-group select,
.bot-control-group input[type="number"] {
  width: 100%;
  background: #222;
  color: #fff;
  border: 1px solid #e98c00;
  padding: 8px;
  border-radius: 3px;
  font-family: 'digital_font', Arial, sans-serif;
}

.bot-control-group input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}

/* Bot Control Buttons */
#apply-bot-settings {
  background: #e98c00;
  color: #000;
  border: none;
  padding: 8px 15px;
  border-radius: 3px;
  cursor: pointer;
  font-family: 'digital_font', Arial, sans-serif;
  width: 100%;
  margin-top: 10px;
  transition: all 0.2s ease;
}

#apply-bot-settings:hover {
  background-color: #ff9d00;
  transform: scale(1.05);
}

#apply-bot-settings:active {
  transform: scale(0.95);
}

/* Bot Status Indicator */
#bot-status {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #e98c00;
  padding: 5px 10px;
  border-radius: 3px;
  font-family: 'digital_font', Arial, sans-serif;
  font-size: 12px;
  z-index: 1000;
  display: none;
}

/* Bot Status - Active */
#bot-status.active {
  display: block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

/* Leaderboard Bot Entries */
.leaderboard-entry.bot-entry {
  background-color: rgba(233, 140, 0, 0.1);
}

.bot-indicator {
  display: inline-block;
  background-color: #e98c00;
  color: #000;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 10px;
  margin-left: 5px;
  vertical-align: middle;
}

/* Bot Difficulty Badges */
.bot-difficulty {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 10px;
  margin-left: 5px;
}

.bot-difficulty.easy {
  background-color: #4CAF50;
  color: #fff;
}

.bot-difficulty.medium {
  background-color: #2196F3;
  color: #fff;
}

.bot-difficulty.hard {
  background-color: #FF9800;
  color: #000;
}

.bot-difficulty.impossible {
  background-color: #F44336;
  color: #fff;
}