
/* ChromeOS style adjustments */
body {
    font-family: 'Google Sans', Roboto, sans-serif;
    background: #f8f9fa;
}
ai-sidebar::-webkit-scrollbar {
    width: 8px;
}

ai-sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

ai-sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

ai-sidebar a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
}

.chat-container {
    background: #f9fafb;
    min-height: 300px;
}
main {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
/* Animation for sidebar items */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
.ai-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Code block styling */
pre {
    background-color: #1e293b;
    color: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 1rem 0;
}

.code-container {
    position: relative;
}

.code-container button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.code-container button:hover {
    background: rgba(255, 255, 255, 0.2);
}
