@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Brain map container styles */
#brainMapContainer {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

/* Transition effects */
.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

/* Legend styles */
.dashed {
    border-top: 1px dashed;
}
/* Animation for cards */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bg-white {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Delay animations for grid items */
.bg-white:nth-child(1) { animation-delay: 0.1s; }
.bg-white:nth-child(2) { animation-delay: 0.2s; }
.bg-white:nth-child(3) { animation-delay: 0.3s; }
.bg-white:nth-child(4) { animation-delay: 0.4s; }
.bg-white:nth-child(5) { animation-delay: 0.5s; }
.bg-white:nth-child(6) { animation-delay: 0.6s; }

/* Custom shadow for neumorphic effect */
.neumorphic {
    box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
}

/* Transition for interactive elements */
button, a, [role="button"] {
    transition: all 0.2s ease;
}

/* Focus styles for accessibility */
:focus {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}