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

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

/* Animation for the upload zone */
#drop-zone {
    transition: all 0.3s ease;
}

#drop-zone.drag-over {
    background-color: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
}
/* 3D model preview */
#model-preview {
    position: relative;
}

#model-canvas {
    outline: none;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}
/* Loading state */
.model-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 244, 246, 0.8);
    z-index: 10;
    border-radius: 0.75rem;
}

/* Error state */
.model-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 241, 242, 0.8);
    z-index: 10;
    border-radius: 0.75rem;
}
@keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 20px;
    }
}

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

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

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

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