/* Custom styles for Trading System Whitepaper */

/* Priority badges */
.priority-p0 {
    background-color: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.priority-p1 {
    background-color: #FF9800;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.priority-p2 {
    background-color: #FF5722;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.priority-p3 {
    background-color: #9C27B0;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

/* Architecture diagram styling */
.architecture-diagram {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Status indicators */
.status-complete {
    color: #4CAF50;
    font-weight: bold;
}

.status-in-progress {
    color: #FF9800;
    font-weight: bold;
}

.status-planned {
    color: #9E9E9E;
    font-weight: bold;
}

/* Code block enhancements */
.highlight {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Table enhancements */
.md-typeset table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.md-typeset table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

/* Navigation enhancements */
.md-nav__link {
    border-radius: 4px;
    transition: background-color 0.2s;
}

.md-nav__link:hover {
    background-color: #f0f0f0;
}

/* Search enhancements */
.md-search__input {
    border-radius: 20px;
}

/* Footer styling */
.md-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Vercel-specific optimizations */
.md-content {
    max-width: 1200px;
    margin: 0 auto;
}

.md-main__inner {
    padding-top: 1rem;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .md-content {
        padding: 0 1rem;
    }
    
    .md-typeset table {
        font-size: 0.8em;
    }
}
