:root {
  --primary: #1976d2; /* main blue */
  --primary-dark: #155a9a;
  --secondary: #5aa9e6; /* lighter blue */
  --dark: #163a56; /* text */
  --darker: #0f2a3b;
  --light: #ffffff;
  --text-light: #576b7a;
  --border: #1976d2;
  --code-bg: #1e272e;
  --sidebar-bg: #ffffff; /* white sidebar like the screenshot */
  --content-bg: #f4fbff; /* very light blue page background */
  --accent-yellow: #ffd24d; /* availability / highlight */ 
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Inter", sans-serif; background: var(--content-bg); color: var(--dark); display: flex; height: 100vh; overflow: hidden; }

/* Sidebar Navigation */
.sidebar { width: 300px; background: var(--sidebar-bg); color: var(--dark); display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0,0,0,0.04); border-right: 3px solid var(--primary); position: relative; z-index: 100; }
.sidebar-header { padding: 1.6rem 1.2rem; background: linear-gradient(180deg, #ffffff, #155a9a); border-bottom: 4px solid rgba(95, 171, 233, 0.952); color: #ffffff; text-align: center; }
.sidebar-header .product-name { font-size: 1.9rem; font-weight: 800; color: #363333b9; margin: 0 0 0.2rem 0; line-height: 1; letter-spacing: -0.5px; }
.sidebar-header .product-desc { display: block; font-size: 0.95rem; font-weight: 600; color:  #363333b9; margin: 0; line-height: 1.1; }
.sidebar-header .doc-by { margin-top: 0.5rem; font-size: 0.72rem; color: rgb(252, 250, 250); text-transform: none; letter-spacing: 0.6px; }

/* Backward-compatible rule in case legacy markup exists */
.sidebar-header h2 { font-size: 1.6rem; font-weight: 700; color: #ffffff; letter-spacing: 0.3px; margin: 0 0 0.25rem 0; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 1rem 0; }

/* Scrollbar Styling */
.sidebar-nav::-webkit-scrollbar { width: 6px; }
.sidebar-nav::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1); }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; }
.sidebar-nav::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }
.nav-section { margin-bottom: 0.5rem; }
.nav-item { padding: 0.85rem 1.5rem; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; gap: 0.85rem; color: var(--primary-dark); background: white; font-size: 0.95rem; font-weight: 500; border-left: 3px solid transparent; position: relative; user-select: none; }
.nav-item:hover { background: var(--primary-dark); color: #ffffff; }
.nav-item { padding: 0.85rem 1.5rem; cursor: pointer; transition: all 0.18s ease; display: flex; align-items: center; gap: 0.85rem; color: var(--primary-dark); background: white; font-size: 0.95rem; font-weight: 600; border-left: 4px solid transparent; position: relative; user-select: none; }
.nav-item:hover { background: var(--primary-dark); color: #ffffff; }
.nav-item.active { background: var(--primary-dark); color: #ffffff; border-left-color: var(--primary-dark); }
.nav-icon { font-size: 1.15rem; width: 22px; text-align: center; }
.submenu { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; background: white; }
.submenu.open { max-height: 600px; }
.submenu-item { padding: 0.7rem 1.5rem 0.7rem 3.8rem; cursor: pointer; transition: all 0.2s ease; color: var(--primary-dark); background: white; font-size: 0.88rem; font-weight: 400; border-left: 3px solid transparent; user-select: none; }
.submenu-item:hover { background: var(--primary-dark); color: #ffffff; }
.submenu-item.active { color: #ffffff; background: var(--primary-dark); border-left-color: var(--primary-dark); font-weight: 600; }

/* Main Content Area */
.main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

/* Top Header */
.top-header { background: white; padding: 1.25rem 2.5rem; border-bottom: 1px solid #e1e8ed; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); z-index: 50; }
.page-title { font-size: 2rem; font-weight: 700; color: var(--dark); }
.header-actions { display: flex; gap: 1rem; align-items: center; }
.version-badge { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 0.45rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 700; box-shadow: 0 3px 8px rgba(25,118,210,0.12); }

/* Content Container */
.content-container { flex: 1; overflow-y: auto; padding: 2.5rem; background: var(--content-bg); } 
.content-container::-webkit-scrollbar { width: 8px; }
.content-container::-webkit-scrollbar-track { background: #e1e8ed; }
.content-container::-webkit-scrollbar-thumb { background: #bdc3c7; border-radius: 4px; }
.content-container::-webkit-scrollbar-thumb:hover { background: #95a5a6; }
.content-section { display: none; animation: fadeSlideIn 0.4s ease; }
.content-section.active { display: block; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Content Cards */
.content-card { background: white; border-radius: 8px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 4px 18px rgba(13, 71, 161, 0.04); border: 1px solid rgba(25,118,210,0.08); }
.content-card h2 { font-size: 1.75rem; margin-bottom: 1.5rem; color: var(--dark); display: flex; align-items: center; gap: 0.85rem; font-weight: 700; }
.content-card h3 { font-size: 1.35rem; margin: 2.5rem 0 1rem; color: var(--secondary); font-weight: 600; }
.content-card h4 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; color: var(--dark); font-weight: 600; }
.content-card p { line-height: 1.9; color: #5a6c7d; margin-bottom: 1.2rem; font-size: 1rem; }
.content-card ul,
.content-card ol { margin: 1.2rem 0; padding-left: 2.2rem; }
.content-card li { line-height: 1.9; color: #5a6c7d; margin-bottom: 0.7rem; }
.content-card li strong { color: var(--dark); }

/* Screenshot Container */
.screenshot-container { margin: 2.5rem 0; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12); border: 1px solid #e1e8ed; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.screenshot-container:hover { transform: translateY(-3px); box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15); }
.availability { color: var(--accent-yellow); font-weight: 700; font-size: 0.95rem; }
.screenshot-container img { width: 100%; height: auto; display: block; }
.screenshot-caption { background: #f8f9fa; padding: 1rem 1.5rem; text-align: center; color: #5a6c7d; font-size: 0.9rem; font-style: italic; border-top: 1px solid #e1e8ed; }

/* Code Blocks */
.code-block { background: var(--code-bg);border-radius: 10px; padding: 1.8rem; margin: 1.8rem 0; position: relative; border: 1px solid #34495e; box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18); }
.code-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.code-language { font-family: "JetBrains Mono", monospace; color: var(--primary); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.copy-btn { background: var(--primary); color: white; border: none; padding: 0.45rem 1.1rem; border-radius: 5px; cursor: pointer; font-size: 0.8rem; font-weight: 600; transition: all 0.2s ease; }
.copy-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.copy-btn.copied { background: #27ae60; }
pre { margin: 0; overflow-x: auto; font-family: "JetBrains Mono", monospace; font-size: 0.9rem; line-height: 1.7; }
pre::-webkit-scrollbar { height: 8px; }
pre::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 4px; }
pre::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; }
code { font-family: "JetBrains Mono", monospace; color: #e8e8e8; }
.inline-code { background: rgba(0, 200, 255, 0.12); color: var(--primary); padding: 0.25rem 0.6rem; border-radius: 4px; font-size: 0.88em; font-family: "JetBrains Mono", monospace; font-weight: 500; }

/* Syntax Highlighting */
.keyword { color: #ff6b9d; }
.string { color: #a8e063; }
.function { color: #5da4fc; }
.comment { color: #6c7a89; font-style: italic; }
.number { color: #f78c6c; }
.property { color: #ffd93d; }

/* Info Boxes */
.info-box { padding: 1.5rem 1.8rem; border-radius: 8px; margin: 1.8rem 0; border-left: 4px solid; display: flex; gap: 1.2rem; align-items: flex-start; }
.info-box.note { background: rgba(52, 152, 219, 0.08); border-color: #3498db; }
.info-box.warning { background: rgba(243, 156, 18, 0.08); border-color: #f39c12; }
.info-box.success { background: rgba(39, 174, 96, 0.08); border-color: #27ae60; }
.info-box.danger { background: rgba(231, 76, 60, 0.08); border-color: #e74c3c; }

/* Simple notice/alert box used in install instructions */
.notice-box { display: flex; align-items: center; gap: 0.9rem; background: linear-gradient(180deg, #fffaf0 0%, #fff3d6 100%); border-left: 6px solid var(--accent-yellow); border: 1px solid rgba(255, 193, 7, 0.18); color: #2f3a2f; padding: 0.6rem 0.6rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; box-shadow: 0 6px 18px rgba(255, 193, 7, 0.06); }
.notice-icon { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: linear-gradient(135deg, #ffb74d 0%, #ff9800 100%); display: inline-flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1rem; box-shadow: 0 2px 8px rgba(255, 152, 0, 0.18); }
.notice-content { line-height: 1.45; flex: 1 1 auto; text-align: left; }
.notice-icon svg { width: 18px; height: 18px; display: block; }

/* Illustration used in install steps */
.step-illustration { display: block; max-width: 560px; width: 100%; height: auto; margin: 0.75rem auto 1rem auto; border: 1px solid #eef6fb; border-radius: 6px; box-shadow: 0 4px 12px rgba(16, 88, 138, 0.04); }
.step-illustration-link { display: block; text-align: center; }
.step-illustration { cursor: zoom-in; }

/* Image lightbox/modal */
.image-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); z-index: 9999; padding: 24px; }
.image-modal.open { display: flex; }
.image-modal-content { max-width: 90%; max-height: 90%; background: white; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); overflow: hidden; position: relative; }
.image-modal-content img { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; }
.image-modal-close { position: absolute; right: 8px; top: 8px; background: rgba(0,0,0,0.6); color: white; border: none; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.image-modal-caption { padding: 10px 14px; font-size: 0.95rem; color: #203843; }

/* Two-up step images */
.step-images { display: flex; gap: 1rem; justify-content: center; align-items: flex-start; margin: 0.5rem 0 1rem 0; flex-wrap: wrap; }
.step-illustration.small { max-width: 320px; width: 100%; height: auto; border: 1px solid #eef6fb; border-radius: 6px; }
.info-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-content h4 { margin: 0 0 0.5rem 0; font-size: 1.05rem; color: var(--dark); }
.info-content p { margin: 0; color: #5a6c7d; line-height: 1.7; }

/* Steps */
.steps-container { counter-reset: step; margin: 2rem 0; }
.step-item { padding: 1.8rem; margin: 1.5rem 0; background: white; border-radius: 10px; border: 2px solid #e1e8ed; position: relative; padding-left: 4.5rem; counter-increment: step; transition: all 0.3s ease; }
.step-item:hover { border-color: var(--primary); box-shadow: 0 4px 15px rgba(0, 200, 255, 0.1); }
.step-item::before { content: counter(step); position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%); background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; box-shadow: 0 3px 10px rgba(0, 200, 255, 0.3); }
.step-item h4 { margin: 0 0 0.7rem 0; color: var(--dark); font-size: 1.15rem; }
.step-item p { margin: 0; color: #5a6c7d; line-height: 1.7; }

/* Table Styles */
.doc-table { width: 100%; border-collapse: collapse; margin: 1.8rem 0; background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }
.doc-table thead { background: linear-gradient(135deg, var(--dark), var(--darker)); color: white; }
.doc-table th { padding: 1.2rem; text-align: left; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.3px; }
.doc-table td { padding: 1.2rem; border-bottom: 1px solid #e8ecef; color: #5a6c7d; font-size: 0.95rem; }
.doc-table tbody tr:hover { background: rgba(0, 200, 255, 0.04); }
.doc-table tbody tr:last-child td { border-bottom: none; }

/* Feature Grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.feature-card { background: white; padding: 2rem; border-radius: 10px; border: 2px solid #e8ecef; transition: all 0.3s ease; }
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0, 200, 255, 0.15); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; display: inline-block; }
.feature-card h4 { margin: 0 0 0.8rem 0; font-size: 1.15rem; color: var(--dark); }
.feature-card p { margin: 0; color: #5a6c7d; line-height: 1.7; font-size: 0.95rem; }

/* Buttons */
.btn { display: inline-block; padding: 0.8rem 1.8rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 4px 15px rgba(0, 200, 255, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 200, 255, 0.4); }
.btn-secondary { background: white; color: var(--dark); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; }

/* Mobile Menu Toggle */
.mobile-menu-toggle { display: none;position: fixed;bottom: 2rem;right: 2rem;background: var(--primary);color: white;width: 60px;height: 60px;border-radius: 50%;border: none;font-size: 1.5rem;cursor: pointer;box-shadow: 0 4px 20px rgba(0, 200, 255, 0.4);z-index: 1000; }

/* Responsive Design */
@media (max-width: 968px) {
  body { flex-direction: column; }
  .sidebar { width: 100%; max-height: 60vh; }
  .content-container { padding: 1.5rem; }
  .top-header { padding: 1rem 1.5rem; }
  .page-title { font-size: 1.5rem; }
  .content-card { padding: 1.5rem; }
}
@media (max-width: 968px) {
  .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; }
  .sidebar { position: fixed; left: -100%; transition: left 0.3s ease; z-index: 999; }
  .sidebar.mobile-open { left: 0; }
}
