.architect-container {
    width: 600px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

@media (max-width: 600px) {
    .architect-container {
        max-width: 95vw;
    }
}

.architect-container.slide-in {
    animation: slideInLeftArchitect 1s forwards;
}

.architect-container.slide-out {
    animation: slideOutRightArchitect 1s forwards;
}

.architect-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.architect-title {
    font-weight: bold;
}

.architect-status {
    color: gray;
    font-size: 0.9em;
    display: flex;
    gap: 5px;
}

code {
    font-family: monospace !important;
}

.code-block {
    flex: 1;
    background-color: #f5f5f5;
    border-radius: 5px;
    font-family: monospace !important;
    overflow-x: auto; 
}

.code-block  span{
    font-family: monospace !important;
}

.code-class {
    color: seagreen;
    font-weight: bold;
}

.code-class-name {
    color: purple; 
    font-weight: bold;
}

.code-keyword {
    color: #d73a49;
    font-weight: bold;
}

.code-type {
    color: #005cc5;
}

.code-literal {
    color: #22863a;
}

.code-return {
    color: brown;
}


.inline-comment {
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 5px;
    background-color: #f4f5f7;
    border-left: 2px solid #f28b2a;
    display: none;
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.inline-comment.visible {
    display: flex;
    opacity: 1;
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 10px;
}

.avatar-neo {
    background-color: #f28b2a;
    background-image: url(/static/images/animations/neo.svg);
    background-size: cover;
}

.diagram-section {
    margin-top: 20px;
    display: none;
}

.diagram-header {
    margin: 20px 0;
    font-weight: bold;
    color: #333;
}

.diagrams {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    max-width: 95vw;
}

.diagrams > img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.diagrams > img.visible {
    opacity: 1;
}

@keyframes slideInLeftArchitect {
    0% {
        /* transform: translateX(-100%); */
        opacity: 0;
    }
    100% {
        /* transform: translateX(0); */
        opacity: 1;
    }
}

@keyframes slideOutRighttArchitect {
    0% {
        /* transform: translateX(0); */
        opacity: 1;
    }
    100% {
        /* transform: translateX(-100%); */
        opacity: 0;
    }
}