/* Custom styles for V2X Documentation */

/* Custom color scheme */
:root {
    --v2x-primary: #1976d2;
    --v2x-secondary: #424242;
    --v2x-accent: #ff6f00;
    --v2x-success: #4caf50;
    --v2x-warning: #ff9800;
    --v2x-error: #f44336;
}

/* Header styling */
.md-header {
    background: linear-gradient(135deg, var(--v2x-primary) 0%, #1565c0 100%);
}

/* Navigation styling */
.md-nav__title {
    color: var(--v2x-primary);
    font-weight: 600;
}

.md-nav__link:hover {
    color: var(--v2x-accent);
}

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

/* Inline code styling */
code {
    background-color: #f5f5f5;
    color: #d32f2f;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

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

.md-typeset table th {
    background-color: var(--v2x-primary);
    color: white;
    font-weight: 600;
}

.md-typeset table td {
    border-bottom: 1px solid #e0e0e0;
}

/* Button styling */
.md-button {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.md-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card styling for feature highlights */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin: 16px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--v2x-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Status indicators */
.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-success {
    background-color: var(--v2x-success);
}

.status-warning {
    background-color: var(--v2x-warning);
}

.status-error {
    background-color: var(--v2x-error);
}

/* Mermaid diagram styling */
.mermaid {
    text-align: center;
    margin: 24px 0;
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* Admonition styling */
.admonition {
    border-radius: 8px;
    border-left-width: 4px;
}

.admonition-title {
    font-weight: 600;
}

/* Custom admonition types */
.admonition.v2x-tip {
    border-left-color: var(--v2x-success);
}

.admonition.v2x-warning {
    border-left-color: var(--v2x-warning);
}

.admonition.v2x-error {
    border-left-color: var(--v2x-error);
}

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

.md-search__input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer styling */
.md-footer {
    background-color: var(--v2x-secondary);
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .feature-card {
        padding: 16px;
        margin: 12px 0;
    }
    
    .md-typeset table {
        font-size: 0.8em;
    }
}

/* Print styles */
@media print {
    .md-header,
    .md-nav,
    .md-footer {
        display: none;
    }
    
    .feature-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Dark mode adjustments */
[data-md-color-scheme="slate"] {
    --v2x-primary: #64b5f6;
    --v2x-secondary: #424242;
}

[data-md-color-scheme="slate"] .feature-card {
    background: #2d2d2d;
    border-left-color: var(--v2x-primary);
}

[data-md-color-scheme="slate"] code {
    background-color: #424242;
    color: #ff8a80;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--v2x-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1565c0;
} 
