/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overscroll-behavior: none;
}

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

::-webkit-scrollbar-track {
    background: #1f2937;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Animation classes */
.animate-blurIn {
    animation: blurIn 0.5s ease-out forwards;
}

.animate-slideIn {
    animation: slideIn 0.4s ease-out forwards;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

/* Tab styles */
.tab {
    position: relative;
    transition: all 0.2s ease;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #d946ef, #ec4899);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.tab.active::after {
    transform: scaleX(1);
}

/* Motion blur for transitions */
.motion-blur {
    transition: filter 0.3s ease-out;
}

.motion-blur-active {
    filter: blur(5px);
}

/* Floating action button */
.fab {
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
    transition: all 0.2s ease;
}

.fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.4);
}

/* Chat bubble styles */
.chat-bubble {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    position: relative;
}

.chat-bubble.user {
    background: #4b5563;
    border-bottom-right-radius: 0;
    margin-left: auto;
}

.chat-bubble.agent {
    background: #6b21a8;
    border-bottom-left-radius: 0;
    margin-right: auto;
}