.character-list {
    width: 200px;
    height: 800px;
    border-right: 1px solid #555;
    background-color: #333333;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
}

.character-list.collapsed {
    width: 40px;
}

.character-list-header {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #555;
    background-color: #444444;
    min-height: 40px;
}

.collapse-toggle {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #e0e0e0;
    padding: 4px;
    border-radius: 3px;
}

.collapse-toggle:hover {
    background-color: #555;
}

.header-title {
    margin-left: 8px;
    font-weight: bold;
    color: #e0e0e0;
}

.character-names {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    overflow-y: auto;
}

.character-name-button {
    padding: 8px 12px;
    margin: 2px 8px;
    border: none;
    background: none;
    cursor: pointer;
    color: #e0e0e0;
    text-align: left;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.character-name-button:hover {
    background-color: #555;
}

.character-name-button:active {
    background-color: #666;
}      