/* ==========================================
   MangaStudio - Topic Block Component
   ========================================== */

/* Topic Block */
.topic-block {
    position: relative;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
    cursor: pointer;
    transition: var(--transition);
}

.topic-block:hover {
    background: var(--bg-tertiary);
}

/* Selected/Active Topic */
.topic-block.topic-active {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    border-left-width: 4px;
}

/* Topic Header */
.topic-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.topic-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.topic-number {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Topic Actions */
.topic-actions {
    display: flex;
    gap: 8px;
}

/* Topic Content */
.topic-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
}

.topic-content p {
    margin-bottom: 12px;
}

.topic-content p:last-child {
    margin-bottom: 0;
}
