/* Add smooth transition to body colors */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom MathJax container styling */
.MathJax {
    font-size: 1.1em !important;
}

/* Add custom glow to inputs on focus */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* Matrix Table Styling */
.table-auto td, .table-auto th {
    transition: background-color 0.2s;
}
.table-auto tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}
.dark .table-auto tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Step items animation */
.step-item {
    animation: fadeIn 0.5s ease-in-out;
}

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