/* Documentation Styles */

.docs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.docs-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.docs-sidebar-category {
    margin-bottom: 2rem;
}

.docs-sidebar-category-title {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 900;
    font-size: 1rem;
    color: #000000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #000000;
}

.docs-sidebar-link {
    display: block;
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    color: #444444;
    text-decoration: none;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.docs-sidebar-link:hover {
    background-color: #f8f8f8;
    color: #000000;
    font-weight: 700;
}

.docs-sidebar-link.active {
    background-color: #000000;
    color: #ffffff;
    font-weight: 700;
}

.docs-content {
    min-height: 600px;
}

.docs-hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.docs-hero-title {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #ffffff;
    margin-bottom: 1rem;
}

.docs-hero-subtitle {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 500;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: #cccccc;
    margin-bottom: 2rem;
}

.docs-search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.docs-search-input {
    width: 100%;
    padding: 1.25rem 3.5rem 1.25rem 1.5rem;
    border: 3px solid #ffffff;
    border-radius: 8px;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    background-color: #ffffff;
    color: #000000;
}

.docs-search-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.docs-search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    font-size: 1.25rem;
}

.docs-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.docs-category-card {
    background-color: #ffffff;
    border: 3px solid #000000;
    padding: 2.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    color: #000000;
}

.docs-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.docs-category-icon {
    font-size: 3.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
}

.docs-category-title {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 900;
    font-size: 1.75rem;
    color: #000000;
    margin-bottom: 1rem;
}

.docs-category-description {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.docs-category-count {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.docs-article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #000000;
}

.docs-article-title {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #000000;
    margin-bottom: 1rem;
}

.docs-article-meta {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #666666;
    margin-bottom: 1rem;
}

.docs-article-breadcrumb {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: #999999;
    margin-bottom: 1rem;
}

.docs-article-breadcrumb a {
    color: #000000;
    text-decoration: none;
    font-weight: 700;
}

.docs-article-breadcrumb a:hover {
    text-decoration: underline;
}

.docs-article-content {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.9;
    color: #333333;
}

.docs-article-content h2 {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: #000000;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e5e5;
}

.docs-article-content h3 {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #000000;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.docs-article-content h4 {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #000000;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.docs-article-content p {
    margin-bottom: 1.5rem;
}

.docs-article-content ul,
.docs-article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.docs-article-content li {
    margin-bottom: 0.75rem;
}

.docs-article-content code {
    background-color: #f8f8f8;
    border: 1px solid #e5e5e5;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
    color: #cc0000;
}

.docs-article-content pre {
    background-color: #1a1a1a;
    border: 3px solid #000000;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.docs-article-content pre code {
    background-color: transparent;
    border: none;
    padding: 0;
    color: #ffffff;
    font-size: 0.9375rem;
}

.docs-article-content blockquote {
    border-left: 4px solid #000000;
    padding-left: 1.5rem;
    margin-left: 0;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #666666;
}

.docs-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.docs-article-content table th,
.docs-article-content table td {
    border: 2px solid #000000;
    padding: 1rem;
    text-align: left;
}

.docs-article-content table th {
    background-color: #000000;
    color: #ffffff;
    font-weight: 900;
}

.docs-article-content table tr:nth-child(even) {
    background-color: #f8f8f8;
}

.docs-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f8f8;
    border: 3px solid #000000;
    border-radius: 8px;
}

.docs-section-title {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 900;
    font-size: 1.75rem;
    color: #000000;
    margin-bottom: 1.5rem;
}

.docs-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-feature-item {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background-color: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    display: flex;
    align-items: start;
}

.docs-feature-item i {
    color: #10b981;
    margin-right: 1rem;
    margin-top: 0.25rem;
    font-size: 1.25rem;
}

.docs-feature-title {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #000000;
    margin-bottom: 0.5rem;
}

.docs-feature-description {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #666666;
    line-height: 1.7;
}

.docs-toc {
    background-color: #f8f8f8;
    border: 3px solid #000000;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.docs-toc-title {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
}

.docs-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-toc-item {
    margin-bottom: 0.75rem;
}

.docs-toc-link {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.docs-toc-link:hover {
    font-weight: 700;
    text-decoration: underline;
}

.docs-toc-link i {
    margin-right: 0.75rem;
    color: #666666;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }
    
    .docs-sidebar {
        position: static;
        max-height: none;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .docs-container {
        padding: 1rem;
    }
    
    .docs-category-grid {
        grid-template-columns: 1fr;
    }
}
