* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
}

.header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header h1 {
  font-size: 18px;
  font-weight: 600;
}

.header-icons {
  display: flex;
  gap: 16px;
}

.header-icons svg {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.container {
  display: flex;
  min-height: calc(100vh - 60px);
}

.sidebar {
  width: 320px;
  background: white;
  border-right: 1px solid #e5e7eb;
  padding: 24px;
  overflow-y: auto;
  height: calc(100vh - 60px);
  position: sticky;
  top: 60px;
}

.search-box {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 24px;
  outline: none;
}

.search-box:focus {
  border-color: #3b82f6;
}

.nav-section {
  margin-bottom: 32px;
}

.nav-section h3 {
  font-size: 12px;
  font-weight: 700;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.nav-section ul {
  list-style: none;
}

.nav-section li {
  margin-bottom: 8px;
}

.nav-section a {
  text-decoration: none;
  color: #4b5563;
  font-size: 14px;
  display: block;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-section a:hover {
  background: #f3f4f6;
  color: #1f2937;
}

.nav-section a.active {
  background: #eff6ff;
  color: #3b82f6;
  font-weight: 500;
  border-left: 3px solid #3b82f6;
  padding-left: 9px;
}

.main-content {
  flex: 1;
  padding: 40px 48px;
  max-width: 1200px;
}

.content-header {
  border-left: 4px solid #3b82f6;
  padding-left: 16px;
  margin-bottom: 32px;
}

.content-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-section {
  margin-bottom: 48px;
}

.step-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 24px;
}

.step-section p {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 15px;
}

.screenshot {
  margin: 24px 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.screenshot img {
  width: 100%;
  display: block;
}

.step-image {
  margin: 16px 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  max-width: 100%;
}

.step-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}

/* Responsive image sizing */
@media (min-width: 768px) {
  .step-image {
    max-width: 90%;
  }
}

@media (min-width: 1024px) {
  .step-image {
    max-width: 80%;
  }
}

.info-box {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 16px 20px;
  border-radius: 6px;
  margin: 24px 0;
}

.info-box p {
  color: #1e40af;
  margin: 0;
}

.step-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 20px 0;
}

.step-list li {
  counter-increment: step-counter;
  padding: 12px 0 12px 40px;
  position: relative;
  color: #4b5563;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 12px;
  background: #3b82f6;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.help-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #60a5fa;
  color: white;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.help-button:hover {
  background: #3b82f6;
  transform: scale(1.05);
}

.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.scroll-top:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .sidebar {
    width: 280px;
  }

  .main-content {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
  }

  .main-content {
    padding: 24px 16px;
  }

  .content-header h1 {
    font-size: 24px;
  }
}
