/* ============ HELP PANEL STYLES ============ */

.help-panel {
  position: fixed;
  top: 0;
  right: -620px;
  width: 620px;
  max-width: 90vw;
  height: 100vh;
  z-index: 2000;
  background: var(--card-bg);
  border-left: 2px solid var(--border);
  box-shadow: -4px 0 20px var(--shadow);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.help-panel.open {
  right: 0;
}

.help-panel[aria-hidden="true"] {
  pointer-events: none;
}

.help-panel[aria-hidden="false"] {
  pointer-events: auto;
}

.help-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  flex-shrink: 0;
}

.help-panel-header h2 {
  color: white;
  font-size: 1.1em;
  font-weight: 600;
  margin: 0;
}

.help-panel-header .btn-icon {
  color: white;
  font-size: 1.5em;
  line-height: 1;
  padding: 0 4px;
}

.help-panel-body {
  flex: 1;
  overflow: hidden;
}

.help-panel-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: white;
}

.help-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1999;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.help-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

#helpToggle {
  font-weight: 700;
  font-size: 1.1em;
  line-height: 1;
}

@media (max-width: 768px) {
  .help-panel {
    width: 100vw;
    right: -100vw;
  }
}
