/* Help Widget Button (Bottom Right) */
.help-widget-button {
    position: fixed;
    bottom: 70px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 9998;
  }
  
  .help-widget-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
  }
  
  /* Help Widget Panel (Expanded) */
  .help-widget-panel {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    max-height: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  .help-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #E2E8F0;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: white;
  }
  
  .help-widget-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
  }
  
  .help-widget-close:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .help-widget-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
  }
  
  .help-view {
    animation: slideIn 0.2s ease;
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Topics List */
  .help-topics-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .help-topic-item {
    padding: 12px 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .help-topic-item:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
    transform: translateX(4px);
  }
  
  .help-topic-name {
    font-weight: 500;
    font-size: 14px;
    color: #1E293B;
  }
  
  .help-topic-count {
    font-size: 12px;
    color: #64748B;
    background: white;
    padding: 2px 8px;
    border-radius: 12px;
  }
  
  /* Articles List */
  .help-articles-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .help-article-item {
    padding: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .help-article-item:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
  }
  
  .help-article-item-title {
    font-weight: 500;
    font-size: 14px;
    color: #1E293B;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .help-premium-badge {
    font-size: 10px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    padding: 2px 6px;
    border-radius: 4px;
  }
  
  /* Action Buttons */
  .help-action-btn {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #1E293B;
    transition: all 0.2s;
    margin-bottom: 8px;
    text-align: left;
  }
  
  .help-action-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    transform: translateX(4px);
  }
  
  /* Back Button */
  .help-back-btn {
    background: none;
    border: none;
    color: #3B82F6;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 0;
    font-weight: 500;
  }
  
  .help-back-btn:hover {
    text-decoration: underline;
  }
  
  /* Mobile Responsive */
  @media (max-width: 480px) {
    .help-widget-panel {
      width: calc(100vw - 32px);
      right: 16px;
      bottom: 16px;
    }
    
    .help-widget-button {
      right: 16px;
      bottom: 16px;
    }
  }