/* Documentation Page Styles */
.documentation {
    background-color: #FFFFFF;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.documentation-header {
    text-align: left;
    margin-bottom: 3rem;
    max-width: 800px;
}

.documentation-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #212529;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    line-height: 1.2;
}

.header-description {
    font-size: 1.125rem;
    font-weight: 400;
    color: #495057;
    line-height: 1.5;
    margin: 0;
    max-width: 600px;
}

/* Search Section */
.search-section {
    margin-bottom: 4rem;
}

.search-container {
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-input {
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 12px 20px;
    font-size: 16px;
    width: 400px;
    background-color: #fff;
}

.search-input:focus {
    outline: none;
    border-color: #805AD5;
    box-shadow: 0 0 0 3px rgba(128, 90, 213, 0.1);
}

.btn-search {
    background-color: #805AD5;
    border: none;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-search:hover {
    background-color: #6B46C1;
}

/* Documentation Sections */
.documentation-sections {
    margin-top: 2rem;
}

.doc-section {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.doc-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.section-header {
    margin-bottom: 1.5rem;
    text-align: left;
}

.section-icon {
    font-size: 1.5rem;
    color: #805AD5;
    margin-bottom: 0.75rem;
    display: inline-block;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.section-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.section-separator {
    width: 100%;
    height: 1px;
    background-color: #E2E8F0;
    margin-top: 1rem;
}

/* Documentation List */
.doc-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.doc-list li {
    margin-bottom: 0.75rem;
    padding: 0.25rem 0;
    transition: all 0.2s ease;
}

.doc-list li:hover {
    transform: translateX(3px);
}

.doc-list li a {
    display: flex;
    align-items: center;
    color: #495057;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.doc-list li a:hover {
    color: #805AD5;
}

.doc-list li a::before {
    content: ">";
    color: #495057;
    margin-right: 0.75rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .documentation-header h1 {
        font-size: 2.5rem;
    }
    
    .header-description {
        font-size: 1rem;
    }
    
    .search-container {
        flex-direction: column;
        max-width: 100%;
    }
    
    .search-input {
        width: 100%;
        border-radius: 8px 8px 0 0;
        border-right: 1px solid #e0e0e0;
        border-bottom: none;
    }
    
    .btn-search {
        border-radius: 0 0 8px 8px;
    }
    
    .doc-section {
        margin-bottom: 2rem;
    }
    
    .section-header {
        text-align: center;
    }
    
    .section-icon {
        display: block;
        margin: 0 auto 0.75rem auto;
    }
}

@media (max-width: 576px) {
    .documentation-header h1 {
        font-size: 2rem;
    }
    
    .doc-section {
        padding: 1.5rem;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.breadcrumb-nav .breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: #805AD5;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Content Page Styles */
.doc-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.doc-content h1 {
    color: #333;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #805AD5;
}

.doc-content h2 {
    color: #444;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.doc-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.doc-content ul, .doc-content ol {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.doc-content ul {
    list-style-type: disc;
}

.doc-content li {
    margin-bottom: 0.5rem;
}

/* Back to Documentation Button */
.back-to-docs {
    display: inline-flex;
    align-items: center;
    background-color: #805AD5;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: background-color 0.3s ease;
}

.back-to-docs:hover {
    background-color: #6B46C1;
    color: white;
    text-decoration: none;
}

.back-to-docs i {
    margin-right: 8px;
}

/* Common Documentation Page Styles */
.doc-image {
    text-align: center;
    margin: 30px 0;
}

.doc-image img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* For images with img-fluid class - maintain aspect ratio */
.doc-image img.img-fluid:not(.img-contain) {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Alternative image styling for smaller images that should contain */
.doc-image img.img-contain,
.doc-image img.img-fluid.img-contain {
    height: auto;
    object-fit: contain;
    max-height: 250px;
}

.step-list {
    margin: 20px 0;
}

.step-list li {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Navigation Buttons */
.doc-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right {
    flex: 1;
}

.nav-right {
    text-align: right;
}

.btn-prev, .btn-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-prev {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
}

.btn-prev:hover {
    background: #e9ecef;
    color: #495057;
    text-decoration: none;
}

.btn-next {
    background: #6c63ff;
    color: white;
}

.btn-next:hover {
    background: #5851d8;
    color: white;
    text-decoration: none;
    transform: translateX(2px);
}

.btn-next i, .btn-prev i {
    font-size: 14px;
}

/* Additional content styling */
.doc-content h3 {
    color: #555;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.doc-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
    list-style-type: disc;
}

.doc-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Section dividers and titles */
.section-divider {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 2px solid #eee;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* Responsive adjustments for documentation pages */
@media (max-width: 768px) {
    .nav-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-left, .nav-right {
        width: 100%;
        text-align: center;
    }
    
    
    .doc-content {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    
    .btn-prev, .btn-next {
        padding: 10px 20px;
        font-size: 14px;
    }
}