.theme-transition * {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.keyword-badge {
    transition: all 150ms ease;
}

.keyword-badge:hover {
    border-color: #818cf8;
    background-color: rgba(99, 102, 241, 0.05);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

.dark ::-webkit-scrollbar-track {
    background: #1e293b;
}

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

.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

::selection {
    background-color: rgba(99, 102, 241, 0.2);
}

:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeIn 0.3s ease-out;
}

@media (max-width: 768px) {
    .rounded-\[2\.5rem\] {
        border-radius: 1.5rem;
    }
    
    .p-10 {
        padding: 1.5rem;
    }
    
    .text-2xl {
        font-size: 1.25rem;
    }
}

@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-white, .dark\:bg-slate-900 {
        background: white;
        border: 1px solid #ddd;
    }
}