/* Documentation Page Styles */

.docs-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
    padding: 2rem 0;
}

.docs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.docs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.docs-header h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.docs-header p {
    font-size: 1.1rem;
    color: #a1a1aa;
}

.docs-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar */
.docs-sidebar {
    position: sticky;
    top: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    height: fit-content;
}

.docs-nav h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.docs-nav h3:first-child {
    margin-top: 0;
}

.docs-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-nav li {
    margin-bottom: 0.25rem;
}

.docs-nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #a1a1aa;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.docs-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.docs-nav a.active {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

/* Main Content */
.docs-main {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.docs-section {
    display: none;
}

.docs-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.docs-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    padding-bottom: 0.5rem;
}

.docs-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.docs-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.docs-section p {
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.docs-section ul, .docs-section ol {
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.docs-section li {
    margin-bottom: 0.5rem;
}

.docs-section a {
    color: #667eea;
    text-decoration: none;
}

.docs-section a:hover {
    text-decoration: underline;
}

/* Code Blocks */
.code-block {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
}

.code-block code {
    color: #667eea;
    font-size: 0.9rem;
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #667eea;
    font-size: 0.85rem;
}

/* Command Lists */
.command-list {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.command-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

.command-item h4 {
    font-family: 'Courier New', monospace;
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.command-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Permission Lists */
.permission-list {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.permission-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #667eea;
    border-radius: 8px;
    padding: 1rem;
}

.permission-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.permission-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .docs-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .docs-sidebar {
        position: relative;
        top: 0;
    }
    
    .docs-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .docs-nav h3 {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .docs-container {
        padding: 0 1rem;
    }
    
    .docs-header h1 {
        font-size: 2rem;
    }
    
    .docs-main {
        padding: 1.5rem;
    }
    
    .docs-section h2 {
        font-size: 1.5rem;
    }
    
    .docs-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .docs-header h1 {
        font-size: 1.8rem;
    }
    
    .docs-main {
        padding: 1rem;
    }
    
    .docs-section h2 {
        font-size: 1.3rem;
    }
    
    .command-list,
    .permission-list {
        gap: 0.75rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}