body {
    font-family: 'Inter', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

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

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

/* Slide Transitions */
.slide-fade {
    transition: opacity 0.3s ease-in-out;
}

.slide-hidden {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.slide-active {
    opacity: 1;
    position: relative;
}

/* Loader */
.spinner {
    border: 3px solid rgba(13, 148, 136, 0.3);
    border-radius: 50%;
    border-top: 3px solid #0d9488;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Utilities */
canvas {
    max-width: 100%;
    height: auto;
}

#mindmap-container svg {
    max-width: 100%;
    height: auto;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fullscreen-mode {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 50;
    background: inherit;
    padding: 2rem;
}
