/* Annotations section */
.annotations-section {
    margin-top: 1rem;
    padding: 1rem;
    background: #0f172a;
    border-radius: 4px;
    border: 1px solid #334155;
    transition: background 0.3s, border-color 0.3s;
}

.annotations-header {
    color: #38bdf8;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.annotation-item {
    padding: 0.75rem;
    background: #1e293b;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    border-left: 3px solid #38bdf8;
    transition: background 0.3s;
}

.annotation-item:last-child {
    margin-bottom: 0;
}

.annotation-author {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.annotation-text {
    color: #e2e8f0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.annotation-time {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.annotation-badge {
    display: inline-block;
    background: #38bdf8;
    color: #0f172a;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Light mode */
body.light-mode .annotations-section {
    background: #f8fafc;
    border-color: #e2e8f0;
}

body.light-mode .annotation-item {
    background: #ffffff;
    border-left-color: #0284c7;
}

body.light-mode .annotation-author {
    color: #64748b;
}

body.light-mode .annotation-text {
    color: #1e293b;
}

body.light-mode .annotation-time {
    color: #94a3b8;
}

body.light-mode .annotation-badge {
    background: #0284c7;
    color: #ffffff;
}
