/* Custom styles for 1Password MCP Server documentation */

/* Security callout styling */
.md-content .admonition.warning {
    border-left: 4px solid #ff6b35;
}

.md-content .admonition.warning .admonition-title {
    background-color: rgba(255, 107, 53, 0.1);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

/* Success/completion styling */
.md-content .admonition.success {
    border-left: 4px solid #00c851;
}

.md-content .admonition.success .admonition-title {
    background-color: rgba(0, 200, 81, 0.1);
    border-bottom: 1px solid rgba(0, 200, 81, 0.2);
}

/* Code block enhancements */
.md-content pre code {
    font-size: 0.85em;
    line-height: 1.4;
}

/* Table styling for API reference */
.md-content table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 4px;
    overflow: hidden;
}

.md-content table th {
    background-color: var(--md-default-bg-color--light);
    font-weight: 600;
}

/* Navigation improvements */
.md-nav__title {
    font-weight: 600;
}

/* Security badge styling */
.security-badge {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block;
    margin-left: 8px;
}

/* Status indicators */
.status-healthy {
    color: #00c851;
    font-weight: 600;
}

.status-warning {
    color: #ff6b35;
    font-weight: 600;
}

.status-error {
    color: #ff3547;
    font-weight: 600;
}

/* Command line styling */
.md-content .highlight .go {
    color: var(--md-code-fg-color);
    opacity: 0.7;
}

/* Mermaid diagram styling */
.mermaid {
    text-align: center;
    margin: 2em 0;
}

/* Custom button styling for CTAs */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #1976d2, #42a5f5);
    color: white !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 8px 4px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

/* Tab styling improvements */
.md-tabs__item {
    font-weight: 500;
}

/* Footer customization */
.md-footer-meta {
    background-color: var(--md-footer-bg-color--dark);
}

/* Search result highlighting */
.md-search-result__title {
    font-weight: 600;
}

/* Version badge */
.version-badge {
    background: #1976d2;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: 600;
}

/* Dark mode adjustments */
[data-md-color-scheme="slate"] {
    --md-hue: 210;
}

[data-md-color-scheme="slate"] .security-badge {
    background: linear-gradient(45deg, #ff8a65, #ffb74d);
}

[data-md-color-scheme="slate"] .cta-button {
    background: linear-gradient(45deg, #42a5f5, #64b5f6);
}

/* Responsive adjustments */
@media screen and (max-width: 76.1875em) {
    .md-content__inner {
        margin: 0 0.8rem;
    }
}

/* Print styles */
@media print {
    .md-header,
    .md-tabs,
    .md-sidebar,
    .md-footer {
        display: none;
    }
    
    .md-content {
        margin: 0;
    }
}