﻿/* Documentation Page Styles */

/* Documentation Header */
.docs-header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--border-color);
}

.docs-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.docs-header p {
    color: #999;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Documentation Search */
.docs-search {
    max-width: 600px;
 margin: 0 auto;
    position: relative;
}

.docs-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.docs-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--light-text);
    font-size: 1rem;
}

.docs-search input:focus {
  outline: none;
    border-color: var(--primary-color);
}

/* Documentation Layout */
.docs-content {
    padding: 2rem 0;
}

.docs-layout {
    display: grid;
    grid-template-columns: 250px 1fr 200px;
    gap: 3rem;
}

/* Sidebar */
.docs-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section ul li {
    margin-bottom: 0.5rem;
}

.sidebar-section ul li a {
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.sidebar-section ul li a:hover,
.sidebar-section ul li a.active {
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
}

.sidebar-section ul li a i {
    font-size: 0.85rem;
    width: 20px;
}

/* Main Documentation Content */
.docs-main {
    max-width: 900px; /* Wider for better reading */
}

.doc-section {
    margin-bottom: 4rem;
  scroll-margin-top: 100px;
}

.doc-section h2 {
  color: var(--primary-color);
    font-size: 2.2rem; /* Larger headings */
  margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color); /* Thicker border */
    padding-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.doc-section h3 {
    color: var(--light-text);
    font-size: 1.6rem; /* Larger */
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 4px solid rgba(0, 123, 255, 0.5);
}

.doc-section h4 {
    color: #e0e0e0; /* Lighter */
  font-size: 1.3rem;
    margin-top: 1.75rem;
 margin-bottom: 1rem;
}

.doc-section p {
 line-height: 1.9; /* Better readability */
    font-size: 1.05rem;
 color: #d0d0d0; /* Lighter text */
    margin-bottom: 1.25rem;
}

.doc-section ul,
.doc-section ol {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.doc-section li {
    margin-bottom: 0.75rem;
    color: #d0d0d0;
}

.lead {
    font-size: 1.3rem; /* Larger lead text */
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    padding: 1.5rem;
    background: rgba(0, 123, 255, 0.05);
  border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

/* Steps */
.steps {
    margin: 2.5rem 0;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
  align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
    border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
 transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 123, 255, 0.3);
  transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
}

.step-number {
    width: 50px;
  height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.step-content h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--primary-color);
    border: none;
    padding: 0;
}

.step-content p {
    color: #d0d0d0;
    line-height: 1.8;
}

.substep {
    margin-bottom: 2rem;
    padding-left: 2rem;
    border-left: 3px solid rgba(0, 123, 255, 0.3);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.substep h4 {
    margin-top: 0;
    color: var(--light-text);
}

.substep p {
    line-height: 1.7;
}

/* Code Blocks */
.code-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.code-block code {
    color: #4da3ff;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

code {
    background: rgba(0, 123, 255, 0.15);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', Consolas, monospace;
    color: #4da3ff;
    font-size: 0.95rem;
border: 1px solid rgba(0, 123, 255, 0.3);
}

pre {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 8px;
  border-left: 4px solid var(--primary-color);
    overflow-x: auto;
    margin: 1.5rem 0;
 line-height: 1.6;
}

pre code {
background: none;
    padding: 0;
    border: none;
}

/* Callouts */
.callout {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: flex;
 gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.callout i {
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.callout-content {
    flex: 1;
}

.callout-content p:last-child {
    margin-bottom: 0;
}

.callout-info {
    background: rgba(23, 162, 184, 0.15);
    border: 2px solid var(--info-color);
}

.callout-info i {
    color: var(--info-color);
}

.callout-success {
    background: rgba(40, 167, 69, 0.15);
 border: 2px solid var(--success-color);
}

.callout-success i {
    color: var(--success-color);
}

.callout-warning {
    background: rgba(255, 193, 7, 0.15);
    border: 2px solid var(--warning-color);
}

.callout-warning i {
    color: var(--warning-color);
}

.callout-danger {
    background: rgba(220, 53, 69, 0.15);
    border: 2px solid var(--danger-color);
}

.callout-danger i {
    color: var(--danger-color);
}

.callout h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.callout p {
    line-height: 1.7;
    font-size: 1rem;
}

/* Lists */
.numbered-list {
    counter-reset: list-counter;
    list-style: none;
    padding-left: 0;
}

.numbered-list li {
    counter-increment: list-counter;
    margin-bottom: 1rem;
 padding-left: 2.5rem;
    position: relative;
}

.numbered-list li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
 color: white;
    border-radius: 50%;
    display: flex;
 align-items: center;
    justify-content: center;
  font-weight: bold;
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checklist i {
    color: var(--success-color);
}

.data-list {
    list-style: none;
    padding-left: 0;
}

.data-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.requirement-card {
    background: var(--darker-bg);
    padding: 1.5rem;
border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.requirement-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.requirement-card h4 {
    margin: 0.5rem 0;
}

.requirement-card p {
    color: #999;
    margin: 0;
}

/* Tabs */
.tabs {
    margin: 2rem 0;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Settings Table */
.settings-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.settings-table th,
.settings-table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.settings-table th {
  background: var(--darker-bg);
    color: var(--primary-color);
}

.settings-table tr:hover {
    background: rgba(0, 123, 255, 0.05);
}

/* Accordion */
.accordion {
    margin: 1.5rem 0;
}

.accordion-item {
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    padding: 1rem;
    background: var(--darker-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(0, 123, 255, 0.1);
}

.accordion-header i {
    color: var(--primary-color);
}

.accordion-content {
    padding: 1rem;
    display: none;
}

.accordion-item.active .accordion-content {
    display: block;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
margin: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
  background: var(--darker-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    margin: 0.5rem 0;
}

.feature-item p {
    color: #999;
    margin: 0;
    font-size: 0.9rem;
}

/* Verification Steps */
.verification-steps {
    margin: 1.5rem 0;
}

.verify-step {
    display: flex;
  align-items: center;
gap: 1rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(40, 167, 69, 0.05);
    border-radius: 5px;
}

.verify-step i {
    color: var(--success-color);
    font-size: 1.2rem;
}

/* Badge */
.badge {
  display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: bold;
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-danger {
    background: var(--danger-color);
    color: white;
}

/* FAQ */
.faq-list {
    margin: 2rem 0;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.2rem;
}

/* Help Section */
.help-section {
    background: var(--darker-bg);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
}

.help-box i {
    font-size: 4rem;
    color: var(--primary-color);
 margin-bottom: 1rem;
}

.help-box h2 {
    border: none;
    margin-bottom: 1rem;
}

.help-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
 margin-top: 2rem;
}

/* Table of Contents (Right Sidebar) */
.docs-toc {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.toc-sticky h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.toc-sticky ul {
    list-style: none;
    padding-left: 0;
}

.toc-sticky ul li {
    margin-bottom: 0.5rem;
}

.toc-sticky ul li a {
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
display: block;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.toc-sticky ul li a:hover,
.toc-sticky ul li a.active {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1200px) {
 .docs-layout {
        grid-template-columns: 250px 1fr;
    }
    
    .docs-toc {
        display: none;
  }
}

@media (max-width: 768px) {
    .docs-layout {
        grid-template-columns: 1fr;
 }
    
    .docs-sidebar {
   position: static;
 border-bottom: 1px solid var(--border-color);
        padding-bottom: 2rem;
    }
    
    .requirements-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Made with Love */
.made-with-love {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #999;
}

.made-with-love i {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
     transform: scale(1);
    }
}
