/* Custom Tailwind CSS extensions */

/* Add additional styles not covered by Tailwind's utility classes */

/* Typography enhancements */
.prose {
    max-width: 65ch;
    color: var(--text-primary);
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: var(--text-primary);
    margin-top: 2em;
    margin-bottom: 1em;
}

.prose p, .prose ul, .prose ol {
    color: var(--text-secondary);
    margin-bottom: 1.5em;
}

.prose a {
    color: var(--accent);
    text-decoration: none;
}

.prose a:hover {
    text-decoration: underline;
}

.prose pre {
    background-color: #1e293b;
    border-radius: 0.375rem;
    overflow-x: auto;
    padding: 1em;
    margin: 1.5em 0;
}

.prose code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

.prose blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1em;
    font-style: italic;
    margin: 1.5em 0;
}

/* Animations */
.transition-fast {
    transition-duration: 150ms;
}

.hover-translate {
    transition-property: transform;
    transition-duration: 300ms;
}

.hover-translate:hover {
    transform: translateY(-5px);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Print styles */
@media print {
    @page {
        margin: 1.5cm;
    }
    
    body {
        font-size: 12pt;
    }
    
    a {
        text-decoration: none !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    img {
        page-break-inside: avoid;
        max-width: 100% !important;
    }
    
    pre, blockquote {
        page-break-inside: avoid;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}
