/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

/* Workspace specific styles */
#workspace-grid {
    min-height: calc(100vh - 64px - 56px); /* Account for navbar and toolbar */
}

.agent-pane {
    transition: all 0.2s ease;
    overflow: hidden;
}

.agent-pane:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.message {
    padding: 10px 14px;
    border-radius: 8px;
    max-width: 80%;
}

.message.ai {
    background-color: rgba(55, 65, 81, 0.7);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background-color: rgba(59, 130, 246, 0.2);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.input-area textarea {
    resize: none;
    min-height: 60px;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

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

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

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

::-webkit-scrollbar-track {
    background: rgba(31, 41, 55, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 163, 175, 0.7);
}