.class-toggle {
    display: flex;
    align-items: center;
    margin: 5px 0;
    gap: 8px;
}

.badge {
    background: #2563eb;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-right: 4px;
}

/* --- Styles from _monitoringBar.handlebars --- */
#monitoringbar p {
	display:inline;
}

/* --- Styles from _scoring_config_admin.handlebars --- */
.scoring-config-panel {
  background: rgba(10, 29, 49, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 20px;
  margin: 20px 0;
  font-family: 'Fira Code', monospace;
}

.panel-header {
  margin-bottom: 25px;
  text-align: center;
}

.panel-header h3 {
  color: var(--primary-color);
  margin: 0 0 10px 0;
  font-size: 24px;
}

.panel-description {
  color: #a0a0a0;
  margin: 0;
  font-size: 14px;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.config-section {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 3px;
  border: 1px solid rgba(128, 191, 255, 0.2);
}

.config-section h4 {
  color: var(--accent-color);
  margin: 0 0 15px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(128, 191, 255, 0.3);
  padding-bottom: 8px;
}

.config-item {
  margin-bottom: 15px;
}

.config-item:last-child {
  margin-bottom: 0;
}

.config-item label {
  display: block;
  color: #e0e0e0;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
}

.config-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  color: #e0e0e0;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
  border-radius: 3px;
  transition: border-color 0.3s ease;
}

.config-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(0, 0, 0, 0.7);
}

.config-help {
  display: block;
  color: #888;
  font-size: 12px;
  margin-top: 3px;
  font-style: italic;
}

.scoring-rule-note {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid #ffc107;
  border-radius: 3px;
  font-size: 13px;
  color: #ffc107;
}

.config-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.save-button {
  background: linear-gradient(45deg, #10b981, #059669);
  border: 1px solid #10b981;
}

.save-button:hover {
  background: linear-gradient(45deg, #059669, #047857);
}

.reset-button {
  background: linear-gradient(45deg, #f59e0b, #d97706);
  border: 1px solid #f59e0b;
}

.reset-button:hover {
  background: linear-gradient(45deg, #d97706, #b45309);
}

.config-status {
  min-height: 20px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.config-status.success {
  color: var(--accent-color);
}

.config-status.error {
  color: #ef4444;
}

@media (max-width: 768px) {
  .config-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .config-actions {
    flex-direction: column;
  }
}

.scroll-arrow {
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 24px;
  cursor: pointer;
  padding: 0 10px;
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.scroll-arrow:hover {
  color: var(--accent-color);
  opacity: 1;
}

.scroll-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}


/* --- Monitoring Bar Actions Dropdown --- */
.monitoring-dropdown-container {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.monitoring-dropdown-menu {
    display: none;
    position: absolute;
    top: 25px;
    right: 0;
    width: 200px;
    background: #0a0a0b;
    border: 1px solid #333;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.monitoring-dropdown-menu.visible {
    display: block;
}

.bar-action-trigger {
    color: #4a90d9;
    font-size: 0.8em;
    margin-left: 4px;
    transition: color 0.2s;
}

.bar-action-trigger:hover {
    color: #fff;
}

.action-item {
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1a1a1a;
    transition: background 0.2s;
}

.action-item:last-child {
    border-bottom: none;
}

.action-item:hover {
    background: rgba(74, 144, 217, 0.1);
    cursor: pointer;
}

.action-label {
    color: #888;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.action-status {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.action-status.status-on {
    color: #00ff9d;
}

.action-status.status-off {
    color: #555;
}

.error {
    color: #ff6b6b;
    padding: 10px;
    font-size: 0.75rem;
}
