* {
    font-family: 'Space Grotesk', system-ui, sans-serif;
}

.header-gradient {
    background: linear-gradient(135deg, #6B21A8 0%, #4338CA 50%, #3730A3 100%);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

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

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

/* Animations */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slide-up 0.3s ease-out;
}

/* Drag and drop styling */
[draggable="true"] {
    user-select: none;
}

[draggable="true"]:active {
    opacity: 0.8;
}

/* Focus states */
input:focus,
select:focus,
textarea:focus,
button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .header-gradient {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    main {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Card hover effects */
.group:hover {
    transform: translateY(-2px);
}

/* Smooth transitions */
* {
    transition-property: color, background-color, border-color, opacity, transform;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Override for specific elements that shouldn't transition */
input, textarea, select {
    transition: border-color 150ms, box-shadow 150ms;
}