/* public/css/docs.css */
/* Documentation System Styles */

.docs-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.docs-article {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.docs-article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0b3058;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.docs-article-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
}

.docs-article-content {
    padding: 2rem;
}

.docs-section {
    margin-bottom: 3rem;
}

.docs-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0b3058;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

/* Feature Grid Layout */
.docs-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.docs-feature-item {
    display: flex;
    align-items: flex-start;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.docs-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.docs-feature-icon {
    font-size: 1.5rem;
    color: #0b3058;
    margin-right: 1rem;
    min-width: 30px;
    text-align: center;
}

.docs-feature-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0b3058;
}

.docs-feature-content p {
    margin-bottom: 0;
    color: #495057;
}

/* Audience List */
.docs-audience-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.docs-audience-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.2s ease;
}

.docs-audience-item:hover {
    transform: translateY(-3px);
}

.docs-audience-item i {
    font-size: 1.25rem;
    color: #0b3058;
    margin-right: 1rem;
}

/* Steps */
.docs-steps {
    margin: 2rem 0;
}

.docs-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.docs-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #0b3058;
    color: #fff;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 600;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.docs-step-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0b3058;
}

/* Requirements Table */
.docs-requirements-table {
    margin: 1.5rem 0;
    overflow-x: auto;
}

.docs-requirements-table table {
    width: 100%;
    border-collapse: collapse;
}

.docs-requirements-table th,
.docs-requirements-table td {
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.docs-requirements-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #0b3058;
}

.docs-requirements-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Tips and Callouts */
.docs-tip {
    display: flex;
    align-items: flex-start;
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 4px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.docs-tip-icon {
    font-size: 1.5rem;
    color: #2196f3;
    margin-right: 1rem;
}

/* Screenshot Styles */
.docs-screenshot {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.docs-screenshot h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0b3058;
}

.docs-screenshot p {
    margin-bottom: 1rem;
    color: #495057;
}

.docs-screenshot-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.docs-screenshot-caption {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Navigation */
.docs-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.docs-navigation-link {
    display: inline-flex;
    align-items: center;
    color: #0b3058;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.docs-navigation-link:hover {
    background-color: #e9ecef;
    color: #0b3058;
}

/* Dark Mode Adjustments */
body.dark-mode .docs-article {
    background-color: #2c3034;
}

body.dark-mode .docs-article-title,
body.dark-mode .docs-section-title {
    color: #fff;
    border-bottom-color: #495057;
}

body.dark-mode .docs-article-intro,
body.dark-mode .docs-feature-content p {
    color: #e9ecef;
}

body.dark-mode .docs-feature-item,
body.dark-mode .docs-audience-item {
    background-color: #343a40;
}

body.dark-mode .docs-feature-content h4,
body.dark-mode .docs-step-content h4 {
    color: #fff;
}

body.dark-mode .docs-requirements-table th {
    background-color: #343a40;
    color: #fff;
}

body.dark-mode .docs-requirements-table td {
    border-color: #495057;
}

body.dark-mode .docs-requirements-table tr:nth-child(even) {
    background-color: #343a40;
}

body.dark-mode .docs-tip {
    background-color: #0d47a1;
    border-left-color: #2196f3;
}

body.dark-mode .docs-tip-content {
    color: #fff;
}

body.dark-mode .docs-navigation-link {
    background-color: #343a40;
    color: #fff;
}

body.dark-mode .docs-navigation-link:hover {
    background-color: #495057;
    color: #fff;
}

/* Dark mode adjustments for screenshots */
body.dark-mode .docs-screenshot {
    background-color: #343a40;
    border-color: #495057;
}

body.dark-mode .docs-screenshot h4 {
    color: #fff;
}

body.dark-mode .docs-screenshot p {
    color: #e9ecef;
}

body.dark-mode .docs-screenshot-img {
    border-color: #495057;
}

body.dark-mode .docs-screenshot-caption {
    color: #a0a0a0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .docs-content-wrapper {
        padding: 1rem 0.5rem;
    }
    
    .docs-article-content {
        padding: 1rem;
    }
    
    .docs-article-title {
        font-size: 2rem;
    }
    
    .docs-section-title {
        font-size: 1.5rem;
    }
    
    .docs-feature-list {
        grid-template-columns: 1fr;
    }
    
    .docs-audience-list {
        grid-template-columns: 1fr;
    }
    
    .docs-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .docs-navigation-link {
        text-align: center;
    }
}