/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */


 /*
 * every-layout.dev/rudiments/boxes
 */

* {
  box-sizing: border-box;
}

/* Shared Help System Styles */
:root {
  --help-background-color: white;
}

.help-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--help-background-color);
  color: #999;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  z-index: 1000;
  line-height: 1.2;
  transition: all 0.15s ease;
  backdrop-filter: blur(10px);
}

.help-button:hover {
  background: var(--help-background-color);
  color: #666;
}

.help-legend {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--help-background-color);
  color: #333;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.85rem;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 280px;
}

.help-section {
  margin-bottom: 0.75rem;
}

.help-section:last-child {
  margin-bottom: 0;
}

.help-category {
  font-weight: 600;
  color: #666;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.help-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.help-key {
  background: #f5f5f5;
  color: #333;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 32px;
  text-align: center;
  border: 1px solid rgba(128, 128, 128, 0.2);
}

.help-desc {
  flex: 1;
  color: #666;
}
